Search found 784 matches

by OutoftheBOTS_
Fri Jul 24, 2020 3:35 am
Forum: General Discussion and Questions
Topic: Low level stepper motor functionallity
Replies: 0
Views: 463

Low level stepper motor functionallity

There has been a few times where people have asked about functionality for using steppers in MicroPython. Atm there isn't any real way to do this because speed at which the ramp up and ramp down step pulses need to be generated at. I have made public my basic C code for being able to generate steppe...
by OutoftheBOTS_
Mon Jul 13, 2020 6:50 am
Forum: Development of MicroPython
Topic: Getting Started with STM32
Replies: 4
Views: 271

Re: Getting Started with STM32

I use dfusedemo from ST to flash .DFU files to STM32 boards under windows
by OutoftheBOTS_
Sat Jul 11, 2020 9:21 pm
Forum: Pyboard D-series
Topic: STM32H7 future
Replies: 3
Views: 226

Re: STM32H7 future

I do believe some people have started some support for these boards too https://www.aliexpress.com/item/4000300005466.html?spm=a2g0o.productlist.0.0.78504a2b7ZvFMi&algo_pvid=c6eab1dd-8940-4c9f-a358-6b1a58a69915&algo_expid=c6eab1dd-8940-4c9f-a358-6b1a58a69915-1&btsid=0ab50f6115945021843615388e8d7d&ws...
by OutoftheBOTS_
Wed Jul 08, 2020 9:03 pm
Forum: Other Boards
Topic: Pybricks: MicroPython for LEGO
Replies: 7
Views: 920

Re: Pybricks: MicroPython for LEGO

It is certainly a nice direction for Lego to be moving in.
by OutoftheBOTS_
Fri Jun 19, 2020 9:44 pm
Forum: Other Boards
Topic: Pybricks: MicroPython for LEGO
Replies: 7
Views: 920

Re: Pybricks: MicroPython for LEGO

Thanks for both your work and for posting here. I for 1 have been very excited about Lego move into MP as I own 4 EV3s and my older kids used them to learn robotics and compete at robotics comps but ended up moving away from Lego because having to use the Labview programming environment. I did insta...
by OutoftheBOTS_
Mon Jun 15, 2020 9:02 pm
Forum: Development of MicroPython
Topic: Encoder in Hardware with Timer Peripheral
Replies: 10
Views: 613

Re: Encoder in Hardware with Timer Peripheral

I put a schmitt trigger in front of every button and encoder signal I have. So for me it's the perfect solution now. It's maybe a good idea to put a example code into the wiki? I am curious if a schmitt trigger will work to remove switch bounce as the signal bounces all the way from total open to t...
by OutoftheBOTS_
Sun Jun 14, 2020 9:35 pm
Forum: Development of MicroPython
Topic: Encoder in Hardware with Timer Peripheral
Replies: 10
Views: 613

Re: Encoder in Hardware with Timer Peripheral

Ok, we're talking about different encoders and different uses here. My experience is with using encoders for controlling user interfaces, e.g. in place of a potentiometer. These are encoders that come for 5-8 bucks for 10 pieces. Ahh yes those use mechanical switches that bounce a lot but only turn...
by OutoftheBOTS_
Sat Jun 13, 2020 10:05 pm
Forum: Development of MicroPython
Topic: Encoder in Hardware with Timer Peripheral
Replies: 10
Views: 613

Re: Encoder in Hardware with Timer Peripheral

Do you get reliable monotonic increments/decrements of the counter with this? In my experience the internal decoding does not handle encoders with switch bouncing (which is most of them) very well. I get the best experience, when handling the pins myself in a pin interrupt handler and keeping the p...
by OutoftheBOTS_
Thu Jun 11, 2020 11:03 pm
Forum: ESP32 boards
Topic: State of Neopixels for esp32 in May 2020?
Replies: 7
Views: 1196

Re: State of Neopixels for esp32 in May 2020?

BTW 1 aurdinuos guys took my timer method and put it on steroids so when the interrupt fires it sets all 4 channels of the timers so that 4 bits are sent in parallel and then used 4 of these 8x32 matrix https://www.aliexpress.com/item/32983032723.html?spm=a2g0o.detail.1000014.11.2e626af4nEuAOX&gps-i...
by OutoftheBOTS_
Thu Jun 11, 2020 10:35 pm
Forum: ESP32 boards
Topic: State of Neopixels for esp32 in May 2020?
Replies: 7
Views: 1196

Re: State of Neopixels for esp32 in May 2020?

Yes, the SPI method could work - and, wouldn't you know it, Nicko has written a MicroPython library to drive WS281B's with SPI . Anyone able to try it out? Incidentally, RMT allows those paging operations much like the circular buffer you described. I had intended to expose that all the way through...