All Questions
9 questions
0
votes
1
answer
186
views
Efficient memory usage for writing files with digits on ESP32 using MicroPython
As a university project, we have been tasked to perform a 14-hour long experiment, where we need to record changing data from the LDR photoresistor.
We are using A Huzzah32 esp32 with the 4 megabytes ...
-1
votes
1
answer
451
views
Generating JWS token in python (Example in C)
Hi I have this code from this article
https://medium.com/@alexastrum/firebase-auth-for-iot-devices-286679a8b59e
I was wondering what the equivalent python code would be thanks.
String getDeviceToken()
...
1
vote
0
answers
205
views
simple ble connection with micro python doesn't work
I've installed micro python firmware v4.1.2 on an arduino nano 33 ble with OpenMV ide.
The ide comes with a python script example: ble_blinky_1.py.
The script is also available here: https://docs....
0
votes
0
answers
73
views
How to get meassurement from Flexiforce through Lopy
Hello everyone my code is working now through several comments. But I don't get any meassurements now. I work with Lopy, micropython.
I use the following materials:
https://www.sparkfun.com/products/...
5
votes
1
answer
19k
views
MicroPython: OSError: [Errno 19] ENODEV [closed]
I tried to connect my ESP32 to a sensor GY91(MPU9250 +BMP280).
I'm using this library: https://github.com/tuupola/micropython-mpu9250
I used the example code:
import utime
from machine import I2C, Pin
...
-1
votes
2
answers
370
views
Pygame on to ESP8266
Is it possible to load external python libraries onto a microprocessor and get it to work with micropython? How would I approach this problem? I have an esp8266, and am worried that it does not have ...
0
votes
1
answer
1k
views
HCSR04 sensor continually producing time out error. Want loop to run with no timeout
I have a code currently running on a pyboard and is being used with a motor shield adafruit Motorshield v2.3. I know most ultrasonic sensors timeout after not detecting a surrounding for a long time. ...
0
votes
1
answer
2k
views
What is the exact syntax to use UART pin of nodemcu using micropython?
I am trying to send serial message from one nodemcu to two arduino boards. However, i am able to use only one uart pin of nodemcu which is TX pin. I can send message without any problem. But how can i ...
0
votes
1
answer
144
views
Why NodeMCU sends data with unwanted number?
I am trying to send a serial data from NodeMCU to Arduino. I use MicroPython to program. As well as Serial.read on Arduino. I can send and receive successfully. But the problem is the NodeMCU sends ...