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

TOPIC: Analog Input voltage from SmartBox

Analog Input voltage from SmartBox 6 years 1 month 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
The administrator has disabled public write access.

Re: Analog Input voltage from SmartBox 6 years 1 month ago #448

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Posts: 459
  • Thank you received: 77
  • 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
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.256 seconds