Mobots' robots
Aseba Marxbot
français | english
This wiki
This page

Powering-on dsPICs

The script /etc/init.d/dspics-power allows to control the translator and dspics on the marxbot. You can call it with the current options: 

start, stop, restart, poweron, poweroff.

The dspics and translator are automaticaly and properly powered on and started by the script at the robot boot.

If you want direct access to the reset pins of the translator and the other pics, you can access these files (look at the script for more details):

echo 1 > /sys/class/gpio/gpio21/value (translator)

echo 1 > /sys/class/gpio/gpio22/value (other dspics)

Translator connection

The translator connecting the ASEBA network to the outside world can either connect to the iMX, or connect to the bluetooth interface.

even (pair) = bluetooth

odd (impair) = iMX

Launching the switch

To launch the switch on the robot, run:

asebaswitch "ser:device=/dev/ttymxc4;fc=hard;baud=921600"