Hello Rui,
In the development of my project I went from ESP32 to raspberry pico H. More processor pins and memory OK. On the other hand, faced with the possibility of storing .csv files on flash memory, as on ESP32 where your article had been possible (already noted obligation of IDE 1.8 and not 2.1 otherwise transfer disappears? Any idea that I wish to remain in C /C++ Arduino, not Python. Thanks in advance for your assistance. Regards
(Google translation ??)
Hi.
I haven’t tried that yet with the Raspberry Pi Pico.
But I found this plugin: https://github.com/earlephilhower/arduino-pico-littlefs-plugin/blob/master/README.md
similar to the ones you use on Arduino IDE with the ESP32 and ESP8266.
It seems to work in a similar way.
Let me know your feedback because I haven’t tried that yet.
Regards,
Sara
Hello Sara,
Thank you for your answer, indeed since first contact found site https://arduino-pico.readthedocs.io/en/latest/fs.html which explains the use of the picolittleFS. Set up on IDE 1.8, additional line as for ESP32 has been created in “tools” ide. More than to try, but a lot of worries on the usb link between macbookpro and raspeberry pico.
Will keep you posted on usage. Thanks again.
Cordially
Philippe
traduction Google !!
Hi again.
What issues are you having connecting the board to your computer?
Regards,
Sara
Hello Sara,
USB connection difficulties macbookpro monterey, raspberry pico H.
Procedure:
Launch Ide, power on Pico + boot button.
RPI-RP2 disc on finder,
Index.htm files > redirecting to raspberry.com
file INFO-UF2.txt > UF2.Bootloader V3.0 / Model: raspberry.pi RP2 / Board.Id: RPI-RP2
File transfer “blink.c” (version c.) with a “#include “picostdlib.h”
transfer ok led flashes
disk disappears from finder
System message “error eject disk, eject disk RPI-RP2 before disconnection or shutdown”?
If new connection attempt no more usb port available?
/dev/eu.usbserial-14210
ESP32 and Arduino Nano connection no problem USB port available again, can even transfer to Raspberry??
Same LCD example from Freenove works.
The operation is therefore very random and I cannot find a solution other than DIY.
An idea !! thank you in advance for your involvement
Philippe
Hi.
When you connect the Raspberry Pi to your computer, ignore any folders that might open. Simply close that folder and ignore the files.
Then, in the Arduino IDE, you just need to select a Raspberry Pi Pico board in Tools > Board.
Then, in the COM port, if there isn’t a port called “Raspberry Pi” or similar, don’t select any other port. Don’t select a port called UF2 or something similar. Simply don’t select a port.
Upload the code, it will automatically detect the board.
Let me know if this helps.
Regards,
Sara
Hello Sara,
Did this procedure, and successfully loaded “blink”. But then the USB port can no longer be selected for transfer. (no longer even appears for selection) Result error message “transfer error” which seems normal.
Saw port UF2 appear, but not working. Normally according to information, the first loading of blink the application must write on the pico a “file” which would allow the automation of the usb connection for the following transfers?? that doesn’t seem to happen. I detect problem on the usb connection when pico connected, mouse moving abnormally, menu selection delayed. ?? something that does not happen with ESP32 link or arduino nano or seeduino??
The pico disturbs, with button “boot” the connection is correct??
Thank you again, I’m probably going to change hardware, I was looking for a product with a lot of pins for a solar tracker application and the possibility of storing a .csv file (made on ESP32 thanks to you)
But the problem also on pins??
Learning is not always a long calm river, especially at 70 years old!! Thanks again, I’ll manage.
philip
Hi.
After uploading your first program with Arduino IDE, then for the following codes you just need to click the upload button. If there is a port called Raspberry Pi select it. Otherwise, don’t select any port. If the port is grayed out, also don’t select any port and simply upload the code.
From what you describe it seems you’re having issues with the USB ports of your computer. How are you connecting it? Are you using a USB hub? Are you using a good USB cable?
Regards,
Sara
Good morning,
Follow your advice, redo procedures
1° check cable (identical in both cases) and hub (sabrent HB-UMLS). use with ESP32 and PiCO, on esp no problem loading ok, usb port still available. on Pico problem.
To obtain usb connection on pico, power on + Boot, RPI-RP2 disk appears on mac desktop. USB link ok, charging possible.
Loading done, program works, but disk on desktop disappears and message (“error ejecting disk, ejecting RPI-RP2, before disconnecting or turning it off”). It seems that the problem would come from Apple and usb management?? (seen on the net). After purchase (uPesy RP2040 DevKit) with different usb socket on the same hub, the problem is the same, so you have to reboot each time you load it? Otherwise, the loaded program works correctly, LCD + 3 buttons, menu navigation ok.
Thanks again for your involvement in my problem, will work with this principle for now.
Cordially
Philip
Hi again.
And I’m sorry for your issue. It might be a problem with your particular Mac OS setup, I’m not sure.
I tested it on my MAC computer and it worked without any problems…
I’m sorry that I can’t help much, but I cannot reproduce that error.
Regards,
Sara
Hello Sara,
Wow, I really appreciate your involvement in my ”little” problem. I just tested on Mac M1, the behavior of the pico is different? the connection remains established and I can chain the loadings without rebooting!! I am a happy maker 🤪.
What type of Mac and OS did you perform your tests on?
The main thing is to move forward…. no!!.
Thank you again and good luck.
Cordially
Philip
Hi.
We tested it on the Macbook Air M1 too and it worked well.
So, it really seems an issue with the setup of your other computer.
Regards,
Sara
Hello Sara,
My macbookpro dates from 2015 with Monterey Os maxi possible?? (great age like me!!).. Tested on Apple M1 from 2021, ventura 13.4.1, the behavior is similar with always this message “Disk eject error…. Thank you again for your assistance, but I’m stopping all research and annoying you.
Am surprised to see the evolution of the “Maker” world?? Arduino + ide + C. allowed great advances, new products?? ESP32 or SeeDuino works great with Ide Arduino.
Raspeberry pico or Raspberry pi, introduced the OBLIGATION of Phyton, MicroPhyton, duinoPhy….. in short, But a little walk on the Net, and we discover the problems they brought??
Wanting to continue using Ide Arduino + C. seems to have become outlawed?
I stop philosophy, good luck to you both in this world of brutes.
I continue to read you, but the interest disappears slowly, do not consider it useful to relearn new language and the IOT is very complicated
to implement (see profusion of solutions??) Order solar tracker in wifi !! more code on the wifi application (gas plant) than on the one that controls the mechanism??
Good day.
You can use Arduino IDE with the Raspberry Pi Pico without any problems.
We’re preparing some tutorials for the Raspberry Pi Pico with Arduino IDE.
Thanks for following our work.
I’ll close this issue.
If you need something, you can always open a new question on our forum.
Regards,
Sara