Control Panel
From FridaV
(Created page with ' == FridaVControlPanel == The blinkenlights panel connects to the computer at the parallel port. It shows status of the system: power, network, recording, gps fix. It allows t...') |
|||
| + | == Frida Control Panel V3 for the box UNDER DEVELOPMENT == | ||
| + | Still pretty much the same idea, implemented on a custom circuit board with the atmega168 chip and max7219 led drivers among notable parts. It is arduino-compatible trough a FTDI USB cable. Uses segment led bars for display of measurements. Interfaces the air quality and weather sensors. Keeps an eye on the battery voltage too. | ||
| - | == | + | == Frida Control Panel V2 with Arduino for USB == |
| + | |||
| + | Very similar to the V1 except connected to the computer trough an arduino instead of a parallel port. | ||
| + | The needed firmware code for the Arduino is (sorry, missing at this time, [[Talk:User:Luka|ucanbugme!]]) | ||
| + | |||
| + | The serial protocol is line oriented with the first character being the command. Some example lines: | ||
| + | s 1 1 0 0 | ||
| + | s 7 1 1 0 | ||
| + | w 0 0 | ||
| + | w 1 0 | ||
| + | w 1 1 | ||
| + | w 2 0 | ||
| + | b 1 | ||
| + | b 2 | ||
| + | |||
| + | ;s ''sw1'' ''sw2'' ''btn'' ''sens'': switch, button and sensor states sent by the panel | ||
| + | ;w ''led'' ''state'': led states sent to the panel: 0 off, 1 on, 2-255 intensity | ||
| + | ;b ''led'': led blink requests sent to the panel | ||
| + | |||
| + | == Frida Control Panel V1 for parallel port == | ||
The blinkenlights panel connects to the computer at the parallel port. | The blinkenlights panel connects to the computer at the parallel port. | ||
[http://ljudmila.org/~luka/frida/frida-v-control-panel-stickers.svg SVG file]. | [http://ljudmila.org/~luka/frida/frida-v-control-panel-stickers.svg SVG file]. | ||
| - | + | http://ljudmila.org/~luka/frida/frida-v-control-panel-stickers.png | |
=== Pinout on the LPT port === | === Pinout on the LPT port === | ||
| - | + | 1 - input, buttonpressed | |
| - | 1 - input, buttonpressed | + | 2 - output, resetbutton |
| - | 2 - output, resetbutton | + | 3 - output, LED INET 1 |
| - | 3 - output, LED INET 1 | + | 4 - output, LED INET 2 |
| - | 4 - output, LED INET 2 | + | 5 - output, LED REC |
| - | 5 - output, LED REC | + | 6 - output, LED GPS |
| - | 6 - output, LED GPS | + | 11 - input, SW1 bit 1 |
| - | 11 - input, SW1 bit 1 | + | 12 - input, SW1 bit 2 |
| - | 12 - input, SW1 bit 2 | + | 13 - input, SW2 bit 1 |
| - | 13 - input, SW2 bit 1 | + | 14 - input, SW2 bit 2 |
| - | 14 - input, SW2 bit 2 | + | 15 - input, SW2 bit 4 |
| - | 15 - input, SW2 bit 4 | + | |
| - | + | ||
| - | + | ||
| - | + | ||
=== Control panel schematic === | === Control panel schematic === | ||
| - | there is also a | + | there is also a [http://www.ljudmila.org/~luka/frida/frida-control-panel-schematic.png bigger] version suitable for printing |
| - | + | http://www.ljudmila.org/~luka/frida/frida-control-panel-schematic-small.png | |
