I downloaded the IDE (ARM 32 bit version) via the official website. And, when I ran
sudo /opt/arduino-####/install.sh
(# replaced by "1.8.19"), the IDE showed up under Programming. I clicked it, the hourglass animation went on for 15 seconds and nothing happened. How do I fix this?
Device: RPi 4 Model b, Rasbian 11, 32 bit. As to why I'm trying to program an Arduino on an RPi is that I'm trying to enable serial communication between the 2 devices.
I also have Serial Port and Serial Console enabled. This is the website I used for reference: Install Arduino IDE on Raspberry Pi - Raspberry Pi Spy
EDIT: I decided to just use the online IDE, Arduino Cloud. Problem solved?
Hi @port1. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to run the Arduino IDE from the command line, then share the output.
Please do this:
Start a terminal in the Arduino IDE installation folder.
Type the following command:
/opt/arduino-1.8.19/arduino
Press Enter.
Wait for the Arduino IDE startup to hang, which would be indicated by no new text being printed to the command line terminal.
Switch back to the terminal window if the Arduino IDE window took the focus.
Click and drag the mouse to select all the output in the terminal window.
Press Ctrl+C.
This will copy the selected text to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
Press Ctrl+V.
This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
I re-downloaded the archive from the site, untarred again and it appears that this archive had more files in it. Weird, I don't recall seeing errors related to a premature end of the tar archive. Now the library is there, and it works.
I don't understand. What am I supposed to do? I'm having issues moving the old one to Wastebasket. So The new one (re-downloaded version) stays in Downloads.
Error: arduino-1.8.19: Unable to move file /opt/arduino-1.8.19 to the wastebasket: Permission denied
I get this error when trying to launch Arduino IDE
pi@raspberrypi:/opt/arduino-1.8.19 $ sudo ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...
done!
pi@raspberrypi:/opt/arduino-1.8.19 $ ./arduino
./arduino: ligne 35: /opt/arduino-1.8.19/java/bin/java: Aucun fichier ou dossier de ce type
pi@raspberrypi:/opt/arduino-1.8.19 $