Search found 59 matches

by tve
Tue Feb 18, 2020 5:18 am
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 382

Re: DS18B20 --- Reading while getting other chores done

Also consider that 750ms is for a 12-bit reading, which I believe is overkill. I always use 10-bit resolution, which takes much less time and I feel represents about the best accuracy you can get unless you calibrate each individual sensor and pay extremely careful attention to how you transfer heat...
by tve
Thu Feb 13, 2020 5:02 pm
Forum: Programs, Libraries and Tools
Topic: A review of serialisation libraries
Replies: 10
Views: 261

Re: A review of serialisation libraries

There's a huge performance difference between self-describing formats, such as json or messagepack and pre-defined formats, such as protobufs I find that pretty hard to believe. At least in the case of MessagePack. And also because it's a super general non-qualified claim. I searched around a bit a...
by tve
Wed Feb 12, 2020 2:23 am
Forum: Programs, Libraries and Tools
Topic: A review of serialisation libraries
Replies: 10
Views: 261

Re: A review of serialisation libraries

There's a huge performance difference between self-describing formats, such as json or messagepack and pre-defined formats, such as protobufs because optimized code can be generated for the latter while the former require some form of interpretation no matter what. However, when using a slow/dynamic...
by tve
Tue Feb 11, 2020 12:14 am
Forum: General Discussion and Questions
Topic: Saving power on ESP32, running on single core and memory speed
Replies: 1
Views: 113

Re: Saving power on ESP32, running on single core and memory speed

I seem to remember that for single core use the ESP-IDF has to be compiled with the appropriate setting, but I could be wrong. If so you'd have to compile MP using this setting.
Not sure what you mean by "clock down memory" -- which memory?
by tve
Sun Feb 02, 2020 2:15 am
Forum: Other Boards
Topic: Wemos W600-Pico
Replies: 17
Views: 763

Re: Wemos W600-Pico

I used a hacked up pyboard.py to load files, it has a filesystem in flash like all the other MP boards.
by tve
Wed Jan 29, 2020 6:17 am
Forum: Other Boards
Topic: Wemos W600-Pico
Replies: 17
Views: 763

Re: Wemos W600-Pico

This is how it looks for me on linux: > miniterm2.py --filter direct --dtr 0 --rts 0 /dev/ttyUSB2 115200 --- forcing DTR inactive --- forcing RTS inactive --- Miniterm on /dev/ttyUSB2 115200,8,N,1 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- __ __ \ \ /\ / / \ \ / \ / / ...
by tve
Tue Jan 28, 2020 2:26 am
Forum: General Discussion and Questions
Topic: January 2020 Melbourne MicroPython Meetup
Replies: 5
Views: 168

Re: January 2020 Melbourne MicroPython Meetup

The slides mention the stm32wle5 (LoRa) - does anyone know anything about availability and perhaps first boards? I see that Mouser prices qty 1 at $6.35 and "factory lead time" 10 weeks...
by tve
Mon Jan 27, 2020 8:37 pm
Forum: Programs, Libraries and Tools
Topic: Control exact polling rates using uasyncio
Replies: 16
Views: 450

Re: Control exact polling rates using uasyncio

I think there are answers in multiple layers... If you're talking UART, how much precision do you need for what purpose? The uart is interrupt driven (I hope in all ports) so unless your sensor spews hundreds of bytes you can let the driver buffer until you get around to it. The scheduling accuracy ...
by tve
Mon Jan 27, 2020 6:28 pm
Forum: Other Boards
Topic: Wemos W600-Pico
Replies: 17
Views: 763

Re: Wemos W600-Pico

This is getting quite off-topic, but do you read the stories about all the hackable IoT products people find, from lightbulbs to refrigerators to routers, to cars? And perhaps each time you snicker at those "dumbass", "incompetent", "just out for a quick buck", "irresponsible", etc companies? Well, ...
by tve
Mon Jan 27, 2020 8:21 am
Forum: Other Boards
Topic: Wemos W600-Pico
Replies: 17
Views: 763

Re: Wemos W600-Pico

> I don't need tls since all my stuff runs in local network..

... and you think Wifi can't be hacked ;-)