Hello world electronics
Hello world electronics from the CBA hello world page, with community annotations - Add yours!
Contents
- 1 serial output
- 2 serial echo
- 3 Button
- 4 Light sensor
- 5 Temperature sensor
- 6 Step response (resistence, capacitance, inductance, location, distance,..)
- 7 Microphone
- 8 RGB LED
- 9 LED array
- 10 LCD screen
- 11 Video control
- 12 Speaker
- 13 DC motor
- 14 stepper motor
- 15 Old hello world projects
- 15.1 serial output, programming clip (hello)
- 15.2 serial output, programming header (hello0)
- 15.3 serial I/O, programming clip (hello1)
- 15.4 output: LED (hello2)
- 15.5 input: step-response (hello3)
- 15.6 Efe: button+LED
- 15.7 A/D: light/sound/temperature (hello4)
- 15.8 D/A: speaker (hello5)
- 15.9 display: LCD (hello7)
- 15.10 video: RS170 (hello8)
- 15.11 motion: stepper (hello9)
- 15.12 multiplexing: LED array (hello10)
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
video: RS170 (hello8)
motion: stepper (hello9)
multiplexing: LED array (hello10)
Now you should make your circuit board see more information on Making_circuit_boards_on_Modela