Commit 4ec35304 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update readme

parent 3b777f64
Embedded model of a traffic light controller
This version can be deployed on an STM32F407-Disovery board
It uses the leds on the board connected to PD12 (green) PD13 (orange) PD14 (red) and PD15 (blue)
The onboard LEDS should be fine, but you can also connect an external set of LEDs.
It uses the leds on the board connected to PD12 (green) PD13 (orange) PD14 (red) PD15 (pedestrian go), and PD11 (pedestrian stop)
It also uses the onboard blue button to request a shorter timeout of the green light
you can connect a debug interface on PC6-PC7 and run picocom --baud 115200 --imap lfcrlf /dev/ttyUSB2
(carefully select the interface to which it is connected)
The GUI binary should be connected via PA2/PA3 pins
The deployment view defines which ttyUSB interface isused.. you must cross-check with your own configuration (use dmesg)
WARNING: this may not work at all inside a free-Virtualbox VM because of the port forwarding that requires a licence and a non-free component
The onboard LEDS should be fine, but you can also connect an external set of LEDs. (esp. PD11 which has no corresponding onboard led)
When the application starts, the 4 leds should be blinking, until the initialize command is sent from the GUI
In the picocom terminal you should see an alternance of "ping" and "pong". When the initialize signal is received, the terminal should display "initialized"
When the application starts, the 4 leds should light for a short period of time, then the system should run autonomously
use "sudo journalctl -f" to monitor the activity on the USB bus
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment