Table of Contents

Building up a Base Station

Needed Parts and PCB

You need a PCB. You may use the layout from Github and etch it yourself or order the PCB or a complete kit.

The base station is designed to run 24/7 on 5V and to be connected to a PC, so you may prefer a stabilized 5V power supply, and not running on batteries. Any USB power supply will do well, and many mobile phone chargers are working at 5V.

Partlist (in buildup order)

Amount Part Placing Picture
1 PCB Generic Maxi Speed 1 pcb_maxi_speed.jpg
1 Diode 1N4148 D1 diode_1n4148.jpg
3 Zener Diode 3,3V D2, D3, D4 diode_3_3v.jpg
1 Resistor 1k5 brown-green-red R1 resistor_1k5.jpg
3 Resistor 1k brown-black-red R4, R5, R6 resistor_1k.jpg
1 Resistor 1M brown-black-green R10 resistor_1m.jpg
1 Quarz / Crystal 20 MHz Q1 crystal_20mhz.jpg
2 Capacitor 22pF C1, C2 capacitor_22pf.jpg
1 Button/Switch S1 button.jpg
1 IC holder IC1 ic_holder.jpg
1 Voltage regulator LP2950Z IC3 ic_lp2950z.jpg
1 LED 2mA LED1 led_yellow.jpg
1 Connector AVR ISP 6pin JP1 connector_isp.jpg
2 Capacitor 10µF C5, C6 capacitor_10uf.jpg
1 IC ATMega328 IC1 atmega.jpg
1 Transceiver PCB RFM12B IC2 ic_rfm12b.jpg
1 Antenna (82,2mm wire) JP2 antenna.jpg

some jumpers and connectors for power, serial and maybe extra pins, at your opinion.

Optional:

Buildup of PCB

As always: start from flat to high. Go through the partlist and solder the parts from the top ones to the last ones.

For some parts, you have to consider something special:

(Image directly loaded from external GitHub source. If it doesn't work, fix link in wiki!)

Flashing the firmware

If you have a new ATMega where nothing is flashed onto, download a prebuilt binary package or build your own firmware. If you bought a hardware kit, the ATMega should already be flashed.

After flashing and switching the power on, your base station should start blinking the LED once a second.

Integrate it into a housing

This is an example how to integrate the electronics into a nice housing. Here a black plastic housing was used (Conrad, 2.15EUR). The left figure shows the planned arrangement of parts: The smarthomatic base-station pcb, the FTDI FT232RL based serial USB adapter and the LEDs. The housing contains 4 pins inside for screw mounting, but it was on the wrong place, so it was removed with a drill and a chisel. On the side wall the marks for the USB-port and the LEDs are visible. The third figure shows the final assembly, the second LED was omitted. All parts were fixed with hot glue.

Lower case with parts arrangement pin removed, openings marked
finished