Search found 8 matches

by Kip
Thu Jan 25, 2018 4:05 am
Forum: Development of MicroPython
Topic: Butterworth filters
Replies: 7
Views: 3508

Re: Butterworth filters

Hi Peter, I'm new to digital filters and I was wondering if you could give me some guidance. I want a 10KHz bandpass filter and my ADC is sampling at 64KHz. I'm doing this with the read_timed() function capturing the data in a bytearray. Here's my problem, most of the digital filters for python impl...
by Kip
Wed Sep 13, 2017 11:02 am
Forum: Programs, Libraries and Tools
Topic: PyBoard HC05 Android
Replies: 0
Views: 434

PyBoard HC05 Android

It's a bit hacky, but I noticed some people looking for an example communicating with an android device via Bluetooth using an HC05 adapter and thought I'd upload my code. Code here: https://github.com/KipCrossing/PyBoard-HC05-Android It demonstrates being able to send and receive data. I attempted ...
by Kip
Wed Mar 15, 2017 1:17 pm
Forum: Drivers for External Components
Topic: Wave generator AD9833 with the Pyboard
Replies: 8
Views: 2006

Re: Wave generator AD9833 with the Pyboard

I'll keep it in mind when choosing.

Thanks a lot, Peter, you've been a great help :D
by Kip
Wed Mar 15, 2017 10:39 am
Forum: Drivers for External Components
Topic: Wave generator AD9833 with the Pyboard
Replies: 8
Views: 2006

Re: Wave generator AD9833 with the Pyboard

Good spot Robert. I think I have the same board (little blue one without a MCLK pin). I do see 25 written on it. I used a trial and error method to find it out and I got approximately the same (a bit more than 25 MHz). I decided to include it for those who have boards with the MCLK pin - not that I ...
by Kip
Wed Mar 15, 2017 10:06 am
Forum: Drivers for External Components
Topic: Wave generator AD9833 with the Pyboard
Replies: 8
Views: 2006

Re: Wave generator AD9833 with the Pyboard

I'm well aware that it can't handle such crazy speeds. Have a look again, I chose 16 MHz. Perhaps you accidentally added a 0 when reading it? In terms of the frequencies needing to fit 168/N, I don't see that anywhere in the documentation when using the freq argument. Perhaps this is common knowledg...
by Kip
Tue Mar 14, 2017 10:19 am
Forum: Drivers for External Components
Topic: Wave generator AD9833 with the Pyboard
Replies: 8
Views: 2006

Re: Wave generator AD9833 with the Pyboard

Good pick up Peter, I was using the APB1 bus clock as an arbitrary rate. The AD9833 gets its clock reference via a timer into its MCLK pin. Unfautionately for me, the PCB that I bought does not have this MCLK pin and there is little information on what rate to use (but that's my problem). I've updat...
by Kip
Tue Mar 14, 2017 4:35 am
Forum: Drivers for External Components
Topic: Wave generator AD9833 with the Pyboard
Replies: 8
Views: 2006

Wave generator AD9833 with the Pyboard

If anyone is interested, or need to produce waves up to 10 MHz, this might come in handy. "The AD9833 is a low power, programmable waveform generator, capable of producing sine, triangular, and square wave outputs and has a 0 MHz to 12.5 MHz output frequency range" The code may be found here: https:...