Search found 9 matches

by GryKyo
Mon May 06, 2019 2:50 pm
Forum: ESP32 boards
Topic: Stability of ESP32 vs ESP8266
Replies: 8
Views: 1883

Re: Stability of ESP32 vs ESP8266

Thanks Peter and I reciprocate your apology, I haven't been on here in a week or two! You put your finger on it I suspect, we are both saying the same thing. The RFI that is causing the ESP32 to restart and my IO to react erratically during restarts is probably not being received through the antenna...
by GryKyo
Tue Mar 05, 2019 2:51 pm
Forum: ESP32 boards
Topic: Stability of ESP32 vs ESP8266
Replies: 8
Views: 1883

Re: Stability of ESP32 vs ESP8266

I would love to have your input on this one, a curious case of resetting CPU caused by electrical noise... I built an application for roller door automation in an industrial premises using an ESP32 and Micropython. This works superbly on the bench and integrates the roller door control with two ESP...
by GryKyo
Mon Feb 11, 2019 10:16 pm
Forum: ESP32 boards
Topic: How can I use urequests module?
Replies: 2
Views: 315

Re: How can I use urequests module? [SOLVED]

I spotted the fix for this earlier. The memory issue I was having resulted from leaving the request open. My code had the call: response = urequests.get(credentials.google_string + str(log_data)) ... in a mqtt callback used to log something to a google sheets file. I added: response.close() ... to t...
by GryKyo
Sun Feb 10, 2019 10:47 pm
Forum: ESP32 boards
Topic: How can I use urequests module?
Replies: 2
Views: 315

Re: How can I use urequests module?

I am having similar memory related problems using the urequests module. I am very new but surprised myself by getting this to work at all! I am parsing a JSON string which I receive in a MQTT callback function. Within this function I check the topic and do A or B B is to index a key's value from my ...
by GryKyo
Wed Jan 16, 2019 9:53 pm
Forum: ESP32 boards
Topic: uPyCraft - Issues on Windows 10
Replies: 5
Views: 1523

Re: uPyCraft - Issues on Windows 10

I have not been able to fix this and I am not alone. I have come across somebody else having similar problems which are all related to run time environment, dependencies and processor architecture. Being a new PC I don't want to do anything crazy. The uPyCraft application won't even start on the Win...
by GryKyo
Thu Jan 10, 2019 12:06 am
Forum: ESP32 boards
Topic: uPyCraft - Issues on Windows 10
Replies: 5
Views: 1523

uPyCraft - Issues on Windows 10

Seeking any good/bad experiences from people who have tried to run uPyCraft on Windows 10 64 bit and failed, had error messages etc? I have been using uPyCraft on a windows 8 laptop and it is great, robust and very easy to edit code on the fly, I like it. I have so far failed to get it to start on m...
by GryKyo
Thu Jan 03, 2019 7:55 pm
Forum: ESP32 boards
Topic: ESP32 ADC always reads 4095
Replies: 4
Views: 714

Re: ESP32 ADC always reads 4095

Many thanks @Roberthh, that works well. I must crack out the multi-meter now and calibrate...

Garry
by GryKyo
Thu Jan 03, 2019 6:29 pm
Forum: ESP32 boards
Topic: deepsleep wake with external interrupt
Replies: 0
Views: 247

deepsleep wake with external interrupt

Hoping this will be of some help... I struggled over much online help to find code that worked for deepsleep and external wake interrupt. # magnetic reed switch on IO13 reed = machine.Pin(13, mode = machine.Pin.IN, pull = machine.Pin.PULL_DOWN) # an external interrupt to wake from sleep if the door ...
by GryKyo
Thu Jan 03, 2019 6:24 pm
Forum: ESP32 boards
Topic: ESP32 ADC always reads 4095
Replies: 4
Views: 714

ESP32 ADC always reads 4095

Hi All, New here and not seeing any way to post code, apologies if I am getting up your noses already! Anyway, I have a Wemos D32 ready to deploy, deep sleeps for most of the time but should check IO35 on wake-up to alarm in case of low battery. Seems that any time I read Vbatt I get full scale 4095...