Questions tagged [raspberrypi-pico]

16 questions
3
votes
0 answers

Raspberry pi pico (Arduino core) not initialising SPI correctly for NRF24l01

I'm working on a project where i have a Raspberry pi Pico connected to a NRF24l01+ to send some data. However i'm not recieving any data on the reciever and i think that its because the SPI bus is not getting initialised propperly. I have tested…
1
vote
2 answers

Why is my BME280 sensor returning 0 for all data values?

My BME280 is returning 0 for temperature in Celsius, 0% humidity, 0.00 pressure (hPa) and 44330.00m for altitude. I am connecting it with I2C on a Raspberry Pi Pico and everyone on the team has checked the wiring so we are relatively certain that it…
1
vote
1 answer

Using SPI on Pi Pico, Arduino IDE

Beginner with the Pi Pico here, but I studied electronics engineering and am reasonably hardware literate. I've used mbed online for a project prior to covid. I want to use SPI to connect to a display using the ILI9488, (480 x 320 TFT panel),…
K Langley
  • 19
  • 1
  • 2
1
vote
0 answers

Arduino IDE 2.1.1 Mac M2 - Fails to upload, No drive to deploy, Raspberry Pico

I'm using Arduino IDE 2.1.1 on a Mac M2 and it's failing to upload, No drive to deploy, I have tried 3 different Mac's, and multiple Picos & USB cables. Summary of what I've done: Loaded Example Blink application Selected board Raspberry Pico W…
1
vote
0 answers

COM disconnects and program fails when including code trying to initialize SD card (RP2040 Pi Pico W running Arduino)

I'm having an issue where anytime I run a program such as the SD card read write example (Below) the COM port disconnects. The only changes I have made to the example code is I am using SPI1 instead of SPI0 so the pins changed. When the COM…
Rian Noble
  • 11
  • 1
1
vote
2 answers

Expose two HID Joystick devices with single RP2040 board (Waveshare Pi Pico Zero)

I want to use a Waveshare Pi Pico Zero to connect two standard NES controllers to a computer over a single USB port. I'm using the Waveshare RP2040 Zero board definition from https://github.com/earlephilhower/arduino-pico which seems to provide a…
NeilenMarais
  • 219
  • 3
  • 8
1
vote
0 answers

Motor encoder and interrupts

I'm trying to write motor controller for automated blinds using Raspberry Pi Pico with arduino-pico. My problem is that I can't seem to get a consistent result from motor encoders. In my setup function I attach the interrupt: void…
Leonti
  • 133
  • 4
1
vote
0 answers

6 ST7735 screens not working at same time with Pico

Hello i have a question for you. I have 6 St7735s screen 0.96 ınch. I connect them to my Raspberry pi pico. I want to show them some text but they are showing at the same time. First screen start working and shows "Screen 1 Test" and then its close.…
Aconot
  • 11
  • 2
1
vote
2 answers

Can't upload programs to Raspberry Pi Pico with Arduino

I am trying to use a RP2040 Pico with the Arduino IDE. This is a huge uphill battle. Initially I couldn't get the upload serial port to show up, then copied the "hello world" UF2 to the Pico folder…
Heliophagus
  • 11
  • 1
  • 3
0
votes
0 answers

Initializing both I2C devices of a RP2040 Rpi Pico with Earle Philhower Core

I'm using the Arduino IDE (v1.8.19) with the Earle Philhower core to program a Raspberry Pi Pico (RP2040) board. I2C bus 0 of the Pico (pins 4 (SDA) and 5 (SCL) are coupled to a first MCP23017 port expander (address 0x26) which drives 16 leds. I2C…
Malzon
  • 1
  • 1
0
votes
0 answers

Raspberry pi pico I2S work on byte by byte transfer but not on buffer read writes

I'm using a raspberry pi pico W and testing audio loopback (microphone to speaker in a loop) using INMP441 microphone and MAX98357 amp board. Followed functions from this page https://arduino-pico.readthedocs.io/en/latest/i2s.html I arrived at this…
Allahjane
  • 101
0
votes
1 answer

Pushbutton firing somewhat randomly

I have a circuit which consists of a pushbutton and 2 relays. The power supply is driven either over USB, where the circuit seems to work fine, or powered by a linear regulator board I've knocked together consisting of an LM78XX (see the next…
XtrmJosh
  • 117
  • 2
0
votes
1 answer

RaspberryPi Pico SPI and nrf24l01

I am programming a RaspberryPi Pico with the Arduino IDE. Works pretty well, but now I try to control an nrf24l01 module. My code compiles but I do not know on which pins the SPI bus has to be hocked up. I tried to connect to different pins…
qubit
  • 370
  • 1
  • 4
  • 11
0
votes
2 answers

How to use Serial2 on Raspberry Pi Pico

I want to use Serial1 and Serial2 in a sketch in Arduino IDE for a Raspberry pi pico. My goal is to communicate from the pico with two other Arduino boards. I use Arduino 1.8.9 and the official board for Raspberry Pi Pico: "Arduino Mbed OS RP2040…
mvermand
  • 427
  • 1
  • 6
  • 15
-1
votes
1 answer

Musicbox freezes or can no longer find songs (FeatherRP2040, VS1053, Neokey1x4 x 2, RotaryEncoder)

I have a problem with my code for a music box that has the following features. Using two neokey1x4 I can switch between folders on the SD card and press play/pause, stop, next song, previous song. Then .mp3 on the SD card should be selected and…
mweisbr
  • 1
  • 1
1
2