Search found 416 matches

by SpotlightKid
Sat Jun 27, 2020 6:06 am
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 15
Views: 5462

Re: WeAct STM32F411CEU6 black pill

Yes, I read that. I was looking though to make the most of the existing flash or extending it without having to order extra parts.
by SpotlightKid
Thu Jun 25, 2020 9:44 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 158
Views: 61956

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

MCUDev DevEBox STM32F407VGT6 [...] @mcauser 's board definition works perfectly. I spoke too son. I get strange behaviour with this board (firmware compiled from git as of today): * On every power up or after every reset (even soft reset) I see the following LED blinking pattern 1-2-3. This repeats...
by SpotlightKid
Thu Jun 25, 2020 9:04 pm
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 15
Views: 5462

Re: WeAct STM32F411CEU6 black pill

I just got three of these today from China and successfully flashed MP onto the first one. Having only ~45 kB left on the flash FS is a bit of a bummer, though. * If I add frozen modules to my firmware build, will they further decrease the flash FS size? * If I disable some builtin modules I don't u...
by SpotlightKid
Wed Jun 24, 2020 11:41 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 158
Views: 61956

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

I just received an MCUDev DevEBox STM32F407VGT6 board from AliExpress (only ~$9 € inlc. shippng). This is now marked: VER:V3.0 SN:1904 The only visible changes I can see are an additional diode to the left of C1 and two new resistors (R1,R4) above R34. @mcauser 's board definition works perfectly. T...
by SpotlightKid
Mon Jun 22, 2020 9:33 pm
Forum: General Discussion and Questions
Topic: "Empty" TypeError
Replies: 5
Views: 125

Re: "Empty" TypeError

You can always delegate instead of inheriting: class Cfg: def __init__(self, default={}): self._dict = {} self._dict.update(default) def __getattr__(self, name): return getattr(self._dict, name) def __getitem__(self, name): return self._dict[name] def __repr__(self): return repr(self._dict) # plus a...
by SpotlightKid
Sun Jun 14, 2020 10:11 pm
Forum: Development of MicroPython
Topic: Encoder in Hardware with Timer Peripheral
Replies: 10
Views: 311

Re: Encoder in Hardware with Timer Peripheral

Oh, these look also handy for breadboarding and DIY projects, yes. But ordering from China is such nuisance. Still waiting on three orders from >4 weeks ago.
by SpotlightKid
Sun Jun 14, 2020 5:19 pm
Forum: Development of MicroPython
Topic: Encoder in Hardware with Timer Peripheral
Replies: 10
Views: 311

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.
by SpotlightKid
Sat Jun 13, 2020 8:16 pm
Forum: Development of MicroPython
Topic: Encoder in Hardware with Timer Peripheral
Replies: 10
Views: 311

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 pr...
by SpotlightKid
Sat Jun 13, 2020 8:05 pm
Forum: Other Boards
Topic: STM32 USB
Replies: 5
Views: 238

Re: STM32 USB

What kind of board is this? Does it have a ST Link interface, maybe? Do you have MICROPY_HW_ENABLE_USB enabled?