Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 29, 2024, 05:46:39 05:46


Login with username, password and session length


Pages: 1 [2]  All
Print
Author Topic: POT variable  (Read 10289 times)
0 Members and 1 Guest are viewing this topic.
Faros
Senior Member
****
Offline Offline

Posts: 254

Thank You
-Given: 141
-Receive: 178


« Reply #25 on: April 21, 2013, 02:40:01 14:40 »

I moved to SMT almost a year ago, this PCB looks like a mother board to me ...  Smiley

The 16F1826 is an excellent replacement for the 16F628A and it is even cheaper (10+@£0.91) DIP version , the SOIC version cost less.

« Last Edit: April 21, 2013, 02:50:14 14:50 by Faros » Logged
kreutz
Active Member
***
Offline Offline

Posts: 183

Thank You
-Given: 994
-Receive: 125


« Reply #26 on: February 20, 2014, 06:21:28 18:21 »

You can use a voltage to frequency chip to convert from potentiometer wiper voltage to a frequency then use a counter on the uController to get the wiper position. 8 bits timer/counter will give you your pot variable from 0 - 255 but you can set a higher frequency range, a 16 bits counter and get the MS byte for more precision.
Logged
Pages: 1 [2]  All
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC