Search found 55 matches

by jpj
Mon Jan 23, 2017 1:48 pm
Forum: General Discussion and Questions
Topic: Supporting CircuitPython
Replies: 6
Views: 2867

Re: Supporting CircuitPython

I'll add a comment as an end user and beginner. The first I heard of MicroPython was after watching a video tutorial on the Adafruit web site. That video directed me to this forum where I began reading and learning, and ultimately ordered a Pyboard with enclosure. The support here has been excellent...
by jpj
Sun Jan 22, 2017 6:03 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 13285

Re: [SOLVED] DS3231 uRTC set / read problems

Functioning without issue under CircuitPython 0.8.3 too. Sorry for the obvious mistake. Thanks for the help.
by jpj
Sun Jan 22, 2017 5:57 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 13285

Re: DS3231 uRTC set / read problems

SOLVED: @deshipu reminded me the Adalogger has an RTC on it too. It's a PCF8523 that is also at address 104 (0x68). I took the Adalogger out and the DS3231 is functioning properly now, with micropython 1.8.6. I'll re-install CircuitPython 0.8.3 and try that too.

Wow, that's embarrassing :oops:
by jpj
Sun Jan 22, 2017 5:19 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 13285

Re: DS3231 uRTC set / read problems

Thanks Mike. I'm going to reload 1.8.6 and try your code.
by jpj
Sun Jan 22, 2017 3:54 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 13285

Re: DS3231 uRTC set / read problems

@deshipu - I tried the code with pullup you recommended in the Gitter thread. The DS3231 is the only device on the i2c bus connected to the Adafruit esp8266 Feather Huzzah. >>> i2c = I2C(scl=Pin(5, Pin.OUT, Pin.PULL_UP), sda=Pin(4, Pin.OUT, Pin.PULL_UP)) >>> rtc = urtc.DS3231(i2c) >>> rtc.datetime()...
by jpj
Sun Jan 22, 2017 1:24 am
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 13285

Re: DS3231 uRTC set / read problems

Update: I connected the DS3231 to my Pyboard v1.1 and using the exact same urtc.py it functions without issue: >>> from machine import I2C, Pin >>> sdapin = pyb.Pin.board.Y10 >>> sclpin = pyb.Pin.board.Y9 >>> i2c = I2C(sclpin, sdapin) >>> import urtc >>> rtc = urtc.DS3231(i2c) >>> rtc.datetime() Dat...
by jpj
Sat Jan 21, 2017 10:39 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 13285

[SOLVED] DS3231 uRTC set / read problems

I now have this Adafruit DS3231 breakout board (with backup battery) connected to my Adafruit esp8266 Feather Huzzah: https://www.adafruit.com/products/3013 Before connecting the DS3231 to the esp8266 I used an Arduino Uno to set and read back the time without issue. On the esp8266 I have version 1....
by jpj
Sun Jan 15, 2017 9:50 pm
Forum: General Discussion and Questions
Topic: micropython IDE for linux on PC
Replies: 11
Views: 6538

Re: micropython IDE for linux on PC

Welcome to MicroPython! There is no IDE as there is with Arduino. You can ether enter micropython code interactively through the REPL after connecting with something like "screen" or write program files locally to be copied to the micro-controller's filesystem. If you want something a little more in...
by jpj
Sat Jan 14, 2017 2:42 pm
Forum: ESP8266 boards
Topic: Problem with Multiple ESP8266 and MQTT. Blocked Sockets?
Replies: 19
Views: 7703

Re: Problem with Multiple ESP8266 and MQTT. Blocked Sockets?

I have also been using MQTT with an Adafruit Huzzah. I have the esp8266 subscribed to a broker, messages being received and actions taken like lighting LEDs and scrolling text across a matrix, all working fine. I tried to "publish" a message from the esp8266 back to the broker over the same "subscri...
by jpj
Sat Jan 14, 2017 2:30 pm
Forum: ESP8266 boards
Topic: Adafruit CircuitPython
Replies: 22
Views: 15334

Re: Adafruit CircuitPython

(edited original post with blog link and a little additional info) Thanks for the URLs. I like the direction Adafruit is going with MicroPython / CircuitPython. Tony takes seven minutes or so to share some reasoning and strategy at the beginning of the video. Creating more uniform code across multi...