Questions tagged [rp2040]
67 questions
0
votes
1 answer
Is there a way to convert fugit Instant to micoseconds?
I am using rp2040 and rp2040_hal and it uses fugit. I am using a function timer.get_conter() which returns a Instant of Fugit and I want to convert that Instant to a microseconds passed since start of micro-controller. Is there a way in fugit itself…

Yatin Goyal
- 3
- 1
0
votes
0 answers
RP2040 CMAKE library linking path does not exist?
Having issues understanding the process on linking libraries.
i've referred to many links and in particular this one
How to properly use CMake in embedded (RP2040) project structure?
but have had just a hard time getting it to work or even see that…

lolbardsnin
- 305
- 1
- 4
- 14
0
votes
0 answers
W5100S-EVB-Pico is not connecting with server other than http://httpbin.org
I have purchased W5100S-EVB-Pico to send data over airtable. I write down python script and configured network by following this link.
https://github.com/Wiznet/RP2040-HAT-MicroPython/tree/main/examples/HTTP/HTTP_Client
When I try to make request…

Muhammad Ali Hassan
- 960
- 2
- 12
- 29
0
votes
1 answer
Edge impulse is not providing arduino accerlerometer continious code on build
I am working on Arduino Nano RP2040. Since Edge impulse doesn’'t specifically provide model library for Nano RP2040, I get the model libraries in Nano BLE and with some teaks I deploy them on Nano RP2040 which was working fine.
I am working on the…

Jatin kadge
- 11
0
votes
1 answer
Alarm gets instantly fired on raspberry rp2040
I'm writing a code to manage the velocity of a motor that is remotly controlled.
For security reasons I want to stop the motor after 1 seconds it receives a command if it doesn't receive another.
I have a "motor" struct:
motor mt = {
…

lasb3tas
- 75
- 1
- 9
0
votes
1 answer
Why Time based OTP varying on badger2040 and raspberry pi pico using micropython
I'm currently working on a two-factor authentication system I have write some program to generate base32 secrete key and using that secrete key program will generate new time based otp in every 30 sec using same secrete key.I want to implement this…

Neha
- 1
- 1
0
votes
1 answer
question about combining def function() and PWM duty_ns() in micropython
as a Micro python beginner, I combined few codes found on different forums in order to achieve a higher resolution for ESC signal control. The code will generate from a MIN 1000000 nanoseconds to a MAX 2000000 nanoseconds' pulse but I could only do…

Xuuu_u32
- 1
0
votes
0 answers
Can't set my tiny2040 pimoroni to print hello world
I have flashed the latest micropython into my rp2040, can access it, but when I try the simplest code possible exactly like this:
print("hello world")
it returns a bunch of gibberish and syntax error and so on. wth is going on, help please! I need…
0
votes
1 answer
Raspiberry Pi RP2040 LCD clock signals
I'm using Micro python to try and generate an RGB signal for a TFT screen such as the:
Screen
The timings i need the follow are:
CLKIN: 3.33Mhz
Horizontal is 800 clock cycles up and 1 clock cycle down
Vertical is 480 Horizontal Clock cycles up…
0
votes
1 answer
Rust Multi-threading Memory Allocation on the RP Pico/RP2040
I'm working with the Raspberry PI Pico to perform the basic task of reading data from a UART signal, modifying it, and writing it back out to a different UART address. However, I need to simultaneously be constantly monitoring an on-board sensor and…

tufelkinder
- 1,176
- 1
- 15
- 37
0
votes
1 answer
How to properly use CMake in embedded (RP2040) project structure?
TL;DR
How to use CMakeLists.txt with included project-level libraries in elegant way?
Introduction
Dear Stack Users,
shortly after starting my journey with manually-created build systems (previously using pre-configured STM32CubeIDE, SW4STM32 and…

YelF
- 3
- 3
0
votes
2 answers
What are the VID and PID for the Maker Pi RP2040 when connected by USB to PC
I have looked but cannot find these referenced currently - I have also asked on the cytron.io web site.
I eventually found these (as well as the github reply) in the Datasheet at…

AndyS
- 725
- 7
- 17
0
votes
1 answer
Cant connect to Azure IoT Hub with Arduino Nano RP2040 Connect
I have followed multiple tutorials and I am not stuck on this error.
256.705: INFO - - iot_mqtt :: connect :: redacted123.azure-devices.net
256.711: DEBUG - - iot_mqtt :: _on_connect :: username =…

JensB
- 6,663
- 2
- 55
- 94
0
votes
1 answer
How to make HTTP request with MicroPython on Arduino Nano Connect RP2040
I'm trying to connect my Arduino Nano RP2040 with MicroPython to my local WiFi network and make a HTTP request.
The Nina W102 uBlox module on the board is an ESP32 and connects to the RP2040 via SPI (I'm not sure what this means but I thought it…

JensB
- 6,663
- 2
- 55
- 94
0
votes
2 answers
Is there a memory leak in MicroPython hex function
I have written a small MicroPython program for raspberry PI Pico.
This program creates a thread which increments a counter and prints the value in hex.
import _thread
def myThread():
count = 0
while True:
count = count + 1
…

Tom Martin
- 1,227
- 2
- 10
- 17