Search found 112 matches

by IHOXOHI
Thu Jul 23, 2020 1:45 pm
Forum: Drivers for External Components
Topic: Pimoroni Trackball breakout (PIM447)
Replies: 4
Views: 1094

Re: Pimoroni Trackball breakout (PIM447)

Hi Mc,

I tried to use the trackball with a pyb405 and a pyb26, and I have the same return:
"
File "test_trackball.py", line 8, in <module>
File "/flash/lib/trackball.py", line 60, in __init__
OSError: [Errno 110] ETIMEDOUT
"
It looks good button...
by IHOXOHI
Thu Jul 23, 2020 8:24 am
Forum: Drivers for External Components
Topic: VS1053b audio drivers: play music, speech or sound FX
Replies: 15
Views: 3679

Re: VS1053b audio drivers: play music, speech or sound FX

Yop, I have tested differents connections... The play doesn't work yet. But the record works, not correctly. I have a sound very low and with a lots of "parasits sound". And the playback works. The noise happen during record on the headphone, and stay on the record file. Without headphone, noise sta...
by IHOXOHI
Thu Jul 23, 2020 7:10 am
Forum: Drivers for External Components
Topic: VS1053b audio drivers: play music, speech or sound FX
Replies: 15
Views: 3679

Re: VS1053b audio drivers: play music, speech or sound FX

Hi Peter, Thanks for your library. I tried it... When I play sound I have the return : " File "/flash/lib/vs1053_syn.py", line 370, in patch OSError: [Errno 2] ENOENT" When I record, it looks working, but in final I have an audio file without sound... Have I to use an amplificator with the adafruit ...
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: 2267

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: 2267

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: 1839

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: 1752

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: 1839

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: 1752

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: 1752

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...