BS2 & a powerhair controller??
I am trying to interface a Basic Stamp 2 to a powerchair controller. I would like to replace the joystick controller and just use the stamp. I have done some testing on the joystick controller and just confused myself even more. Its a Dynamic DL5.2i controller. There are six wires that go to the controller from the joystick, power and ground 5 volt, and a pair each for the X and Y axis. For example there is a white and blue wire when the stick is moved full left the white voltage goes up and the blue voltage goes down. Now if the stick is moved full right the opposite happens. I have done lots of probing and testing and have lots of numbers but didnt want to post them all. If anyone would like some specific info let me know. Any help would be greatly appreciated.
Comments
On another wheelchair, a Jazzy, the joystick does not use pots but instead uses hall effect sensors. This one had six wires.
The BS2 would work well sending commands to a digital pot but I don't think that it would work well directly replacing the joystick.
Rich H
Another idea is to use two standard RC servos and push/pull the joystick mechanically. It's kind of Rube Goldberg, but it'd work and could look neat.
Hey W9GFO, did you end up making those control boards? If not, would you care to share the schematic?
Next question, how do I determine which digital pot to use to get the correct voltage range?
Looks like I missed your post, sorry.
I did make a few prototypes. the schematic is here.
I used the MCP42010. The voltage is determined by the command you send to the digital pot. If you send a command of "127" then the voltage coming out of the wiper will be half of the input voltage. The digital pot does have a max voltage that it can accept into it, something just barely over 5 volts I think. That max voltage limitation prevented me from using it in my Jazzy controller but it was not a problem for the Invacare.
It sounds like you will have to hook yours up differently than mine. For mine the voltage was read off the wiper, A goes to power and B to ground. For yours it seems that the voltage will be read off the A and B terminals and the wiper goes to either power or ground.
Rich H