Questions tagged [raspberry-pi-pico]
The Raspberry Pi **Pico** is a series of microcontroller boards from the Raspberry Pi Foundation, typically using its RP2040 microcontroller chip. It is a much smaller device than the main series of Raspberry Pi computers.
135 questions
0
votes
0
answers
51
views
How to correctly drive SZ-08 buck-boost module CV feedback with RP2040 PWM?
I’m trying to digitally control the output voltage of an SZ-08 buck-boost converter by replacing its onboard W204 (3296) CV trimmer with an RP2040-generated PWM signal filtered through an RC network ...
0
votes
0
answers
51
views
TMC2209 module wiring issue
I'm trying to control two stepper motors using BigTreeTech TMC2209 modules (datasheets & info). I'm having a very tough time trying to get them to work and I'd appreciate any help.
My setup
...
2
votes
2
answers
254
views
LCD Display Corruption on Raspberry Pi Pico (MicroPython) - Lines Overwriting Each Other
I am building a system using a Waveshare RP2040-Zero ( like a Raspberry Pi Pico ) with an HD44780-2004 LCD over I2C. I'm facing a strange issue where the text on one line of the display occasionally ...
1
vote
0
answers
120
views
nRF24L01+ Communication Issues
I am trying to communicate between 2 nRF24L01+ and am using 2 Raspberry Pi Pico's to control them. Below is my code, schematic, and the datasheet. My problem is that the transmitter always prints <...
5
votes
2
answers
763
views
Baking a Raspberry Pi Pico W before reflow soldering?
JLCPCB is trying to tell me that the RPi Pico W needs to be baked to reduce moisture before putting it through reflow soldering. They're saying that "It is moisture-sensitive according to the ...
0
votes
0
answers
56
views
Pocket device grounding issues - WiFi and static electricity
I have built a small device that fits inside an Altoids tin because it neatly fits in your pocket.
In the tin:
Raspberry Pi Pico 2 W
2 x Solar panels
10F supercapacitor (to power device in the event ...
0
votes
0
answers
57
views
HC12 UART communication suddenly stopped working
I want to get 2 picos to communicate via UART and a HC12 chip and I managed to get it to work in the past but somehow it just stopped working.
Here are the 2 picos with the HC12 chip
And the code just ...
1
vote
2
answers
78
views
Using a MDDRC10 driver with a Raspberry Pi Pico
I want to use a MDDRC10 motor driver with a Raspberry Pi Pico. But I can't get it to work from the manual. As I understand it from page 3, anything over 1.5 V will activate the channel and then I can ...
1
vote
2
answers
263
views
Multiple Buck Converters kills dead Pi Pico?
I designed a circuit for a portable infinity mirror tetrahedron. It includes a battery to power it while it isn't docked, a pi pico W to run the 6 APA102 based LED strips, some contacts on the outside ...
0
votes
0
answers
79
views
Pico scanvideo library and driving ILI9488 DPI display with VSYNC HSYNC PCLK and 16-bit RGB
I have a 2.6 in 320x320 display that I would like to drive with the Raspberry Pi Pico 2 but I am having some issues with my code that I am not sure how to fix. I am not quite familiar with this ...
1
vote
0
answers
57
views
Pi Pico GPIO1 transition very long compared to GPIO0
I've written a simple program the transitions GPIO0 and GPIO1 high to low and low to high "at the same time".
The board is powered over USB and not connected to anything. I've got my ...
0
votes
0
answers
59
views
nRF24L01+ Hardware not responding with pico
I want to use a nRF24L01 module with a pico but I geek on getting an error that the Hardware is not responding.
I followed this video for the pinout:
and the code is:
...
0
votes
0
answers
63
views
Circuit design for TPL9202 8 Channel low side relay driver
I am designing a board that will be required to switch on many relays, hence I am using TPL9202 to do the work.
I have validated the psuedo-circuit on a single TPL9202 on a breakout board and it works ...
0
votes
0
answers
88
views
Voltage reading always high RP2040
Basically I have a connection like this.
My processor is a rp2040.
And when I tried to read the voltage like this:
...
2
votes
1
answer
195
views
Integration of AC-DC Power Module on PCB
I will preface saying that this is my first time posting here so please forgive any obvious mistake I could make.
I am in the process of designing a PCB for a simple terrarium control system. Mainly, ...
0
votes
0
answers
53
views
DS1302 RTC chip stops on battery power
I am working on a project, where I have a Raspberry Pi Pico and then a DS1302 chip to keep time when the pico is not powerer. The whole thing is powered by a single lithium battery. The battery powers ...
1
vote
1
answer
160
views
Understanding power and current limits in circuits
This question arises from a confusion about theory and seeing successful projects online.
I want to connect a DFPlayer Mini MP3 module and a speaker to a Raspberry Pico Pi 2 microcontroller and it's ...
0
votes
0
answers
53
views
LTR-559 light sensor only returning None
I want to read the data from a Pimoroni LTR-559 sensor but it only returns None in the code.
Here is the code:
...
2
votes
1
answer
92
views
Using DS3231 as a power switch for Raspberry Pico fails to turn off
Im basically following this guide https://forum.arduino.cc/t/mods-to-ds3231-zs-042-module-for-power-control/1101164
However something is not working and i cant figure out what. Once Pico gets the ...
-1
votes
1
answer
105
views
Second pair of eyes on breadboard set up, with electrodes -> INA128 -> Raspberry Pi Pico 2 ADC -> Raspberry Pi Zero 2w
I would love secondary opinions on my electrical set up before I turn it on, so I don't ruin any precious components. This is my first time setting up a breadboard and I am not familiar with schematic ...
0
votes
0
answers
127
views
SPI Quad IO / Single IO Compatibility
I am working on a circuit board project which requires a large amount of memory. I am looking to use a NAND FLASH chip, since I am very familiar with SPI, and very unfamiliar with eMMC, especially ...
0
votes
2
answers
188
views
How can low-power microcontrollers run high-power systems?
Given a microcontroller like a Raspberry Pi Pico 2 is powered at max 5V and has a current limit of around 16mA per IO pin, how can it control a system with several lights, actuators, pumps, etc?
What ...
1
vote
0
answers
592
views
Raspberry Pi Pico 2 IO is now 5V tolerant? [closed]
The new RP2350 IC seems to come with 5V tolerant inputs if IOVDD is at 3.3V according to page 1335 of datasheet https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf
Has anyone tried ...
1
vote
1
answer
89
views
Raspberry Pi Pico + solar power : Pico won't power up even though VSYS rises above 3V
I have a Raspberry Pi Pico powered by solar panels and super capacitor.
Experiment 1: Power Pico using solar. VSYS rises to 5.09V after some minutes and onboard green LED comes on as the voltage rises ...
0
votes
1
answer
77
views
Does the joystick not returning expected values mean it is broken?
I have an Adafruit thumb joystick but I am getting strange results. The x value is consistently maxed out (so hovering around 65535) and the y value is doing a wave between 16000 and 49000. So I am ...
3
votes
4
answers
535
views
Why is common ground needed for a LN298N project
I am working on a project that has an LN298N driver control 2 motors.
I am using this video for the basics: https://www.youtube.com/watch?v=H1Fzil_VUq4&t=162s
There is just one thing that confuses ...
-1
votes
1
answer
66
views
boost 3.3V pico output to 24V for motor [closed]
My teacher asked to work out a project and make an drawing of the electronics and I was wondering if any of you could help: bare in mind, I know nothing about the electrical language since we handle ...
0
votes
1
answer
128
views
Raspberry Pi Pico W Project - Temperature Sensor not working when battery powered
I'm brand new to microcontrollers so I suspect this is a simple misunderstanding of how circuits work. I have a project that reads temperature information from a DHT11 sensor and displays it on an ...
2
votes
3
answers
540
views
DIY pulse oximeter circuit - phototransistor shows no reading
I am trying to do a project using Raspberry Pi Pico H, that will work as a pulse oximeter. I have designed the circuit in the image (note: the exact pins on the photo might not match with the code ...
0
votes
0
answers
87
views
Will using these pins on the RPi Pico cause issues?
I'm wondering if any of the given pins are reserved for the RP2040's function. For context I'm making a line following robot for high school competition.
GPIO 0 - Start Button
GPIO 1 - Debug Pin
GPIO ...
0
votes
1
answer
101
views
How to make BME280 sensor and MPU6050 sensor work in same sketch with Raspberry Pi Pico W
I have made init methods for both sensors inside of their own classes, and then I tried to combine them in the same sketch. I created a custom I2C object wire to be used with the MPU6050 to stop the ...
0
votes
1
answer
137
views
Using a pico and a photoresistor to measure light intensity
I've recently been trying to do an experiment requiring me to measure light intensity.
I didn't have the necessary equipment, but I did have a photoresistor and a Raspberry Pi Pico, so I tried ...
0
votes
2
answers
653
views
What is slicing in PWM?
I am working on PWM control with a Raspberry Pi Pico and came across the term "Slice," for which I am unable to find a proper definition on the internet.
A quick search gives "Slicing ...
0
votes
2
answers
105
views
Controlling current through a RL load using Triac firing angle
I want to control the amount of current going through a Triac by adjusting the firing angle accordingly. The Circuit is shown below:
Let's say i want IRMS to be 0.28A then the controller need to ...
3
votes
1
answer
321
views
How to drive a 7-segment LCD that has no common anode / cathode using a Raspberry Pico?
I recently acquired a 7-segment LCD, and I am having trouble to understand how to use it. Is it possible to use it with a Pico without any additional hardware?
From what I know from my research, LCDs ...
2
votes
1
answer
232
views
why does this LM393 need too much voltage to go high
I have the following circuit taken from Arts of Electronics. I am using it to detect zero-crossing of a 40V-RMS/50Hz input. I am connecting the output of the comparator LM 393 to a GPIO pin of Raspi ...
0
votes
2
answers
100
views
Using Pi Pico as Access Control
I am designing a Access Control System based around a Pi Pico microcontroller. I took some Circuitry classes in college and I remember blowing multiple chips trying to get everything right. My ...
1
vote
0
answers
134
views
6N137 opto-coupler with AC input takes a lot of time to trigger
I am designing a zero-crossing circuit to connect it to a RasPi Pico W input. I am using a 6N137 from Liteon. I have a problem because it takes around 200 microseconds to turn on with an input of 40V ...
0
votes
1
answer
324
views
Change direction of > 5 pins with PIO asm
My understanding is that this changes the direction of up to 5 OUT pins:
out pindirs 31
In the above example, 31 would be all 5 bits set to 1, so the first 5 OUT ...
1
vote
2
answers
592
views
Circuit To Simulate Capacitive Touch Button Press - Raspberry Pi Zero
I realise similar questions have been asked in the past about automating capacitive touches, but I'm aiming to put this into practise with a simple circuit.
I want to be able to simulate / automate ...
1
vote
1
answer
197
views
Raspberry CM4 UART with anticipative RTS signal
I am using RPi CM4 with UART for a project. This is the relevant part of /boot/config.txt:
...
0
votes
2
answers
291
views
MOSFET keeps dying on totem pole driver
I am designing a 3-phase motor driver for a 300 W hoverboard motor with a Raspberry Pi Pico, which has 3.3 V logic, for driving the MOSFETs I am using a discrete totem pole driver on the n channel ...
0
votes
1
answer
151
views
micropython pyb module not found
I want to debounce a button in micropython and found this page on the micropython docs: https://docs.micropython.org/en/latest/pyboard/tutorial/debounce.html
It uses a library called pyb but my ...
2
votes
3
answers
2k
views
How do input pins work?
I am trying to understand properly how buttons work with the pico; I can make them work but I don't understand why it works or if it is the right approach.
I get that I need to add Pin.IN when ...
0
votes
3
answers
342
views
Grounding issue with PWM fan controller on Raspberry Pi Pico to drive 12 VDC fan
I'm trying to build a PWM fan controller for an industrial Noctua PWM Fan (NF-F12 IndustrialPPC 3000 PWM). You'll find the schematic below.
The fan is powered by a 12 VDC power supply (...
1
vote
1
answer
61
views
How to find the matrix layout of an old EEPC keyboard
The title asks my question; how can I find the matrix layout of an old EEPC keyboard. I found an instructables about making a USB keyboard controller but it uses a Teensy microcontroller, and I think ...
1
vote
0
answers
55
views
Soil Moisture Sensor ADC value is inaccurate [closed]
I am planning on making a soil moisture sensor with a capacitive sensor, Thonny ide, micropython, and a raspberry pi pico w, and I followed some online tutorials as I am relatively new to the world of ...
0
votes
3
answers
438
views
High side switch with Raspberry Pi Pico
I'm looking for a circuit suggestion to drive a 5v resistive load that draws up to 400mA using a Raspberry Pi Pico with a high-side switching circuit. Most every example I could find used an external ...
0
votes
1
answer
77
views
Pololu DRV8833 not working with pico
I am trying to use a Pololu DRV8833 driver to drive a DC motor via a pico.
Below is the setup
...
0
votes
0
answers
57
views
Two-way analog signal converter
To begin with: I have almost zero electrical/electronic knowledge.
I want to have something like two-way analog signal converter. On one side there is 0V-15V and on the other there is 0V-3.3V. The ...