Search found 26 matches

by Hanilein
Tue Feb 12, 2019 7:34 am
Forum: MicroPython pyboard
Topic: RTC Alarm and interrupt - how does pyp.ExtInt work?
Replies: 4
Views: 300

RTC Alarm and interrupt - how does pyp.ExtInt work?

I have a decent complex piece of code around the RTC alarm, and it is working fine - apart from the interrupts. I use pyb.ExtInt(): AlarmIntAB = pyb.ExtInt(17, pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_NONE, AlarmCallBack) but the interrupts do not fire. They do, however, when I set the EXTT_RTSR bit manu...
by Hanilein
Mon Feb 11, 2019 12:59 am
Forum: Pyboard D-series
Topic: Questions and wish list about Pyboard D
Replies: 35
Views: 2832

Re: Questions and wish list about Pyboard D

The opportunity to switch off peripherals with a port pin is brilliant. I'd like to have the same opportunity with the processor itself, to achieve a zero-power system. Here is my idea (which I have not tested yet, but will soon): The processor (F405 on the pyboard 1.x) offers one particular pin (X1...
by Hanilein
Mon Feb 11, 2019 12:51 am
Forum: MicroPython pyboard
Topic: Pyboard D reviews
Replies: 8
Views: 1626

Re: Pyboard D reviews

Amazing!

I'd also like to have a look, what processors will be available (especially, which chip family), etc. Where is this information accessible?
And of course, a timeline would be nice, when we can order :D
by Hanilein
Sun Feb 10, 2019 11:07 pm
Forum: MicroPython pyboard
Topic: Jumping mouse drives me crazy
Replies: 2
Views: 250

Re: Jumping mouse drives me crazy

Hi Peter, no, the PyBoard isn't running code. It may have to do with my setup, though i do not understand, how. The PyBoard sits on a breadboard, there are two FTDI cables connected and a RS232-to-USB converter. All 4 devices are using one 1-to-4 USB hub, connected to the docking station of my lapto...
by Hanilein
Sun Feb 03, 2019 12:07 am
Forum: MicroPython pyboard
Topic: Jumping mouse drives me crazy
Replies: 2
Views: 250

Jumping mouse drives me crazy

I use a Pyboard with V1.9.2 for approx. 9 months. recently it got possessed - it makes the laptop mouse jumping around and clicking, a jump per second. It happens more often and right now, i cannot work anymore. In the boot.py the pyboard is set to be a storage device. And it has been working for mo...
by Hanilein
Fri Feb 01, 2019 12:20 am
Forum: General Discussion and Questions
Topic: How do I terminate a background program/thread/function/method in uPy?
Replies: 5
Views: 299

Re: How do I terminate a background program/thread/function/method in uPy?

uPy runs 'on the bare metal', there is no such thing as a task manager or background process to 'break' a rouge piece of code. I use a pyBoard, and the code lives on an SD-Card. If i stuff up, i pull the SD-card, put it in the laptop, change the code and the problem is solved. Happens pretty seldom,...
by Hanilein
Wed Jan 23, 2019 9:34 am
Forum: MicroPython pyboard
Topic: RTC wakeup depends on calibration value ???
Replies: 2
Views: 198

Re: RTC wakeup depends on calibration value ???

Excellent, thank you!

Works like a charm.
by Hanilein
Tue Jan 22, 2019 10:26 am
Forum: MicroPython pyboard
Topic: RTC wakeup depends on calibration value ???
Replies: 2
Views: 198

RTC wakeup depends on calibration value ???

There is a problem with the RTC wakeup, the timing depends on the calibration value and is therefore incorrect... Sorry for the long text, but I am kinda stuck... I am working on a code to self-adjust the RTC on the PyBoard. The code uses a PPS signal from a GPS to calculate the calibration value of...
by Hanilein
Sat Dec 22, 2018 12:04 pm
Forum: MicroPython pyboard
Topic: Real-Time Clock (RTC) drift
Replies: 27
Views: 15075

Re: Real-Time Clock (RTC) drift

I am working on a code to self-adjust the RTC on the PyBoard. It is a learning exercise, and i am not finished yet. The idea is, to use a GPS with a PPS (I use the Adafruit ultimate GPS) and compare the RTC output to the PPS signal. The rtc.datetime() function supplies a subsecond value, which is 1/...
by Hanilein
Sun Dec 02, 2018 12:22 am
Forum: General Discussion and Questions
Topic: UART inheritance mystery
Replies: 2
Views: 235

Re: UART inheritance mystery

Thanks, Dave.

I stick for convenience to my Two-Parameter solution and set the columns and rows using properties.
That works (for now), but I'll keep an eye on the derived class...