WiThumb
Posted: Sun Dec 11, 2016 4:16 pm
The WiThumb is a USB-powered device with ESP8266 and some sensors; see https://funnyvale.com/withumb/
I've managed to install and run MicroPython on it; see https://koodaamo.wordpress.com/2016/12/ ... mb-on-osx/
The temperature sensor is a common I2C - accessible MCP9808. But I am not familiar with i2c; all the i2c reads seem to return empty data (zeroes). I instantiate i2c with pins 4 and 5 and try to read from address 0x1F, registers 5 (temperature data), 6 (manufacturer id) and 7 (device id). But everything returns zeroes.
is there something I should do prior to trying to read data, with I2C? The firmware is fairly recent, from http://www.kaltpost.de/~wendlers/micropython/
I've managed to install and run MicroPython on it; see https://koodaamo.wordpress.com/2016/12/ ... mb-on-osx/
The temperature sensor is a common I2C - accessible MCP9808. But I am not familiar with i2c; all the i2c reads seem to return empty data (zeroes). I instantiate i2c with pins 4 and 5 and try to read from address 0x1F, registers 5 (temperature data), 6 (manufacturer id) and 7 (device id). But everything returns zeroes.
is there something I should do prior to trying to read data, with I2C? The firmware is fairly recent, from http://www.kaltpost.de/~wendlers/micropython/