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

Was this helpful?

  1. Circuit Schematics

Current Input

PreviousThrottle InputNextButton Inputs

Last updated 6 years ago

Was this helpful?

This is the most complex input circuit on the eChook, but once broken down is still pretty simple. The main component above is an Operational Amplifier (op-amp). More information on op-amps can be found or through google.

The op-amp above is configured to be a differential amplifier; the output is the voltage difference between the two inputs, multiplied by a gain.

The gain is set by the feedback resistors (R22 and R23) and the input resistors (R20 and R21). In this circuit both feedback resistors are equal, and both input resistors are equal, so the gain can be calculated as below, where V2 and V3 are the voltages on connector pins 2 and 3 in the schematic.

At the current sensors maximum calibrated current (50A) the difference between the reference and sense outputs will be about 2.5V. The gain doubles this to the maximum voltage readable by the arduino, giving a higher sensitivity to the current readings.

Filter

The current signal is very noisy, primarily as small current spikes are created each time the motor brushes make a new connection with the coils. R24 and C5 create a RC low pass filter with a 3Hz cutoff frequency to remove these high frequency spikes and smooth the signal.

Vout=(R22/R20)∗(V3−V2)V_{out} = (R_{22}/R_{20})*(V_3 - V_2)Vout​=(R22​/R20​)∗(V3​−V2​)

More information on solving differential amplifiers can be found .

here
here