Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Analog Input voltage from SmartBox

Analog Input voltage from SmartBox 4 years, 6 months ago #445

Hi I m new to smartmotor. I am using class 5 motor and Smartbox. I would like to get analog input from smartbox. Can anybody give me some pointers to do that?

Thanks

Re: Analog Input voltage from SmartBox 4 years, 6 months ago #448

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
The potentiometer on the SmartBox is connected to portD.
The following commands will store the voltage in variable "a" and report the value.
Note: A value of 4900 would be 4.9 volts.

a=INA(V1,3) Ra
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.60 seconds