Search found 25 matches

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

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

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

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

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

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

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

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.
by nekomatic
Mon Jan 14, 2019 11:50 am
Forum: General Discussion and Questions
Topic: Sensing sound from a speaker
Replies: 9
Views: 1300

Re: Sensing sound from a speaker

You could connect the LED side of an optocoupler like a 4N35 to those pads on the doorbell, then you have an electrically isolated open-collector output that's easy to interface to a pin on the ESP side. Or if isolation isn't important you can just connect a suitable resistor across them and detect ...
by nekomatic
Mon Jan 14, 2019 11:16 am
Forum: General Discussion and Questions
Topic: Data recording for scientific experiments
Replies: 7
Views: 1107

Re: Data recording for scientific experiments

Is there a reason that you'd want to use an embedded board for this task, rather than a desktop PC or laptop? I don't want to discourage anyone from getting into MicroPython and the pyboard but to be honest, if I were faced with this sort of requirement my first call would be a USB-connected data ac...
by nekomatic
Wed Jan 02, 2019 2:18 pm
Forum: MicroPython pyboard
Topic: Save data on power down
Replies: 14
Views: 1924

Re: Save data on power down

In order to save something when the power goes down, you need to know that the power is about to go down so that you can take the action you need to save it. How can you tell that the power is about to go down? Well, you could run your pyboard from a battery- or capacitor-backed supply so that it st...