Search found 55 matches

by soggycashew
Thu Apr 21, 2022 5:20 pm
Forum: Other Boards
Topic: LC709203F error
Replies: 3
Views: 2319

Re: LC709203F error

@pythoncode I'm so sorry I didn't respond, for some reason I never get notifications.... I didn't realize that "1" was a typo.. I checked and the code example is: import machine from LC709203F import BatteryMonitor from time import sleep i2c = machine.I2C(1,scl=machine.Pin(7), sda=machine.Pin(6), fr...
by soggycashew
Tue Apr 19, 2022 4:10 am
Forum: Other Boards
Topic: LC709203F error
Replies: 3
Views: 2319

LC709203F error

I have the adafruit LC709203F installed and ran the SCL to pin 7 and SDA to pin 6 of the Tiny2040 along with the 5v and ground. I'm using Micro python so on GitHub there is converted code GITHUB LC709203F CODE. I am receiving an error in the LC709203F library. Traceback (most recent call last): File...
by soggycashew
Fri Apr 08, 2022 9:30 pm
Forum: Raspberry Pi microcontroller boards
Topic: battery drain fast
Replies: 2
Views: 1743

battery drain fast

Hello, I have a few sensors running (3 capacitive moisture sensors, I2C 128x64 OLED, MQ135 Air Quality Sensor, and a DHT22 Humidity and Temperature Sensor) on a 3.7V 1200mAh LIPO battery. Anyways, the battery drains really fast like within a day..... What do I need to make this thing last? I don't n...
by soggycashew
Sat Apr 02, 2022 7:29 pm
Forum: Raspberry Pi microcontroller boards
Topic: MQ135 sensor Attribute Error
Replies: 6
Views: 3844

Re: MQ135 sensor Attribute Error

I got it worked out..... I'm posting the code that works with a (DHT22 humidity and temp sensor) and the (MQ135 gas sensor). Also you have to run/print rzero for a bit to get your RZERO and change in in the library like I did below... # Calibration resistance at atmospheric CO2 level RZERO = -15.010...
by soggycashew
Sat Apr 02, 2022 5:24 pm
Forum: Raspberry Pi microcontroller boards
Topic: MQ135 sensor Attribute Error
Replies: 6
Views: 3844

Re: MQ135 sensor Attribute Error

Its not on my computer its on Raspbery Pi Pico? and yes its on there correctly. If I use the below code to see if the mq135 is reading values it does.
by soggycashew
Sat Apr 02, 2022 2:51 am
Forum: Raspberry Pi microcontroller boards
Topic: MQ135 sensor Attribute Error
Replies: 6
Views: 3844

MQ135 sensor Attribute Error

I'm trying to connect a mq135 gas/c02 sensor to my project and found the drivers link in Awsome MicroPython to GitHub HERE and I just cant get this thing to work. I'm using the DHT22 temp and hum sensor (I know it works) instead of the DHT11 so I had to change a few things for that. Anyways I'm gett...
by soggycashew
Sun Mar 20, 2022 2:37 pm
Forum: Raspberry Pi microcontroller boards
Topic: Values wont update
Replies: 3
Views: 1456

Re: Values wont update

Peter, the button is there so it shows the values twice and shuts off screen otherwise it would just run and run and run when not needed, It works as in that's correct but the values don't update for whatever reason and that's what I need. What its doing is when I press the button it loops through t...
by soggycashew
Sat Mar 19, 2022 3:18 pm
Forum: Raspberry Pi microcontroller boards
Topic: Values wont update
Replies: 3
Views: 1456

Values wont update

Hello, I have a 4 plant moisture and humidity meter on a Pico and everything runs fine when the btn_show_display is pressed BUT my values never update on the oled (Unless I stop the program and rerun). What it does when I press the button it displays temp and humidity then shows each plants capaciti...
by soggycashew
Mon Jan 17, 2022 11:22 pm
Forum: General Discussion and Questions
Topic: Loop wont stop after indicated times
Replies: 4
Views: 7048

Re: Loop wont stop after indicated times

@pythoncoder thank you it works great... If I was to use another button do I just add it in and "Create pushbutton instance" like in your example? I noticed a difference from your example and my example. The onboard light blinks and I press the button, the oled runs and on its await uasyncio.sleep(5...
by soggycashew
Sun Jan 16, 2022 6:01 pm
Forum: General Discussion and Questions
Topic: Loop wont stop after indicated times
Replies: 4
Views: 7048

Re: Loop wont stop after indicated times

@pythoncoder I read/looked at the document link you posted and I am lost on how to get this working. All I wanted to do was when the button was pressed just run the function twice. Can you give me an example with my code please? I did find a video by Digi-Key based off your Asyncio HERE . I got it w...