Go Down

Topic: LED to flash for 3000 millis when button pressed (Read 1 time) previous topic - next topic

CrossRoads

I control 120V LED strings with this Uno Relay shield I made, demo'd here:
https://www.youtube.com/watch?v=ukRtgLK_b5c
Relays are controlled byTPIC6C595  shift register, loaded with data via SPI.transfer().
I have a Mega version next to it, relays are controlled from one set of port pins (D22-29) with transistor buffers.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

I have a standalone version all designed, with Input/output connectors for daisy chaining boards (so drops all the Arduino header stuff), but the Relays are like $1.25 each. Lot easier to use than the ebay relay modules (just connect clock, data, +5, Gnd from Arduino) and +5 to the relay coil (maybe from Arduino, maybe separate: 5V coils on G5T-1A DC5 coils can be power hungry, 40mA) or 12V coil parts can be used if a 12V source is available:
http://www.digikey.com/product-search/en?vendor=0&keywords=g5t-1a+dc5
http://www.digikey.com/product-detail/en/G5T-1A%20DC12/Z2775-ND/1731475

But that adds up to $10 just in relays, hard to compete with cheap shit on ebay, even when its super easy to control the outputs:
Code: [Select]

digitalWrite (ssSpin, LOW);
SPI.transfer(relaysToClose); // 1 = relay on, 0 = relay off, with D13, D11, and D10 (or whatever for ssPin)
digitalWrite (ssSpin, HIGH); // outputs update on this rising edge
// or use shiftOut with any 3 pins
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up