Arduino UNO + CC3000 WIFI Sheild

The Dot Matrix Display (DMD) is a 32x16 array of high-brightness LEDs for visually striking effects. [Product Page]
Post Reply
statbat
Posts: 44
Joined: Tue Dec 22, 2015 10:53 am

Arduino UNO + CC3000 WIFI Sheild

Post by statbat » Sat Jan 30, 2016 11:46 am

Hello,

I am facing something very strange. May be someone here can help me.

I have a program that is working perfect on UNO and Bluetooth. I added a WIFI Shield CC3000 on top of UNO and then i added the data cable of DMD on top of CC3000.

Problem i am facing is that once CC3000 connects to WIFI, the all LEDs of the 2 DMD light up. They are all lighting up.
If i remove CC3000 it works fine again. If i remove DMD, CC3000 also works fine.
I am thinking that may be CC3000 is using pin 6 , pin 7 , pin 8 or 9 for its own purpose and for this reason it is sending some incorrect data to DMD. I am not sure if this is really true and this can happen because I have seen many people STACK one control on top of another and they dont face any issues.
Is this true what i am thinking or the issue is something else?

Please advise.
Thanks

statbat
Posts: 44
Joined: Tue Dec 22, 2015 10:53 am

Re: Arduino UNO + CC3000 WIFI Sheild

Post by statbat » Sat Jan 30, 2016 12:56 pm

Hi Hobohome,

The display is potentially compatible, but because by default they both use the SPI pins on the Arduino then it can be tricky to get them to play well together.

The simplest solution is actually to rewire the DMD not to use the 10,11,12,13 pins and instead use any other pins. Then use the SoftDMD feature in DMD2, which allows you to specify the pins to use.

It should be possible to use them together without doing this as well, though. If you'd like to try using the existing pin configuration, can you please post your sketch? Perhaps in a new thread if you're going to do that, as it will probably require some more back-and-forth?

Thanks,

Angus
So now I have to find out how to change pin 10, 11, 12, 13 to something else.
I found the reason in another topic

User avatar
stryker
Posts: 255
Joined: Sat Jan 14, 2012 2:44 pm

Re: Arduino UNO + CC3000 WIFI Sheild

Post by stryker » Sat Jan 30, 2016 1:02 pm

Sounds like a plan. Just looking at the CC3000 shield from sparkfun and that uses many of the connections the DMD needs: MOSI D11, MISO D12, SCK D13, EN D7. The DMD doesn't use SS D10 to determine what SPI traffic it should respond to and what it should ignore, however the softDMD sugestion might get around that limitation.

The DMD is demanding on processor time so another option woudl be to one Uno run the display, and another run the WiFi comms, and have a serial connection between the two.

Cheers ! Geoff

statbat
Posts: 44
Joined: Tue Dec 22, 2015 10:53 am

Re: Arduino UNO + CC3000 WIFI Sheild

Post by statbat » Sat Jan 30, 2016 1:26 pm

stryker wrote: The DMD is demanding on processor time so another option woudl be to one Uno run the display, and another run the WiFi comms, and have a serial connection between the two.
Cheers ! Geoff
It is actually a very good idea. Have two UNO. Just I dont know how both UNO will talk to eachother ? One UNO will be with Sheild and another will be with the DMD.

Remember my TX and RX pins are already occupied by the Bluetooth module.

statbat
Posts: 44
Joined: Tue Dec 22, 2015 10:53 am

Re: Arduino UNO + CC3000 WIFI Sheild

Post by statbat » Sat Jan 30, 2016 1:37 pm

stryker wrote:Sounds like a plan. Just looking at the CC3000 shield from sparkfun and that uses many of the connections the DMD needs: MOSI D11, MISO D12, SCK D13, EN D7. The DMD doesn't use SS D10 to determine what SPI traffic it should respond to and what it should ignore, however the softDMD sugestion might get around that limitation.

Cheers ! Geoff
It is a TEXAS Instrument device. I have their datasheet but it all looks German to me.
I am planning to use pin number 2, 3, 4, 5, 8, 9,

Code: Select all

#define DMD_PIN_CLK 9
#define DMD_PIN_R 8
#define DMD_PIN_NOE 5
#define DMD_PIN_SCK 4
#define DMD_PIN_B 3
#define DMD_PIN_A 2

