Search found 18 matches

by nekomatic
Tue Nov 05, 2019 1:53 pm
Forum: General Discussion and Questions
Topic: Shift Register PWM
Replies: 6
Views: 458

Re: Shift Register PWM

Yes, the transistor solution would look like this: srpwm.png Apologies for the horrible diagram, I was trying out the Digi-key online schematic editor... would not buy again ;) The blue thing is supposed to be your MicroPython board and the pink one is the shift register. The bottom wire, from the t...
by nekomatic
Tue Nov 05, 2019 9:24 am
Forum: General Discussion and Questions
Topic: emulating joystick USB-HID
Replies: 2
Views: 339

Re: emulating joystick USB-HID

This page isn't about MicroPython but it seems to have information about how to select or generate the necessary descriptor.
by nekomatic
Thu Oct 10, 2019 12:17 pm
Forum: General Discussion and Questions
Topic: ESP32 access via Ipad
Replies: 13
Views: 575

Re: ESP32 access via Ipad

I haven't used any of these but if you can spend a little on hardware it looks as if you can get a terminal app that works with Bluetooth Low Energy serial interfaces, then I think you should be able to connect to the ESP32's UART interface. Alternatively Redpark do Lightning to serial cables, and G...
by nekomatic
Mon Sep 23, 2019 3:21 pm
Forum: General Discussion and Questions
Topic: Does anybody know what is going on with micropython?
Replies: 24
Views: 1459

Re: Does anybody know what is going on with micropython?

stijn wrote:
Fri Sep 20, 2019 1:07 pm
Hmm, after reading Jimmo's comment I was about to post a reply just to thank him for writing such an elaborate reply, which I didn't find clueless at all.
Same here!
by nekomatic
Mon Sep 16, 2019 4:10 pm
Forum: General Discussion and Questions
Topic: Asking for Advice: Using SciPy Libraries and a MicroPython Board to create a Graphing Calculator
Replies: 3
Views: 208

Re: Asking for Advice: Using SciPy Libraries and a MicroPython Board to create a Graphing Calculator

scipy depends on numpy, and numpy hasn't been ported to MicroPython and is unlikely to be due to its resource requirements - this looks like the nearest thing that exists so far. Do you really need scipy though? What functions does your calculator need to have? IMHO the easiest way of realising some...
by nekomatic
Fri Apr 26, 2019 2:02 pm
Forum: Programs, Libraries and Tools
Topic: Measuring battery percentage
Replies: 1
Views: 657

Re: Measuring battery percentage

Are you trying to measure the SiPy's own supply voltage, or the voltage of a separate battery? What voltage range do you need to measure? I'm not very familiar with the SiPy / ESP32 but based on the ESP32 MicroPython documentation , the full-scale range of the ADC inputs is about 0 - 1 V unless you ...
by nekomatic
Fri Apr 26, 2019 1:22 pm
Forum: General Discussion and Questions
Topic: Season of Docs proposal for MicroPython
Replies: 9
Views: 732

Re: Season of Docs proposal for MicroPython

This is a great idea - I hope it's successful.

For me the highest priority looks like getting the user documentation for the popular ports into better shape. With luck that would serve as a model for the documentation of other ports.
by nekomatic
Fri Apr 26, 2019 12:52 pm
Forum: General Discussion and Questions
Topic: Any MicroPython books?
Replies: 2
Views: 397

Re: Any MicroPython books?

There's also https://pythonbooks.org/python-for-microcontrollers-getting-started-with-micropython/ which I have but haven't yet worked through. The author's style is a little idiosyncratic but the book seems to cover a fair amount, although it may not be completely up to date any more. And if you're...
by nekomatic
Fri Mar 22, 2019 2:12 pm
Forum: General Discussion and Questions
Topic: Developing PCB layout
Replies: 5
Views: 567

Re: Developing PCB layout

If you're simply dealing with pull-up or pull-down resistors and decoupling capacitors, then you can almost certainly vary the value by a factor of two or more each way without problems. The only exceptions might be where the resistors are terminating a long or high-speed communication bus, or when ...
by nekomatic
Mon Jan 21, 2019 12:22 pm
Forum: General Discussion and Questions
Topic: datetime and strftime
Replies: 7
Views: 3425

Re: datetime and strftime

Methods #1 ('old-style string formatting') and #2 ('new-style string formatting') described in this guide can be used in MicroPython.

Methods #3 ('String Interpolation / f-Strings') and #4 ('Template Strings') can't.