Hello world electronics
Hello world electronics from the CBA hello world page, with community annotations - Add yours!
serial output
Simple board which uses RS-232 (serial) communications to send the 8 bit ASCII string "Hello World!" again and again at 9600 baud.
Two versions of the program code - one written in assembler, the other in C.
- hello.serial.45.cad - electronics schematic
- hello.serial.45.asm - assembler code
- hello.serial.45.hex - machine code (compiled)
- hello.serial.45.c - C code
- makefile - Make file for C code
serial echo
Slightly more complicated board which uses RS-232 (serial) communications to listen for text strings and echo them back at 9600 baud.
Again, both assembler and C code, but also a verion for ATTiny44.
- hello.echo.45.cad - schematic, ATTiny45
- hello.echo.45.asm - assembler code, ATTiny45
- hello.echo.45.c - C code, ATTiny45
- makefile - Make file fyrir C code, ATTiny45
- hello.echo.44.cad - schematic, ATTiny44
- hello.echo.44.asm - assembler code, ATTiny44
Button
Simple circuit with a button. When you press the button the circuit sends a message through RS-232.
- hello.button.45.cad - schematic
- hello.button.45.asm - assembler code
Light sensor
Simple light sensor
- hello.light.45.cad - schematic
- hello.light.45.asm - assembler code
- hello.light.45.py - Python program which listens for output and displays results.
Temperature sensor
Simple temperature sensor
- hello.temp.45.cad - schematic
- hello.temp.45.asm - assembler code
- hello.temp.45.py - Python program which listens for output and displays results.
Step response (resistence, capacitance, inductance, location, distance,..)
Circuit which listens for any kind of step response. Connect sensors to conduct measurements!
- hello.step.45.cad - schematic
- hello.step.45.asm - assembler code
- hello.step.45.py - Python program which listens for output and displays results.
Microphone
Microphone circuit. Sends audio back through RS-232.
- hello.mic.45.cad - schematic
- hello.mic.45.asm - assembler code
- hello.mic.45.py - Python program that displays the waveform in realtime.
- hello.mic.44.cad - ATTiny44 version of the same circuit.
RGB LED
Circuit with an RGB LED.
- hello.RGB.45.cad - schematic
- hello.RGB.45.asm - assembler code - program that rolls through the spectrum using PWM
LED array
Circuit which uses Charlieplexing to make a LED array.
- hello.array.44.cad - schematic
- hello.array.44.asm - assembler code
- hello.array.44.2.cad - dual layer circuit board; harder to make but doesn't require bridges.
LCD screen
Circuit that controls an LCD screen
- hello.LCD.44.cad - schematic
- hello.LCD.44.asm - assembler code
Video control
Display an image on a TV screen.
- hello.video.44.cad - schematic
- hello.video.44.asm - assembler code
Speaker
Control a speaker
- hello.speaker.45.cad - schematic
- hello.speaker.45.pwm.asm - assembler code that uses PWM
- hello.speaker.45.wave.asm - assembler code that uses waveforms
DC motor
Controls a DC motor using a H-bridge
- hello.H-bridge.44.cad - schematic
- hello.H-bridge.44.asm - assembler code
stepper motor
Controls a stepper motor
- hello.stepper.44.cad - schematic
- hello.stepper.44.full.asm - full control
- hello.stepper.44.wave.asm - wave control
- hello.stepper.44.half.asm - half control
Old hello world projects
serial output, programming clip (hello)
- schematic: hello.sch
- PCB: hello.brd
- Gerber: hello.cmp / hello.vinyl.cmp
- assembly code: hello.asm
- hex file: hello.hex
serial output, programming header (hello0)
serial I/O, programming clip (hello1)
output: LED (hello2)
input: step-response (hello3)
- schematic
- PCB
- serial output
- measure and send step-response curve
- receive and plot step-response curve
Efe: button+LED
A/D: light/sound/temperature (hello4)
D/A: speaker (hello5)
display: LCD (hello7)
display hello world: master slave processor