In SX Microcontrollers, SX/B Compiler and SX-Key Tool, siegelj wrote: Hi everybody, I'm just starting to get involved in a robotics project I've been planning for awhile, and came up with a little roadmap of how to get to where I need to be. The first step is serial communications, from the SX to the computer. I will be using the SX48 as a data relaying device, but would like to start by sending integer values, characters, or similar (ideally, a string like 050A999B000C, etc., to convey a sensor name and it's value). I've tried Jon William's sample code, and the code of other's on this board, to no avail. The two issues I figured it might be were the internal resonator, but I've been using an external 4mhz, and the line level. To resolve this, I got an Acroname Brainstem, which in theory does TTL to RS232 and vise versa. Simply wiring in the output from the board to the RX of the Brainstem, I got a bunch of garbage (in multiple different terminal programs). I've also tried wiring straight out of the board, with pin 5 to ground, pins 1, 4, and 6 linked, and pin 2 out from the board with no luck (I believe I found this schematic on here, somewhere in one of Jon's threads). That didn't work, either. So what do I do? Would anyone be able to do a reasonable step-by-step, with sample code and a schematic, verbal or drawn? Thanks! Josh P.S., has anyone tried something like 7d) on this FAQ: http://www.maxbotix.com/MaxSonar-EZ1__FAQ.php ? I know I talked to pjv about this awhile back, but this seems a bit different, given that it's only a single IO for every sonar. This is what I'd like to output to the computer, eventually. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=147761 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)