Search found 18 matches

by Kip
Mon Jun 03, 2019 11:02 am
Forum: General Discussion and Questions
Topic: PyBoard Timer Question
Replies: 7
Views: 310

Re: PyBoard Timer Question

Thanks for your input! :D how do you ensure that you start read_timed at a known point in the PWM I guess I could use Timer.OC_TOGGLE and half the period to get the same frequency. Then set the counters to 0 each loop (Thanks for that tip btw) I would really like to have a practical example (code) o...
by Kip
Mon Jun 03, 2019 7:48 am
Forum: General Discussion and Questions
Topic: PyBoard Timer Question
Replies: 7
Views: 310

Re: PyBoard Timer Question

I thought of that and it will probably work lower frequencies. With higher frequencies around 20 kHz the precision of measuring the phase will be a lot worse. The read_timed_multi() Method maxes out at around 200 kHz meaning there would be only 10 samples per wavelength. Therefore when observing the...
by Kip
Mon Jun 03, 2019 3:31 am
Forum: General Discussion and Questions
Topic: PyBoard Timer Question
Replies: 7
Views: 310

PyBoard Timer Question

Hi all, I need some advice when it comes to using timers. I want to read with an ADC and at every n’th (say 5) sample toggle a different GPIO. This is to produce a square wave and get the resulting wave via ADC after induction between 2 coils. See example https://github.com/KipCrossing/OpenEM/blob/m...
by Kip
Wed May 15, 2019 11:47 am
Forum: Pyboard D-series
Topic: ADC specs
Replies: 1
Views: 145

ADC specs

Hey all, Does anyone have any idea of the ADC specs of the D-series PyBoards? There are a few things that I'd like to know before I buy, including: Max sample rate Resolution And whether it incused an ADC.read_timed_multi() method (and what the sample rate for this would be) I couldn't find anything...
by Kip
Wed May 15, 2019 6:57 am
Forum: General Discussion and Questions
Topic: Push files from local to PyBoard
Replies: 4
Views: 279

Re: Push files from local to PyBoard

Great, that's just what I needed! If anyone is interested, I did the following to get what I wanted: 1. Install rshell sudo pip3 install rshell 2. Create a custom command by making a upyrun file in /usr/bin/ sudo nano /usr/bin/upyrun 3. Add the following commands to the upyrun file: git add . rshell...
by Kip
Tue May 14, 2019 1:02 am
Forum: General Discussion and Questions
Topic: Push files from local to PyBoard
Replies: 4
Views: 279

Push files from local to PyBoard

Hi, I'm just wondering if there are any methods/projects that would allow me to send files and commands to the PyBoard. I would like to work in a directory on my computer (so I can use git) but not manually copy and paste the files to the pyboard every time. I imagine one command that: git add . Pus...
by Kip
Tue Mar 05, 2019 8:25 pm
Forum: Pyboard D-series
Topic: Questions and wish list about Pyboard D
Replies: 35
Views: 2587

Re: Questions and wish list about Pyboard D

When and where would I be able to purchase a PyBoard D? (Very excited)
by Kip
Mon Nov 19, 2018 6:40 am
Forum: MicroPython pyboard
Topic: Measuring relative timing/phase of fast analog signals
Replies: 4
Views: 497

Re: Measuring relative timing/phase of fast analog signals

Hi,

I'm a little lost on how to install the patch so I can use read_timed_multi() on pyboard v 1.1. I clicked the link to the guide and couldn't find it. Could you please point me in the right direction?

Thanks,

Kip