Search found 18 matches

by mikruth
Wed Aug 09, 2017 6:56 am
Forum: ESP32 boards
Topic: Problem with MicroPython v1.9.1-394-g79feb956
Replies: 2
Views: 341

Re: Problem with MicroPython v1.9.1-394-g79feb956

Tried several times with no luck but then tried with MicroPython v1.9.1-395-g381bb7e9 and it works fine. I am using a cheap Chinese board with ESP-WROOM-32. All OK now.... Thanks
by mikruth
Tue Aug 08, 2017 12:19 pm
Forum: ESP32 boards
Topic: Problem with MicroPython v1.9.1-394-g79feb956
Replies: 2
Views: 341

Problem with MicroPython v1.9.1-394-g79feb956

I am unable to import network on the build below. Have tried erasing flash and reloading xx.bin Is this a problem or is it just me. Thanks MicroPython v1.9.1-394-g79feb956 on 2017-08-07; ESP32 module with ESP32 Type "help()" for more information. >>> import machine >>> import network I (51776) wifi:...
by mikruth
Fri Feb 03, 2017 4:46 pm
Forum: ESP8266 boards
Topic: I2C EEPROM on uPy/ESP8266?
Replies: 48
Views: 3804

Re: I2C EEPROM on uPy/ESP8266?

That's great.....Thanks!
by mikruth
Thu Feb 02, 2017 7:07 pm
Forum: ESP8266 boards
Topic: I2C EEPROM on uPy/ESP8266?
Replies: 48
Views: 3804

Re: I2C EEPROM on uPy/ESP8266?

Just a thought... The eeprom memory is 16 bits. Arduino sends 2 bytes consisting of MSB followed by LSB. Are we sending a 16 bit address with micropython?
by mikruth
Thu Feb 02, 2017 10:11 am
Forum: ESP8266 boards
Topic: Despite copying a new one, old main.py is operational
Replies: 15
Views: 1301

Re: Despite copying a new one, old main.py is operational

I had this problem loading a new main.py with webrepl. Although Send a File was already populated with main.py I found I had to Choose file again and select main.py from the directory to get the new file loaded.
by mikruth
Thu Feb 02, 2017 9:47 am
Forum: ESP8266 boards
Topic: I2C EEPROM on uPy/ESP8266?
Replies: 48
Views: 3804

Re: I2C EEPROM on uPy/ESP8266?

After many tests, it seems that the ESP running micropython is not reading, writing or destroying any data on the eeprom. I previously had some problems with erroneous data due to a broken jumper cable. The eeprom can be found OK with xxx.scan() on the ESP and will also be found correctly, when the ...
by mikruth
Tue Jan 31, 2017 4:13 pm
Forum: ESP8266 boards
Topic: I2C EEPROM on uPy/ESP8266?
Replies: 48
Views: 3804

Re: I2C EEPROM on uPy/ESP8266?

ioukos or mcauser ... is the module you have working ok with micropython?
Thanks
by mikruth
Mon Jan 30, 2017 10:17 pm
Forum: ESP8266 boards
Topic: I2C EEPROM on uPy/ESP8266?
Replies: 48
Views: 3804

Re: I2C EEPROM on uPy/ESP8266?

Powering chip with 3.3v only. Yes....the chip changed by just booting up ESP with chip connected. Will try tomorrow without boot.py or main.py to see if something in there is causing problems.
by mikruth
Mon Jan 30, 2017 8:57 pm
Forum: ESP8266 boards
Topic: I2C EEPROM on uPy/ESP8266?
Replies: 48
Views: 3804

Re: I2C EEPROM on uPy/ESP8266?

That's fine. I used arduino to write the first 200 memory locations on the eeprom. Then read them back. Disconnected arduino and power to eeprom. Reconnected and booted a new sketch to read only and it was all correct. Then tried to read 1 memory location with ESP which returned xff. Tried again wit...
by mikruth
Mon Jan 30, 2017 7:41 pm
Forum: ESP8266 boards
Topic: I2C EEPROM on uPy/ESP8266?
Replies: 48
Views: 3804

Re: I2C EEPROM on uPy/ESP8266?

Not sure about commit but here is write code.

Wire.beginTransmission(deviceaddress);
Wire.write((int)(eeaddress >> 8)); // MSB
Wire.write((int)(eeaddress & 0xFF)); // LSB
Wire.write(data);
Wire.endTransmission();
delay(5);