Search found 6 matches
- Mon Dec 19, 2016 11:08 am
- Forum: Other Boards
- Topic: WiThumb
- Replies: 10
- Views: 10242
Re: WiThumb
Solution found: basically, on WiThumb, you have to enable the internal pull-up resistors by passing a Pin.PULL_UP to the Pin constructor; see docs in http://docs.micropython.org/en/latest/wipy/library/machine.Pin.html#machine.Pin Some more details including some good advice by @deshipu here: https:/...
- Sun Dec 18, 2016 7:29 pm
- Forum: Other Boards
- Topic: WiThumb
- Replies: 10
- Views: 10242
Re: WiThumb
The WiThumb is an integrated piece so I cannot change resistors, and it works when I run the C code I referred to, so hardware is ok. I tried many different frequency values passed to the I2C constructor, ranging from 500 to 5000000. The Withumb crashes with too low (~500) value, otherwise it return...
- Thu Dec 15, 2016 6:05 pm
- Forum: Other Boards
- Topic: WiThumb
- Replies: 10
- Views: 10242
Re: WiThumb
Have you tried reading from address 0x18? The Adafruit breakout board for the mcp9808 shows the default address as 0x18: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-mcp9808-precision-i2c-temperature-sensor-guide.pdf For WiThumb, the address is 0x1F. I've confirmed that from both the schem...
- Thu Dec 15, 2016 10:52 am
- Forum: Other Boards
- Topic: WiThumb
- Replies: 10
- Views: 10242
Re: WiThumb
What does "i2c.scan()" show? A whole list of values, maybe 25 or so of them. Including 0x1F and 0x18 (well, their integer representations). Should it return so many? Given that WiThumb does not have anywhere near so many sensors, it kind of surprises me... I can retry and paste them here if that is...
- Sun Dec 11, 2016 4:16 pm
- Forum: Other Boards
- Topic: WiThumb
- Replies: 10
- Views: 10242
WiThumb
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/10/micropython-on-the-withumb-on-osx/ The temperature sensor is a common I2C - accessible MCP9808. But I...
- Sun Dec 11, 2016 12:38 pm
- Forum: Drivers for External Components
- Topic: MCP9808 High Precision Temperature Sensor
- Replies: 16
- Views: 22548
Re: MCP9808 High Precision Temperature Sensor
EDIT: solution found to the issues below: on WiThumb, the internal pull-up resistors have to be enabled by using Pin.PULL_UP. More details at https://github.com/ThomasCLee/funnyvale/issues/3 ----------------- I am trying to read from MCP9808 on a WiThumb (https://funnyvale.com/withumb/). I have mana...