base_station
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
base_station [2013/10/04 18:56] – external edit 127.0.0.1 | base_station [2014/03/02 17:11] (current) – [Needed Parts and PCB] breaker27 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Building up a Base Station ====== | ||
+ | |||
===== Needed Parts and PCB ===== | ===== Needed Parts and PCB ===== | ||
- | You need a **PCB**. You may use the layout from [[https:// | + | You need a **PCB**. You may use the layout from [[https:// |
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. | 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. | ||
Line 7: | Line 9: | ||
==== Partlist (in buildup order) ==== | ==== Partlist (in buildup order) ==== | ||
- | ^ Amount | + | ^ Amount |
| 1 | PCB Generic Maxi Speed 1 | | {{ parts: | | 1 | PCB Generic Maxi Speed 1 | | {{ parts: | ||
- | | 1 | Diode 1N4148 | + | | 1 | Diode 1N4148 |
- | | 3 | Zener Diode 3,3V | D2, D3, D4 | {{ parts: | + | | 3 | Zener Diode 3,3V | D2, D3, D4 | {{ parts: |
- | | 1 | Resistor 1k5 brown-green-red | + | | 1 | Resistor 1k5 brown-green-red |
- | | 3 | Resistor 1k brown-black-red | + | | 3 | Resistor 1k brown-black-red |
- | | 1 | Resistor 1M brown-black-green | + | | 1 | Resistor 1M brown-black-green |
- | | 1 | Quarz / Crystal 20 MHz | Q1 | + | | 1 | Quarz / Crystal 20 MHz | Q1 |
- | | 2 | Capacitor 22pF | C1, C2 | + | | 2 | Capacitor 22pF | C1, C2 |
- | | | + | | |
- | | 1 | + | | 1 |
- | | 1 | + | | 1 |
- | | 1 | + | | 1 |
- | | 1 | + | | 1 |
- | | | + | | |
- | | 1 | + | | 1 |
- | | 1 | Transceiver PCB RFM12B | + | | 1 | Transceiver PCB RFM12B |
- | + | | 1 | Antenna (82,2mm wire) | JP2 | {{ parts: | |
- | some jumpers and connectors for power, serial, ISP and maybe extra pins, at your opinion. | + | |
+ | some jumpers and connectors for power, serial and maybe extra pins, at your opinion. | ||
Optional: | Optional: | ||
*resistors 150k & 330k, for measuring the supply voltage. Obsolete for a base station, but you can connect them if you built something else with the Generix Maxi Speed PCB that runs on batteries. | *resistors 150k & 330k, for measuring the supply voltage. Obsolete for a base station, but you can connect them if you built something else with the Generix Maxi Speed PCB that runs on batteries. | ||
+ | ===== Buildup of PCB ===== | ||
- | alternatives: RFM12 (without the " | + | As always: start from flat to high. Go through |
- | ===== Buildup of PCB ===== | + | For some parts, you have to consider something special: |
- | As always: start from flat to high. Solder the wires first, then the resistors, diodes, condensators, | + | |
- | Don't solder the radio module, and don't push the µC into the socket. Connect the 5V power supply, and check if the right voltages are at the µC socket and at the radio module pads. | + | |
- | {{ https://raw.github.com/ | + | * **Diodes:** Look at the marked ring. This has to match the line / the top of the arrow on the PCB. |
- | //(Image directly loaded from external GitHub source. If it doesn' | + | * **IC holder:** Look at the notch and place it in the right direction. |
+ | * **Voltage regulator: | ||
+ | * **LED:** Solder it to a wire if you want to place the PCB in a housing later. Read the instructions on how to [[LED_soldering|solder the LED to a cable]]. The longer wire of the LED is +. It goes into the hole more in the middle of the PCB. | ||
+ | * **ISP Connector: | ||
+ | * **10 µF Capacitor: | ||
+ | * **USB-to-serial connector: | ||
+ | * **ATMega:** Before inserting | ||
+ | * **RFM12B:** You should also check the voltages first before soldering the module. At the place for the radio module the pad beside the antenna and at the opposite side the third pad should read about 3.3V. For soldering, read [[rfm12b_soldering|the RFM12B mounting instructions]]. | ||
+ | * **Antenna: | ||
- | Connect the black test wire to the ground, f.ex. at the first pin of the serial port. The third pin should read approx. 5V, and the pins 6 & 21 of the µC socket should be 5V, too. At the place for the radio module the pad beside the antenna and at the opposite side the third pad should read about 3.3 V. | + | {{https:// |
- | If you have different voltages: don' | + | //(Image directly loaded from external GitHub source. |
- | + | ||
- | If you get the correct voltages, solder the radio module | + | |
===== Flashing the firmware ===== | ===== Flashing the firmware ===== | ||
- | If you have a new ATMega where nothing is flashed onto, download a prebuilt binary package or compile | + | If you have a new ATMega where nothing is flashed onto, [[http:// |
After flashing and switching the power on, your base station should start blinking the LED once a second. | After flashing and switching the power on, your base station should start blinking the LED once a second. | ||
- | |||
===== Integrate it into a housing ===== | ===== Integrate it into a housing ===== | ||
- | describe | + | This is an example how to integrate the electronics into a nice housing. |
+ | Here a black plastic housing was used ([[http:// | ||
+ | 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. | ||
+ | |||
+ | ^{{: | ||
+ | |::: |
base_station.1380905781.txt.gz · Last modified: 2013/10/04 19:56 (external edit)