Search found 31 matches
- Thu Oct 17, 2019 1:25 pm
- Forum: General Discussion and Questions
- Topic: File explorer for Micropython for MacOS / Windows
- Replies: 2
- Views: 181
Re: File explorer for Micropython for MacOS / Windows
I use the same combination. However the latest (3.2.x) version of Thonny includes a remote file explorer if the device supports it. One can edit and run files on the device. I just tested with my M5Stack (running an old lobo firmware).
- Mon Apr 22, 2019 2:32 pm
- Forum: ESP32 boards
- Topic: MicroPython M5Stack support
- Replies: 8
- Views: 2416
Re: MicroPython M5Stack support
One thing about the DTH series is their low sample rate (around 1Hz). It is very possible you overwhelm the sensor by requesting values too frequently. Another thing would be to encapsulate the measures within a try: except: block and manage the errors...
- Sat Apr 20, 2019 6:46 am
- Forum: General Discussion and Questions
- Topic: Function missing 1 required positional arguments error on esp32
- Replies: 3
- Views: 372
Re: Function missing 1 required positional arguments error on esp32
I think the problem is in the to_bytes() method because if I remove it the error is not showing but the program is not functional. Any ideas on this ? You are missing the parameter specifying endianness. One should write: a=12345 print(a.to_bytes(2,'big')) print(a.to_bytes(2,'little')) and that eve...
- Mon Mar 25, 2019 5:47 am
- Forum: ESP32 boards
- Topic: M5Stack restarts every 30 seconds
- Replies: 3
- Views: 387
Re: M5Stack restarts every 30 seconds
Just to be sure: have you tried running your M5Stack using a USB charger instead of your computer? Apart from resetting the WDT, is there something else hapening in your code? The reset could very well be caused by a brown-out due to excessive current consumption. I had that on an ESP8266 connected ...
- Thu Mar 21, 2019 5:56 pm
- Forum: ESP32 boards
- Topic: How to read from a i2c sensor and print on a i2c display when both use different init pins
- Replies: 14
- Views: 1147
Re: How to read from a i2c sensor and print on a i2c display when both use different init pins
That's the weird bit: normally the bno's address should be 0x28 or 0x29, depending on the state of its COM3 pin. If you are using the adafruit package, this pin is accessed through the ADR pin and defaults to COM3 low and 0x28 as the I2C address. So first things first: check if your bno is properly ...
- Thu Mar 21, 2019 12:38 pm
- Forum: ESP32 boards
- Topic: How to read from a i2c sensor and print on a i2c display when both use different init pins
- Replies: 14
- Views: 1147
Re: How to read from a i2c sensor and print on a i2c display when both use different init pins
Weird. The scan should consistently show 40 (or 41) not a mix of 40, 41 and none of the others.
- Wed Mar 20, 2019 4:57 pm
- Forum: ESP32 boards
- Topic: How to read from a i2c sensor and print on a i2c display when both use different init pins
- Replies: 14
- Views: 1147
Re: How to read from a i2c sensor and print on a i2c display when both use different init pins
What addresses do you see? The bno055 chip should answer 0x28 or 0x29, and the SSD1306 0x3c or 0x3d
- Mon Mar 18, 2019 3:22 pm
- Forum: General Discussion and Questions
- Topic: How to get CPU load approximate value on Micropython ?
- Replies: 3
- Views: 400
Re: How to get CPU load approximate value on Micropython ?
Excluding the UNIX port, I am not quite sure that one can get such a figure. In many cases micropython is running on bare metal without any os, so the "load" would be 100%...
- Fri Mar 15, 2019 12:24 pm
- Forum: General Discussion and Questions
- Topic: Simple web interface for my ESP?
- Replies: 1
- Views: 371
Re: Simple web interface for my ESP?
You could use picoweb to implement a very simple web server on your microcontroller.
- Tue Mar 12, 2019 3:36 pm
- Forum: General Discussion and Questions
- Topic: Can I run specify .py file on board via REPL prompt after boot done ?
- Replies: 3
- Views: 433
Re: Can I run specify .py file on board via REPL prompt after boot done ?
Code: Select all
import aaa