Search found 26 matches

by doceave
Tue Feb 18, 2020 9:38 pm
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 1737

Re: DS18B20 --- Reading while getting other chores done

Thanks so much Kev.... Almost midnight here in South Africa ---- this is first on my list of things to test tomorrow! :)

A super simple tutorial on implementation of this awesome feature is probably needed somewhere.
by doceave
Tue Feb 18, 2020 7:52 pm
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 1737

Re: DS18B20 --- Reading while getting other chores done

Jimmo!! :) This uasyncio appears to be the ideal solution albeit way above my level.... I have installed the standard MicroPython v1.12 (2019-12-20) with IDF3 Thus far I have managed to do the following: > Install the uasyncio library using these instructions --- https://github.com/peterhinch/microp...
by doceave
Mon Feb 17, 2020 1:31 pm
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 1737

DS18B20 --- Reading while getting other chores done

Hi there I find myself in a situation where this is to expensive, in terms of time, to execute: import time, ds18x20 ds = ds18x20.DS18X20(ow) roms = ds.scan() ds.convert_temp() time.sleep_ms(750) for rom in roms: print(ds.read_temp(rom)) There is only need to check temperature every 2 sec or so, how...
by doceave
Sat Feb 15, 2020 2:23 pm
Forum: Programs, Libraries and Tools
Topic: Application for Robert-hh's ads1x15 library
Replies: 7
Views: 1074

Re: Application for Robert-hh's ads1x15 library

Many many thanks Robert! I adjusted the I2C addresses accordingly and it works! Beautiful. Having exported a sample of data into Excel for graphing I can see the patterns that I need... Just a bit of thought and the code will take care of automating an important task. You are an asset to the communi...
by doceave
Sat Feb 15, 2020 9:02 am
Forum: Programs, Libraries and Tools
Topic: Application for Robert-hh's ads1x15 library
Replies: 7
Views: 1074

Re: Application for Robert-hh's ads1x15 library

Robert-hh himself! I am honored and deeply appreciative of the reply. I will implement this today and feedback with the results :)

Totally awesome! I hope to pay if forward asap :)
by doceave
Fri Feb 14, 2020 4:19 pm
Forum: Programs, Libraries and Tools
Topic: Application for Robert-hh's ads1x15 library
Replies: 7
Views: 1074

Application for Robert-hh's ads1x15 library

Hi there MicroPython community I hope to achieve the following: > I am a hoping to use a 4-channel ADC (an ADS1115), interfacing an ESP32 via I2C, to sample each of the 4 channels at just 10Hz. Higher frequency sampling may be useful as this may help filter out any noise on the sensors. > My hope is...