trying to implement the charge pump, calculate the pulse frequency.

More
15 Apr 2019 12:18 #130901 by travis036
not sure if i am calculating the output frequency from my base period correctly. in my INI file, the base-period is 32500. and when i calculate it, i get 15385Hz. (seems fast, compared to the example on wiki.linuxcnc.org/cgi-bin/wiki.pl?About_Charge_Pumps )

now, with that in mind, i would like to use an Arduino UNO as my detector. how would i change the AVR code to work on an UNO, @ the given frequency. (not fully fluent with direct port and timer manipulation)

thanks in advance for any help.

~Travis

Please Log in or Create an account to join the conversation.

More
15 Apr 2019 22:28 #130942 by travis036
i think i found a solution, via a friend, using an ATtiny85 (Arduino).
will test, and update as soon as i can get to it.

~Travis

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum