Driving shift registers with AVR
Shift registers are first cheep choice when you need to expand digital I/O pins say from one to eight. All you need is to clock serial data in in order to get all bits paralleled. Mika gives couple practical examples how this can be done using simple bit banging or SPI bus interface. As microcontroller he have chosen Teensy board. As programming tool he selected Arduino IDE with Teensyduino add-on. In programming examples he used two types of shift registers – SN74HC595 and TPIC6B595. Second one is used in higher power applications. Both of them need three pins on input side: Data, Latch and Clock. As mentioned above it can be done using bit bang method where data mus be clocked in in program flow. So you need to write function that takes care of clock signal, latch and data output. This method is more obvious but occupies processor time. While using built in SPI you can set and forget. Data is shifted out automatically without using processor time....
Source: Embedds.com - Tuesday, 31 January
Related articles:
- Older News
- 4Vote! Teen-led study highlights dangers of texting and driving
e! Science News - Sunday, 29 April
- 4Vote! Having fun with 3 axis accelerometer board
Embedds.com - Friday, 27 April
- 2Vote! Distracted driving rises among local college students
PhysOrg - Wednesday, 25 April
- 3Vote! Google's self-driving car takes blind man on errands
PhysOrg - Tuesday, 3 April
- 5Vote! No Hands: Google's Self-Driving Car
LabSpaces - Friday, 30 March
- 7Vote! How to Improve Your Night Driving
Lifehacker - Tuesday, 13 March
- 6Vote! Nevada approves regulations for self-driving cars
PhysOrg - Thursday, 16 February
- 6Vote! Device Prevents Texting While Driving
LabSpaces - Tuesday, 24 January
- 8Vote! What to consider when teens with autism want to drive?
PhysOrg - Monday, 9 January
- 16Vote! Dry roads most risky for young male drivers
Futurity.org - Thursday, 8 December
- 13Vote! The Voxel Shield
SparkFun Electronics - Tuesday, 22 November, 2011
- 8Vote! Giving up driving not all bad: study
PhysOrg - Monday, 14 November, 2011
- 18Vote! Add as many pins to AVR as you want with shift register
Embedds.com - Monday, 14 November, 2011
- 10Vote! Ambitious LED ball project mimics watermelon
Embedds.com - Monday, 17 October, 2011
- 13Vote! Alarm Clock Build
Hacked Gadgets - Tuesday, 11 October, 2011
- 19Vote! CDC: Self-reported drunk driving is down
PhysOrg - Tuesday, 4 October, 2011
- 15Vote! Driving a Hard Bargain with Diamond Qubits
Physics - APS - Monday, 3 October, 2011
- 25Vote! Driving a gas-guzzler? You can still cut fuel costs by nearly half
PhysOrg - Thursday, 8 September, 2011
- 22Vote! Single molecule can shift the phase of a laser beam
PhysOrg - Tuesday, 6 September, 2011
- 19Vote! First proof that climate is a trigger for conflict: study
PhysOrg - Wednesday, 24 August, 2011