0
\$\begingroup\$

I am trying to my PICAXE 08m2 to my laptop using a 3 ring audio jack to USB connector and a TRRS breakout board. I only found out that these are different from the official AXE027 USB Cable Driver. Is there any way to program the 08m2 using what I already have?

\$\endgroup\$
1
\$\begingroup\$

The PICAXE download cable is not just a cable. It has an FTDI USB/serial converter chip built in, unlike your cable which is just wired straight through from one plug to the other.

PICAXE's were originally designed to be programed via an RS232 serial port, with a few extra parts to convert the voltage levels from +-12V to the PICAXE's 0-5V logic levels. But modern PCs don't have RS232 serial ports, so they now make a USB cable to do the job. The FT232RQ USB to serial converter chip is programmed to reproduce the signal polarity on an RS232 cable, which is inverted relative to 'standard' TTL serial.

You can use an official FTDI USB/TTL serial cable, but first you must configure it to produce inverted TXD and RXD signals. Alternatively you can use any 'generic' USB/TTL serial converter, with external logic gates or transistors to invert the signals.

enter image description here

Here's an article that describes how to do it:-

Building Your Own PICAXE Download Cable

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ That circuit, and the others on the linked article, are wrong. The 22k and 10k resistors on the PICAXE side should not form a voltage divider; the 10k should link TX to GND and the 22k TX to SERIN (see At a glance: download circuit in the PICAXE manual). The PIC chip has diodes on its input which clamp the RS232 voltage levels to VDD/GND and the 22k is there to limit the current. \$\endgroup\$ – nekomatic Sep 13 '18 at 10:36
  • \$\begingroup\$ Also, not all 'generic' USB/TTL converters will work; they need to implement 'serial break' signalling which the PICAXE uses to initiate a program download. Any USB/TTL adapter using a genuine FTDI chip should work though, with the advantage that you can use FTDI's tool to program the chip to invert the signals. \$\endgroup\$ – nekomatic Sep 13 '18 at 10:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.