Prototyping technological innovations should be planned with a task sequence that leads to performance goals. Typically, structuring prototype development involves building and testing each subsystem and then build and test system operation. After initial development, optimization involves improving parts and components of each subsystem leading to improved system performance.
Using this methodology, the power and chassis subsystems were the focus of initial development. The chassis subsystem is somewhat dependent on the power subsystem components, so development began with the power subsystem - powering and controlling one motor. However, a research and development environment or bench is the needed place to start.
With all the variables involved in this design, bench testing each of the subsystems component and part is helpful. Hardware and software development is much easier in a controlled environment.
A Windows or Mac computer, USB cable and Arduino Nano (or compatible, i.e. DFROBOT.com DFRduino Nano, $9.90) are the equipment used for eDragster Proto-1 development.
Programming an Arduino to control two BLDC is the goal of this bench. Arduino's IDE must be loaded on a PC or MAC to setup the programming environment. Follow the instructions below to download and install the IDE.
Installing the Arduino Desktop IDE: [Windows],[Mac OS]
The Servo.h library is needed to send the proper signals to the ESC. To install, goto 'Include Library' and select 'Servo'.
If the Servo library is not included in the library list, it must be downloaded and added to the library (i.e., ‘Add .ZIP Library…’).
Initial programming of your dragster will involve copying a program and pasting the code into the Arduino IDE. Program variables that change dragster operation will be identified so code can be easily altered for experimentation. Editing, compiling and downloading code are needed skills.
Before continuing to the eDragster build, complete the Copy and Paste Programming tutorial. It will step you through the process of editing and executing a simple program.
Copy and Paste Programming: Arduino IDE
You're now ready for eDragster R&D...