Search found 81 matches
- Mon Oct 22, 2018 5:12 pm
- Forum: General Discussion and Questions
- Topic: Use WDT using ESP8266
- Replies: 4
- Views: 5229
Use WDT using ESP8266
Hi, I try to use WDT as noted in http://docs.micropython.org/en/v1.9.3/wipy/library/machine.WDT.html , where it specifically instruct to input a apatmeter called `timeout` to define max time until next feed. BUT when I write same code as noted I get an error says : from machine import WDT >>> wdt=WD...
- Wed Oct 10, 2018 7:41 am
- Forum: Drivers for External Components
- Topic: LCD 2X16 I2c on ESP32
- Replies: 6
- Views: 19374
Re: LCD 2X16 I2c on ESP32
Hi, thank you for your answer. lets leave the 5v issue for later. 1) can I decide that D3, D4 will be i2c ? I thought it is a dedicated hardware ( as I know In RPI boards ). 2) my motivation to use ESP8266 is to be much simpler and reliable than RPI zero -over there I have my system working properly...
- Wed Oct 10, 2018 7:33 am
- Forum: Other Boards
- Topic: 16X2 LCD screen
- Replies: 3
- Views: 3586
Re: 16X2 LCD screen
Hi Peter,
I used Dave's lib, but I don't understand which are the i2c pins to connect to, and what to do when port supplies 3.3v rather than 5v.
I used Dave's lib, but I don't understand which are the i2c pins to connect to, and what to do when port supplies 3.3v rather than 5v.
- Tue Oct 09, 2018 5:21 pm
- Forum: Drivers for External Components
- Topic: LCD 2X16 I2c on ESP32
- Replies: 6
- Views: 19374
Re: LCD 2X16 I2c on ESP32
I'm going to assume you are using a 1602 LCD with one of these I2C backpacks: https://www.aliexpress.com/item/LCD1602-I2C-LCD-1602-module-Blue-screen-IIC-I2C-for-arduino-LCD1602-Adapter-plate/32651314933.html Git clone or download the repo: https://github.com/dhylands/python_lcd Open the lcd folder...
- Tue Oct 09, 2018 4:31 pm
- Forum: ESP8266 boards
- Topic: Can't enter text after connecting WebRepl
- Replies: 3
- Views: 3669
Can't enter text after connecting WebRepl
Hi,
I establish connection to wepRepl ( using password ) .
after successful connection - I can not enter any text. why is that ?
I establish connection to wepRepl ( using password ) .
after successful connection - I can not enter any text. why is that ?
- Tue Oct 09, 2018 3:49 pm
- Forum: Other Boards
- Topic: 16X2 LCD screen
- Replies: 3
- Views: 3586
16X2 LCD screen
Hi,
I'm using a 16X2 LCD matrix using I2C- for a project using RPI_ZERO_W.
I'm looking for a equivalent lib in microPython for ESP32/ ESP8266.
Guy
I'm using a 16X2 LCD matrix using I2C- for a project using RPI_ZERO_W.
I'm looking for a equivalent lib in microPython for ESP32/ ESP8266.
Guy
- Sat Oct 06, 2018 7:23 am
- Forum: Drivers for External Components
- Topic: LCD 2X16 I2c on ESP32
- Replies: 6
- Views: 19374
LCD 2X16 I2c on ESP32
Hi,
I wish to use such LCD on both ESP32 and ESP8266.
I've found dhylands github - https://github.com/dhylands/python_lcd.
but I need some help to install it on my device, since using instuction on README.MD file, didn't work for me.
Guy
I wish to use such LCD on both ESP32 and ESP8266.
I've found dhylands github - https://github.com/dhylands/python_lcd.
but I need some help to install it on my device, since using instuction on README.MD file, didn't work for me.
Guy
- Fri Sep 14, 2018 4:37 am
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17705
Re: Last will on umqtt.simple
now I see: try: while True: while client.check_msg(): pass time.sleep(1.0) client.ping() -------------------> Now I see that this is A CRUCIAL feature I missed except KeyboardInterrupt: client.sock.close() [/quote]
- Thu Sep 13, 2018 8:29 pm
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17705
Re: Last will on umqtt.simple
So this is a totally different problem now than what you started the thread with? I.e. your client keeps losing the connection? Please open a new topic for that. and before you do, try to come up with the smallest possible amount of complete code that demonstrates the problem. Nobody wants to debug...
- Thu Sep 13, 2018 8:00 pm
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17705
Re: Last will on umqtt.simple
thank you for your kind help, here 's the relevant portion of the code. In a word: if loop fail 3 conseq times - it goes for "emergency state" for few minutes, without seeking broker, to enable user operate manual switch without disturbance. def startMQTTclient(self): self.mqtt_client = MQTTClient(s...