Search found 17 matches

by IHOXOHI
Fri May 22, 2020 11:01 am
Forum: Drivers for External Components
Topic: good use of MICS-6814 sensor (gaz) ?
Replies: 1
Views: 120

Re: good use of MICS-6814 sensor (gaz) ?

Hi, Everything is resolved... This script looks works fine with lcd160 too... from machine import I2C from ads1x15 import * from time import sleep import lcd160cr i2c = I2C(2) adc = ADS1115(i2c = i2c, address = 72, gain = 4) lcd = lcd160cr.LCD160CR('X') lcd.set_orient(lcd160cr.LANDSCAPE) lcd.set_tex...
by IHOXOHI
Fri May 15, 2020 6:52 am
Forum: Drivers for External Components
Topic: good use of MICS-6814 sensor (gaz) ?
Replies: 1
Views: 120

good use of MICS-6814 sensor (gaz) ?

Hi, I'm using a MICS-6814 sensor (from china) which indicate 3 gaz concentrations (N02, NH3 and CO) by a analog sensor... on a pyboard. Output voltages are very lows. So, I use a ADS1115 amplificator. The result looks good. But, I have interrogations about NO2 sensor. The datasheet of the sensor : h...
by IHOXOHI
Fri May 15, 2020 6:19 am
Forum: Drivers for External Components
Topic: i2c pyb or machine for sgp30 adafruit sensor?
Replies: 6
Views: 329

Re: i2c pyb or machine for sgp30 adafruit sensor?

Hi,

Yes for sure.

So, how can I change this sgp30 lib for that it works with a pyboard?

Thanks.
by IHOXOHI
Tue May 12, 2020 9:38 am
Forum: Drivers for External Components
Topic: i2c pyb or machine for sgp30 adafruit sensor?
Replies: 6
Views: 329

Re: i2c pyb or machine for sgp30 adafruit sensor?

Hi, I use the only one library that I have found for sgp30 and micropython: https://github.com/alexmrqt/micropython-sgp30 ... Maybe you have an other one which wok fine, like for uv sensor that I can use now until I have found a good advise in this forum about this uv sensor, which need an other lib...
by IHOXOHI
Sat May 09, 2020 1:35 pm
Forum: Drivers for External Components
Topic: i2c pyb or machine for sgp30 adafruit sensor?
Replies: 6
Views: 329

Re: i2c pyb or machine for sgp30 adafruit sensor?

Hi Peter, Thanks for your availability. I have tried yet a command with i2cmachine without master parameter, but it doesn't works. The sensor isn't initiate on i2c canal. I have tried too this solution : https://forum.micropython.org/viewtopic.php?f=6&t=3250&p=24707&hilit=i2c+pyb+machine#p24707 . It...
by IHOXOHI
Sat May 09, 2020 6:58 am
Forum: Drivers for External Components
Topic: i2c pyb or machine for sgp30 adafruit sensor?
Replies: 6
Views: 329

i2c pyb or machine for sgp30 adafruit sensor?

Hi, I have tried to use the sgp30 sensor from adafruit... with a pyboard. So, I have download the sgp30 lib from github, which indicate a procedure of installation with a i2c.MASTER command, and after, when the sensor is initiated, have to accept a "writeto" command. I have use the i2c's machine ins...
by IHOXOHI
Thu May 07, 2020 4:29 pm
Forum: Pyboard D-series
Topic: strange datalogging
Replies: 0
Views: 92

strange datalogging

Hi, I have tried to save data from the original tile sensor... And discover in same time the behaviour of pyboard d (I have used pyboard classic yet)... Maybe I don't understand something, but the exemple of upython site doesn't works for me. I don't know why, but it appears that there is a confusio...
by IHOXOHI
Thu May 07, 2020 11:06 am
Forum: Pyboard D-series
Topic: SD card not working in D-series
Replies: 6
Views: 1173

Re: SD card not working in D-series

Hi Jonnhy, How do you check your sdCard? For "seeing" it, the way is different from with classic pyboard... With my poor knowledge, I know 2 ways : - with a repl session - with a boot.py wich contain command for usb mod AND command to mount sd card. If you need more info about commands under repl se...
by IHOXOHI
Sat May 02, 2020 4:03 pm
Forum: General Discussion and Questions
Topic: lcd160 best script for display photo
Replies: 5
Views: 208

Re: lcd160 best script for display photo

Hi, If somebody need the touch-screen for display... import lcd160cr import os from time import sleep path = "/sd/photos" dirs = os.listdir(path) os.chdir("/sd/photos") global liste_photo liste_photo = [] for i in dirs: liste_photo.append(i) nombre_photos = len(liste_photo) buf = bytearray(30000) lc...
by IHOXOHI
Fri May 01, 2020 7:13 am
Forum: General Discussion and Questions
Topic: lcd160 best script for display photo
Replies: 5
Views: 208

Re: lcd160 best script for display photo

Hi, Thanks for yours responses... Jimmo, in fact there is a little deformation of photos in portrait orientation which could be easy to corrige. For photos in landscape orientation, these have a little cut of border and no deformation. Finally I think, it's not too hard for corrige these problems, b...