Search found 23 matches

by nekomatic
Tue Apr 21, 2020 9:51 am
Forum: General Discussion and Questions
Topic: being pythonic ?
Replies: 4
Views: 256

Re: being pythonic ?

You don't usually specify the types of a function's input arguments in Python. As a dynamic language, functions and operators in Python generally adapt to the type of their inputs as far as possible and that's what other programmers would expect your function to do too. What happens if you pass an i...
by nekomatic
Mon Mar 16, 2020 3:09 pm
Forum: General Discussion and Questions
Topic: MicroPython using a Virtual Machine?
Replies: 8
Views: 562

Re: MicroPython using a Virtual Machine?

If you're going to run it on Windows or Linux, why not create your project in standard Python?
by nekomatic
Fri Feb 07, 2020 4:27 pm
Forum: Drivers for External Components
Topic: Large color LCD?
Replies: 10
Views: 1258

Re: Large color LCD?

I'm very doubtful that any way of doing this will be easier than connecting the display to a Pi Zero and writing a little code to implement some sort of protocol for your MicroPython board to tell the Pi what to display - but then I don't really see why it would make sense to attach a keyboard, mous...
by nekomatic
Fri Feb 07, 2020 3:41 pm
Forum: Hardware Projects
Topic: Micropython spectrometer just released!
Replies: 5
Views: 770

Re: Micropython spectrometer just released!

Many commercial spectrometers have some sort of interface that you can use to acquire data programatically, so it's not quite true that 'all you are left is Excel'. In my last job I needed to build lab equipment to measure chemical and physical properties at low cost, so I might have been interested...
by nekomatic
Wed Jan 15, 2020 2:42 pm
Forum: General Discussion and Questions
Topic: search for an inexpensive device to detect housebreaking
Replies: 19
Views: 1265

Re: search for an inexpensive device to detect housebreaking

A quick web search for ' glass break sensor ' shows that there are already low-cost products available to do this, either with the sensor and alarm all in one unit or with a sensor that communicates by low-power radio (e.g. 433 MHz) to a central alarm system. What's your objective - to set up your o...
by nekomatic
Tue Nov 05, 2019 1:53 pm
Forum: General Discussion and Questions
Topic: Shift Register PWM
Replies: 6
Views: 998

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

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

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

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

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...