Search found 119 matches
- Mon Jun 29, 2020 5:14 pm
- Forum: Drivers for External Components
- Topic: bme680 adafruit on pyboard
- Replies: 16
- Views: 42508
Re: bme680 adafruit on pyboard
Hi, Thanks for your help! I have tried to change the i2c adress by 0x78 althoug i2c.scan() return 0x77. And change "self._i2c.write(bytes([register & 0xFF]))" by self._i2c.write(bytes([register & 0x78])) : No success. The solution of Roberthh is right. It works fine! Thanks a lot!!! All the best!
- Mon Jun 29, 2020 2:03 pm
- Forum: Drivers for External Components
- Topic: bme680 adafruit on pyboard
- Replies: 16
- Views: 42508
Re: bme680 adafruit on pyboard
Thanks for your support Jimmo,
I use the adafruit_bme_680 library...
I have tried an other one wich concern directly micropython without success and I think that the adafruit lib is more closer of a success.
Thanks.
I use the adafruit_bme_680 library...
I have tried an other one wich concern directly micropython without success and I think that the adafruit lib is more closer of a success.
Thanks.
- Mon Jun 29, 2020 10:45 am
- Forum: Drivers for External Components
- Topic: bme680 adafruit on pyboard
- Replies: 16
- Views: 42508
bme680 adafruit on pyboard
Hi, I try to use the bme680 sensor from adafruit... After change i2c adress from 0x76 to 0x77 in the lib, I have this error: "OSError: I2C operation not supported" The line which is implicated in the lib : " self._i2c.write(bytes([register & 0xFF])) " I haven't find good reason for this problem, and...
- Thu Jun 25, 2020 12:08 am
- Forum: MicroPython pyboard
- Topic: vbat connection solution ?
- Replies: 7
- Views: 3897
Re: vbat connection solution ?
Ok, thanks.
I have found a solution there : https://elfnor.com/pyboard-datalogger.html
So, coincell-gnd on the pin upper X24, and coincell-V+ on the pin upper X22.
I have tested, and for moment it's all right.
Enjoy.
I have found a solution there : https://elfnor.com/pyboard-datalogger.html
So, coincell-gnd on the pin upper X24, and coincell-V+ on the pin upper X22.
I have tested, and for moment it's all right.
Enjoy.
- Wed Jun 24, 2020 7:26 am
- Forum: MicroPython pyboard
- Topic: vbat connection solution ?
- Replies: 7
- Views: 3897
Re: vbat connection solution ?
Hi,
Big problem!
The coin cell is out in less than 24 hours...
Is it the vback pinout that I have to use?
Otherwise, no way for save time!
Thanks.
Big problem!
The coin cell is out in less than 24 hours...
Is it the vback pinout that I have to use?
Otherwise, no way for save time!
Thanks.
- Mon Jun 22, 2020 5:26 pm
- Forum: MicroPython pyboard
- Topic: using tsl2561 light sensor with a pyboard
- Replies: 11
- Views: 10930
Re: using tsl2561 light sensor with a pyboard
Hi, I can use the tsl2591 and pyboard with this library at : https://github.com/jfischer/micropython-tsl2591 And the code: import tsl2591 import machine i2c = machine.I2C(-1, scl = machine.Pin('Y9'), sda = machine.Pin('Y10'), freq = 10000) sensor = tsl2591.Tsl2591(i2c) full, ir = sensor.get_full_lum...
- Sat Jun 20, 2020 5:55 pm
- Forum: MicroPython pyboard
- Topic: vbat connection solution ?
- Replies: 7
- Views: 3897
Re: vbat connection solution ?
Hi,
I have done it. Nothing outside the housing! Just on top, the lcd160 and one of my different "half protoskin"... Perfect.
I have done it. Nothing outside the housing! Just on top, the lcd160 and one of my different "half protoskin"... Perfect.
- Wed Jun 17, 2020 7:34 pm
- Forum: Drivers for External Components
- Topic: i2c pyb or machine for sgp30 adafruit sensor?
- Replies: 11
- Views: 26774
Re: i2c pyb or machine for sgp30 adafruit sensor?
a simple example with lcd160cr, for my poor pollued town... import sgp30 from machine import I2C import lcd160cr from time import sleep lcd = lcd160cr.LCD160CR('X') lcd.set_orient(lcd160cr.LANDSCAPE) lcd.set_font(1, scale=1) i2c = I2C(scl='Y9', sda='Y10', freq=100000) sgp = sgp30.Adafruit_SGP30(i2c)...
- Wed Jun 17, 2020 5:49 pm
- Forum: Drivers for External Components
- Topic: i2c pyb or machine for sgp30 adafruit sensor?
- Replies: 11
- Views: 26774
Re: i2c pyb or machine for sgp30 adafruit sensor?
Yes! I have got it!!!! For that everything woks fine with sgp30 and the micropython library at https://github.com/alexmrqt/micropython-sgp30/blob/master/adafruit_sgp30.py on pyboard... 1- First change on library: "_SGP30_FEATURESET = const(0x0020)" by "_SGP30_FEATURESET = const(0x0022)" 2-For initia...
- Wed Jun 17, 2020 10:39 am
- Forum: Drivers for External Components
- Topic: i2c pyb or machine for sgp30 adafruit sensor?
- Replies: 11
- Views: 26774
Re: i2c pyb or machine for sgp30 adafruit sensor?
Hi, I'm trying to change sgp30 library... I have choiced the machine library of i2c wich contain commands more closed of circuit python's library... First, I have had a problem with "featuerset part" which return error. So I have changed "self.__i2c = i2c" in the init part of circuit python's librar...