in scripting page, is it enough just to press "down load to device" after changes made, or is there something more to do?
SpeedPotPin = 5 'analog input pin used for SpeedPot (5)
LeftCurrentSensorPin = 7 'analog input pin (7)
RightCurrentSensorPin = 8 'analog input pin (8)
AlarmPin = 6 'digital output pin used for low voltage alarm (6)
I have only connected only:
- breaks pin18
DOES IT WORK? IS IT CONFIGURED CORRECTLY? ARE YOU USING A SSR? VIA 5V FROM ROBOTEQ? IS BRAKE IT POWERED BY AN INVERTER OR DIRECTLY FROM BATTERY?
- MOSF pin 6
DOES IT WORK? TEST BY REVERSING POLARITY IN SETUP. DOES IT SWITCH A CONTACTOR VIA AN SSR?
for current sensors
- sens L pin 23
- sens R pin10
- 5v pin 14
- GND pin 9
ARE THESE CONFIGURED FOR ANALOG INPUT AND CAN YOU SEE THE 2.5 APPROX VOLTAGE?
for joystick
- GND pin 13
- 5v pin25
- throt pin 17
- steer pin 22
Burgerman wrote:And which two ANALOG inputs you are using for sensor inputs.
And voltage alarm.
And speedpot input. Which you do need if only to configure it correctly later.
- Code: Select all
SpeedPotPin = 5 'analog input pin used for SpeedPot (5)
LeftCurrentSensorPin = 7 'analog input pin (7)
RightCurrentSensorPin = 8 'analog input pin (8)
AlarmPin = 6 'digital output pin used for low voltage alarm (6)
these "pins" in comments refer to analog inputs so "pin" (7) is actually physical pin10. Is that right?I have only connected only:
- breaks pin18
DOES IT WORK? IS IT CONFIGURED CORRECTLY? ARE YOU USING A SSR? VIA 5V FROM ROBOTEQ? IS BRAKE IT POWERED BY AN INVERTER OR DIRECTLY FROM BATTERY?
break works, it is also visible in digital outputs on computer, light is green as soon as wheels start moving. SSR yes, 5V from roboteq there. breaks powered by 12v inverter.
- MOSF pin 6
DOES IT WORK? TEST BY REVERSING POLARITY IN SETUP. DOES IT SWITCH A CONTACTOR VIA AN SSR?
not yet, will assemble it as soon as other parts work
for current sensors
- sens L pin 23 ANA8
- sens R pin10 ANA7
- 5v pin 14
- GND pin 9
ARE THESE CONFIGURED FOR ANALOG INPUT AND CAN YOU SEE THE 2.5 APPROX VOLTAGE?
I can see 2.5V if I measure from pin23 and pin9 or pin10 and pin9. in program it only shows figure close to zero as discussed earlier. analog input references above.
for joystick
- GND pin 13
- 5v pin25
- throt pin 17
- steer pin 22
AGAIN DO THESE WORK AND ARE CONFIGURED CORRECTLY WHEN SCRIPT IS NOT RUNNING?
I can see impact in "run screen" of program, values are changing as expected in analog inputs. effects to motors are not what I would expect. wheels are rotating forward if joystick is moved forward or backwards
when scrtipt is not running values are changing, but nothing happens for motors
- sens L pin 23 ANA8
- sens R pin 10 ANA7
when pushing joystick forward, I can see the impact in roboteq graphs, but wheels are not moving. joystick seem to be properly caliblated, signal is reaching roboteq, but roboteq is not passing right impulse to motors.
steering left or right seem to be working as expected, so wheels and roboteq work in sync.
But he's reading near 0 mV on the two analog inputs, but correct ca. 2500 mV at the DB25. No use worrying about reversed sensing or motors crossed - he's not actually reading the sensors where he thinks he is. I suspect that they are not connected to the correct pins in the plug.
Ciao,
Lenny
Its all but impossible to diagnose these errors on a forum without seeing and measuring in person.
Return to Everything Powerchair
Users browsing this forum: emilevirus, iansp and 288 guests