Search found 41 matches

by ghayne
Sat Nov 09, 2019 4:58 pm
Forum: ESP8266 boards
Topic: urequests missing from latest build
Replies: 3
Views: 812

urequests missing from latest build

I just installed esp8266-20191109-v1.11-571-g7e374d231.bin and urequests is missing.
by ghayne
Sat Nov 09, 2019 10:29 am
Forum: ESP8266 boards
Topic: Counting pulses from an electricity meter
Replies: 12
Views: 1880

Re: Counting pulses from an electricity meter

pythoncoder wrote:
Sat Nov 09, 2019 9:10 am
Perhaps 4Hz is too fast for your peer/database.
I checked the InfluxDB logs and the entries just stop with no error. I am running this on a Feather Huzzah so the hardware should be reliable. Is there any way to recover from an ECONNABORTED or debug it further?
by ghayne
Fri Nov 08, 2019 6:54 pm
Forum: ESP8266 boards
Topic: Counting pulses from an electricity meter
Replies: 12
Views: 1880

Counting pulses from an electricity meter

I intend using the following code to read the pulses coming from an electricity meter to calculate instantaneous power and total consumption. I have a photodiode connected to an ADS1015 A/D converter (many thanks to Roberthh for his modifications to the driver) and everything is working fine on the ...
by ghayne
Thu Oct 31, 2019 10:04 am
Forum: ESP8266 boards
Topic: Send Sensor Data to Database
Replies: 1
Views: 618

Re: Send Sensor Data to Database

Try urequests to post data via http to the database.
by ghayne
Sun Oct 13, 2019 8:56 am
Forum: ESP8266 boards
Topic: Door sensor with ESP8266
Replies: 3
Views: 749

Re: Door sensor with ESP8266

You may have problems with GPIO1 as it is the RX pin. It is high at boot and boot will fail if it's held low at boot time.

This is a good reference for which GPIO's you should use on the ESP8266
https://randomnerdtutorials.com/esp8266 ... nce-gpios/
by ghayne
Sat Oct 12, 2019 4:56 pm
Forum: General Discussion and Questions
Topic: Pyboard machine.deepsleep not waking from RTC, PA0, PC13 when other ICs have power
Replies: 4
Views: 930

Re: Pyboard machine.deepsleep not waking from RTC, PA0, PC13 when other ICs have power

Could it be that when the other IC's are powered that they are preventing wake from deep sleep by holding Pyboard inputs high or low somehow? Just a quick idea.

EDIT: Just found this:
https://github.com/micropython/micropython/issues/3834
by ghayne
Fri Oct 11, 2019 11:40 am
Forum: ESP32 boards
Topic: ESP32 crashes with Micropython with simple test program
Replies: 9
Views: 1319

Re: ESP32 crashes with Micropython with simple test program

+1 for the supply problem. I have an ESP32 module here that refuses to run off a normal USB socket on my laptop. If I use an adapter attached to the USB C socket it works fine.
by ghayne
Fri Oct 11, 2019 10:50 am
Forum: General Discussion and Questions
Topic: "OSError: [Errno 103] ECONNABORTED" what to do?
Replies: 3
Views: 629

Re: "OSError: [Errno 103] ECONNABORTED" what to do?

I think you should be using the POST method

Code: Select all

resp = urequests.post('http://192.168.100.3/input_data/?temp='+str(bmp.temperature)+'&pressure='+str(bmp.pressure)+'&vl=1')
resp.close()
by ghayne
Tue Oct 08, 2019 9:40 am
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 10
Views: 2378

Re: MicroPython on Casio fx-CG50 Questions?

Roberthh wrote:
Tue Oct 08, 2019 6:21 am
This is also an interesting device: https://www.numworks.com/
Although, for pocket calculators I stick to HP and RPN
That does look interesting, the price is reasonable too. I only use RPN after owning a HP41C many years ago. Today I use an Android app.
by ghayne
Sat Sep 28, 2019 9:51 am
Forum: ESP8266 boards
Topic: Analog Pins
Replies: 16
Views: 5228

Re: Analog Pins

deshipu wrote:
Wed Sep 27, 2017 7:19 pm
And if you are using a Wemos D1 Mini, by total coincidence I just started selling my homebrew analog shield: https://www.tindie.com/products/deshipu ... r-d1-mini/
That is a lovely looking piece of kit!