

The flash memory has a hardware implementation of SPI. The ATmega has a hardware implementation of SPI. I have a Microchip SST 64 Mbit flash memory card. That said, here is a high level overview of my project. So while my success on this project is important to me, I do not see it as unfair to seek help from Stack Overflow. It is NOT for a grade, but my reputation with this professor does matter. Preface: This question is about a project I am working on with a professor at my university. I am now aware that I should get one resistor for each LED but I don't have that much resistors and as far as I can see this don't harm my LEDs nor underpower them.Ģ8.7k 8 8 gold badges 47 47 silver badges 102 102 bronze badges Not the answer you're looking for? Browse other questions tagged shift-register or ask your own question.

This is the tutorial I use to understand shift registers :, and the one that uses SPI is nXl4fb_LbcI It changes a little the brighness of LEDs, but surprisingly VCC< GND< both Strangest behavior too (not gonna create another topic for that now), I dont have to connect both the gnd and VCC from my arduino for this to light LEDs. Thanks for helping, it's really disturbing for me. I assume I didn't understand something important, and it prevent me from finding answers in google.
#74hc165 hardware spi atmega serial#
When I upload this code, LEDs sequence has no sense, but serial output was totally OK. As for me now, the sequence should light all LED, then no one, then one after another.I know there is one more input ont the right side of the SR but I didn't plan this model so I ran out of LEDs. I kind of understood that data input, latch and clock had to be pins 7, 4 and 11.īasically, all I try to do is sending a byte to light the LEDs. The tutorial I try to follow use SPI library so I try to do it too. In fact, it is an Arduino Duemilanove with AtMega on it, but afaik it doesn't matter. In this case, by using a shift register, I am able to use three Arduino pins to. In the third Arduino Tutorial I discuss one of the many ways that you can expand your outputs on the Arduino. When using hardware SPI an AVR can do FCPU/2. Using a 74HC165 shift register with a Atmega1284 running (for now anyway) at 8 mHz.

I'm quite new to Arduino world and I'm trying to understand how shift registers work.I built this construction :