SoftDMD dmd(DISPLAYS_WIDE,DISPLAYS_HIGH,DMD_PIN_NOE,DMD_PIN_A,DMD_PIN_B,DMD_PIN_SCK,DMD_PIN_CLK,DMD_PIN_R); // DMD controls the entire display

User avatar
stryker
Posts: 255
Joined: Sat Jan 14, 2012 2:44 pm

Re: Arduino UNO + CC3000 WIFI Sheild

Post by stryker » Sun Jan 31, 2016 1:13 am

statbat wrote:
stryker wrote:Remember my TX and RX pins are already occupied by the Bluetooth module.
The Bluetooth module will only be on one Uno, so use SoftwareSerial on that one, and hardware serial will be free to be used on the other.

On your choice of SPI pins, the ATmega328 has hardware support for SPI which is why shields etc gravitate to those specific pins for MISO/MOSI/SCK and SS. It can be done by bit banging on other lines though of course. Nick Gammon has put together an excellent explanation here if you'd like more background.

Cheers ! Geoff

statbat
Posts: 44
Joined: Tue Dec 22, 2015 10:53 am

Re: Arduino UNO + CC3000 WIFI Sheild

Post by statbat » Wed Feb 03, 2016 2:26 pm

stryker wrote:The Bluetooth module will only be on one Uno, so use SoftwareSerial on that one, and hardware serial will be free to be used on the other.

On your choice of SPI pins, the ATmega328 has hardware support for SPI which is why shields etc gravitate to those specific pins for MISO/MOSI/SCK and SS. It can be done by bit banging on other lines though of course. Nick Gammon has put together an excellent explanation here if you'd like more background.

Cheers ! Geoff
I have one mega and one uno in spare. I am now thinking that I go this way like you have told me instead of using one board. As you can see in my other thread - one board just does not work.

Can I use this tutorial to hook up. In MEGA there are many TX RX pins not just one like UNO. So I can hook WIFI sheild and bluetooth there and DMD on the UNO.
http://robotic-controls.com/learn/ardui ... munication

clibin009
Posts: 329
Joined: Mon Oct 23, 2017 2:57 am

chenjinyan

Post by clibin009 » Fri Jan 12, 2018 2:41 am

