Search found 6 matches

by kpg
Wed Aug 09, 2017 9:00 pm
Forum: ESP8266 boards
Topic: ESP8266 - rst cause:2
Replies: 5
Views: 4235

Re: ESP8266 - rst cause:2

the solution in my case was put the code of function involve in http request inside of "try": def http_get(url): import usocket _, _, host, path = url.split('/', 3) s = usocket.socket(usocket.AF_INET, usocket.SOCK_STREAM) try: address = socket.getaddrinfo(host, 80)[0][-1] s.connect(address) s.settim...
by kpg
Mon Aug 07, 2017 3:29 pm
Forum: ESP8266 boards
Topic: ESP8266 - rst cause:2
Replies: 5
Views: 4235

Re: ESP8266 - rst cause:2

Hello guys i am working with esp8266 and vl53l0x sensor, but after "x" time of cicles the script crash and show me this error: ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x40100000, len 32000, room 16 tail 0 chksum 0xee load 0x3ffe8000, len 1104, room 8 tail 8 chksum 0xaa load 0x3ffe8450, len ...
by kpg
Thu Jul 20, 2017 3:58 pm
Forum: MicroPython pyboard
Topic: machine.I2C
Replies: 16
Views: 9281

Re: machine.I2C

Hi guys, somebody know how can i change the i2C address of VL53L0X, using micropython? my idea is use multiple sensor with esp8266.
by kpg
Mon Jul 03, 2017 7:45 pm
Forum: MicroPython pyboard
Topic: machine.I2C
Replies: 16
Views: 9281

Re: machine.I2C

Yes you right, One of the problem was the firmware because after put firmware in ESP8266 and tried to connect by putty the command prompt doesn´t respond. other problem was that i was using ESPlorer v0.2.0-rc5 to save script, and when i tried to save file in vl53l0x, just create the file but empty(s...
by kpg
Sat Jul 01, 2017 10:13 pm
Forum: MicroPython pyboard
Topic: machine.I2C
Replies: 16
Views: 9281

Re: machine.I2C

Thanks, no problem for this sensor doesn´t exist information, and the documentation of ST is little confuse. I was trying to run the library and i am getting this error from machine import I2C, Pin >>> import vl53l0x >>> print(i2c.scan()) [41] >>> i2c = I2C(-1, Pin(5), Pin(4)) >>> print(i2c) <I2C> >...
by kpg
Tue Jun 27, 2017 4:05 pm
Forum: MicroPython pyboard
Topic: machine.I2C
Replies: 16
Views: 9281

Re: machine.I2C

Hi guy, i really new in this type of development, but i am working on a small project with the vl53l0x sensor, and looking for info about it saw your forum, well i am using micropyhton to programming a esp8266 and vl53l0x, and i saw the Radomir Dopieralski has a library in micropython for this senso...