Search results

  1. R

    How to add a throttle to a Carrera Vengeance E Spec

    I was reading this post: ArduinoPins And looks like some pins operate differently to others? I'm not an electrical genius but looks like D13 operates at a higher frequency, could this me an issue?
  2. R

    How to add a throttle to a Carrera Vengeance E Spec

    Yeah I think your right the best version to date is v8. I don't have a resister between A2-GND let me try it with a resister.
  3. R

    How to add a throttle to a Carrera Vengeance E Spec

    I have tested the v9 release of the code with the following code changes: 1. Declared pulseonlength and pulseofflength as integer and changed torqueinputpin to TorqueInputPin Results as follows: 1. On Power on received error 21 2. Engage throttle then power on, motor runs for approx 10 secs...
  4. R

    How to add a throttle to a Carrera Vengeance E Spec

    Looks like INPUT_PULLDOWN isn't valid on an Arduino Nano. Receiving the "INPUT_PULLDOWN was not declared in this scope" error.
  5. R

    How to add a throttle to a Carrera Vengeance E Spec

    I'll test this new code first thing in the morning.
  6. R

    How to add a throttle to a Carrera Vengeance E Spec

    I tested this and the motor started on its own. 1. Power on - motor kicks in then reports error 22 after 3 secs
  7. R

    How to add a throttle to a Carrera Vengeance E Spec

    Ok I’ve done this and I had the same results. so I removed the green wires from A2 and D13 and joined the 2 wires together outside of the Arduino. I powered on the bike and the motor kicked in straightaway then went to error 22 after 3sec
  8. R

    How to add a throttle to a Carrera Vengeance E Spec

    OK so as soon as I powered on the bike, the motor kicked in without me doing anything then after 2secs returned error 22.
  9. R

    How to add a throttle to a Carrera Vengeance E Spec

    OK I think you're right. I connected A5 to A3 and after approx 3 seconds I received error 22.
  10. R

    How to add a throttle to a Carrera Vengeance E Spec

    Finally got round to testing this. 1. no errors on start up 2. After 3 seconds of pedalling received error 22 so I’m thinking ideally is there no way to exit the code if we are pedalling similar to how an interrupt works?But I guess that means we have to change wiring to pass pedalling...
  11. R

    How to add a throttle to a Carrera Vengeance E Spec

    I think your right seems like the replication routine needs tweaking. I’ll try this code first thing and relay the results. we have the throttle routine working now we just need to take a step back to the functions of the pedalling. We’re getting there!
  12. R

    How to add a throttle to a Carrera Vengeance E Spec

    I’ve tested this now. Results as follows: 1. on startup no errors 2. Pedalling ok then after approximately 5secs received error 22.
  13. R

    How to add a throttle to a Carrera Vengeance E Spec

    I'll try and test this later today and relay the results.
  14. R

    How to add a throttle to a Carrera Vengeance E Spec

    Spot on Evian, so I waited a couple of minutes before trying anything and it wouldn't function at all until i powered off and on. So I am trying to debug the code however I can't seem to debug anymore, if I plug the Ardiuno to the USB and to the bike I get error 21 on the LCD. Either way I was...
  15. R

    How to add a throttle to a Carrera Vengeance E Spec

    So far I have been switching the LCD off and on to reset, but let me try and wait for a few seconds and retry throttle / pedal see what happens.
  16. R

    How to add a throttle to a Carrera Vengeance E Spec

    Yes, so I stopped pedalling as as the wheel slowed down it got to approx 12mph then showed error 22.
  17. R

    How to add a throttle to a Carrera Vengeance E Spec

    Let me have some time to debug the code see if I can work out what happens at a code level prior to the error 22. I did notice it appears just as the speedo hits 12mph.
  18. R

    How to add a throttle to a Carrera Vengeance E Spec

    ok so I have redone this. Checked the values after error 22. And the readings show 3.85 for both A3 and A5.
  19. R

    How to add a throttle to a Carrera Vengeance E Spec

    ok results are as follows, (multimeter was set to 2): A0 = 0.84 A2 = 0.14 A3 = 1 A5 = 1
  20. R

    How to add a throttle to a Carrera Vengeance E Spec

    I'm not riding the bike when testing, but it feels normal like its wired straight to the controller, I'll get a better sense of that when i ride the bike. But it seems like its functioning as normal so the more work you put in the more the motor puts in.