Search found 25 matches

by jadro
Thu Jul 15, 2021 12:54 pm
Forum: ESP8266 boards
Topic: MQ2 gas sensor
Replies: 7
Views: 4439

Re: MQ2 gas sensor

Thanx jimmo, I use Thonny for ESP32 and it is great and dont have this issues, is the best for such a things.
by jadro
Wed Jul 14, 2021 7:28 am
Forum: ESP8266 boards
Topic: MQ2 gas sensor
Replies: 7
Views: 4439

Re: MQ2 gas sensor

At least, test.py does not work as is, it must have import MQ as module: import MQ from MQ import MQ2 import utime class App: def __init__(self, pin = 0): self.sensor = MQ2.MQ2(pinData = pin, baseVoltage = 3.3) def Run(self): print("Calibrating") self.sensor.calibrate() print("Calibration completed"...
by jadro
Tue Jul 13, 2021 6:00 pm
Forum: ESP8266 boards
Topic: MQ2 gas sensor
Replies: 7
Views: 4439

Re: MQ2 gas sensor

Errors that is present on start using uPyCraft: exec(open('test.py').read(),globals()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<string>", line 3, in <module> ImportError: no module named 'MQ2' I dont see why it does not see MQ2?!?! I copy MQ2.py and BaseMQ.py in ...
by jadro
Mon Jul 12, 2021 3:47 pm
Forum: ESP8266 boards
Topic: MQ2 gas sensor
Replies: 7
Views: 4439

Re: MQ2 gas sensor

jimmo wrote:
Mon Jul 12, 2021 3:27 pm
jadro wrote:
Mon Jul 12, 2021 2:21 pm
Is there anyone do thw program to read this senso with pure micropython on ESP8266 Lolin board?
Have you seen https://github.com/kartun83/micropython-MQ -- Looks like it should be exactly what you need.
Yes I try this scripts but does not work for me, shows some errors, same as reported...
by jadro
Mon Jul 12, 2021 2:24 pm
Forum: ESP32 boards
Topic: IR transmitter/receiver
Replies: 31
Views: 30852

Re: IR transmitter/receiver

pythoncoder wrote:
Mon Jul 12, 2021 11:16 am
@jadro If you look at micropython_ir there is a utility which captures a burst from a remote and attempts to deduce the protocol. As the docs point out, this is not a guaranteed process but it works for the commonest protocols.
Thanx Peter
by jadro
Mon Jul 12, 2021 2:21 pm
Forum: ESP8266 boards
Topic: MQ2 gas sensor
Replies: 7
Views: 4439

MQ2 gas sensor

Hi,
I have MQ2 gas sensor with digital and analog pins (4 pins, D0, A0, Gnd, Vcc).

Is there anyone do thw program to read this senso with pure micropython on ESP8266 Lolin board?

Thanx in advance,
Jadro
by jadro
Sat Jun 12, 2021 11:00 am
Forum: General Discussion and Questions
Topic: GSM SIM800L
Replies: 8
Views: 5244

Re: GSM SIM800L

At last I found and buy this module TTGO T-Call ESP32 with SIM800L GPRS Module-Presolder Header and works great with MicroPython firmware and code. It calls, send SMS... As a charm
by jadro
Sun Jun 06, 2021 12:35 pm
Forum: ESP32 boards
Topic: LILYGO TTGO T-Call ESP32
Replies: 3
Views: 3620

Re: LILYGO TTGO T-Call ESP32

Hi, sorry on my late answer,
I think is not problem in battery current because I put txt logging and it not reconnects, just dont send messages or calls. If current is problem then it would restart i think.
by jadro
Sun Jun 06, 2021 10:45 am
Forum: ESP32 boards
Topic: SIM800L ESP32 module and Battery power
Replies: 0
Views: 885

SIM800L ESP32 module and Battery power

Hi, I have SIM800L module with ESP32 all in one board. It works, I use it for SMS send/receive and for CALL incomming/outgoing and it works as a charm. It has line in for battery power and when USB power looses the power it works only on battery but there is a problem in SMSing and CALLing when on b...
by jadro
Tue May 04, 2021 8:57 am
Forum: ESP32 boards
Topic: LILYGO TTGO T-Call ESP32
Replies: 3
Views: 3620

Re: LILYGO TTGO T-Call ESP32

I think problem is in UART connection, I'am not familiar with it... In code, there is initialization uart = UART(1, 9600, timeout=1000, rx=self.MODEM_TX_PIN, tx=self.MODEM_RX_PIN) where MODEM_TX_PIN = 26 and MODEM_RX_PIN = 27 and when on USB this is OK but what if battery is connected and USB power ...