My main goal is to be able to adjust the duty cycle of a PWM chip (LTC6992 or something similar) remotely via RS485. My idea is to send commands over RS485 to a digipot (AD5228 for example) in a voltage divider configuration, allowing adjustment of the LTC6992's duty cycle. (Duty cycle of this chip is controlled by a 0 - 1V input on the respective pin.)
The actual sending and receiving/interpreting the commands is where I am unsure of how to proceed. Could I simply have two push-buttons connected to a MAX483 IC, one for high, one for low, and have the outputs of another receiving MAX483 IC connected to the base of a transistor each, which short the proper pin to ground on the digipot, corresponding with an increment/decrement of the resistance?
I am unsure if the MAX chips would work with just simple push button inputs or if I would need to interface with a PIC. According to the datasheet for the MAX483, Inputs are simply 2V for high, 0.8V for low.
Any thoughts or suggestions? I can further clarify or post a drawing if it would help.
Thanks.
The actual sending and receiving/interpreting the commands is where I am unsure of how to proceed. Could I simply have two push-buttons connected to a MAX483 IC, one for high, one for low, and have the outputs of another receiving MAX483 IC connected to the base of a transistor each, which short the proper pin to ground on the digipot, corresponding with an increment/decrement of the resistance?
I am unsure if the MAX chips would work with just simple push button inputs or if I would need to interface with a PIC. According to the datasheet for the MAX483, Inputs are simply 2V for high, 0.8V for low.
Any thoughts or suggestions? I can further clarify or post a drawing if it would help.
Thanks.