Search found 10 matches

by nekomatic
Fri Mar 22, 2019 2:12 pm
Forum: General Discussion and Questions
Topic: Developing PCB layout
Replies: 5
Views: 241

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

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

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

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

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...
by nekomatic
Sat Nov 28, 2015 8:25 pm
Forum: Other Boards
Topic: Raspberry Pi Zero
Replies: 29
Views: 17513

Re: Raspberry Pi Zero

actually if all you want to do is say log a temperature every 30s and open / close a relay depending on the result and perhaps turn an LED on/off to show a status then you don't need any of that fancy stuff. But if you want to do that at 50 locations, then £3 is a lot more attractive than £30! To b...
by nekomatic
Tue Nov 11, 2014 6:57 pm
Forum: Hardware Projects
Topic: Use FadeCandy with an USB hub connector
Replies: 4
Views: 2492

Re: Use FadeCandy with an USB hub connector

A USB hub doesn't work like an Ethernet hub - as dhylands says, you would need the micropython board to act as a USB host, and get it to support the appropriate USB device class. Unless there's some way of driving the Fadecandy with a "TTL" serial signal, which you could provide from one of the micr...
by nekomatic
Tue Oct 07, 2014 6:31 pm
Forum: MicroPython pyboard
Topic: Real-Time Clock (RTC) drift
Replies: 27
Views: 14339

Re: Real-Time Clock (RTC) drift

Radio 4 long wave still exists last time I checked, but it's been 198 kHz for many years now...
by nekomatic
Tue Sep 23, 2014 7:33 am
Forum: General Discussion and Questions
Topic: Good work flow methods
Replies: 10
Views: 4863

Re: Good work flow methods

Do you mean you've got Micropython up and running on the Stellaris? Any hints and tips if so, please?
by nekomatic
Fri Jun 13, 2014 9:02 am
Forum: Development of MicroPython
Topic: CAN bus implementation
Replies: 19
Views: 9916

Re: CAN bus implementation

This is exactly what I was planning to use my micropython board for (adding a trip computer and fuel economy gauge to our old Honda Civic) except that the car now needs a gearbox repair and we're probably going to ditch it in favour of something newer that will probably have that feature already... ...