SunFounder 3in1 Kit
Code
Note:
• You can open the file 1.2.beep.ino under the path of 3in1-kit\learning_project\1.2.beep.
• Or copy this code into Arduino IDE.
After the code is uploaded successfully, you will hear a beep every second.
4.1.3 1.3 Turn the Wheel
A motor is a typical digital output device, and it is used in the same way as an LED. However, the motor needs to be
driven with a large current, and the large current may damage the main control board such as R4 board. Therefore, an
motor driver module is used in this occasion, which is a good helper for the R4 board to control the motor safely.
Required Components
In this project, we need the following components.
It’s definitely convenient to buy a whole kit, here’s the link:
Name ITEMS IN THIS KIT LINK
3 in 1 Starter Kit 380+
You can also buy them separately from the links below.
COMPONENT INTRODUCTION PURCHASE LINK
Arduino Uno R4 Minima
Jumper Wires
TT Motor -
L9110 Motor Driver Module -
Schematic
4.1. 1. Digital Write 93