Search found 51 matches
- Tue Sep 13, 2022 12:08 am
- Forum: Raspberry Pi microcontroller boards
- Topic: bmp280 error ?
- Replies: 2
- Views: 32437
Re: bmp280 error ?
without your source code is hard to figure it out. But I think that you forget to change the I2c address to 0x76 in the library. By default the bmp280 library is set to 0x77. When you create bme280 object you need to select the address 0x76. i2c=machine.I2C(0,sda=machine.Pin(bme_PinSDA), scl=machine...
- Thu Sep 01, 2022 5:14 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: BMP280 / BME280 uPython
- Replies: 45
- Views: 441317
Re: BMP280 / BME280 uPython
How can I do this if in the driver file, there appears to be a fixed address and its set only to 0x76?! I didn't understand even though it clearly works as I have it....?! OH! this is a python behavior if you check the driver you got # BME280 default address. BME280_I2CADDR = 0x76 class BME280: def...
- Sun Aug 28, 2022 7:36 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: BMP280 / BME280 uPython
- Replies: 45
- Views: 441317
Re: BMP280 / BME280 uPython
B.T.W.
Step 1 . Does my simple script works ?
Step 2. If you follow my solar pico , does it works with a simple bme sensors. If it doesn't what was the problem.
Step 1 . Does my simple script works ?
Step 2. If you follow my solar pico , does it works with a simple bme sensors. If it doesn't what was the problem.
- Sun Aug 28, 2022 7:12 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: BMP280 / BME280 uPython
- Replies: 45
- Views: 441317
Re: BMP280 / BME280 uPython
After I took your code, I've attempted to edit it somewhat to account for the fact i have two bme280 sensors,not just one. Ok two bme sensor ???? I tried to figure why two. Are you settings on different pressure box or you are just interrested to humidity and temperature. Two bme sensor hsould be s...
- Fri Aug 26, 2022 12:32 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: BMP280 / BME280 uPython
- Replies: 45
- Views: 441317
Re: BMP280 / BME280 uPython
I didn't have any problem with the BME280 sensor but I installed that version https://github.com/SebastianRoll/mpy_bme280_esp8266 I just copy the bme280.py into the pico lib folder. This is an example. I didn't test this exact code but it should work since I extracted it from my working solar garden...
- Mon Aug 22, 2022 2:23 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico w mqtt_as to HiveMQ Cloud
- Replies: 4
- Views: 42972
Re: Pico w mqtt_as to HiveMQ Cloud
So I'm happy the HiveMQ Broker side of things is working OK. But I can't get a Pico W with MQTT_AS connected to the HiveMQ Broker Maybe print the config just in case something is not ok. What is your source code ? Giving the config won't tell us if your code is OK! Do you have the micropython refer...
- Thu Aug 18, 2022 2:18 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico W Micro Python MQTT of data to a RP4B
- Replies: 62
- Views: 569030
Re: Pico W Micro Python MQTT of data to a RP4B
Oh this sounds quite complicated. Not at all. Solar Cell -> 5V buck converter. -> TP4056 charger -> lipo -> Pico Vsys. This is a simple setup with a more power full solar cell. N.B. there are two protoboards So we have four different power rails , I called them BUS, on each side. SOLAR.jpg Do you t...
- Wed Aug 17, 2022 12:21 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico W Micro Python MQTT of data to a RP4B
- Replies: 62
- Views: 569030
Re: Pico W Micro Python MQTT of data to a RP4B
I think you'd have to identify the low power bits of the code to me before I'd have any chance of trying that out with my setup. You could supply Vsys with a voltage bettween 1.8 to 5.5V which is perfect for a lipo battery. When the PicoW transmit via wifi it could have some peak higher than 100ma ...
- Tue Aug 16, 2022 11:07 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico W Micro Python MQTT of data to a RP4B
- Replies: 62
- Views: 569030
Re: Pico W Micro Python MQTT of data to a RP4B
Hi Rissy, Looks very good. I also made a mqtt device with pico. The big difference is that I'm adding a tiny solar cell with a lipo battery. This mean that I'm using lightsleep often to keep the battery. This is my github https://github.com/danjperron/PicoWSolar Maybe it will give you some more idea...
- Sun Aug 14, 2022 2:03 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: add ds3231 alarm
- Replies: 0
- Views: 162905
add ds3231 alarm
I just download Peter Hinch micropython-samples. Thanks Peter for your very good samples. Ok I'm just trying to learn how to do deep sleep with the timer ds3231 but the ds3231 library doesn't have the alarm set. Then I added the functions to his library for the alarm 1 and 2. I didn't put it on gith...