These are chat archives for esp8266/Arduino

1st
Aug 2016
Mehrdad K
@mkeyno
Aug 01 2016 00:13
@martinayotte I have SIM module connected and close to my ESP-12F, when it get call , make the ESP reset , do you have any suggestion to protect ESP
Martin Ayotte
@martinayotte
Aug 01 2016 11:39
@mkeyno , this is usually symptom of bad power supply. Make sure it is strong enough and well regulated and add capacitors nearby.
Shelby Merrick
@forkineye
Aug 01 2016 12:24
Is it possible to feed the hardware watchdog?
Ivan Grokhotkov
@igrr
Aug 01 2016 13:34
WDT_FEED();
In esp8266_peri.h
Shelby Merrick
@forkineye
Aug 01 2016 13:46
thanks @igrr !
Shelby Merrick
@forkineye
Aug 01 2016 13:55
@igrr If I need to bitbang a packet for 800us with interrupts disabled, will WDT_FEED() keep me alive or should I expect issues?
Ivan Grokhotkov
@igrr
Aug 01 2016 14:54
Disabling wifi interrupt for more than 20us is not recommended. You will likely get wdt reset if you disable them for that long.
Michael Miller
@Makuna
Aug 01 2016 15:58
@forkineye What sort of packet are you bit-banging?
Shelby Merrick
@forkineye
Aug 01 2016 15:59
@Makuna GECE lights
Shelby Merrick
@forkineye
Aug 01 2016 16:38
@Makuna 26 bits @ 30us each, painfully slow - https://github.com/forkineye/ESPixelStick/blob/master/bitbang.c
Michael Miller
@Makuna
Aug 01 2016 18:55
@forkineye you could start with my neopixel library and modify the timing; look at the uart or dma methods.
Shelby Merrick
@forkineye
Aug 01 2016 18:59
@Makuna I came up with the 6N1 uart method for 2811 you're using in that :)
Tried something similar for GECE, but its glitching. I really need 8N0 to make it clean, but can't have 8 stop bits :(
Michael Miller
@Makuna
Aug 01 2016 19:00
(there is now two uart methods, the new one is async like the dma)
Shelby Merrick
@forkineye
Aug 01 2016 19:00
I do it 7N1 here, but getting some glitching. have to pull the line low manually - https://github.com/forkineye/ESPixelStick/blob/master/PixelDriver.h#L94
oh yeah, i noticed the async stuff. nice work! i ended up hacking that back into mine after seeing it
did an async DMX-512 output for it too