Search found 119 matches

by IHOXOHI
Wed Jul 22, 2020 4:03 pm
Forum: ESP32 boards
Topic: Problem with drive WaveShare 2.7 inch B e-Paper
Replies: 10
Views: 6409

Re: Drive WaveShare 2.7 inch e-Paper

and without the number 2 for initiate your epaper like this:
spi = SPI(baudrate=20000000, polarity=0, phase=0, sck=Pin(0), mosi=Pin(2), miso=Pin(4))
by IHOXOHI
Wed Jul 22, 2020 4:00 pm
Forum: ESP32 boards
Topic: Problem with drive WaveShare 2.7 inch B e-Paper
Replies: 10
Views: 6409

Re: Drive WaveShare 2.7 inch e-Paper

Hi Luoluo, I tried epaper4in2 with the same board and the same library. Maybe you could try with this pins: sck = Pin(0) miso = Pin(4) mosi = Pin(2) dc = Pin(25) cs = Pin(5) rst = Pin(18) busy = Pin(19) spi = SPI(baudrate=20000000, polarity=0, phase=0, sck=Pin(0), mosi=Pin(2), miso=Pin(4)) It works ...
by IHOXOHI
Wed Jul 22, 2020 2:21 pm
Forum: Drivers for External Components
Topic: good use of MICS-6814 sensor (gaz) ?
Replies: 4
Views: 5643

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

Finally, co gas woks fine, for sure, with this code: adc = ADS1115(i2c = i2c, address = 72, gain = 4) value_co = adc.read( rate=0, channel1=2 ) co = value_co * (10000*(0.512/32767)) If it's allright you should have 0 in usual situation and nearly 30 ppm when you smoke on the sensor. I haven't calibr...
by IHOXOHI
Tue Jul 21, 2020 9:45 pm
Forum: Drivers for External Components
Topic: MQ sensors
Replies: 7
Views: 7345

Re: MQ sensors

Yop, Finally, I'm not sure... For me, MQ5 works too for CO gas. my code: valeur = adc.read() volt = valeur * 4.95 / 4095 LPG = round(volt * 100) co = LPG // 7 - 13 if co < 0: co = 0 If it's all right, you should have 0 ppm of CO gas, and nearly 20 ppm when you smoke on the sensor (the value of my "v...
by IHOXOHI
Mon Jul 20, 2020 10:47 am
Forum: Drivers for External Components
Topic: good use of MICS-6814 sensor (gaz) ?
Replies: 4
Views: 5643

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

Yep,

After testing with a professional co sensor, co gas value is wrong. CO value change when real value has no change...
I don't know for NH3 and NO2 values...
I'm given up with co value of this sensor.
by IHOXOHI
Mon Jul 20, 2020 10:36 am
Forum: Drivers for External Components
Topic: MQ sensors
Replies: 7
Views: 7345

Re: MQ sensors

Hi, Finally for beeing sure, I have bought a professional sensor of CO gas... My mq5 didn't works. No changement with differents concentrations of CO... Otherwise, my mq2 works correctly with my method upper (level resistence to have a max value of an adc.read). For me, or for this sensor,the code b...
by IHOXOHI
Sat Jul 11, 2020 7:46 pm
Forum: Drivers for External Components
Topic: MQ sensors
Replies: 7
Views: 7345

Re: MQ sensors

Yop, So, I have done it for MQ-5 with only the CO value for example, like that: After read the max original value from an "adc.read()" (because usually the CO concentration is the lower, so it need the lower resistance to obtain more precision (wich need to turn, like time, the resistance of the sen...
by IHOXOHI
Sat Jul 11, 2020 4:04 pm
Forum: Drivers for External Components
Topic: MQ sensors
Replies: 7
Views: 7345

Re: MQ sensors

Thanks Kevin for yours goods resources. I think that I understood that you can detect nearly correctly just one gas in a same time when you adjust the level of resistance for this gas and not the others. Especially if you calibrate the sensor with a mathematic relation to obtain a precise concentrat...
by IHOXOHI
Sat Jul 11, 2020 2:35 pm
Forum: Drivers for External Components
Topic: MQ sensors
Replies: 7
Views: 7345

MQ sensors

Hi, I tried to use MQ sensor... For moment the MQ-5 and the MQ-2. I need to calibrate them correctly... In datasheet appears graph with 3 or 4 gas mesurements... But, I don't understand the fact that there is only one sensor for all differents gas... It means that all time you record all gas... No w...
by IHOXOHI
Thu Jul 09, 2020 8:57 am
Forum: MicroPython pyboard
Topic: Recording Audio with a Pyboard
Replies: 2
Views: 2506

Re: Recording Audio with a Pyboard

Hi Tito, I tried to find a way for recording sound.... It looks hard project. Sound is complex and involved heavy data. Furthermore, sound from beatlle is very, very low. For sure you need an amplification. After that, I think that you have to known wich frequences you need to record, because you ca...