Search found 348 matches

by blmorris
Fri Jan 22, 2016 1:27 am
Forum: General Discussion and Questions
Topic: Implementing Kalman filter
Replies: 7
Views: 10394

Re: Implementing Kalman filter

@pythoncoder has put together a library to do sensor fusion on the pyboard in MicroPython. It uses the Madgwick algorithm (quaternions); I've just started using it, and it seems to work pretty well - certainly faster than 350 mS.

https://github.com/micropython-IMU/micropython-fusion

-Bryan
by blmorris
Thu Jan 21, 2016 3:14 pm
Forum: MicroPython pyboard
Topic: New pyboards
Replies: 7
Views: 6902

Re: New pyboards

Turbinenreiter wrote:Adafruit!
https://www.adafruit.com/products/2390
The link to Adafruit is for the new pyboard v1.1, not for the pyboard lite. Adafruit doesn't seem to have the lite board yet.
by blmorris
Wed Jan 20, 2016 5:16 pm
Forum: MicroPython pyboard
Topic: GSM module recomendation?
Replies: 2
Views: 3658

Re: GSM module recomendation?

Damien posted a year ago about using the Adafruit FONA module with the pyboard, but it didn't get any replies or follow-up:
http://forum.micropython.org/viewtopic.php?f=5&t=507
Maybe it's enough to get started?
by blmorris
Wed Jan 13, 2016 8:33 pm
Forum: MicroPython pyboard
Topic: New build seems to have killed my Pyboard (now fixed)
Replies: 23
Views: 17812

Re: New build seems to have killed my Pyboard (now fixed)

@pythoncoder - Glad you got your board back! I'm mystified as to why it failed the first time. Just one of those things I guess. Yeah… there are always those random glitches that could turn out to be just about anything and then stubbornly refuse to repeat. ESD? Cosmic ray? (Supposedly it still happ...
by blmorris
Wed Jan 13, 2016 6:07 pm
Forum: MicroPython pyboard
Topic: New build seems to have killed my Pyboard (now fixed)
Replies: 23
Views: 17812

Re: WARNING New build seems to have killed my Pyboard

One more thing - I have wondered what it would look like to have a chip fail by exceeding the flash write endurance capacity. The flash is nominally rated to 10,000 erase / write cycles - tough to get there in normal usage, but if an application is frequently writing to the flash sectors implementin...
by blmorris
Wed Jan 13, 2016 5:57 pm
Forum: MicroPython pyboard
Topic: New build seems to have killed my Pyboard (now fixed)
Replies: 23
Views: 17812

Re: WARNING New build seems to have killed my Pyboard

@pythoncoder - Have you tried the hardware method to force booting into DFU mode yet? You power up the board (or use the reset button) with pin P1 / DFU connected to 3.3V; they are right next to each other on the lower-left corner of the pyboard, one row up from the bottom. You may have tried it alr...
by blmorris
Sun Jan 10, 2016 6:58 pm
Forum: General Discussion and Questions
Topic: hardware debouncing
Replies: 23
Views: 26814

Re: hardware debouncing

gratefulfrog wrote:I think it is the 1K resistor plus the 1uF cap that make the time constant, no?
Only for the switch press. The time constant for the switch release (the rise time) is set by the pull-up resistors.

-Bryan
by blmorris
Sun Jan 10, 2016 6:47 pm
Forum: General Discussion and Questions
Topic: hardware debouncing
Replies: 23
Views: 26814

Re: hardware debouncing

Can anyone shed any light on why this works? I had the same thought. I haven't gone back to review the previous comments, but my initial question would be whether the internal pull-up is actually enabled. If it is, the additional 47k pull-up shouldn't be necessary. Is the pushbutton located far fro...
by blmorris
Sat Dec 19, 2015 8:10 pm
Forum: MicroPython pyboard
Topic: Inverted Serial on pyboard
Replies: 9
Views: 8576

Re: Inverted Serial on pyboard

If you are going to use an RS232 level shifter that runs on 5V, do be careful that the out-going buffer will accept the 3.3V output from the pyboard as a logic high. I was about to hack something together this week using some MAX232N's that I had sitting around, only to look up the data sheet and di...
by blmorris
Wed Dec 09, 2015 5:17 pm
Forum: General Discussion and Questions
Topic: Problems with Ultimate GPS Breakout Board
Replies: 2
Views: 3665

Re: Problems with Ultimate GPS Breakout Board

The GPS device should start transmitting NMEA sentences over the TX pin as soon as it is powered up; no antenna or satellite detection is required. (This is generally true of most common GPS devices that have async serial interfaces, but I know it to be true for that particular one.) If the GPS devi...