Search found 89 matches
- Fri Dec 16, 2016 11:42 am
- Forum: Drivers for External Components
- Topic: Power supply control
- Replies: 15
- Views: 17938
Re: RE: Re: Power supply control
Sorry guys, I was on vacation and just read your follow ups. I confirm that the relay I am using has NPN and diode-led. Besides I have realized few of this wifi-switches (look at picture in my previous post) and they work just fine. Tested with hundreds of toggles so far with very stable ESP and re...
- Tue Dec 13, 2016 7:35 pm
- Forum: ESP8266 boards
- Topic: Pin Toggle Performance
- Replies: 8
- Views: 14256
Re: Pin Toggle Performance
Check the topic on sound in here and the reply of pythoncoder. There was a contest on how fast a pin could be set. I am on my mobile and cannot get the link but you can easily find there.
Edit: found
http://forum.micropython.org/viewtopic.php?f=2&t=1349
Edit: found
http://forum.micropython.org/viewtopic.php?f=2&t=1349
- Tue Dec 13, 2016 6:36 pm
- Forum: ESP8266 boards
- Topic: Making sounds
- Replies: 12
- Views: 21926
Re: Making sounds
You may want to checkout: http://forum.micropython.org/viewtopic.php?f=14&t=2172&p=12291 I just translated into esp/machine language your pyb_test. The rest is pretty portable... It's a pity the 1000Hz limit of the PWM on ESP. Besides I hope I've made it right. (The only audible song is TopGun Them...
- Tue Dec 13, 2016 5:03 pm
- Forum: ESP8266 boards
- Topic: Simple HTTP framework
- Replies: 25
- Views: 28601
Re: Simple HTTP framework
Hi @fdushin, I had a look at your http server framework and it's amazing. I am impressed, really. I developed my own and it's ugly (I know) but it makes its job and it's extremely compact. But the temptation to use an elegant, robust and versatile httpd framework is huge. For my purposes this is som...
- Sun Dec 11, 2016 9:18 pm
- Forum: ESP8266 boards
- Topic: Using the tx/rx pins not for UART
- Replies: 42
- Views: 48268
Re: Using the tx/rx pins not for UART
I solved it! This is the ONE LINE solution. --- esp8266/uart.c 2016-12-09 16:16:43.936221129 +0100 +++ esp8266/uart.c.original 2016-12-09 11:06:36.377927859 +0100 @@ -171,7 +171,6 @@ while (READ_PERI_REG(UART_STATUS(uart_no)) & (UART_RXFIFO_CNT << UART_RXFIFO_CNT_S)) { uint8 RcvChar = READ_PERI_REG(...
- Fri Dec 09, 2016 9:20 am
- Forum: ESP8266 boards
- Topic: Using the tx/rx pins not for UART
- Replies: 42
- Views: 48268
Re: Using the tx/rx pins not for UART
UP I just would like to know what is the actual status of decoupling REPL from UART. This is fundamental to access peripherals that talk binary over uart/serial lines. I almost succeded to have meaningful replies from a PZEM004t power meter and the Control-C characters mess up with the communication...
- Thu Dec 01, 2016 10:39 pm
- Forum: ESP8266 boards
- Topic: wlan.connect timeout
- Replies: 9
- Views: 8750
Re: wlan.connect timeout
As far as I know connect returns almost immediately and it just triggers the underlying SDK to make the job. I have developed and use my personal general purpose do_connection routine. It has been tuned and there are some reasons behind it that you probably already know or you will discover if you r...
- Wed Nov 23, 2016 7:40 pm
- Forum: ESP8266 boards
- Topic: ESPLORER unable to run a proper main.py file ...
- Replies: 21
- Views: 22236
Re: ESPLORER unable to run a proper main.py file ...
I understand that you "really" want ESPlorer to work with micropython. You should probably contact the author of the program https://esp8266.ru/esplorer/ As far as I can tell it is NOT working properly with micropython. To me is a deprecated tool that should not be considered for micropython develo...
- Wed Nov 23, 2016 7:35 pm
- Forum: ESP8266 boards
- Topic: Dowloading Gigabytes reloaded
- Replies: 11
- Views: 15017
Re: Dowloading Gigabytes reloaded
Hi Robert and all actually I am not sure if what you see can be something related to what I tested here http://forum.micropython.org/viewtopic.php?f=16&t=2697. WiFi instability reflects to the application, that is for sure. Some hangups are explained by intermittent WiFi signal. That's my conclusion...
- Wed Nov 23, 2016 7:08 pm
- Forum: ESP8266 boards
- Topic: How can I trap socket errors?
- Replies: 13
- Views: 20409
Re: How can I trap socket errors?
I actually use: socket = socket.socket() socket.settimeout(0.5) # otherwise it will wait forever socket.listen(1) # maximum number of queued connections while True: try: conn, addr = self.socket.accept() except KeyboardInterrupt: return except: # Timeout do_something_with_timeout_exception() continu...