Arduino Communications Using the netcat(nc) Utility
From Combustory
(Difference between revisions)
Jvaughters (Talk | contribs) |
Jvaughters (Talk | contribs) |
||
Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
Why reinvent the wheel. I have seen very complicated methods for communicating with the Arduino, Including some I have made on my own. What I have recently found out is that the easiest way to communicate to the Arduino is using the existing tool ''netcat''. It is soooooo simple and super powerful. You | Why reinvent the wheel. I have seen very complicated methods for communicating with the Arduino, Including some I have made on my own. What I have recently found out is that the easiest way to communicate to the Arduino is using the existing tool ''netcat''. It is soooooo simple and super powerful. You | ||
+ | =Assumptions= | ||
+ | * You have basic knowledge of command line usage | ||
+ | * You know how to program Arduino to use the serial port output | ||
=Mini2440 or Embedded Systems= | =Mini2440 or Embedded Systems= | ||
Embedded systems like the Mini2440, use Busy Box as a small utility package. | Embedded systems like the Mini2440, use Busy Box as a small utility package. | ||
nc -f /dev/ttyUSB0 | nc -f /dev/ttyUSB0 |
Revision as of 00:40, 8 September 2012
Overview
Why reinvent the wheel. I have seen very complicated methods for communicating with the Arduino, Including some I have made on my own. What I have recently found out is that the easiest way to communicate to the Arduino is using the existing tool netcat. It is soooooo simple and super powerful. You
Assumptions
- You have basic knowledge of command line usage
- You know how to program Arduino to use the serial port output
Mini2440 or Embedded Systems
Embedded systems like the Mini2440, use Busy Box as a small utility package.
nc -f /dev/ttyUSB0