eChook GPT Documentation
  • Welcome to the eChook nano documentation
  • System Overview
  • The eChook Nano Kit
    • Versions
  • Build Instructions (Kit V1.x)
    • Build Steps Photos
    • First Power On
  • Build Instructions (Kit V2+)
  • Programming the Arduino
    • Install Arduino IDE
    • Arduino Drivers
    • Download the eChook Arduino Code
    • Programming the Arduino
  • Setting up the Bluetooth
    • Pairing with a phone
  • Connecting the eChook to the Car
    • Power and Voltage
    • Current Sensor
    • Throttle Input
    • External Buttons and Brake
    • Temperature Sensors
    • Wheel and Motor RPM
    • PWM Output
  • Calibrating the eChook
    • Wheel Speed and Motor RPM
    • Temperature
    • Voltage
    • Current
  • Using the App
    • Pair eChook to Phone
    • Setting up the App
    • Logging Data
    • Lap Counting
  • Telemetry (Live Data)
    • eChook Live Data
    • Node-Red Integration
    • DIY Web Dashboard
  • Using the Data
  • Circuit Schematics
    • 12 and 24v Inputs
    • Temperature Inputs
    • Bluetooth Module
    • Throttle Input
    • Current Input
    • Button Inputs
    • RPM Inputs
    • PWM Output
    • Power Regulator
    • Expansion Port
  • All about the Arduino nano
    • The eChook nano Code
  • Bluetooth Communication
    • Bluetooth Packet Encoding
    • Bluetooth Packet Decoding
  • Experimental Section
    • GUI Calibration
  • eChook Accessories
  • DIY eChook
  • Spare Parts
  • Troubleshooting
  • Contributing
Powered by GitBook
On this page
  • Variable throttle 0v-5v
  • Variable throttle with output above 5v:
  • Push Button Throttle

Was this helpful?

  1. Connecting the eChook to the Car

Throttle Input

PreviousCurrent SensorNextExternal Buttons and Brake

Last updated 6 years ago

Was this helpful?

Throttle input is useful to log to see how the car is being driven, however due to the number of different ways throttles are implemented on cars there are a few methods of interfacing it to the eChook.

A throttle input is also needed for the apps lap counter feature, as this uses the throttle to determine race start.

Finally, the eChook will take a variable throttle and output a PWM signal that can be used as an input to a higher power motor driver circuit. The green LED on the eChook board is connected to this output.

Variable throttle 0v-5v

This is the input that the eChook board is designed for. If a variable throttle input is used, it is likely that it already works in this voltage range, however confirm this with a multimeter before attaching anything. If it does, simply run a second wire from the output to the ‘Throttle In’ pin on the eChook nano board. The board can also provide power and ground to the throttle.

Variable throttle with output above 5v:

The output from the throttle will need to be reduced such that the highest output voltage is stepped down to 5v in order to interface with the eChook Board. To do this a potential divider will be needed. For potential divider design, see .

To reduce current use, choose the resistors such that the sum of R1 and R2 is 10kΩ or greater

For example: If the maximum output of the throttle is 10v, a potentiometer is needed that reduces this to 5v. As this is halving the voltage, R1 and R2 will be equal. 5kΩfor each is a sensible figure to use.

Connect the potential divider as shown:

Use a multimeter to verify that the output from the throttle to the board (eChook_Board_Throttle_In above) does not exceed 5V at any point in the throttle's range before connecting it to the board. Higher voltages will damage the arduino.

Push Button Throttle

If the vehicle runs a push button throttle, the same potential divider as above will be needed. For a button switching a 24v signal, set R1=82k and R2 = 16k. This drops 30V to 5V and is intended to protect against the batteries having higher voltages than 12V each.

The second tweak needed for a push button throttle is in code. Within the code there are two ‘readThrottle’ functions, one for a variable throttle input, one for a push button. By default the push button function is commented out:

In order to use a push button throttle, comment out or delete the first function and un-comment the lower one.

this SparkFun tutorial