Page 1 of 1

Problem using Pro Micro with Raspberry pi

Posted: Sat Dec 28, 2019 9:35 am
by momoster69
Hi,

I was wondering how would I go connecting the RPI to the pro micro through the uart pins, I have disabled serial connection through raspi-config ,saying no to both: " Would you like a login shell to be accessible over serial?" and "Would you like the serial port hardware to be enabled?"

and I keep getting this error when trying to flash:
  • pi@raspberrypi:~/Downloads/firmwares-5.8/EMUPS4 $ avrdude -p atmega32u4 -c avr109 -P ttyAMA0 -D -U flash:w:<atmega32u4.hex>:i
    avrdude: ser_open(): can't open device "ttyAMA0": No such file or directory

    avrdude done. Thank you.

Re: Problem using Pro Micro with Raspberry pi

Posted: Sat Dec 28, 2019 11:33 am
by Matlo
Beware, you can damage your RPi and/or your Pro Micro board if you connect them directly. Pins don't have the same voltage level. You need to shift the voltage level, using a voltage divider for example: https://gimx.fr/wiki/index.php?title=RP ... _interface

Firmware is always loaded through the micro USB port, not through the UART. A Pro Micro board with default firmware usually shows up as /dev/ttyACM0. Once programmed, this device only shows up briefly after uplugging/replugging the micro usb cable (with the UART connected), or after shorting RST to GND.