Search found 37 matches

by nekomatic
Thu Feb 04, 2021 10:18 am
Forum: General Discussion and Questions
Topic: Jupyter :: Anaconda :: getting started
Replies: 1
Views: 1618

Re: Jupyter :: Anaconda :: getting started

I think you can find everything you need to know at https://www.anaconda.com/products/individual When I use Python in my day job it's always in a conda environment and I'd strongly recommend it - there are other ways of creating virtual environments for Python but conda works pretty well in my opini...
by nekomatic
Thu Jan 21, 2021 5:26 pm
Forum: ESP32 boards
Topic: BLE Joystick on ESP32
Replies: 9
Views: 6347

Re: BLE Joystick on ESP32

According to this post there's a pull request, basically meaning Jimmo's change is submitted and waiting to be integrated into the code base.
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: 6675

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

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

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

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

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

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

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

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