Control Panel

From FridaV

Jump to: navigation, search
 
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][ucanbugme!]])
+
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 0 0
+
  s 7 1 1 0
  w 0 0
  w 0 0
  w 1 0
  w 1 0
  b 2
  b 2
-
;s *sw1* *sw2* *sw3* *sw4*: switch states sent by the panel
+
;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
+
;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
+
;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  ===
-
<nowiki>
+
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
+
-
</nowiki>
+
-
 
+
=== Control panel schematic ===
=== Control panel schematic ===

Current revision as of 01:53, 22 March 2009

Personal tools
maps, graphs & data