mbt shoes
louboutin
ray ban wayfarer
canada goose outlet
ugg outlet
michael kors uk
moncler schweiz
nfl jerseys wholesale
ugg boots on sale
air max
polo shirts
coach outlet online
vibram five fingers
longchamp outlet
adidas football boots
ugg boots
coach outlet
michael kors outlet
swarovski
cheap nfl jerseys
michael kors handbags
nike outlet store
mont blanc
scarpe mbt
the north face
adidas wings
ugg outlet
michael kors outlet
uggs outlet
scarpe hogan
ugg boots
ugg boots
adidas jeremy scott
cheap mlb jerseys
nike sb
nhl jerseys
cheap ray bans
michael kors outlet clearance
cheap nhl jerseys
michael kors
tory burch
pandora rings
canada goose jackets
michael kors handbags
moncler
ugg clearance
giuseppe zanotti shoes
coach outlet online
cheap nfl jerseys
cheap rolex watches
kate spade
michael kors outlet
coach handbags
ugg boots
tory burch
jordans
louboutin
nike air force
jordans
michael kors handbags
nike air
balance shoes
salvatore ferragamo
air max
nike outlet
oakley sunglasses
north face
coach factory outlet online
fitflops
birkenstock
nike football boots
timberland outlet
ralph lauren
ugg australia
michael kors
ugg
nike tn
birkenstock outlet
coach outlet online
pandora charms
nike blazer
ralph lauren outlet
ray ban sunglasses
pandora jewelry
ralph lauren uk
coach factory outlet online
coach outlet online
pandora jewelry
fitflops outlet
ray ban sunglasses
the north face
jordan retro
coach outlet online
timberland boots
hermes
polo ralph lauren
moncler
ugg outlet
coach outlet online
nike free run
nike uk
stan smith shoes
ugg boots sale
pandora jewelry canada
birkenstock sandals
north face uk
burberry scarf
canada goose jackets
longchamp
pandora jewelry
louboutin
coach factory online
ralph lauren
canada goose
air max
polo ralph lauren outlet
michael kors outlet
true religion jeans
oakley sunglasses wholesale
ralph lauren
michael kors outlet online
ugg outlet
burberry outlet
uggs
adidas yeezy
tory burch outlet
ray ban
air jordan 14
supreme outlet
kate spade handbags
ugg boots
nike outlet
north face jackets
ray ban
ray ban
ralph lauren uk
michael kors outlet
longchamp
louboutin
supreme uk
mont blanc pens
true religion jeans
prada
beats by dre
cheap jordans
nike factory outlet
jordan
ugg canada
ugg boots
nike huarache shoes
moncler outlet
coach outlet online
north face outlet
burberry scarf
tommy hilfiger
jordans
ray ban
ugg outlet store
coach factory outlet
nba jerseys
north face
oakley sunglasses
michael kors outlet
nike store uk
oakley sunglasses
louboutin
true religion jeans
flops
cheap mlb jerseys
the north face
under armour outlet
canada goose outlet
michael kors taschen
canada goose outlet
nike air max
pandora charms
tory burch outlet
true religion jeans
coach outlet
christian louboutin
ray ban
ray ban
ugg
jordan shoes
nike air max
ugg outlet
ferragamo outlet
ugg pas cher
moncler pas cher
polo ralph lauren
air jordan
michaelkors outlet online
moncler
coach
basketball shoes
uggs
juicy couture outlet
canada goose jackets
canada goose jackets
pandora uk
mac cosmetics
kate spade
moncler
air jordan
jordans
snapbacks wholesale
hermes outlet
ray ban sunglasses
ralph lauren
canada goose sale
michael kors outlet
cheap ugg boots
cheap ugg boots
polo ralph
manolo blahnik shoes
polo ralph
canada goose jackets
coach handbags
adidas outlet store
moncler outlet
flops
north face outlet
ugg italia
ralph lauren uk
mlb jerseys
coach outlet
ugg boots
north face jackets clearance
ugg outlet
burberry outlet canada
uggs
flip flops
doudoune canada goose
ugg boots
uggs outlet
ugg
coach outlet online
polo ralph lauren
oakley sunglasses
ray ban sunglasses
adidas stan smith shoes
swarovski crystal
uggs outlet
air jordan
flip flops
north face jackets
michael kors outlet
jordan shoes
uggs outlet
nike air max
polo ralph
timberland pro
jordan
north face
uggs outlet
replica watches
ugg boots
longchamp outlet
jordan shoes
canada goose
hermes birkin bags
north face uk
polo ralph lauren
adidas superstar
canada goose
red bottom shoes
jordan shoes
pandora
mcm bags
nike factory outlet
adidas uk
ray ban sunglasses wholesale
ugg
canada goose outlet
adidas shoes
prada handbags
coach factory outlet
supra shoes
burberry outlet online
louboutin
moncler
baseball jerseys
michael kors outlet
kate spade
north face
air max
supreme
uggs outlet
oakley sunglasses
coach factory outlet
adidas outlet
cheap oakley sunglasses
oakley canada
michael kors handbags
ugg boots
mulberry handbags
north face
canada goose jackets
ugg boots
true religion
coach outlet
canada goose
ugg boots
michael kors outlet
north face outlet
coach factory outlet
louboutin
uggs outlet
christian louboutin
timberland boots
ugg
oakley sunglasses
ferragamo shoes
ugg boots
louboutin
prada
kate spade
moncler outlet
hermes uk
canada goose canada
the north face
nike outlet
timberland boots
north face
ugg canada
oakley vault
doudoune canada goose
ugg outlet
coach outlet
oakley sunglasses
cheap nfl jerseys
nfl jerseys wholesale
canada goose sale
moncler jackets
prada bags
moncler
jordan shoes
true religion jeans
moncler
soccer jerseys
canada goose jackets
blackhawks jersey
ray ban sunglasses
longchamp handbags
moncler
coach
moncler jackets
nike air huarache
ralph lauren
pandora jewelry canada
longchamp
mont blanc pens
superdry clothing
converse shoes
louboutin
jordan pas cher
ugg boots
kate spade outlet
canada goose
ugg boots
ralph lauren
cheap nfl jerseys
adidas shoes
20181.12chenjinyan

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests