Search found 31 matches

by doceave
Thu Feb 20, 2020 4:02 pm
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 7740

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

Totally amazing! :) It works! So excited to put it through its paces now!

Thanks so so much to everyone!
by doceave
Thu Feb 20, 2020 2:11 pm
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 7740

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

It is absolutely super that you guys look after the community at this level. I am amazed and feel so honored.

Will test folder structure as described by Kev asap and revert with results.
by doceave
Wed Feb 19, 2020 8:18 pm
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 7740

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

I will again attempt installation. Sadly ampy does not allow movement of entire folders so I will have to re-create the folder structure (which looks rather odd) on the ESP32. This is the structure I was using. Would you mind casting an eye over this before I repeat the process?: /uasyncio/uasyncio/...
by doceave
Wed Feb 19, 2020 7:28 pm
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 7740

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

I really do hope this will help with troubleshooting.... :| :
>>> import uasyncio as asyncio
>>> dir(asyncio)
['__class__', '__name__', '__path__']
>>>
by doceave
Wed Feb 19, 2020 5:42 pm
Forum: Programs, Libraries and Tools
Topic: DS18B20 --- Reading while getting other chores done
Replies: 17
Views: 7740

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

Hi there KevinKK525 ---- I am so sorry to bother with NOOB requests. Your modification of Jimmo's code is below: import uasyncio as asyncio async def adc_task(): while True: print ("Doing ADC things......") await asyncio.sleep_ms(100) async def ds18x20_task(): while True: print ("Doing temperature t...
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: 7740

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

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

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

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

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