Traffic light: Difference between revisions

From RevSpace
Jump to navigation Jump to search
(Created page with "Owner: Folkert van heusden Connected to jukebox. Device: /dev/tl Serial, 115k2, requires ascii-string ended with cr/lf/cr+lf/lf+rc/and other variations. 3 characters (not...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Owner: [[Folkert van heusden]]
Owner: [[Folkert van heusden]]
Pinout: g/y/r are on pins 2/3/4. Brown is on 5V, blue on gnd. External power on gnd & vin.
Running as /root/tl.pl on "squeezebox-klusbunker" (10.42.66.3). Sends messages to /dev/nr24l01p
== current ==
Listens on nrf24l01, same channel as rest of infra.
Command: STPLxxx where x is either '0' or '1' (ascii characters, not binary values).
[[File:Internet_state_stoplicht.jpg]]
== old ==


Connected to jukebox.
Connected to jukebox.
Device: /dev/tl
Device: /dev/tl
Serial, 115k2, requires ascii-string ended with cr/lf/cr+lf/lf+rc/and other variations.
Serial, 115k2, requires ascii-string ended with cr/lf/cr+lf/lf+rc/and other variations.
3 characters (not binary bytes) that are either 0 or 1. Order: green, yellow, red.
3 characters (not binary bytes) that are either 0 or 1. Order: green, yellow, red.
Arduino requires extra seperate power supply or else it'll go in a reboot-loop when switching.
Arduino requires extra seperate power supply or else it'll go in a reboot-loop when switching.
Pinout: g/y/r are on pins 2/3/4. Brown is on 5V, blue on gnd. External power on gnd & vin.

Latest revision as of 13:57, 9 October 2015

Owner: Folkert van heusden


Pinout: g/y/r are on pins 2/3/4. Brown is on 5V, blue on gnd. External power on gnd & vin.

Running as /root/tl.pl on "squeezebox-klusbunker" (10.42.66.3). Sends messages to /dev/nr24l01p

current

Listens on nrf24l01, same channel as rest of infra. Command: STPLxxx where x is either '0' or '1' (ascii characters, not binary values).

Internet state stoplicht.jpg


old

Connected to jukebox.

Device: /dev/tl

Serial, 115k2, requires ascii-string ended with cr/lf/cr+lf/lf+rc/and other variations. 3 characters (not binary bytes) that are either 0 or 1. Order: green, yellow, red.

Arduino requires extra seperate power supply or else it'll go in a reboot-loop when switching.