Search found 653 matches

by OutoftheBOTS_
Thu Aug 08, 2019 7:59 am
Forum: MicroPython pyboard
Topic: more detail tutorial for external C modules?
Replies: 6
Views: 281

Re: more detail tutorial for external C modules?

We actually (sort-of) did both. The 'standard' way to do it is to build the MP firmware and include the (unchanged) QR C code, adding a wrapper to expose an interface to MicroPython that maps to the C functionality. This way the MicroPython firmware, deployed to the device, contains a QR module. It...
by OutoftheBOTS_
Thu Aug 08, 2019 6:57 am
Forum: MicroPython pyboard
Topic: more detail tutorial for external C modules?
Replies: 6
Views: 281

Re: more detail tutorial for external C modules?

Hi starter111, At the recent PyCon AU I just gave a talk on Extending MicroPython by using C modules. I intend to put together a github repo with the example code but the slides are available, though it was mostly about "here's what can be done" rather than the actual details. I did - very briefly ...
by OutoftheBOTS_
Wed Aug 07, 2019 8:34 pm
Forum: Other Boards
Topic: Teensy 4.0
Replies: 5
Views: 973

Re: Teensy 4.0

There has been some other very fast open source boards around for some time. The older Lichee Pi For NanoFW(16M) Cross-Border Core Board with WIFI Module + TF WIFI Adapter Development Board with an ARM 926EJS running at 900MHz, this thing is the size of an SD card https://www.aliexpress.com/item/329...
by OutoftheBOTS_
Tue Aug 06, 2019 3:49 am
Forum: Programs, Libraries and Tools
Topic: Stage — a tile and sprite engine for making games
Replies: 3
Views: 342

Re: Stage — a tile and sprite engine for making games

Very cool project :) I would love to sit down and design my own little PCB and solder it up then load MP and this library and make some cool little games, it would be an awesome project to do with my kids. Unfortunately I can never find the time to play with these projects and I can only add it to t...
by OutoftheBOTS_
Mon Aug 05, 2019 9:21 pm
Forum: ESP8266 boards
Topic: Micropython crashing and rebooting every 9seconds
Replies: 22
Views: 652

Re: Micropython crashing and rebooting every 9seconds

Have you run it from the same battery pack you used while in the wild at home in your flat?? The EN pin must be held high without any dips and if you have a poor power supply or not enough capacitance on the EN pin then it can dip. I have found if it dips the tiniest then you get ghosts in the machi...
by OutoftheBOTS_
Sat Aug 03, 2019 9:10 pm
Forum: ESP8266 boards
Topic: Micropython crashing and rebooting every 9seconds
Replies: 22
Views: 652

Re: Micropython crashing and rebooting every 9seconds

I had problems with a rebooting ESP when I first starting building my own dev boards, it was caused by the EN pin (enable pin) dipping when the wifi started up. Seems the ESP is super sensitive for this and myself and others have fixed this problem by soldering a 100nf cap across the EN pin
by OutoftheBOTS_
Sat Aug 03, 2019 6:55 am
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 11
Views: 802

Re: Pulse counter support

If you really want to use ESP and need to count a number of Quadrature encoders then you might be interested in this https://lsicsi.com/products/Development-Applications/LS7366R/LS7366RSh it has 6 32bit quadrature counters and is read by SPI. It is an ardunio shield made by the manufacturer of the L...
by OutoftheBOTS_
Thu Aug 01, 2019 8:40 pm
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 11
Views: 802

Re: Pulse counter support

It seems able to handel encoders: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/pcnt.html - it count rising and/or falling edge - a filter can be set to avoid glinches - up to 8 counter are availables, not as much as STM32, but it enable quite sophisticated project...
by OutoftheBOTS_
Wed Jul 31, 2019 1:28 am
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 11
Views: 802

Re: Pulse counter support

Hi OutoftheBOTS - In this instance though we're actually trying to use the hardware encoder of the ESP32, which is very capable of high rates and has nice integrated interrupts. This peripheral is very capable and useful beyond just a motor or motor(s). I have played with encoders a bit and found s...
by OutoftheBOTS_
Tue Jul 30, 2019 8:52 pm
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 11
Views: 802

Re: Pulse counter support

I have played with encoders a bit and found software encoder counting has limits. Many of the DC motors that I have used with encoders and gear boxes have multi pole quadrature encoders, this means signals from the encoder easily come in the KHz range (even faster with higher performance brush-less ...