|
|
-
- \documentclass[11pt]{article}
- %Gummi|065|=)
- \usepackage{graphicx}
- \usepackage{caption}
- \usepackage{xcolor}
- \usepackage[vcentering,dvips]{geometry}
- \geometry{papersize={6in,9in},total={4.5in,6.8in}}
- \title{\textbf{UserSpace IO via uLisp and Arduino Uno}}
- \author{Steak Electronics}
- \date{}
- \begin{document}
-
- \maketitle
-
- %\tableofcontents
- \textcolor{green!60!blue!70}{
- \section{UserSpace IO via uLisp and Arduino Uno}}
- Overview: Goal is to get an easy way to echo "command" > /dev/ARDUINO from GnuLinux userspace.
-
- Then I can 3D print a box, throw some LEDs in there, and get a hardware interface for anything from my distro.
- \subsection{Setup}
- First off, I installed the stable uLisp from ulisp.com (AVR version 3.4).
- \subsubsection{Trouble with interfacing directly to ttyACM0 / ttyUSB0}
- The Arduino Uno uses an FTDI USB to Serial chip. It also has more than just RX/TX connected (I think). This means that when you echo "something" to
- arduino, this command will open the serial connection, send the command, then close the command and possibly reset the board via one of the
- UART reset pins (DTS perhaps). This won't work. First thing to do, get an FTDI board, and connect it to the computer, the connect
- it to digital pins 0,1 (for UART). Then test sending a command. This works. This will be the final setup. Computer -> FTDI -> Arduino.
-
-
- It should be possible to get it to work without the FTDI chip, but not without some debugging. Have at it, if you wish.
- Ref:
-
-
-
-
- \end{document}
-
|