Search found 38 matches

by ghayne
Tue Nov 12, 2019 2:54 pm
Forum: ESP8266 boards
Topic: Counting pulses from an electricity meter
Replies: 12
Views: 556

Re: Counting pulses from an electricity meter

The micropython-iot library may be found here . I think I will have to bite the bullet and go down that road Peter, I have given up on the high speed streaming version, as torwag stated, the ESP's are not the most reliable for WIFI connections. The combination Pyboard > ESP is also something I am c...
by ghayne
Tue Nov 12, 2019 2:41 pm
Forum: ESP8266 boards
Topic: bmp180
Replies: 5
Views: 183

Re: bmp180

I think
I2C(scl=Pin(4), sda=Pin(5), freq=100000)

should be
I2C(scl=Pin(5), sda=Pin(4), freq=100000)

Garry
by ghayne
Tue Nov 12, 2019 2:21 pm
Forum: ESP8266 boards
Topic: bmp180
Replies: 5
Views: 183

Re: bmp180

I looks like your BMP180 is not connected properly, check the wiring.
by ghayne
Mon Nov 11, 2019 8:52 am
Forum: ESP8266 boards
Topic: urequests missing from latest build
Replies: 3
Views: 207

Re: urequests missing from latest build

jimmo wrote:
Mon Nov 11, 2019 12:08 am
I checked...apparently this was always the case with the nightly ESP8266 builds.....
Oh, my mistake then jimmo, thanks for investigating.

Garry
by ghayne
Sun Nov 10, 2019 2:58 pm
Forum: ESP8266 boards
Topic: Counting pulses from an electricity meter
Replies: 12
Views: 556

Re: Counting pulses from an electricity meter

I am currently performing a long term test on an ESP8266 running resilient MQTT My original plan was to use MQTT to send data, but as the standard library is blocking I dropped the idea.Your resilient driver looks very interesting! It may be worthwhile to revisit that idea. I am also considering pu...
by ghayne
Sun Nov 10, 2019 10:58 am
Forum: ESP8266 boards
Topic: Counting pulses from an electricity meter
Replies: 12
Views: 556

Re: Counting pulses from an electricity meter

Is the PC software still running after you get ECONNABORTED? I am writing directly to InfluxDB, no software involved. The original scenario was using a Raspberry Pi running InfluxDB but yesterday I installed InfluxDB on a laptop and everything worked fine for about 5 hours, which is over 70,000 suc...
by ghayne
Sat Nov 09, 2019 4:58 pm
Forum: ESP8266 boards
Topic: urequests missing from latest build
Replies: 3
Views: 207

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: 556

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: 556

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 ...