Search found 25 matches

by nekomatic
Wed Jun 03, 2020 2:00 pm
Forum: General Discussion and Questions
Topic: How to use a low-signaling sensor to trigger wake interrupt
Replies: 12
Views: 1021

Re: How to use a low-signaling sensor to trigger wake interrupt

It sounds as if your GPIO16 is a push-pull output, so when you had it connected to both the board's RESET and the sensor's output pin, it was actively holding both of those either high or low - this would explain why it actually stopped the sensor working. If you have an input with a pullup to V+, e...
by nekomatic
Wed Jun 03, 2020 1:11 pm
Forum: General Discussion and Questions
Topic: New to micro controllers and MicroPython
Replies: 13
Views: 1571

Re: New to micro controllers and MicroPython

I would kind-of recommend the Donald Norris book (listed here ). It's three years old now and doesn't cover the ESP32 specifically, and he can veer off into wordy discussions of language and design philosophies which you won't miss too much by skipping, but the book does cover a good range of practi...
by nekomatic
Tue Apr 21, 2020 9:51 am
Forum: General Discussion and Questions
Topic: being pythonic ?
Replies: 4
Views: 329

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

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

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

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

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

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

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

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