How to access pins on AI-Cloud Inside (black) boards?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
jumasheff
Posts: 14
Joined: Tue Mar 01, 2016 6:00 pm

How to access pins on AI-Cloud Inside (black) boards?

Post by jumasheff » Fri Apr 22, 2016 9:50 pm

I know that official esp8266 boards are Adafruit Huzzah and Adafruit Feather Huzzah.

Nevertheless, I have successfully flashed MicroPython to $2 esp8266-01 http://www.aliexpress.com/item/Upgraded ... 48995.html

But I couldn't get GPIO pins working, though. I poked pins from 0 to 16 with no success. When pin 1 is initialized, blue LED turns on and REPL hangs. On pin 3 REPL hangs too.

Is there a way to get pins working?

Thanks!

Photon Peddler
Posts: 7
Joined: Tue Jul 08, 2014 5:30 pm
Location: Connecticut, USA

Re: How to access pins on AI-Cloud Inside (black) boards?

Post by Photon Peddler » Sat Apr 23, 2016 11:46 pm

Hi!

I also use the ESP-01, with the early access v04 firmware. It works fine for me. (... as long as you have at least 1 MB of external Flash on it. 512 kB variant not tested.)

GPIO pins 1 and 3 are the UART pins, which are normally used for the REPL. That's why they cause the REPL to hang, if you change their state. GPIO pins 0 and 2 should work. See here for details: https://cdn.sparkfun.com/datasheets/Wir ... duleV1.pdf

If you want to put the module in deep sleep and wake it up using the RTC, GPIO 16 / XPD_DCDC needs to be connected to reset. This requires a hardware modification. I've tested it and it works. See here for details: http://tim.jagenberg.info/2015/01/18/low-power-esp8266/

jumasheff
Posts: 14
Joined: Tue Mar 01, 2016 6:00 pm

Re: How to access pins on AI-Cloud Inside (black) boards?

Post by jumasheff » Mon Apr 25, 2016 7:06 am

Hi, Photon Peddler,

Thanks! I'll review my wiring then.

Post Reply