Maker Project Instructions |
|
|
Building a one-computer circuit that flashes code on an LED ; ATtiny45 ; --v-- ; rst pb5 -| |- vcc ; pi pb3 -| |- pb2 sck ; po pb4 -| |- pb1 miso LED ; gnd -| |- pb0 mosi keyout ---|<--- vcc ; ----- ; 8MhzBring power and ground to the board (RadioShack 276-175)
Add the morse computer See InsertingParts. We are ready to start wiring the computer using color coded jumper wires. See MakingJumperWires. For ease of parsing of a circuit, these are the conventions we use
Use a red wire to route the VCC pin of the morse computer to the VCC bus (labeled x) Use a white wire to pull the reset pin up to VCC (eventually you'll use 10k resistors) Plug the LED from "key out" on the morse computer to VCC
Turn the circuit off by plugging the red VCC wire into an unused breadboard slot Load the battery pack Turn the circuit in by plugging the red VCC wire back into the VCC bus (yay ... blinky lights)
; ATtiny45 ; --v-- ; rst pb5 -| |- vcc ; pi pb3 -| |- pb2 sck keyin ; po pb4 -| |- pb1 miso tone1 ; gnd -| |- pb0 mosi tone0 ; ----- ; 8MhzAdd the side tone computer
Now connect keyout from the morse computer to keyin on the side tone computer Now connect the speaker to + and - tone (doesn't matter which lead you plug into which). See CellPhoneSpeaker. The pi pin on morse controlls the tempo, the pi pin on sidetone controls pitch. Try hooking these to vcc or ground and notice the range of values. Try feeding the morse keyout signal into one or the other or both of the pi inputs. See if it makes you laugh. Adding a third computer that will adjust speed, tempo or both ; ATtiny45 ; --v-- 100k ; rst pb5 -| |- vcc ------------\/\/\/\/---+ ; pi pb3 -| |- pb2 sck adc1 ------^ | ; po pb4 -| |- pb1 miso pwr --------------+ ; gnd -| |- pb0 mosi scope ; ----- ; 8MhzAdd the adc-pot computer
Try using the po from the adc-pot to control the morse tempo or pitch or both. Adding a fourth computer that will display parameters on TV ; ATtiny12 ; --v-- ; rst pb5 -| |- vcc ; pi pb3 -| |- pb2 sck ; pb4 -| |- pb1 miso vh --470--+-- 75 ohm video ; gnd -| |- pb0 mosi vl --1k---+ ; ----- ; 1.2MhzAdd the TV computer
ToDo
|
Last edited March 19, 2006 Return to WelcomeVisitors |