Search found 799 matches

by OutoftheBOTS_
Mon Jun 15, 2020 9:02 pm
Forum: Development of MicroPython
Topic: Encoder in Hardware with Timer Peripheral
Replies: 10
Views: 1891

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: 1891

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: 1891

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: 8
Views: 2523

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: 8
Views: 2523

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...
by OutoftheBOTS_
Sun Jun 07, 2020 7:26 am
Forum: ESP32 boards
Topic: State of Neopixels for esp32 in May 2020?
Replies: 8
Views: 2523

Re: State of Neopixels for esp32 in May 2020?

No, the problem with RMT is that the memory has to be pre-allocated and it can be large. We can work around this by pushing interrupts all the way through to MicroPython - so the data is generated on the Python side on-demand but this adds a lot of complexity and pushes timing constraints on to the...
by OutoftheBOTS_
Sat Jun 06, 2020 9:40 pm
Forum: ESP32 boards
Topic: State of Neopixels for esp32 in May 2020?
Replies: 8
Views: 2523

Re: State of Neopixels for esp32 in May 2020?

Unfortunately, I believe that is the current state of affairs. I went into a little more detail in the March-April News Roundup . There are a few promising ways we can resolve the issue but, right now, I don't know of any great way to drive that many pixels with the ESP32 from MicroPython. A questi...
by OutoftheBOTS_
Thu Jun 04, 2020 10:10 pm
Forum: General Discussion and Questions
Topic: STM32F407VET6 Black Board freeze
Replies: 6
Views: 1059

Re: STM32F407VET6 Black Board freeze

I will suspect that 1 of the pin your trying to use is connected to something that is important to the running of the MCU. Try this commit out every line except the first 1 where you import then uncommit 1 line at a time till you find which line is causing the crash then check the schematic for what...
by OutoftheBOTS_
Wed Jun 03, 2020 9:45 pm
Forum: Other Boards
Topic: New STM32H743VIT6 dev boards
Replies: 35
Views: 8691

Re: New STM32H743VIT6 dev boards

It certainly seem very cheap
by OutoftheBOTS_
Tue Jun 02, 2020 9:33 pm
Forum: Other Boards
Topic: New STM32H743VIT6 dev boards
Replies: 35
Views: 8691

Re: New STM32H743VIT6 dev boards

I have found this board delivered for $26AUD https://www.aliexpress.com/item/4001048553596.html?spm=a2g0s.9042311.0.0.3da24c4d5Oqsga at that price I just have to get 1. Considering the amount of flash and RAM on this board and the fact it has both a header for a small SPI TFT and a FPC connector for...