Saturday 29 June 2013

Project 2 (Moderate): What's the Secret Password?


features:
- enter 4 digits, only one set of combination will be correct(hence password)
- if the incorrect combination is entered, a red LED will light up, followed by a warning buzz
- if the correct combination is entered, a green LED will lit up, followed by a victory song
- resets after each trial
- includes 10 buttons, where each represents a digit(0-9)
- yellow LED's indicates the number of digits entered
- red LED is the warning light
- green LED is the "victory" light







parts:
- 1x 74HC595  shift registers
- 4x yellow LED's
- 1x green LED
- 1x red LED
- 10x buttons
- 10x 10k ohm resistor
- 6x 330 ohm resistor
- 1x buzzer




This is a fairly simple project, aimed for giving me more practice using shift registers.

Saturday 22 June 2013

Project 1 (Moderate): LED Thermometer

note: 4 shift registers are not needed!
I've been playing with my arduino for a couple weeks now and made dozens of circuits. I decided that it's time to design my own circuit.

Project 1: LED Thermometer

 features:
- record the temperature, and output it's value either in degrees Celsius, Fahrenheit or kelvins
- temperature will be updated every second
- the temperature can be determined by counting the number of LED's that were turned on. red = 10, yellow = 1, add them to get the reading (example: 2 red LED's, 3 yellow LED's = 23!!!)
- the button will be used to switch between different temperature scales



Parts used:
-10x red LED's
-10x Yellow LED's
-3x green LED
-3x 74HC595 shift registers
-2x push button
-1x temperature sensor
- 21x 330 ohm resistor
-1x 10k ohm resistor 







default mode: the temperature is displayed in degrees Celsius(in this case, 26°C) 



when the button is pressed, the temperature will be displayed in degrees Fahrenheit(in this case, 81°F).
             





































Figuring out how shift registers work and programming them was the most challenging part in this project. I'll be adding more features to this project in the near future (displaying the temperature on a segment display, and displaying it in kelvins)