Recent Changes - Search:

Axon microserver

InterplayMedium Hardware

Axon and Arduino

To send a command to Arduino UART interface from AXON microserver (and this also applies to all Linux distributions), you need:

to test if your Arduino is recognized by the system (lsusb is a part of usbutils package) lsusb there should be something like Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

to determine the serial port device file ls -l /dev/serial/by-id/

to set default port speed (this is necessary to do just once per OS session) @@stty 9600 -F <path to your device>

after that you can use printf or echo pritnf "string or char" > <path to your device>

Here is the detailed guide for LED Tetris game based on Arduino and that utilizes UART communication (with the source code, PCB, schematics, compiling and flashing scripts).

Page last modified on July 07, 2012, at 09:22 AM