Professional Documents
Culture Documents
Note: for use in laboratory environment only, not tested for EMI (electromagnetic interference)
Note: All information below and content of links are subject to the disclaimer of the Johnson Electric website
The sample box contains a driver kit, consisting of an Arduino UNO microcontroller and a motor
driver shield with Texas Instruments DRV8835, which can operate Stepper and DC motors.
All Stepper and DC motors in the box, which are equipped with a MTA connector, can quickly be
connected to the driver kit terminal block connector.
There are two different software programs (sketches) available, one for Stepper motors and one for
DC motors.
These sketches can be downloaded from website:
http://www.johnsonelectric.com/motoractuatorsamplebox.com
Prior to that, the Arduino software (IDE) must be downloaded from the Arduino website
(see attachment below).
Page 1
Operate Stepper Motors
Note: Stepper motors have windings of 40 ohm, suitable for continuous operation at 6Vdc.
Battery voltage is 9Vc operation time should not exceed ∼ 2 min, followed by a longer break
Note: Don’t change anything else in the sketch, otherwise the sketch will fail (a failure message is
displayed). There is need to correct the sketch acc to screenshot above or to re-load it.
LED “ON” will glow green and LED “L” will flash, then glow yellow.
Page 2
Click “Tools”
Check, if Board “Arduino/Genuino Uno” is selected
Click the COM-Port.
► You see message: “Upload completed” in left bottom corner of the screen.
Note:
Check regularly battery voltage – measure it by multimeter during motor operation.
Don’t forget to switch off the battery at the end.
Page 3
Operate DC Motors
Note: Don’t change anything else in the sketch, otherwise the sketch will fail (a failure message
is displayed).There is need to correct the sketch acc to screenshot above or to re-load it.
LED “ON” will glow green and LED “L” will flash, then glow yellow.
Page 4
Click “Tools”.
Check, if Board “Arduino/Genuino Uno” is selected.
Click the COM-Port.
Note:
Check regularly battery voltage – measure it by multimeter during motor operation.
Don’t forget to switch off the battery at the end.
Page 5
Attachment: Download Arduino software (IDE)
Go to https://www.arduino.cc/en/Main/Software
Download
(about 90MB)
Page 6
In parallel, a desktop icon is created.
If not, you can drag the icon onto desktop:
You can change the font size optionally for better visibility:
Go to File / Preferences.
Page 7
Troubleshooting
If the motor doesn’t work, please consider following potential root causes:
Battery switched ON ?
Failure message when uploading the sketch from the computer to Arduino ?
If more than one port is displayed here, find the right one in Windows Device Manager.
Linear motors might have reached their inner or outer end stop –> re-start with other direction.
Page 8