yaaarrr! a Circuit Pyrate is ready to be your best mate on the hacking seas – might call it Protocol Droid

⚓️🏴‍☠️🤖🔧💻🔗🐍🔋📚💡🔌✨🌐💬📌🔄🔍💼📊

we recently sold out of our stock of Bus Pirates https://github.com/BusPirate/Bus_Pirate and when we booked a reorder we found it’s currently unavailable with no ETA for re-stocking. it made us think about revisiting this design, perhaps using an RP2040 instead: with native USB and CircuitPython and PIO it might be easier to add new protocols! we did do a “Circuit Pyrate” draft many years ago but it was based on the SAMD21 and we quickly ran out of space – another thing the RP2040 would excel at.

parsing data is something that Python does very well, and tannewt already has VT100 control code support for the REPL status bar, so we’re having a go at re-implementing the UX in native python by instantiating a secondary ‘data only’ CDC UART endpoint https://learn.adafruit.com/customizing-usb-devices-in-circuitpython/circuitpy-midi-serial#usb-serial-console-repl-and-data-3096590 The default REPL can then be enabled or disabled with the onboard slide switch.

here’s our draft that uses the same sizing and header location but of course all different parts. two challenges: the RP2040 is not 5V-tolerant like the PIC24J but it’s also not guaranteed for high speeds, so we put a 1K+3.6V zener diode on the 4 GPIO pins that ought to let it work OK with 3 or 5V devices. secondly, the pin mux distribution for I2C and UART doesnt match the same as the original chip so we may have to PIO bitbang those interfaces. we’re going to have to do a bunch of pin twiddling to find out the limitations of this design. we add a separate Stemma QT port, NeoPixel, and LEDs for both power outputs. fun fact, did you know that the bus pirate is CC-0 http://dangerousprototypes.com/docs/Bus_Pirate_v3.6#License a rarely seen license for OSHW!

our current pondering is how to best mimic the 5V tolerant inputs of the PIC24J – the 1K + 3.6V zener will definitely do the job but can slow down the IO quite a bit on those high speed SPI lines. because we want full bidirectional support for each pin *and* be able to enable/disable optional 10K pullups to 3V (internal) or 5V (external) we can’t us the TXS0104 series: has built in un-disableable pullups. this app note has a few tips we’re perusing https://ww1.microchip.com/downloads/en/DeviceDoc/chapter%208.pdf – #11 looks like it may work..any suggestions?

We’re still working out the names for it – might call it Protocol Droid, logos below.


Other names we considered!

arm matey
bandwidth buccaneer
bit raider
busbanger
byte brigand
byte buccaneer
digital deckhand
freebooter
hardware hawk
logic looter
signal seadog
silicon swashbuckler
voltage viking

protocol droid

(not includcing circuit pyrate)


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — β€œPackaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



3 Comments

  1. Wouldn’t TXB0104 do the job in a safer way? Up to 100Mbps and same pinout as TXS0104.

  2. phillip torrone

    TXB0104 cannot do open-drain interfaces like I2C

  3. Check out bus pirate ultra for some clever tricks regarding β€œFully buffered interface with 1.2 to 5.0 volts direct interfacing”.

    http://dangerousprototypes.com/forum/index.php?topic=10316.0

Sorry, the comment form is closed at this time.