Search found 12 matches

by matthiasheng
Fri May 24, 2019 6:33 am
Forum: ESP32 boards
Topic: esp32-bluetooth.bin documentation
Replies: 1
Views: 423

esp32-bluetooth.bin documentation

Hi All,

Anyone has tried the esp32-bluetooth.bin?
I expect it at least support some basic Bluetooth function but i wasn't successful at guessing the command, it will be helpful if someone can provide some info on how to use the Bluetooth function.
by matthiasheng
Sun Apr 21, 2019 4:07 pm
Forum: ESP32 boards
Topic: uPyCraft looses connection to ESP32
Replies: 13
Views: 2235

Re: uPyCraft looses connection to ESP32

Hi All, I have this annoying problem as well, it happen on some ESP8266 and all the ESP32 boards that i have. My solution is to solder a push button between reset/enable pin and 3.3V Pin, just before you connect to the serial port, press and hold the push button, after you see ">>>" from the upycraf...
by matthiasheng
Wed Jan 02, 2019 11:30 am
Forum: ESP32 boards
Topic: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line
Replies: 4
Views: 705

Re: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line

Hi loboris, Thank you very much for pointing it out my stupid mistakes, it works perfectly now as shown below: :lol: import machine,time,antp,network,ubinascii from robust import MQTTClient from machine import Pin from sht30 import SHT31 i2c = machine.I2C(sda=machine.Pin(4), scl=machine.Pin(15)) led...
by matthiasheng
Wed Jan 02, 2019 8:39 am
Forum: ESP32 boards
Topic: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line
Replies: 4
Views: 705

Re: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line

ok, if i comment out the #main(), the deepsleep and wake up cycles works perfectly. Now, if the problem come from the main(), any suggestion on possible conflict of any line in it with deepsleep? I have tested the main() part for a week without any problem just before adding the deepsleep and wake c...
by matthiasheng
Wed Jan 02, 2019 7:30 am
Forum: ESP32 boards
Topic: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line
Replies: 4
Views: 705

Re: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line

Capture.PNG I think the problem come from here, depending on the board state, if it is not reset from deepsleep, it will go to deepsleep for first time then after it woke from deepsleep and run main() line, it will not continue to run deepsleep(30000) as planned, it just continue to run main() fore...
by matthiasheng
Wed Jan 02, 2019 7:16 am
Forum: ESP32 boards
Topic: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line
Replies: 4
Views: 705

ESP32 deepsleep failed, the interpreter will not run to the deepsleep line

Hi All, I found an issue with deepsleep in my code as shown below: The deepsleep part of the code will be ignored by the interpreter while it shouldn't, please help to check. It seem like when i run the deepsleep code without other parts like temperature and humidity data acquire and mqtt transmit i...
by matthiasheng
Wed Oct 31, 2018 7:38 am
Forum: MicroPython pyboard
Topic: HDC1010 I2c with pyb1.1
Replies: 7
Views: 915

Re: HDC1010 I2c with pyb1.1

Hi pythoncoder, I'm actually running it with 5V, even i tried with 3V, the result are still the same. I have an logic analyzer with me and i got some screen shot to show as attached. I'm not an expert in I2C, maybe i didn't see the problem even it look obvious, please help to check if you see any hi...
by matthiasheng
Sun Oct 28, 2018 5:15 pm
Forum: MicroPython pyboard
Topic: HDC1010 I2c with pyb1.1
Replies: 7
Views: 915

Re: HDC1010 I2c with pyb1.1

Hi All, Thanks for the help, i manage to make a simple script to drive HDC1010 on my ESP8266 as shown in attached screenshot. To use the driver follow the link, i just need to change 0x64 to 64. Here are result i got with ESP32 >>> import machine >>> i2c = machine.I2C(sda=machine.Pin(4), scl=machine...
by matthiasheng
Tue Oct 23, 2018 2:50 pm
Forum: ESP8266 boards
Topic: Setting RTC From Internet?
Replies: 27
Views: 27541

Re: Setting RTC From Internet?

Thanks pythoncoder, as i know they maintain a few servers and "cn.pool.ntp.org" seem to be fastest from my location. Does it means i can modify the ntptime.py below just by changing the host to this one? Do i need to rename this modified ntptime.py to other name before i move it to the esp board so ...
by matthiasheng
Mon Oct 22, 2018 6:37 am
Forum: MicroPython pyboard
Topic: HDC1010 I2c with pyb1.1
Replies: 7
Views: 915

Re: HDC1010 I2c with pyb1.1

Hi pythoncoder, marfis,

Thank you very much for the suggestion! It is very helpful! I will definitely spend some time to work it out soon! :D