Search found 29 matches

by nekomatic
Tue Mar 30, 2021 12:20 pm
Forum: General Discussion and Questions
Topic: RFC Hardware Choices
Replies: 5
Views: 260

Re: RFC Hardware Choices

Yes, sounds like a good project and the Pico sounds like a good board. Developing everything on breadboard with logic level voltages first is a good idea. If you aren't already familiar with this, you'll want to learn sooner rather than later how to protect the inputs, outputs and power supply of yo...
by nekomatic
Tue Mar 30, 2021 12:09 pm
Forum: General Discussion and Questions
Topic: if statement short circuiting
Replies: 9
Views: 410

Re: if statement short circuiting

Well, MATLAB has short-circuiting and non-short-circuiting versions of the logical operators: x = false && undefined executes without an error, but x = false & undefined fails. (The non-short-circuiting version can operate on array as well as scalar inputs - and it does short-circuit if it's in the ...
by nekomatic
Thu Feb 04, 2021 10:18 am
Forum: General Discussion and Questions
Topic: Jupyter :: Anaconda :: getting started
Replies: 1
Views: 231

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

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

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

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

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

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

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

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