Search found 24 matches

by newb
Tue Feb 19, 2019 7:24 am
Forum: ESP8266 boards
Topic: Designing resilient IOT applications
Replies: 8
Views: 599

Re: Designing resilient IOT applications

Hi Peter and Kevin, great stuff and documentation as usual! Have you tried to make the server run on esp8266 as well?
by newb
Fri Feb 01, 2019 7:04 pm
Forum: Hardware Projects
Topic: TelegaGraph
Replies: 5
Views: 1315

Re: TelegaGraph

Hi, I'm trying ti get this thermal printer working but I fail to get the right codepage conversion. I think the key is converting the UTF-8 bytearray into a codepage the printer recognises. Here is a self-test printout showing the active codepage iso-8852-5 along with the charset table. codepage.jpg...
by newb
Thu Jan 24, 2019 2:01 pm
Forum: ESP8266 boards
Topic: Feed hardware watchdog timer while in deep sleep
Replies: 4
Views: 209

Re: Feed hardware watchdog timer while in deep sleep

..and disabled it before deep sleep if it supports it
Aha! Thanks for the idea :D
by newb
Thu Jan 24, 2019 8:24 am
Forum: ESP8266 boards
Topic: Feed hardware watchdog timer while in deep sleep
Replies: 4
Views: 209

Re: Feed hardware watchdog timer while in deep sleep

Thanks, Kevin. On a second thought, any hangs would happen while esp8266 is working, not in deep sleep mode, so feeding the hardware WDT wouldn't be a problem. Am I right?
by newb
Thu Jan 24, 2019 6:46 am
Forum: ESP8266 boards
Topic: Feed hardware watchdog timer while in deep sleep
Replies: 4
Views: 209

Feed hardware watchdog timer while in deep sleep

Is it possible to feed hardware watchdog timer such as STWD100 while esp8266 is in deep sleep? Depending on the particular model the WDT's maximum timeout is between 2.24ms and 142ms, but I put my esp8266 for about 30min in deep sleep. I assume you can't work with the esp8266 pins while it's in deep...
by newb
Fri Jan 04, 2019 7:05 am
Forum: General Discussion and Questions
Topic: How can I see Pyboard script output on Mac?
Replies: 3
Views: 149

Re: How can I see Pyboard script output on Mac?

I'm using ESPlorer (java based) on my Mac, however the downside of it is that it doesn't accept Ctrl+C, so no way to force terminate scripts :) Otherwise it has a nice interface. "screen" is a good built-in option as well.
by newb
Thu Jan 03, 2019 7:43 am
Forum: Drivers for External Components
Topic: 64x32 led matrix driver
Replies: 4
Views: 840

Re: 64x32 led matrix driver

Happy New Year to all! I just came across this ESP8266/32 led matrix driver: https://github.com/2dom/PxMatrix I'll appreciate if anyone with experience check it out and confirm how easy it would be to port it to uPython. It could probably make use of Peter's Writer class. I got my 32x64 led matrix (...
by newb
Sat Dec 15, 2018 4:29 pm
Forum: General Discussion and Questions
Topic: Measuring 12v battery with ADC
Replies: 2
Views: 286

Re: Measuring 12v battery with ADC

Thanks for your guidance, Robert. I replaced the resistors in series with one 1M and one 2k2 one, added a calibration factor and all seems relatively correct. I do 10 readings and get the average. I suppose this is the best I can get. I found this formula for adjusting the scale factor. I'll leave i...
by newb
Sat Dec 15, 2018 12:27 pm
Forum: General Discussion and Questions
Topic: Measuring 12v battery with ADC
Replies: 2
Views: 286

Measuring 12v battery with ADC

Hi community, I've got the following setup: 12v battery-->voltage divider-->ADC pin of NodeMCU v3 (esp8266) I read this particular board has its own internal voltage divider (220kOhm and 110kOhm resistors) which allows 3.3V at the ADC pin, bringing it to 1V at the esp chip. I've put between the batt...
by newb
Mon Dec 10, 2018 7:36 am
Forum: ESP8266 boards
Topic: Library to deep sleep for days for esp8366
Replies: 13
Views: 4111

Re: Library to deep sleep for days for esp8366

I know the library is a bit old, but it seems line 53 of hourlysleeper.py:

Code: Select all

esp.deepsleep(1000000 * duration)
doesn't do anything. The ESP resets without going to deep sleep. I'm not sure why.
I had to replace it with the rtc.ALARM approach to get the long hours sleep working.