Read ADC without reinitializing channel

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
felix.letkemann
Posts: 10
Joined: Sat Mar 21, 2015 1:29 pm

Re: Read ADC without reinitializing channel

Post by felix.letkemann » Sun Mar 26, 2017 5:44 pm

Thank you very much! Using the information you gave me, I was able to add my own command to the micropython interpreter which directly returns the angle of the motor. The next days I will check if that allows me to speed up the motor to higher speeds.

gbevis
Posts: 1
Joined: Sat Apr 08, 2017 12:42 am

Re: Read ADC without reinitializing channel

Post by gbevis » Sat Apr 08, 2017 1:15 am

Dear Felix,

I am creating a controller for a switched reluctance motor with similar sampling needs to estimate instantaneous phase and speed. (Timing is extremely important in SRMs) Please provide details about how you are "hacking the firmware" to get quick access to the ADC.

Post Reply