Arduino Examples

To run these examples use either the Arduino IDE or something similar like the PlatformIO extension for Visual Code or Atom.

examples/TLE9562_DCM-control

Default example sketch to run DC motors.

examples/TLE9562_DCM_rise-and-fall-time-regulation

Perform the rise- / falltime control loop on a single output phase.

examples/TLE9563_BLDCM-control

Default example sketch to run a 3 Phase BLDC motor with Hallsensor or BEMF.

examples/TLE9563_BLDCM_rise-and-fall-time-regulation

Perform the Rise- / Falltime control loop while controlling a BLDC motor. Might be experimental.

examples/TLE9563_BLDCM_find-polepairs

Simple script to identify the amount of polepairs of a connected BLDC motor.

Keyboard commands

These are common key-operations for the serial monitor used by the various examples stated above. Not all operations are available in every example.

Up / Enable

Down / Disable

Speed

+

-

Motor enable

q

a

Weakening Range enable (BLDCM)

w

s

Direction

e

d

Risetime target

r

f

Falltime target

t

g

Rise- / Falltime Regulation enable

u

j

AGC enable

i

k