Search found 60 matches

by jpj
Wed Dec 21, 2016 2:09 am
Forum: MicroPython pyboard
Topic: [SOLVED] which RTC chip on pyboard v1.1?
Replies: 2
Views: 2905

Re: which RTC chip on pyboard v1.1?

Thank you Dave!
by jpj
Tue Dec 20, 2016 7:15 pm
Forum: MicroPython pyboard
Topic: [SOLVED] which RTC chip on pyboard v1.1?
Replies: 2
Views: 2905

[SOLVED] which RTC chip on pyboard v1.1?

I've done some searching and found many interesting threads regarding the RTC on v1.0 and v1.1 pyboards, but haven't found the RTC chip model. I must have missed it in a specifications page somewhere. I'm wondering what chip is on the v1.1 and how accurately does it keep time? Thanks, J p.s. I have ...
by jpj
Mon Dec 19, 2016 9:22 pm
Forum: ESP8266 boards
Topic: [SOLVED] How to perform equiv of os.listdir() in raw REPL?
Replies: 3
Views: 3724

Re: [RESOLVED] How to perform equiv of os.listdir() in raw REPL?

ampy is working with the sdcard again. I'm not certain what the fix was. I created some git branches of earlier micropython releases and installed them on the huzzah. The ampy issue remained, so I reloaded my version 1.8.6 with the frozen sdcard.py and ampy started working with the sdcard. Thanks to...
by jpj
Mon Dec 19, 2016 5:12 pm
Forum: ESP8266 boards
Topic: [SOLVED] How to perform equiv of os.listdir() in raw REPL?
Replies: 3
Views: 3724

Re: How to perform equiv of os.listdir() in raw REPL?

Thanks Dave. Yes that worked: >>> os.listdir() ['logtest.py', 'log', 'blink.py', 'blinkred.py', 'hello.py', 'ht16k33_matrix.py', 'test', 'mymodules', 'mytime', 'main.py', 'getrtctime.py', 'empty.py', 'setRtcFromNtp.py', '.Spotlight-V100', 'readfile.py', '.fseventsd', 'font5x8.bin', 'webrepl_cfg.py',...
by jpj
Mon Dec 19, 2016 4:39 pm
Forum: ESP8266 boards
Topic: [SOLVED] How to perform equiv of os.listdir() in raw REPL?
Replies: 3
Views: 3724

[SOLVED] How to perform equiv of os.listdir() in raw REPL?

I'm trying to troubleshoot using ampy with my Adafruit huzza and Adalogger w/sdcard. I won't go into great detail here, but the sdcard is now unmounted when I run any ampy commands, so actions are performed on the esp8266 flash filesystem only. ampy worked fine with the sdcard for about a week. I've...
by jpj
Sun Dec 18, 2016 12:55 pm
Forum: ESP8266 boards
Topic: [SOLVED] Problem setting day on PCF8523 RTC
Replies: 11
Views: 9103

Re: Problem setting day on PCF8523 RTC

Thank you.

Cheers,
J
by jpj
Sun Dec 18, 2016 3:11 am
Forum: ESP8266 boards
Topic: [SOLVED] Problem setting day on PCF8523 RTC
Replies: 11
Views: 9103

Re: Problem setting day on PCF8523 RTC

I modified your version 1.1 urtc.py locally and have it working with the PCF8523 on my Adalogger. I don't know if this will work for other RTCs, but here is my change shown with line numbers: Your version 1.1 urtc.py: 61 return datetime_tuple( 62 year=_bcd2bin(buffer[6]) + 2000, 63 month=_bcd2bin(bu...
by jpj
Sun Dec 18, 2016 2:23 am
Forum: ESP8266 boards
Topic: [SOLVED] Problem setting day on PCF8523 RTC
Replies: 11
Views: 9103

Re: Problem setting day on PCF8523 RTC

I removed my Adalogger, put the HUZZA on a breadboard and connected a DS1307 RTC. Using your new version 1.1 urtc.py it functions properly. >>> datetime = urtc.datetime_tuple(year=2016, month=12, day=18, weekday=0, hour=02, minute=30, second=02, millisecond=0) >>> rtc.datetime(datetime) >>> rtc.date...
by jpj
Sun Dec 18, 2016 1:01 am
Forum: ESP8266 boards
Topic: [SOLVED] Problem setting day on PCF8523 RTC
Replies: 11
Views: 9103

Re: Problem setting day on PCF8523 RTC

Not working. I double checked that I had your revised urtc.py in place. The day and weekday appear to get assigned in reverse order. >>> import urtc >>> from machine import I2C, Pin >>> i2c = I2C(scl=Pin(5), sda=Pin(4)) >>> rtc = urtc.PCF8523(i2c) >>> datetime = urtc.datetime_tuple(year=2016, month=...
by jpj
Sun Dec 18, 2016 12:39 am
Forum: ESP8266 boards
Topic: [SOLVED] Problem setting day on PCF8523 RTC
Replies: 11
Views: 9103

Re: Problem setting day on PCF8523 RTC

I'm testing, thanks.