Search found 436 matches

by kevinkk525
Fri Sep 06, 2019 1:52 pm
Forum: General Discussion and Questions
Topic: Is there any way of uploading a .mpy file and execute it?
Replies: 3
Views: 122

Re: Is there any way of uploading a .mpy file and execute it?

On my esp32 I use an ftp server to upload new .mpy files. Then I restart it manually but you could implement something so that the device reboots itself to load the updated files.
by kevinkk525
Thu Sep 05, 2019 2:23 pm
Forum: General Discussion and Questions
Topic: Smart heater thermostat
Replies: 0
Views: 70

Smart heater thermostat

I'm currently trying to replace my heater thermostats with something more "smart" and was thinking about using a simple 230V actuator I can get for 11€ connected to a smart power outlet. That power outlet could be a simple 433MHz controlled thing but there is no RFSwitch library for micropython and ...
by kevinkk525
Mon Sep 02, 2019 6:01 am
Forum: ESP8266 boards
Topic: ESP8266 Wifi reliability
Replies: 5
Views: 271

Re: ESP8266 Wifi reliability

I wrote you a PM about the flash to keep this thread on-topic.
by kevinkk525
Sun Sep 01, 2019 5:52 am
Forum: ESP8266 boards
Topic: ESP8266 Wifi reliability
Replies: 5
Views: 271

Re: ESP8266 Wifi reliability

I don't put my board into sleep mode. The setting esp.sleep_type only affects the wifi part of the board and doesn't interfere with anything else. It's basically a power consumption feature of the wifi module. I saw the same problems, there were days with only a few reconnects but these were very ra...
by kevinkk525
Thu Aug 29, 2019 6:41 am
Forum: ESP32 boards
Topic: Type error in modnetwork compiling firmware
Replies: 2
Views: 565

Re: Type error in modnetwork compiling firmware

I always had some troubles compiling the esp32 firmware so I wrote a script. And 2 days ago it still worked (you have to remove your esp-idf and micropython directories first and it stores everything in your home directory): #!/usr/bin/env bash sudo apt-get install git wget libncurses-dev flex bison...
by kevinkk525
Wed Aug 28, 2019 2:21 pm
Forum: ESP8266 boards
Topic: ESP8266 Wifi reliability
Replies: 5
Views: 271

ESP8266 Wifi reliability

I'm running multiple esp8266 nodes in my house, some have a very stable wifi (or just not much traffic) while most of them reconnect every few minutes. Even the node 3 meters away from the wifi router reconnects up to 10 times per day despite the RSSI of -50dB. The node further away with a RSSI of -...
by kevinkk525
Wed Aug 28, 2019 1:25 pm
Forum: ESP8266 boards
Topic: MHZ-19 CO2 ppm
Replies: 3
Views: 110

Re: MHZ-19 CO2 ppm

I'm not sure there is a good way to count pwm pulses yet but haven't needed that myself yet.

The other option would be to use an Arduino to do that and then send the data from the arduino to the esp8266
by kevinkk525
Tue Aug 27, 2019 1:42 pm
Forum: ESP8266 boards
Topic: MHZ-19 CO2 ppm
Replies: 3
Views: 110

Re: MHZ-19 CO2 ppm

Your example uses uart, not PWM. http://docs.micropython.org/en/v1.9.3/pyboard/library/pyb.UART.html However you will have difficulties using the esp2866 because it only has one UART for the micropython repl. You can use that for your device but you would need to disable the repl and use the webrepl...
by kevinkk525
Mon Aug 26, 2019 2:21 pm
Forum: ESP8266 boards
Topic: Reclaiming last few flakes of RAM - need expert help
Replies: 6
Views: 1640

Re: Reclaiming last few flakes of RAM - need expert help

You are answering a 2 year old post...
by kevinkk525
Mon Aug 19, 2019 6:03 pm
Forum: General Discussion and Questions
Topic: Can I take data from Arduino with micropython esp8266 and upload it to my web server??
Replies: 2
Views: 129

Re: Can I take data from Arduino with micropython esp8266 and upload it to my web server??

There are surely several ways to achieve what you are trying to do. You can send your Arduino data via UART, I2C, OneWire, ... Micropython can do it all. You just have to read the data and upload it to your server, that is very simple. I wrote a library myself that reads pin values from an arduino c...