DonglePi is a USB Dongle with a Raspberry Pi Header for your PC

While the newer Raspberry Pi A+, B+ and B2 boards feature the new 40-pin connector, the Raspberry Pi boards Model A and B have a 26-pin expansion header, but both are use to access GPIOs, UART, SPI, I2C and interface with external hardware, and many add-ons boards have been developed for the Raspberry Pi. But what if you’d like to use R-Pi add-ons board on your PC, or instead you are developing your own add-on board, but would like to do so directly on your PC for convenience? DonglePi is the answer.
DonglePiIt’s a small USB dongle with Atmel SAMD21 MCU and a 26-pin Raspberry Pi compatible header, that you could use connect to your Android/Linux/Windows PC to play with GPIO, I2C, SPI, Serial, PWM just like on a Raspberry Pi, and using RPi/GPIO or smbus Python libraries for programming.

The project is still in development, and so far most interfaces are working except PWM which needs to be worked on. The whole software and hardware (Eagle Schematics & PCB) are released under a Creative Commons CC BY-NC 4.0 license.

The hardware can not be purchased (yet), but you could also make a prototype with a breadboard, an Atmel SAMD21 development board, and Pi Cobler kit just like the developer (gbin) started with as shown below.

Atmel_SAMD21_Cobbler_Pi_BreadboardAll connections, hardware and software are documented on github.

Thanks to Zoobab for the tip.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

5 Replies to “DonglePi is a USB Dongle with a Raspberry Pi Header for your PC”

  1. Seems like a waste of a cortex-m0 core. An $3 Arduino Micro running Firmata can be controlled from a PC/Laptop using the pyFirmata/pyMata client apis.

  2. @Hussam
    The Firmata doesn’t support the I2C/SPI/UART well.
    If this DonglePi supports the I2C/SPI/UART really well, it will be a big hit to the USB IO board industry!

  3. @Armer
    Firmata can be made to support I2C & SPI but one would have to modify the firmware (Non Standard Firmata). One can also use a custom serial parser programmed on the Arduino. This parser reads incoming serial commands from the PC, decodes them and then runs the appropriate function. With this functionality not only can an Arduino’s GPIO, ADC, PWM, I2C and SPI be controlled from the PC over the serial port, but one can also remotely control LCD, IR remote, Software Serials, Servos e.t.c. I’ve had quite a bit of success with this approach.

    The mbed library/boards already have this functionality built-in via a remote procedure call (RPC) library.

    The board is a neat idea…but to mimic the very basic IO capabilities of the RPI (one SPI, one I2C, one UART & GPIO) I see no need for an ATSAMD21 over an ATMEGA328P or an ATMEGA32U4 (USB).

    The ATMEGA32U4 would be better because you can use a built-in USB CDC UART to communicate with the PC and the other can emulate the RPI’s UART…no need for an FTDI/CH340 chip.

Leave a Reply

Your email address will not be published. Required fields are marked *

Boardcon Rockchip and Allwinner SoM and SBC products
Boardcon Rockchip and Allwinner SoM and SBC products