Jump to content

Recommended Posts

Posted

if i use a PIC16F877A, then i use potentiometer to control the voltage sending in to the input of the PIC from 0 - 5v..then in programming, what can it detect? is shows in digital what form? example if i vary 2.5v, then in programming what should i write?

Posted

Hello and welcome to the community.

Your post is a little confusing and surely it is in the wrong group.

Or what is your concept you want to discuss ??

(You postet in Design concepts ... )

But to answer your question:

then i use potentiometer to control the voltage sending in to the input of the PIC from 0 - 5v..then in programming, what can it detect?

The voltage between 0 and 5 Volt  ???

If your question is how to program this in general you should take the datasheet of the PIC and a nice source of "How to program a PIC"

If you want to control a midi value with it: You can use the AIN Module for this purpose.

Sorry if this sounds a bit hard (english isn't my native language) but it could also be, that I misunderstood your question ...

example if i vary 2.5v, then in programming what should i write?

You should write what you want to do with the 2,5V at the input ...

greets

Doc

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...