Control Panel
From FridaV
Very similar to the V1 except connected to the computer trough an arduino instead of a parallel port. | 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 | + | 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: | The serial protocol is line oriented with the first character being the command. Some example lines: | ||
s 1 1 0 0 | s 1 1 0 0 | ||
| - | s 7 1 | + | s 7 1 1 0 |
w 0 0 | w 0 0 | ||
w 1 0 | w 1 0 | ||
b 2 | b 2 | ||
| - | ;s | + | ;s ''sw1'' ''sw2'' ''btn'' ''sens'': switch, button and sensor states sent by the panel |
| - | ;w | + | ;w ''led'' ''state'': led states sent to the panel: 0 off, 1 on, 2-255 intensity |
| - | ;b | + | ;b ''led'': led blink requests sent to the panel |
== Frida Control Panel V1 for parallel port == | == Frida Control Panel V1 for parallel port == | ||
=== 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 === | ||
