Show Posts
Pages: [1]
1  Topics / Device Hacking / FURBY hack??? on: October 16, 2012, 05:34:19 pm
Anyone hacked a furby and interfaced an arduino to it???
2  Using Arduino / LEDs and Multiplexing / Re: 8 x 32 display on: October 01, 2012, 12:29:42 pm
Hi!

what's the shipping cost from Tayda electronics?
3  Using Arduino / LEDs and Multiplexing / Re: simple shift registor problem drivng me bongers! on: September 18, 2012, 09:28:23 pm
moved the wiring back on the uno for SPI reloaded the scketch and now its working... smiley   Its now time to play with the code while I'm waiting for a shipment of parts to build the  more permenent boards.....
4  Using Arduino / Installation & Troubleshooting / Arduino Leonardo on: September 17, 2012, 11:29:27 pm
got the layout of this board and the pinouts,  everything but the pinout  for the ICSP header... smiley-sad on the Drawing arduino-leonardo-schematic_3b.pdf
That area on the drawing layout is totally blank......

So is there someone out there who has the pinout for that header???
5  Using Arduino / LEDs and Multiplexing / Re: simple shift registor problem drivng me bongers! on: September 17, 2012, 12:07:32 am
okay  I've rewritten the code using shiftout() and guess what it works!
Now I'll being going back to SPI and try it again. If it acts screwy again then it must be something to do with the internal arduino chip hardware implemention...
6  Using Arduino / LEDs and Multiplexing / Re: simple shift registor problem drivng me bongers! on: September 16, 2012, 05:27:04 pm
everything wired up right.
code seems to work. I put in some serial monitor stuff and its cycling through correctly(reading through array and what is suppose to be in each cell is there)

Now just blinks all on then all off....

Does anybody have problems with these "solderless" breadboards using 22gauge hookup wire??
7  Using Arduino / LEDs and Multiplexing / Re: simple shift registor problem drivng me bongers! on: September 16, 2012, 03:02:47 pm
got decoupling caps right next to power coming in breadboard and going across pin 2 and pin 19 on chip .1uF
8  Using Arduino / LEDs and Multiplexing / Re: simple shift registor problem drivng me bongers! on: September 16, 2012, 12:57:05 pm
want to add the lines from arduino to breadboard are apox. 12ins long.
power and gnd come from arduino. power stable at 5.0v to breadboard....
9  Using Arduino / LEDs and Multiplexing / simple shift registor problem drivng me bongers! on: September 16, 2012, 12:47:23 pm
okay  got a tpic6b595 wired on a breadboard to turn on leds.
decoupling cap included, seperate resistor of each led

trying to use the SPI method.

Arduino   tpic6b595
P13            12
p12             3
p10            13
                  8  vcc
                  9 gnd

here is the sketch

Code:
// SPI commands will be used to send the data out


#include <SPI.h> // bring in SPI library

#define SS  10 // output latch for cathodes shift register.  Pin D10 needs to be an output for SPI.

byte dataArray[]= {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80};  // load up some initial data
// dataArray[0] = B00000001
// dataArray[1] = B00000010
// dataArray[2] = B00000100
// dataArray[3] = B00001000
// dataArray[4] = B00010000
// dataArray[5] = B00100000
// dataArray[6] = B01000000
// dataArray[7] = B10000000


int x=0;



void setup()
  {

    pinMode (SS, OUTPUT);

    SPI.begin();  // commits 11,12,13 for hardware SPI transfer. Make sure shift registers have 0.1uF/100nF on their VCC pins to ground.
    SPI.setBitOrder(LSBFIRST);
    SPI.setClockDivider(SPI_CLOCK_DIV8);
    SPI.setDataMode(SPI_MODE1);



  }

void loop()
{

  // turn off leds
  digitalWrite (SS, LOW);
  SPI.transfer(0);
  digitalWrite (SS, HIGH);
  delay(1000);


  for(x=0;x<7;x++)
   {
     // turn on one led, all others off for apox. half a second
     digitalWrite (SS, LOW);
     SPI.transfer(dataArray[x]);
     digitalWrite (SS, HIGH);
     delay(500);
   
   }

} // end void loop
 



Now its turning on and off leds in groups,  turning on one  after the other, sequence ever other one,  just seems to do whatever it feels like except what I want it to do.  And this WITHOUT changing any of the code first and upload it.


What am I doing wrong???
I tryed  changing SPI mode, Clock rate,  change code to read just ONE dataArray cell over and over, change delays,  wiggleing wires ,  nothing seems to work ....


              HELP!!! 
10  Using Arduino / Programming Questions / SPI interface on: September 09, 2012, 06:43:03 pm
As I understand it pin 10 is used as data latch (chip select). Now while using the SPI library in a sketch I want to use three other pins to a 238 to generate 8 data latches for 8 seperate devices having the data-in and data-clk chained together. 

1. do I have the concept of pin 10 use correctly
2. with the setup I would like to do  is it feasible with the software
11  Using Arduino / LEDs and Multiplexing / Re: how many 8x8 led matrix modules can 1 adruino handle? on: September 05, 2012, 01:52:34 am
okay guys I was planning on using shift-registers to do the individual matrixes and I figure I can get away with driving 10 display modules using just a couple of adruino pins to transfer the data.   I'm still figuring out how the SPI technically works and software wise.  I was thinking of hooking up a flash drive to it  to hold the display data as a file.  Now is it possible to also use the SPI while the flash drive is installed to feed the data to the display registers?

What I'm thinking is opening a file on flash drive, read a record, send data to display, update refresh long enough to read, get next record and repeat until end of file. 
 I was also thinking of taking this concept minus the flash drive( use laptop as host) to make a chain of these arduino assemblies for a big christmas lawn display.
12  Using Arduino / LEDs and Multiplexing / how many 8x8 led matrix modules can 1 adruino handle? on: September 04, 2012, 02:48:04 pm
Hello there just anothe newbie here,

I would like to know aproximately just how many 8x8 led matrix modules can one adruino can handle.  I have seen 4-5 on the youtube demos. Has anyone made one up to 10 of these modules hooked up to one adruino?
Pages: [1]