Search found 120 matches

by ThomasChr
Fri Sep 13, 2019 9:30 am
Forum: Programs, Libraries and Tools
Topic: html to variable
Replies: 4
Views: 82

Re: html to variable

One way would be to have the html elements in a <form> element with a submit-Tag which has the address of the pyboard in it. Whenever you submit the form the values of the variables will be submitted with it, either in the url (method=get) or in the body (method=post) of the request. A little bit mo...
by ThomasChr
Tue Sep 03, 2019 7:14 am
Forum: MicroPython pyboard
Topic: Pyboard copy
Replies: 1
Views: 291

Re: Pyboard copy

Just a small hint: They cut the cost wherever possible and one thing I noticed that the detection switch for the SD Card is not there. So no Auto-Mounting of an sd card for you. I also assume that all the other components will be as cheap as possible, which surely does mean more energy consumption a...
by ThomasChr
Tue Sep 03, 2019 7:11 am
Forum: Programs, Libraries and Tools
Topic: How to send push notifications to your phone from Micropython
Replies: 1
Views: 243

Re: How to send push notifications to your phone from Micropython

Thanks for your great tutorial, and I don't want to smaller your achievement in any way. But am I the only one whose toe nails curl simply by reading "IFTTT"? Everyone relys on an opague online service, sometimes giving them passwords so that they can control devices in my home, without really under...
by ThomasChr
Tue Sep 03, 2019 7:08 am
Forum: Programs, Libraries and Tools
Topic: ADNS5050 Optical Mouse Sensor.
Replies: 1
Views: 207

Re: ADNS5050 Optical Mouse Sensor.

Seems easy enough to do it directly in Micropython without a (C) driver. Just try it!
by ThomasChr
Tue Sep 03, 2019 6:48 am
Forum: General Discussion and Questions
Topic: Inconsistent results measuring pulses
Replies: 12
Views: 441

Re: Inconsistent results measuring pulses

Hi ghayne, I've done the very same thing (without using MQTT, that is) and here is the code: https://github.com/ThomasChr/ESP8266-read-power-meter/blob/master/main.py Works since a few months now and only resets/crashes about all two months. So pretty stable. Just try out if your problem vanishes wh...
by ThomasChr
Tue Sep 03, 2019 6:06 am
Forum: General Discussion and Questions
Topic: Taking sensor's data from Arduino
Replies: 1
Views: 121

Re: Taking sensor's data from Arduino

Simply use one of your favorite buses to communicate between Arduino and Pyboard, those are: SPI, I2C or UART All differ in functionality and speed. So you need to have your requirements in mind. And when you got the data it's your decision how to save it. On an ESP8266 sending the data over WiFi co...
by ThomasChr
Sat Aug 17, 2019 6:24 am
Forum: MicroPython pyboard
Topic: Timers don't start on hard reset, but work fine after soft reset
Replies: 6
Views: 207

Re: Timers don't start on hard reset, but work fine after soft reset

Afaik are timers (like nearly everything else) not retained through a hard reset. Why should they?
A hard reset is like pulling the plug. Almost everything except flash content and (if a battery is attached) the RTC is gone then.
by ThomasChr
Sat Jun 22, 2019 6:37 am
Forum: ESP32 boards
Topic: ESP32 + 110 ws2812b = random lighting
Replies: 4
Views: 273

Re: ESP32 + 110 ws2812b = random lighting

Maybe it‘s time to put the Logic Analyser into good use. You can get one for up to 10 MHz in China (salea logic clone) for a few bucks.
It can tell you exactly what voltages/commands the LEDs see.
by ThomasChr
Fri Jun 21, 2019 7:44 am
Forum: ESP8266 boards
Topic: Only power sensor when not in deep sleep
Replies: 9
Views: 357

Re: Only power sensor when not in deep sleep

I think this is one of the smallest formfactors for the ESP32: Directly the module WROVER from Espressif! https://www.aliexpress.com/item/33006996531.html Bonus: It's got 4 MB of PSRAM. Thats a lot of memory for micropython. On the negative side: It needs a regulated power source of about 3 / 3.3 Vo...
by ThomasChr
Fri Jun 21, 2019 5:38 am
Forum: ESP8266 boards
Topic: Only power sensor when not in deep sleep
Replies: 9
Views: 357

Re: Only power sensor when not in deep sleep

Jep, get an ESP Module with more Pins. ESP32 modules are not expensive!