Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 21, 2019, 04:39:59 16:39


Login with username, password and session length


Pages: 1 [2]  All
Print
Author Topic: POT variable  (Read 5211 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, 08:40:01 08: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 ([email protected]0.91) DIP version , the SOIC version cost less.

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

Posts: 130

Thank You
-Given: 422
-Receive: 111


« Reply #26 on: February 20, 2014, 12:21:28 12: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