Search This Blog

Powered by Blogger.

Translate

[TC] ExpeditInvaders Shelf -Arduino Based LED Lighting Shelf






Currently ExpeditInvaders support 10 color sets (RGB, Rasta, CGA, Brazil, Fizz, Kitty, Neon, Lantern, Lemming, LeBron) and 6 animation modes (Random, Solid, Ordered, Checkboard, Weird, Weirdtwo). The best thing about ExpeditInvaders is, that you can use your feets to change the color set or animation mode. Under the shelf is a PS2 keyboard attached. The keyboard has a special key map installed, if a key on the left side is pressed the color set change, if a key on the right side is pressed the animation will change.
If you press ESC + Arrow Right ExpeditInvaders will save the current state to the EEPROM. This state will be restored next time ExpeditInvaders is restarted.

All you need to spice up your Expedit Shelf are two strands of LED modules, an Arduino board (doesn’t matter which one, can be an old Duemilanove or a new Leonardo) and an old PS2 Keyboard.

Step 1, align LED Modules
Align the modules like on this image (back view):

It should look like this, once you installed them:


Step 2: Connect Devices to Arduino
Connect Pin 13 to LED Module Clock, Pin 11 to LED Module Data and GND to LED Module GND.
Connect 5v and GND to the PS2 Module, Connect Data to Pin 2 and Clock to Pin 3.

You can use an Arduino without pinheaders (solder direct on the board) or you use a ProtoShield Kit.

Here is the PS2 connection schema (thanks to prjc.com, I ripped your image):


Step 3: (Hot) Glue keyboard under the shelf
Just hot glue the keyboard under the shelf, make sure the cable is correct aligned. Now you can kick your Arduino Project…



Step 4: Upload Firmware to Arduino
Get the ExpeditInvaders Firmware on my GitHub repo and upload it to your Arduino board.


Step 5: Connect 12V to the Arduino and LED Modules
Connect 12V to the Arduino and LED Modules. You can use an old ATX power supply or a new 12V/24Watt Power supply.


ANd You Are Done!
Links

More Images


 
 
 

How to build Digital Electronic Lock

Circuit

Digital Electronic Lock

Description

The digital lock shown below uses 4 common logic ICs to allow controlling a relay by entering a 4 digit number on a keypad. The first 4 outputs from the CD4017 decade counter (pins 3,2,4,7) are gated together with 4 digits from a keypad so that as the keys are depressed in the correct order, the counter will advance. As each correct key is pressed, a low level appears at the output of the dual NAND gate producing a high level at the output of the 8 input NAND at pin 13. The momentary high level from pin 13 activates a one shot circuit which applies an approximate 80 millisecond positive going pulse to the clock line (pin 14) of the decade counter which advances it one count on the rising edge. A second monostable, one shot circuit is used to generate an approximate 40 millisecond positive going pulse which is applied to the common point of the keypad so that the appropriate NAND gate will see two logic high levels when the correct key is pressed (one from the counter and the other from the key). The inverted clock pulse (negative going) at pin 12 of the 74C14 and the positive going keypad pulse at pin 6 are gated together using two diodes as an AND gate (shown in lower right corner). The output at the junction of the diodes will be positive in the event a wrong key is pressed and will reset the counter. When a correct key is pressed, outputs will be present from both monostable circuits (clock and keypad) causing the reset line to remain low and allowing the counter to advance. However, since the keypad pulse begins slightly before the clock, a 0.1uF capacitor is connected to the reset line to delay the reset until the inverted clock arrives. The values are not critical and various other timing schemes could be used but the clock signal should be slightly longer than the keypad pulse so that the clock signal can mask out the keypad and avoid resetting the counter in the event the clock pulse ends before the keypad pulse. The fifth output of the counter is on pin 10, so that after four correct key entries have been made, pin 10 will move to a high level and can be used to activate a relay, illuminate an LED, ect. At this point, the lock can be reset simply by pressing any key. The circuit can be extended with additional gates (one more CD4011) to accept up to a 8 digit code. The 4017 counting order is 3 2 4 7 10 1 5 6 9 11 so that the first 8 outputs are connected to the NAND gates and pin 9 would be used to drive the relay or light. The 4 additional NAND gate outputs would connect to the 4 remaining inputs of the CD4068 (pins 9,10,11,12). The circuit will operate from 3 to 12 volts on 4000 series CMOS but only 6 volts or less if 74HC parts are used. The circuit draws very little current (about 165 microamps) so it could be powered for several months on 4 AA batteries assuming only intermittent use of the relay.




Electronic Combination Lock using IC LS 7220


Electronic Combination Lock Circuit

Description

This is the circuit diagram of a simple electronic combination lock using IC LS 7220.This circuit can be used to activate a relay for controlling (on & off) any device when a preset combination of 4 digits are pressed.The circuit can be operated from 5V to 12V.
To set the combination connect the appropriate switches to pin 3,4,5 and 6 of the IC through the header.As an example if S1 is connected to pin 3, S2 to pin 4 , S3 to pin 5, S4 to pin 6 of the IC ,the combination will be 1234.This way we can create any 4 digit combinations.Then connect the rest of the switches to pin 2 of IC.This will cause the IC to reset if any invalid key is pressed , and entire key code has to be re entered.
When the correct key combination is pressed the out put ( relay) will be activated for a preset time determined by the capacitor C1.Here it is set to be 6S.Increase C1 to increase on time.
For the key pad, arrange switches in a 3X4 matrix on a PCB.Write the digits on the keys using a marker.Instead of using numbers I wrote some symbols!.The bad guys will be more confused by this.

Electronic Lock Circuit Diagram .

Electronic lock circuit

Pin Assignment of LS7220.

LS 7220 Pin Configuration and Pin Diagram
Parts List

C1              1   1uF 25V Electrolytic Capacitor
C2              1    220uF 25V Electrolytic Capacitor
R1              1    2.2K 1/4W Resistor
Q1              1    2N3904 NPN Transistor    2N2222
D1              1    1N4148 Rectifier Diode    1N4001-1N4007
K1              1    12V SPDT Relay    Any appropriate relay with 12V coil
U1             1     LS7220 Digital Lock IC
S1-S12    12    SPST Momentary Pushbutton    Keypad (see notes)
HD1          1    12 Position Header


Digital code lock


Description.
This is a simple but effective code lock circuit that has an automatic reset facility. The circuit is made around the dual flip-flop IC CD4013.Two CD 4013 ICs are used here. Push button switches are used for entering the code number. One side of all the push button switches are connected to +12V DC. The remaining end of push buttons 2,3,6,8 is connected to clock input pins of the filp-flops. The remaining end of other push button switches are shorted and connected to the set pin of the filp-flops.
The relay coil will be activated only if the code is entered in correct sequence and if there is any variation, the lock will be resetted. Here is correct code is 2368.When you press 2 the first flip flop(IC1a) will be triggered and the value at the data in (pin9) will be transferred to the Q output (pin13).Since pin 9 is grounded the value is “0” and so the pin 13 becomes low. For the subsequent pressing of the remaining code digits in the correct sequence the “0” will reach the Q output (pin1) of the last flip flop (IC2b).This makes the transistor ON and the relay is energised.The automatic reset facility is achieved by the resistor R11 and capacitor C2.The positive end of capacitor C2 is connected to the set pin of the filp-flops.When the transistor is switched ON, the capacitor C2 begins to charge and when the voltage across it becomes sufficient the flip-flops are resetted. This makes the lock open for a fixed amount of time and then it locks automatically. The time delay can be adjusted by varying the values of R11 and C2.
Circuit diagram with Parts list.
digital-code-lock-circuit
Notes.
  • Assemble the circuit on a good quality PCB.
  • The circuit can be powered from 12V DC.
  • Mount the ICs on holders.
  • The L1 can be a 12V, 200 Ohm SPDT relay.
  • Capacitor C1 should be tantalum type.
  • The C1 and C2 must be rated at least 25V

One transistor code lock


Description.
This is of course the simplest electronic code lock circuit one can make. The circuit uses one transistor, a relay and few passive components. The simplicity does not have any influence on the performance and this circuit works really fine.
The circuit is nothing but a simple transistor switch with a relay at its collector as load. Five switches (S0 to S4) arranged in series with the current limiting resistor R2 is connected across the base of the transistor and positive supply rail. Another five switches (S5 to S9) arranged in parallel is connected across the base of the transistor and ground. The transistor Q1 will be ON and relay will be activated only if all the switches S0 to S4 are ON and S5 to S9 are OFF. Arrange these switches in a shuffled manner on the panel and that it. The relay will be ON only if the switches S0 to S9 are either OFF or ON in the correct combination. The device to be controlled using the lock circuit can be connected through the relay terminals. Transformer T1, bridge D1, capacitor C1 forms the power supply section of the circuit. Diode D2 is a freewheeling diode. Resistor R1 ensures that the transistor Q1 is OFF when there is no connection between its base and positive supply rail.
Circuit diagram.
one transistor code lock
Notes.
  • This circuit can be assembled on a Vero board.
  • Switch S1 is the lock’s power switch.
  • The no of switches can be increased to make it hard to guess the combination.
  • Transistor 2N2222 is not very critical here. Any low or medium power NPN transistor will do the job


Page Rank

google pagerank

Write For Us

Submit a Guest Post

Find us on Facebook

Categories

555 Timer IC 7 segment Display 8051 Project AC Circuits Adafruit Alarms Amplifier Circuits Analog Circuits android Arduino arm processor Assembly Languange Atmel Atom Size Audio Circuits augmented reality Automotive Circuits avr Battery Circuits Bicycle Gurad bluetooth Cable TV Circuits Cambridge University Camera Technology Circuit Boards Clipping And Clamping Circuits Clocking And Timer Circuits Computing contact lens Contact Us Form Contests Controller Circuit Conversion Circuits Counter Circuits Digital Electronics diy circuits Downloads EFY EFYTimes Electronic Books Electronic Components Electronic Locks And Keys Engineering Fan Circuits Filter Circuits Fire Alarm free Frequency Fun And Game Circuits future Google Hack n Mod Ham Radio Circuits heart rate monitoring High Voltage Circuits Home Circuits IC Guide ieee Industrial Circuits Infrared Instructables Inventions ipad lcd Led Circuits Light Related Lighting Circuits Medical Circuits Meter Clocks Microcontrollers Microprocessors Mini Projects modules Movie maker NatGeo Navigation Notice Optical Fiber PC Circuits PCB Boards Physics pnp transistor Power Supplies Printing Projects Programmer Project Ideas Projectors Protection circuits Proximity Detectors Radar Radio Circuits Radio Transmitters Raspberry Raspberry Pie Remote Circuits Retis Lab RFID Robot Cars Robotics Science Science Alert Security And Safety Sensor Circuits Servo Motors Smallest Smartwatches sms Software solar cell sound application Spectram Switch Technology News Telephone Related Television Related Test And Measurement Circuits Thermal Projects Tone generator circuits Touch Screen Tutorials Wearables Wi-Fi Wireless
Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS