Search found 14 matches

by Zolee
Fri Jun 26, 2020 7:45 am
Forum: ESP8266 boards
Topic: Constant random WDT on D1 Mini
Replies: 5
Views: 3493

Re: Constant random WDT on D1 Mini

That is hard to tell. I fired up a Wemos D1 Mini board here, and it runs pretty stable, while doing wlan scan all the time and being ping'ed at the same time. Even if it might look like a software problem, hardware related causes shoudl be considered, like short power drops. - Try to change the USB...
by Zolee
Thu Mar 28, 2019 7:41 pm
Forum: ESP8266 boards
Topic: IR 38Khz frequency out
Replies: 6
Views: 4625

Re: IR 38Khz frequency out

Arduino code for esp8266:
https://github.com/markszabo/IRremoteESP8266
Tested with wemos d1 mini. It works!
by Zolee
Sat Mar 16, 2019 9:12 am
Forum: ESP32 boards
Topic: How calculate time.ticks_ms for long periods?
Replies: 9
Views: 9610

Re: How calculate time.ticks_ms for long periods?

Thank you!
I want to use this, to count the impulse on electric power measure device. 10000 imp/kwh. I hope is enough fast to send the data to the server and counting precisely, with one microcontroler.
by Zolee
Sat Mar 16, 2019 7:25 am
Forum: ESP32 boards
Topic: How calculate time.ticks_ms for long periods?
Replies: 9
Views: 9610

Re: How calculate time.ticks_ms for long periods?

Hi!

Can I use rtc long period? (esp32)
I want to measure the seconds in a infinity loop. Every 1 minute, i want send data to my server.
Like so: check the second in the tuple, if second=0, send the data to server.
Can this work long period?
Thanks!
by Zolee
Sun Sep 02, 2018 11:56 am
Forum: ESP8266 boards
Topic: How to check gpio pin input, when http-server is running?
Replies: 8
Views: 5549

Re: How to check gpio pin input, when http-server is running?

Ok, i think this setup never will working, because the server loop not a "real" loop. The server loop recognised only, if the client send a request. If the request is sended, the another function is called, but only at once. Same problem as before. The output: Got a connection from ('192.168.4.2', 3...
by Zolee
Sun Sep 02, 2018 10:31 am
Forum: ESP8266 boards
Topic: How to check gpio pin input, when http-server is running?
Replies: 8
Views: 5549

Re: How to check gpio pin input, when http-server is running?

Thanks! I writed a code with asyncio, but only one loop called. loop = asyncio.get_event_loop() try: asyncio.ensure_future(server()) asyncio.ensure_future(erzekelo()) loop.run_forever() except KeyboardInterrupt: pass finally: print("Closing Loop") loop.close() Only the server loop is running. loop =...
by Zolee
Fri Aug 31, 2018 3:35 pm
Forum: ESP8266 boards
Topic: How to check gpio pin input, when http-server is running?
Replies: 8
Views: 5549

Re: How to check gpio pin input, when http-server is running?

Thanks! The Client mode is not active always, only when the request sending. Then disabling it in the code. My first problem is this statement: if mozgas.value()==1: print("mozgás") jelzes=1 This wont be executed in the loop. How i want to make it: -starting the AP. -user set the wifi connection. -s...
by Zolee
Fri Aug 31, 2018 1:26 pm
Forum: ESP8266 boards
Topic: How to check gpio pin input, when http-server is running?
Replies: 8
Views: 5549

How to check gpio pin input, when http-server is running?

Hello! I have a mini project at home. I want to send a notification, when motion sensor is active. My problem is, how can i check the input value, when http server is running. Is checks, and send the message to my phone, but only at once. My program ask the User, from the wifi connection settings. B...
by Zolee
Sun Oct 01, 2017 6:14 pm
Forum: ESP8266 boards
Topic: Can't get the servo SG90 working
Replies: 8
Views: 9178

Re: Can't get the servo SG90 working

I have written a simple function to control the servo speed, but not work in parallel. (multiprocessing) speed = ['0.5','1'] servo = {'1a':'5','1b':'4'} def motor_vezerles(servok, new_state, sebessegek): sebesseg=float(speed[sebessegek]) pinnumber=int(servo[servok]) last_state=PWM(Pin(pinnumber), fr...
by Zolee
Thu Sep 28, 2017 5:30 pm
Forum: ESP8266 boards
Topic: Can't get the servo SG90 working
Replies: 8
Views: 9178

Re: Can't get the servo SG90 working

It is possible to control the servo speed with wemos d1 mini?