Let's Make Robots!

Picaxe Serial Communication Through Prog. Socket??

Hey, I'm wondering: If I have 2 Picaxe 28X1's that both have their own programming sockets, after programming them, can I use a male to male audio cable and connect their sockets, and send information from one to the other with serout commands? One 28x1 sends info to the other, no data is sent back, so only on serial line is needed. Is it possible, and how would I implement it?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Actually, I found a much more elegant solution if I can get it to work for me. i simply have a problem of not having enough output pins open to allow both hserin and hserout to be used, which I would really like to use. However, I read somewhere that the serial output pin that is hard wired to the download circuit, pin 7, can be alternately be used as a regular output. In my case, I just need to drive a single LED from each output, so I'm guessing I could just make the pin an output and create a small jumper region on my board and disconnect the LED before download and reconnect it afterwards to reduce any possible interference? And most importantly, what code would I need to turn pin 7 into a normal output and implement it? And I'm guessing I would have to hard reset the Picaxe each time I needed to download a program?

Perhaps. The Picaxe 08 uses a jumper switch for one of its outputs that must be set in order to program it over the serial line. So if you look at the circuit used for the Picaxe 08 proto board, that should give you some good guidance.