Search found 216 matches

by tve
Tue May 26, 2020 7:30 am
Forum: Programs, Libraries and Tools
Topic: MQBoard - Micro-Framework for MicroPython Boards Managed via MQTT
Replies: 10
Views: 8690

MQBoard - Micro-Framework for MicroPython Boards Managed via MQTT

My projects tend to be on the infrastructure side of things resulting in microcontrollers stuck somewhere doing some thing for a long time, sometimes a decade. At the same time, a lot of these projects are experiments that I keep tweaking even once they're "deployed" and "in production". So I need a...
by tve
Mon May 25, 2020 10:55 pm
Forum: ESP32 boards
Topic: OTA guide for ESP32
Replies: 4
Views: 4019

Re: OTA guide for ESP32

There is no official guide. I wrote an OTA class for my MQTT Repl, which you can find here: https://github.com/tve/micropython-mqtt/blob/master/mqrepl/mqrepl.py#L22-L84 It streams the data from MQTT (~1000 1400-byte messages) directly into the partition. The file you need is the application.bin sinc...
by tve
Mon May 25, 2020 1:01 am
Forum: ESP32 boards
Topic: Flash ESP32 from another ESP32
Replies: 2
Views: 2441

Re: Flash ESP32 from another ESP32

Sounds like a fun project, if you manage to port the flashing code I would be very interested in using it! :-) :-) :-)
I wonder whether the protocol is documented, it might be easier to start from the docs...
by tve
Mon May 25, 2020 12:59 am
Forum: General Discussion and Questions
Topic: Double precision and CPU slowdown.
Replies: 10
Views: 5921

Re: Double precision and CPU slowdown.

If that's the GPS coord issue, yeah, represent your lats and longs using integers. You can use fixed point arithmetic or you can represent the whole thing in 1000000th degrees, which will use bigints, but that's perhaps still better than having everything use doubles.
by tve
Sun May 24, 2020 10:12 pm
Forum: Programs, Libraries and Tools
Topic: Complete documentation and references
Replies: 7
Views: 3512

Re: Complete documentation and references

I don't think you specified what type of device you're accessing but could it be that you should use I2C.readfrom and not I2C.readfrom_mem?
by tve
Sun May 24, 2020 10:04 pm
Forum: ESP32 boards
Topic: mdns support
Replies: 5
Views: 3818

Re: mdns support

I haven't used mDNS, but I believe it simply responds with the hostname set on the STA interface + ".local".
by tve
Sat May 23, 2020 11:22 pm
Forum: ESP8266 boards
Topic: D1 Clones
Replies: 13
Views: 8545

Re: D1 Clones

> I bought a pack of 10 on AliExpress and have used them in many things. When comes the point where the best thing to do is to put those 10 into a little baggie, put a "Mistake!" note onto it, pin the whole thing to the wall in front you as a reminder, and then order a couple of esp32 boards? ;-) ;-...
by tve
Sat May 23, 2020 3:36 pm
Forum: ESP32 boards
Topic: btree crashes on double close (BUG)
Replies: 1
Views: 1767

Re: btree crashes on double close (BUG)

This would be best posted as a github issue...
by tve
Sat May 23, 2020 3:35 pm
Forum: ESP32 boards
Topic: ESP32 WROVER-I --- Uasyncio results in reboot (?PSRAM bug)
Replies: 1
Views: 1601

Re: ESP32 WROVER-I --- Uasyncio results in reboot (?PSRAM bug)

Have you double-checked the strapping pins?
Please post logs starting from the reset.