Questions tagged [raspberry-pi-pico]

For questions relating to the Raspberry Pi Pico microcontroller.

The Raspberry Pi Pico is a microcontroller designed by the Raspberry Pi Foundation. It supports MicroPython, CircuitPython, and C.

The first Pico version was released in 2021.

512 questions
0
votes
0 answers

How can i import the pico pi into python3 and execute micropython code safed on the pico from python3?

Ive got a Pico PI and i want to program a GUI for it. Since micropython doesnt support any GUI's like tkinter I was wondering if there is a way to Call and execute programms saved on the pico from python3. thanks for your help in advance.
0
votes
1 answer

Circuitpython and Micropython ethernet http get

I am working with CircuitPython Libraries on MicroPython using the Raspberry Pi Pico. I am using Wiznett 5500 (ethernet module) and Esp01 (wifi module). When I tried jsonplaceholder's api, Wiznett can get request in 4,5 seconds and ESP01 can get…
0
votes
3 answers

Beggining on Raspberry PI Pico RP2040 - blink.c Low Level Programming in C

I want to be short. I got one Pico yesterday and I spent the evening yesterday making a blink.c (from Raspberry site) work on mi Pico through Linux and I made it work. Now I want to make myblink.c which is a blink.c in Low Level programming…
0
votes
0 answers

Unable to recieve data from Raspberry Pi Pico to Windows host over USB (virtual serial port)?

I have designed a program in Raspberry Pi Pico to read a 4x4 matrix-keypad and inform the Raspberry Pi 4 for the key detected. I am using to send data from Raspberry Pi Pico to Raspberry Pi 4 over USB (virtual serial port). On raspberry Pi 4 I am…
Dark Sorrow
  • 1,681
  • 14
  • 37
0
votes
1 answer

Programmatically create digitalio.DigitalInOut object in CircuitPython

I am trying to create a digitalio.DigitalInOut object in a class in CircuitPython. The pin used is defined as a parameter in the class (pin_number). Is there a way to do it other than with exec()? My attempt at doing this is below, and, as you can…
Llamax
  • 313
  • 2
  • 13
0
votes
0 answers

Was UART.init() and UART.deinit() deprecated in MicroPython 1.16 on the Raspberry Pi Pico? Both methods are in the documentation but not recognized

I am currently using a Raspberry Pi Pico with MicroPython 1.16 and using its UART to simulate a sensor using a serial protocol with a transmitter. The transmitter only using the data wire and ground meaning RX and TX are physically tied so my UART…
0
votes
2 answers

How to execute system commands using raspberry pi pico

I wanted to know if it is possible to run system commands on computer using raspberry pi pico when plugging it into the USB? I've tried to do it like a normal C program : #include "pico/stdlib.h" #include #include int main()…
0
votes
0 answers

I have an Error compiling Tensor Flow Lite example "Hello_World" for Rasperry Pi PICO

The example "Hello_World" for TensorFlow Lite for RaspBerry Pi Pico in "https://github.com/raspberrypi/pico-tflmicro", but it does not compile. All the Pi Pico examples are compiled without problems with Visual Studio. I have the same problem and…
0
votes
1 answer

Raspberry Pi Pico - Generate finite length square wave

I have a question about generating square waves with finite length by using a Raspberry Pi Pico. For example, I want to generate a 20 kHz square wave with 100 periods, or to generate a 20 kHz square wave with an exact 1 ms. I cannot have accurate…
Chang
  • 115
  • 4
0
votes
0 answers

How to control the output rating of raspberry pi pico Micro Python

I'm new to the raspberry pi community and need to power a 1v motor however, I can not figure out how to output such power Here is all of,my code if you need it import time led=Pin(25,Pin.OUT) Motor=Pin(15,Pin.OUT) print("working!") for i in range…
0
votes
1 answer

Get current position of servo with MicroPython on a Raspberry Pi Pico

I am running MicroPython on a Raspberry Pi Pico. I can set the position of the servo by changing the duty cycles: from machine import Pin, PWM servo = PWM(Pin(0)) servo.freq(50) servo.duty_u16(1350) # sets position to 0 degrees I may have missed…
luek baja
  • 1,475
  • 8
  • 20
0
votes
0 answers

Unable to read serial data from Raspberry Pico

My Pico developed sudden problem of not sending data to serial monitor. I can write to the pico via the Serial Port but i can't receive the data sent by the Pico. I have tried both Micropython,CircuitPython,C/C++ on all GPIO UART pins, Tried to use…
Nyagaka Enock
  • 444
  • 1
  • 10
  • 20
0
votes
0 answers

What would be a causing no response from ESP-01 when using AT commands from Raspberry Pi Pico

I have a Raspberry Pi Pico and I'm trying to get it Wifi Connected. I'm using an ESP-01 with the sock firmware and confirmed AT commands are working through the Arduino serial monitor on both 115200 and 9600 Baud. To connect to my PC I am using an…
Sean O'Rourke
  • 182
  • 1
  • 2
  • 11
0
votes
1 answer

How to connect LOLIN 7 WS2812B LED's to Raspberry Pi Pico (RP2040)?

I have spent numerous hours googling for the solution, but no tutorial or guide uses the LED's that I own. Everyone keeps mentioning Data IN, and Data OUT, but there are no such markings on my LED's. I only know that I need to connect the 5V on LED…
Smokus
  • 149
  • 1
  • 9
0
votes
0 answers

How to make raspberry pi Pico MicroPython Code Encryption?

I wrote a code on Raspberry pico. And I want the codes in this program not to be stolen. What encryption do I need to make so that no one can see it? The project is very simple. Control of a smart home automation. I spent a lot of effort. I don't…
zeusmbmb
  • 31
  • 3