# Arduino to Raspberry Pi Help

**URL:** <https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900>\
**Category:** Discussion\
**Tags:** electronics\
**Created:** [3 December 2025 15:47 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900 "2025-12-03T15:47:22Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [3 December 2025 15:47 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/1 "2025-12-03T15:47:22Z")

</div>

[@electrotechs](https://discourse.southlondonmakerspace.org/groups/electrotechs)

Or anyone with know how…

I’m trying to connect an arduino nano to a Raspberry Pi 4 to program the nano.  
No matter what I try I get the following error when uploading code from Arduino IDE on the pi to the nano.  
Using Arduino IDE 1.8.19 ver  
avrdude error: unable to open programmer arduino on port /dev/tty/ACM0

The pi can see the arduino, it’s on the right port.  
I appreciate it’s not much to go on, but has anyone else gone up against this brick wall and found a fix? Or can point me in the direction of a helpful video?

---

<div class="post-metadata">

**Author:** ![Matthew](https://discourse.southlondonmakerspace.org/letter_avatar/matthew/32/6_22734026db12803ebb3e059622ac3534.png) [@Matthew](https://discourse.southlondonmakerspace.org/u/Matthew)\
**Post date:** [3 December 2025 23:20 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/2 "2025-12-03T23:20:34Z")

</div>

Have you got the right permissions? Try `ls -l /dev/tty/ACM0` and you might find its group is `dialout`. Check you’re a member of that group with `groups`.

---

<div class="post-metadata">

**Author:** ![scythian](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/scythian/32/15038_2.png) [@scythian](https://discourse.southlondonmakerspace.org/u/scythian)\
**Post date:** [3 December 2025 23:23 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/3 "2025-12-03T23:23:35Z")

</div>

> [@JoelMilner](#):
>
> tty/ACM0

not all serial ports would create ACM, my serial port drivers create only /dev/ttyUSB0  
check `ls /dev/tty*` output

---

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [4 December 2025 10:02 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/4 "2025-12-04T10:02:40Z")

</div>

Thanks both, tried both of these no luck unfortunately.  
The board is an Arduino Nano Every with ATmega4809 processor, has anyone any experience with these and finding problems like that?  
Getting the same error message using a windows or a linux environment on 2 separate arduinos, ive installed the CH340 drivers as well

@Brendon_Hatcher has this been something you’ve ever come across?  
Or anyone else into microcontrollers?

---

<div class="post-metadata">

**Author:** ![Brendon\_Hatcher](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/brendon_hatcher/32/12769_2.png) [@Brendon\_Hatcher](https://discourse.southlondonmakerspace.org/u/Brendon_Hatcher)\
**Post date:** [4 December 2025 10:12 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/5 "2025-12-04T10:12:00Z")

</div>

A Google search suggests a linux permissions error. Are you getting exactly the same error when using Windows?

---

<div class="post-metadata">

**Author:** ![Geraetefreund](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/geraetefreund/32/20119_2.png) [@Geraetefreund](https://discourse.southlondonmakerspace.org/u/Geraetefreund)\
**Post date:** [4 December 2025 10:28 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/6 "2025-12-04T10:28:08Z")

</div>

From the sparse information you provided, I can only make a wild guess: Wrong board chosen.

Have you double checked you have selected `Arduino Nano Every`? Using `Arduino Nano` will not work with the Every.

If Arduino IDE \<2.0, Boards using ARM components (like the Every) need to be installed manually… if I remember correctly, the Every is part of the megaAVR package ?? Yes, you are right the uC used on the Every is an ATMega, though there are ARM components used on that board.

> [@JoelMilner](#):
>
> ive installed the CH340 drivers as well

This is not necessary for the Every. It uses another Cortex M0+ for USB/UART.

---

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [4 December 2025 10:57 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/7 "2025-12-04T10:57:03Z")

</div>

Hello,  
Apologies for the sparse info,  
These are my settings, I’m getting the new following error on windows after trying to set the processor to the 4809  
As I’m sure you’re probably aware I’m very new to the world of micro controllers so any help is welcomed

 ![IMG_6399](https://slms-discourse.s3.dualstack.eu-west-2.amazonaws.com/original/3X/e/2/e224ccd3be7795b3bbadfe00e8824f7248774485.jpeg)  
 ![IMG_6400](https://slms-discourse.s3.dualstack.eu-west-2.amazonaws.com/original/3X/4/d/4de15b028eea7494d2c1422ac82d501cfd9e4def.jpeg)

---

<div class="post-metadata">

**Author:** ![Geraetefreund](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/geraetefreund/32/20119_2.png) [@Geraetefreund](https://discourse.southlondonmakerspace.org/u/Geraetefreund)\
**Post date:** [4 December 2025 11:08 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/8 "2025-12-04T11:08:23Z")

</div>

Are you using

- Sketch → Upload  
or
- Sketch → Upload using programmer??

The Every uses UDPI + bootloader through SAMD11 and NOT JTAG/mEDBG…  
The `avrdude` error message states that you are targeting the wrong chip.

---

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [4 December 2025 11:10 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/9 "2025-12-04T11:10:39Z")

</div>

I have just been clicking upload. I have now tried sketch \> upload using programmer and get the following error  
avrdude: usbhid\_open(): No device found  
avrdude: jtag3\_open\_common(): Did not find any device matching VID 0x03eb and PID list: 0x2145  
Failed programming: uploading error: exit status 1

---

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [4 December 2025 11:12 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/10 "2025-12-04T11:12:01Z")

</div>

For the programmer - the only option I can see when using the rest of the settings for the Arduino nano every to select is mEDBG,

---

<div class="post-metadata">

**Author:** ![Geraetefreund](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/geraetefreund/32/20119_2.png) [@Geraetefreund](https://discourse.southlondonmakerspace.org/u/Geraetefreund)\
**Post date:** [4 December 2025 11:12 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/11 "2025-12-04T11:12:14Z")

</div>

Try changing:  
Tools → Programmer → AVR ISP (any)

Do not use Upload using programmer. Simply Sketch -\>Upload

---

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [4 December 2025 11:19 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/12 "2025-12-04T11:19:19Z")

</div>

Programmer only has the following option nothing else to choose -  
Onboard Atmel mEDBG UNO Wifi Rev 2  
Which doesn’t sound right as this isn’t an UNO and doesn’t have wifi.  
Is there a library or something i should download to get the programmer to see more options?  
I had lots more programmer options when using Arduino nano vs Arduino nano Every, but the code didn’t work then either

---

<div class="post-metadata">

**Author:** ![Geraetefreund](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/geraetefreund/32/20119_2.png) [@Geraetefreund](https://discourse.southlondonmakerspace.org/u/Geraetefreund)\
**Post date:** [4 December 2025 11:21 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/13 "2025-12-04T11:21:11Z")

</div>

Can you share the result of Get Board Info" ?

---

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [4 December 2025 11:23 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/14 "2025-12-04T11:23:21Z")

</div>

![IMG_6401](https://slms-discourse.s3.dualstack.eu-west-2.amazonaws.com/original/3X/d/d/ddb15ad21be1f00dc169cc155030f87d08381209.jpeg)

---

<div class="post-metadata">

**Author:** ![Geraetefreund](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/geraetefreund/32/20119_2.png) [@Geraetefreund](https://discourse.southlondonmakerspace.org/u/Geraetefreund)\
**Post date:** [4 December 2025 11:47 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/15 "2025-12-04T11:47:09Z")

</div>

> [@JoelMilner](#):
>
> Programmer only has the following option nothing else to choose -  
> Onboard Atmel mEDBG UNO Wifi Rev 2  
> Which doesn’t sound right as this isn’t an UNO and doesn’t have wifi.

This is a misconception. You can - for now - ignore that setting, since you are not using a dedicated programmer - confusing at the beginning, but you’ll understand that soon.

So far, everything is looking fine and there are just tiny obstacles in the way that everybody faces when going lower level.

It could be worth trying the following:

- Uninstall the megaAVR board definitions, restart the Arduino IDE, reinstall the megaAVR board package (yes, I know - trust the process)
- Select Board → Arduino Nano Every
- select correct com port
- upload blink via sketch/upload

This should work. No additional drivers needed.

---

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [4 December 2025 12:01 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/16 "2025-12-04T12:01:49Z")

</div>

Thank you for your help.  
Tried all of that and getting the following error  
avrdude: jtagmkII\_initialize(): Cannot locate “flash” and “boot” memories in description

---

<div class="post-metadata">

**Author:** ![Geraetefreund](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/geraetefreund/32/20119_2.png) [@Geraetefreund](https://discourse.southlondonmakerspace.org/u/Geraetefreund)\
**Post date:** [4 December 2025 12:05 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/17 "2025-12-04T12:05:49Z")

</div>

Is it possible, that you actually have successfully flashed the Every and it is blinking away??

You probably have seen this, just posting in case.

[https://support.arduino.cc/hc/en-us/articles/4405239282578-If-you-see-a-jtagmkII-initialize-Cannot-locate-flash-and-boot-memories-in-description-message-when-uploading-to-Nano-Every](https://support.arduino.cc/hc/en-us/articles/4405239282578-If-you-see-a-jtagmkII-initialize-Cannot-locate-flash-and-boot-memories-in-description-message-when-uploading-to-Nano-Every)

---

<div class="post-metadata">

**Author:** ![JoelMilner](https://discourse.southlondonmakerspace.org/user_avatar/discourse.southlondonmakerspace.org/joelmilner/32/22816_2.png) [@JoelMilner](https://discourse.southlondonmakerspace.org/u/JoelMilner)\
**Post date:** [4 December 2025 12:29 UTC](https://discourse.southlondonmakerspace.org/t/arduino-to-raspberry-pi-help/45900/18 "2025-12-04T12:29:05Z")

</div>

You are in fact right here, I read through that doc and the code is actually working. The blink programming is seemingly impossible to determine being different from the general blinking that the nano every does so I couldn’t tell it was working.  
I used strandtest on a set of RGB LEDs and the code is running fine!

Thanks very much for your help, as you say early teething problems when dropping down microcontrollers are expected!
