Search found 507 matches

by mcauser
Sun Aug 21, 2016 10:34 pm
Forum: ESP8266 boards
Topic: ssd1306 using I2C on the esp8266
Replies: 54
Views: 64785

Re: ssd1306 using I2C on the esp8266

Yes, either
a) copy /drivers/display/ssd1306.py to /esp8266/scripts/ssd1306.py and make/flash
b) start a webrepl and upload the file
c) enter paste-mode on a REPL and paste the contents of the file
by mcauser
Mon Aug 08, 2016 2:58 am
Forum: ESP8266 boards
Topic: why os.listdir return ENODEV
Replies: 28
Views: 34553

Re: why os.listdir return ENODEV

Compiled vs precompiled v1.8.2-118-g3e5534c Compiled is not working for me. :( esptool.py -p /dev/tty.wchusbserial1420 erase_flash make clean && make axtls make PORT=/dev/tty.wchusbserial1420 deploy screen /dev/tty.wchusbserial1420 115200 oom 16 tail 4 chksum 0x8e load 0x3ffe8000, len 1060, room 4 P...
by mcauser
Mon Aug 08, 2016 1:57 am
Forum: ESP8266 boards
Topic: why os.listdir return ENODEV
Replies: 28
Views: 34553

Re: why os.listdir return ENODEV

One part I found a little confusing. In the Makefile there is an esptool.py attribute --flash_size=8m. If I have a board with 4MB flash, should I change this to --flash_size=32m? I am still seeing the error when trying to build and upload the latest version to a WeMos D1 Mini on OSX 10.10.5: If I fl...
by mcauser
Fri Aug 05, 2016 5:12 am
Forum: ESP8266 boards
Topic: Add DHT AM23xx series
Replies: 0
Views: 2301

Add DHT AM23xx series

I am looking to extend the current DHT implementation (1-wire) to cover all available DHT sensors, including the new I2C ones.

Details here: https://github.com/micropython/micropython/issues/2290

I would like to add support for DHT12, AM230x, AM231x and AM232x - around 15 compatible sensors.
by mcauser
Wed Aug 03, 2016 11:24 pm
Forum: ESP8266 boards
Topic: I/O expander
Replies: 21
Views: 23196

Re: I/O expander

@joehunt588 both the SCL and SDA pins on the I2C bus need pull-up resistors (connecting each to VCC). Why? Because when they are missing, the pins are floating (sometimes high, sometimes low). eg. When the master scans the bus for devices, each devices pulls low to respond "hello, I'm here". When th...
by mcauser
Tue Aug 02, 2016 3:32 pm
Forum: ESP8266 boards
Topic: ssd1306 using I2C on the esp8266
Replies: 54
Views: 64785

Re: ssd1306 using I2C on the esp8266

This is a WiFi module. One could even http get to save RAM :)
by mcauser
Tue Aug 02, 2016 2:09 pm
Forum: WiPy and CC3200 boards
Topic: 3 UART Sensors (Noob)
Replies: 1
Views: 3628

Re: 3 UART Sensors (Noob)

What about 3 UART sensors connected to the same UART port, and toggle the power to each sensor so that only one is online at any given time?
by mcauser
Tue Aug 02, 2016 1:55 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 57
Views: 74569

Software serial?

Is anyone working on a software serial library? The ESP8266 has two hardware UARTs. UART 0 - TX and RX is used by the REPL. UART 1 - TX is free for use, however, RX is used by the onboard spi-flash. I have a GPS module and I am not sure how I can connect it. I need a free RX pin. Can I disable conso...
by mcauser
Tue Aug 02, 2016 1:42 pm
Forum: ESP8266 boards
Topic: I/O expander
Replies: 21
Views: 23196

Re: I/O expander

i2c.scan() returns results in decimal. 0x20 == 32. If you are seeing a bunch of unrelated scan results, you may be missing pull-up resistors. I saw that when I was working with a DHT12 sensor. Added pull-ups and scan then returned a single item. Here is an example of using WeMos D1 mini + PCF8574 I2...