Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

Discussion Groups | 68HC12 | Potentiometers?

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Potentiometers? - carson hoyt - Sep 8 18:43:44 2007

Hi everyone-

So here is my question for the week. It might be a little basic I'm pretty new to electronics in general. Here is what I am trying to do: I have some analog devices and I'm trying to interface them with the oopic so that I can write control programs for them. This really shouldn't be that difficult, all I really need is some potentiometers and switches which the oopic can control. The switches are easy I just use transistors, but I really don't know what to use for the potentiometers. Does anyone know of anything like this?

Thanks,

Carson Hoyt

---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.

[Non-text portions of this message have been removed]


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: Potentiometers? - Jeff Smith - Sep 10 13:01:46 2007

--- In 6...@yahoogroups.com, carson hoyt wrote:
>
> Hi everyone-
>
> So here is my question for the week. It might be a little basic
> I'm pretty new to electronics in general. Here is what I am trying
> to do: I have some analog devices and I'm trying to interface them
> with the oopic so that I can write control programs for them. This
> really shouldn't be that difficult, all I really need is some
> potentiometers and switches which the oopic can control. The
> switches are easy I just use transistors, but I really don't know
> what to use for the potentiometers. Does anyone know of anything
> like this?

Well Carson, at first it sounded this simple...

You have:
Oopic

You need these external components attached:
potentiometer
switch

But I think you are having some trouble with terminology, so let me
post whatever is relevant to this group. First, the OOPIC is not
relevant, sorry you won't find much help with that here.

You call these passive components "devices", and that will throw
somebody off. A device would be something that does something on it's
own, then the MCU (in your case oopic) communicates with the device to
make use of it. An example may be some "Analog to Digital converter
module". Instead, you should call them something like external
components, or peripherals because they help to implement i/o channels.

The components you named, pot and switch, are very simple, and are
both considered to be inputs (a person turns a pot or presses a
switch, and the MCU reads the event). The problem is you say you use a
transistor for the switch--did you mean that you want your MCU to
output current and control something, rather than read the state of a
switch input? If so, you should specify what voltage and current the
output switch needs to handle. In many cases, I needed absolutely
nothing to attach because my MCU can handle 5V and plenty of current.
As for the pot, that leaves me with the question of maybe you don't
mean that you just need to slap a pot on some pins to *read* a
position. Instead, you could mean that you want the MCU to "turn" the
pot for some other device. You might actually mean that you would like
to implement "Digital to Analog", but again the specifications are
necessary; what voltage range, resolution, stability, output
impedance, etc.



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: Potentiometers? - carson hoyt - Sep 11 1:34:18 2007

Woops sorry wrong group, I mixed it up with the another one.

thanks in anycase.

Jeff Smith wrote: --- In 6...@yahoogroups.com, carson hoyt wrote:
>
> Hi everyone-
>
> So here is my question for the week. It might be a little basic
> I'm pretty new to electronics in general. Here is what I am trying
> to do: I have some analog devices and I'm trying to interface them
> with the oopic so that I can write control programs for them. This
> really shouldn't be that difficult, all I really need is some
> potentiometers and switches which the oopic can control. The
> switches are easy I just use transistors, but I really don't know
> what to use for the potentiometers. Does anyone know of anything
> like this?

Well Carson, at first it sounded this simple...

You have:
Oopic

You need these external components attached:
potentiometer
switch

But I think you are having some trouble with terminology, so let me
post whatever is relevant to this group. First, the OOPIC is not
relevant, sorry you won't find much help with that here.

You call these passive components "devices", and that will throw
somebody off. A device would be something that does something on it's
own, then the MCU (in your case oopic) communicates with the device to
make use of it. An example may be some "Analog to Digital converter
module". Instead, you should call them something like external
components, or peripherals because they help to implement i/o channels.

The components you named, pot and switch, are very simple, and are
both considered to be inputs (a person turns a pot or presses a
switch, and the MCU reads the event). The problem is you say you use a
transistor for the switch--did you mean that you want your MCU to
output current and control something, rather than read the state of a
switch input? If so, you should specify what voltage and current the
output switch needs to handle. In many cases, I needed absolutely
nothing to attach because my MCU can handle 5V and plenty of current.
As for the pot, that leaves me with the question of maybe you don't
mean that you just need to slap a pot on some pins to *read* a
position. Instead, you could mean that you want the MCU to "turn" the
pot for some other device. You might actually mean that you would like
to implement "Digital to Analog", but again the specifications are
necessary; what voltage range, resolution, stability, output
impedance, etc.

---------------------------------
Check out the hottest 2008 models today at Yahoo! Autos.

[Non-text portions of this message have been removed]


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )