SliTaz SliTaz Forum

You are not logged in.

#1 2012-05-27 17:07:24

bnorling72@yahoo.com
Member
Registered: 2011-06-06
Posts: 10

Communications with Arduino

Hello all,

  I am working on an embedded solution that requires my computer to communicate with an arduino.  I need to know how to get serial communications working over USB through the ftdi chip in the arduino.  It appears that I have to re-compile the kernel but beyond that, I'm just guessing.  Any tips?

Ben

Offline

#2 2012-05-27 18:01:23

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Communications with Arduino

Use Slitaz-4.0 :  Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux

tux@slitaz:~$ zcat /proc/config.gz | grep -i ftdi_sio

# CONFIG_USB_SERIAL_FTDI_SIO is not set

Follow this guide to compile kernel : http://doc.slitaz.org/en:guides:kernel

Use menuconfig to enable ftdi_sio as module

Change:

# CONFIG_USB_SERIAL_FTDI_SIO is not set

to

CONFIG_USB_SERIAL_FTDI_SIO=m

Info on the driver:

http://cateee.net/lkddb/web-lkddb/USB_SERIAL_FTDI_SIO.html

Install new module and load it with modprobe.

Tutorial on verifying linux driver to arduino communication

http://www.ladyada.net/learn/arduino/lesson0-lin.html

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.52 MiB (Peak: 1.77 MiB) ]