Initial testbed for Modbus.
It implements:
- a control center,
- a Lego EV3 bridge,
- a Lego EV3 toll,
- a Simulated toll.
Installation of Lejos environment at http://thinkbricks.net/?p=826
Some further details at http://hirt.se/blog/?p=489
A. Configuration of Home Computer
1. Configure Eclipse as mentionned by Lejos
2. Git clone project
3. Open project in eclipse
B. Configuration of EV3 :
1. Follow instructions to start Lejos :
a. prepare SD card (sd500.img)
b. copy Lejos files
c. copy Embedded JRE
d. Start EV3 with Micro SD
e. Proceed to configuration (see FAQ)
2. Configure Lejos
a. connect to Lejos (USB/Bluetooth/WIFI)
after having plugged the EV3 :
ssh [email protected]
b. configure correct IP
3. Configure Toll/Bridge Device
a. with Eclipse, compile and upload
b. edit Device.ini to satisfy parameters
c. launch tollbridge.jar (by EV3 or by Eclipse)
C. Configuration of Control Center :
1. with Eclipse, compile and launch "ControlCenter"
* How to change the IP address/network
1. Login on EV3 :
# ssh [email protected]
2. edit /home/root/lejos/bin/netaddress
# change IP address
3. edit /home/root/lejos/bin/udhcpd.conf
# change IP range fo the DHCP server
4. restart EV3
# reboot