Project #12: Robotics – Arduino UNO R4 WiFi – Mk36

——

#DonLucElectronics #DonLuc #Robotics #Joystick #L298N #MotorDC #ArduinoUNOR4 #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant

——

Arduino UNO R4 WiFi

——

Arduino UNO R4 WiFi

——

Arduino UNO R4 WiFi

——

Arduino UNO R4 WiFi LED Matrix

We’ve designed a gallery of frames and animations that are included in the library! You may load and display them on your UNO R4 WiFi with the following code snippet: LEDMATRIX_UNO

DL2603Mk03

1 x Arduino UNO R4 WiFi
1 x Thumb Joystick
1 x SparkFun Thumb Joystick Breakout
1 x L298N DC Motor Driver Module
2 x Motor DC
1 x Power Switch
1 x 18650 Battery Holder (11 Volts)
3 x 18650 Battery
1 x USB 3.0 to Type-C Cable

DL2603Mk03p

DL2603Mk03p.ino

/****** Don Luc Electronics © ******
Software Version Information
Project #12: Robotics - Arduino UNO R4 WiFi - Mk36
12-36
DL2603Mk03p.ino
DL2603Mk03
1 x Arduino UNO R4 WiFi
1 x Thumb Joystick
1 x SparkFun Thumb Joystick Breakout
1 x L298N DC Motor Driver Module
2 x Motor DC
1 x Power Switch
1 x 18650 Battery Holder (11 Volts)
3 x 18650 Battery
1 x Micro USB Cable
*/

// Include the Library Code
// LED_Matrix library
#include "Arduino_LED_Matrix.h" 

// Create an instance of the ArduinoLEDMatrix class
ArduinoLEDMatrix matrix;

// Joystick
// Vertical
const int VERT = A0;
int vertical;
// Horizontal
const int HORIZ = A1;
int horizontal;
// Sel
const int SEL = 7;
int select;

// Motor DC 1 
int motor1pin1 = 2;
int motor1pin2 = 3;

// Motor DC 2
int motor2pin1 = 4;
int motor2pin2 = 5;

// Software Version Information
String sver = "12-36";

void loop() {

  // is Joystick
  isJoystick();

}

getJoystick.ino

// Joystick
// is Joystick
void isJoystick(){

  // Vertical
  vertical = analogRead(VERT);

  // Moving Forward
  if (vertical < 20) {
      
    // Moving Forward
    digitalWrite(motor1pin1, HIGH);
    digitalWrite(motor1pin2, LOW);
    digitalWrite(motor2pin1, HIGH); 
    digitalWrite(motor2pin2, LOW);    
    
  }
  
  // Moving Backwards
  if (vertical > 500) {
    
    // Moving Backwards
    digitalWrite(motor1pin1, LOW);
    digitalWrite(motor1pin2, HIGH);
    digitalWrite(motor2pin1, LOW); 
    digitalWrite(motor2pin2, HIGH);
  
  }

  // Horizontal
  horizontal = analogRead(HORIZ);

  // Moving Right
  if (horizontal < 25){

    // Moving Right
    digitalWrite(motor1pin1, LOW);
    digitalWrite(motor1pin2, HIGH);
    digitalWrite(motor2pin1, LOW); 
    digitalWrite(motor2pin2, LOW);

  }

// Moving Left
  if (horizontal > 500 ){

    // Moving Left
    digitalWrite(motor1pin1, LOW);
    digitalWrite(motor1pin2, LOW);
    digitalWrite(motor2pin1, LOW); 
    digitalWrite(motor2pin2, HIGH);

  }

  // LOW (0) if pressed
  select = digitalRead(SEL);

  // Select
  if (select == LOW) {
      
    // Stop
    digitalWrite(motor1pin1, LOW);
    digitalWrite(motor1pin2, LOW);
    digitalWrite(motor2pin1, LOW); 
    digitalWrite(motor2pin2, LOW);

  }

}

setup.ino

// Setup
void setup()
{
 
  // Motor DC 1
  pinMode(motor1pin1, OUTPUT);
  pinMode(motor1pin2, OUTPUT);

  // Motor DC 2
  pinMode(motor2pin1, OUTPUT);
  pinMode(motor2pin2, OUTPUT);

  // SEL Input
  pinMode(SEL, INPUT_PULLUP);

  // Initialize the LED matrix
  matrix.begin();

  // Load and display the basic emoji frame on the LED matrix
  matrix.loadFrame(LEDMATRIX_UNO);

}

——

People can contact us: https://www.donluc.com/?page_id=1927

Consultant, R&D, Electronics, IoT, Teacher and Instructor

  • Programming Language
  • Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc…)
  • IoT
  • Wireless (Radio Frequency, Bluetooth, WiFi, Etc…)
  • Robotics
  • Automation
  • Camera and Video Capture Receiver Stationary, Wheel/Tank , Underwater and UAV Vehicle
  • Unmanned Vehicles Terrestrial, Marine and UAV
  • Machine Learning
  • Artificial Intelligence (AI)
  • RTOS
  • Sensors, eHealth Sensors, Biosensor, and Biometric
  • Research & Development (R & D)
  • Consulting

Follow Us

Luc Paquin – Curriculum Vitae – 2026
https://www.donluc.com/luc/LucPaquinCVEng2026Mk01.pdf
https://www.donluc.com/luc/

Web: https://www.donluc.com/
Web: https://www.jlpconsultants.com/
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/@thesass2063
DFRobot: https://learn.dfrobot.com/user-10186.html
Elecrow: https://www.elecrow.com/share/sharepj/center/no/760816d385ebb1edc0732fd873bfbf13
TikTok: https://www.tiktok.com/@luc.paquin8
Hackster: https://www.hackster.io/luc-paquin
LinkedIn: https://www.linkedin.com/in/jlucpaquin/

Don Luc

Project #12: Robotics – Joystick – Mk35

——

#DonLucElectronics #DonLuc #Robotics #Joystick #L298N #MotorDC #SparkFunRedBoard #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant

——

Joystick

——

Joystick

——

Joystick

——

Thumb Joystick

The classic ‘PS2-style’ analog joystick. Features smooth dual-axis control (two 10k pots) and a satisfying integrated push-button click.

SparkFun Thumb Joystick Breakout

Stop struggling with weird pin spacing. This breakout board routes the Thumb Joystick connections to a standard 0.1″ header for easy breadboarding.

DL2603Mk01

1 x SparkFun RedBoard Qwiic
1 x Thumb Joystick
1 x SparkFun Thumb Joystick Breakout
1 x L298N DC Motor Driver Module
2 x Motor DC
1 x Power Switch
1 x 18650 Battery Holder (11 Volts)
3 x 18650 Battery
1 x Micro USB Cable

DL2603Mk01p

DL2603Mk01p.ino

/****** Don Luc Electronics © ******
Software Version Information
Project #12: Robotics - Joystick - Mk35
12-35
DL2603Mk01p.ino
DL2603Mk01
1 x SparkFun RedBoard Qwiic
1 x Thumb Joystick
1 x SparkFun Thumb Joystick Breakout
1 x L298N DC Motor Driver Module
2 x Motor DC
1 x Power Switch
1 x 18650 Battery Holder (11 Volts)
3 x 18650 Battery
1 x Micro USB Cable
*/

// Include the Library Code

// Joystick
// Vertical
const int VERT = A0;
int vertical;
// Horizontal
const int HORIZ = A1;
int horizontal;
// Sel
const int SEL = 7;
int select;

// Motor DC 1 
int motor1pin1 = 2;
int motor1pin2 = 3;

// Motor DC 2
int motor2pin1 = 4;
int motor2pin2 = 5;

// Software Version Information
String sver = "12-35";

void loop() {

  // is Joystick
  isJoystick();

}

getJoystick.ino

// Joystick
// is Joystick
void isJoystick(){

  // Vertical
  vertical = analogRead(VERT);

  // Moving Forward
  if (vertical < 20) {
      
    // Moving Forward
    digitalWrite(motor1pin1, HIGH);
    digitalWrite(motor1pin2, LOW);
    digitalWrite(motor2pin1, HIGH); 
    digitalWrite(motor2pin2, LOW);    
    
  }
  
  // Moving Backwards
  if (vertical > 500) {
    
    // Moving Backwards
    digitalWrite(motor1pin1, LOW);
    digitalWrite(motor1pin2, HIGH);
    digitalWrite(motor2pin1, LOW); 
    digitalWrite(motor2pin2, HIGH);
  
  }

  // Horizontal
  horizontal = analogRead(HORIZ);

  // Moving Right
  if (horizontal < 25){

    // Moving Right
    digitalWrite(motor1pin1, LOW);
    digitalWrite(motor1pin2, HIGH);
    digitalWrite(motor2pin1, LOW); 
    digitalWrite(motor2pin2, LOW);

  }

// Moving Left
  if (horizontal > 500 ){

    // Moving Left
    digitalWrite(motor1pin1, LOW);
    digitalWrite(motor1pin2, LOW);
    digitalWrite(motor2pin1, LOW); 
    digitalWrite(motor2pin2, HIGH);

  }

  // LOW (0) if pressed
  select = digitalRead(SEL);

  // Select
  if (select == LOW) {
      
    // Stop
    digitalWrite(motor1pin1, LOW);
    digitalWrite(motor1pin2, LOW);
    digitalWrite(motor2pin1, LOW); 
    digitalWrite(motor2pin2, LOW);

  }

}

setup.ino

// Setup
void setup()
{
 
  // Motor DC 1
  pinMode(motor1pin1, OUTPUT);
  pinMode(motor1pin2, OUTPUT);

  // Motor DC 2
  pinMode(motor2pin1, OUTPUT);
  pinMode(motor2pin2, OUTPUT);

  // SEL Input
  pinMode(SEL, INPUT_PULLUP);

}

——

People can contact us: https://www.donluc.com/?page_id=1927

Consultant, R&D, Electronics, IoT, Teacher and Instructor

  • Programming Language
  • Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc…)
  • IoT
  • Wireless (Radio Frequency, Bluetooth, WiFi, Etc…)
  • Robotics
  • Automation
  • Camera and Video Capture Receiver Stationary, Wheel/Tank , Underwater and UAV Vehicle
  • Unmanned Vehicles Terrestrial, Marine and UAV
  • Machine Learning
  • Artificial Intelligence (AI)
  • RTOS
  • Sensors, eHealth Sensors, Biosensor, and Biometric
  • Research & Development (R & D)
  • Consulting

Follow Us

Luc Paquin – Curriculum Vitae – 2026
https://www.donluc.com/luc/LucPaquinCVEng2026Mk01.pdf
https://www.donluc.com/luc/

Web: https://www.donluc.com/
Web: https://www.jlpconsultants.com/
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/@thesass2063
DFRobot: https://learn.dfrobot.com/user-10186.html
Elecrow: https://www.elecrow.com/share/sharepj/center/no/760816d385ebb1edc0732fd873bfbf13
TikTok: https://www.tiktok.com/@luc.paquin8
Hackster: https://www.hackster.io/luc-paquin
LinkedIn: https://www.linkedin.com/in/jlucpaquin/

Don Luc

Project #12: Robotics – 4WD Robot Car – Mk34

——

#DonLucElectronics #DonLuc #L298N #MotorDC #ESP32CAM #ESP32 #IoT #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant

——

4WD Robot Car

——

4WD Robot Car

——

4WD Robot Car

——

4WD Robot Car

4WD Robot Car uses SparkFun RedBoard Qwiic as the main control board and is combined with L298N motor drive board, forming a powerful intelligent mobile device. As for L298N motor drive board, since it provides stable power output and flexible steering control, it is responsible for driving wheels.

DL2602Mk08

1 x SparkFun RedBoard Qwiic
1 x L298N DC Motor Driver Module
4 x Motor DC
1 x Power Switch
1 x 18650 Battery Holder (11 Volts)
3 x 18650 Battery
1 x Micro USB Cable

DL2602Mk08p

DL2602Mk08p.ino

/****** Don Luc Electronics © ******
Software Version Information
Project #12: Robotics - 4WD Robot Car - Mk34
12-34
DL2602Mk08p.ino
DL2602Mk08
1 x SparkFun RedBoard Qwiic
1 x L298N DC Motor Driver Module
4 x Motor DC
1 x Power Switch
1 x 18650 Battery Holder (11 Volts)
3 x 18650 Battery
1 x Micro USB Cable
*/

// Include the Library Code

// Motor DC 1 
int motor1pin1 = 2;
int motor1pin2 = 3;

// Motor DC 2
int motor2pin1 = 4;
int motor2pin2 = 5;

// Software Version Information
String sver = "12-34";

void loop() {

  // is Motor
  isMotor();

}

getMotor.ino

// Motor
// is Motor
void isMotor(){

  // Moving Forward
  digitalWrite(motor1pin1, HIGH);
  digitalWrite(motor1pin2, LOW);
  digitalWrite(motor2pin1, HIGH); 
  digitalWrite(motor2pin2, LOW);
  delay(3000);

  // Stop
  digitalWrite(motor1pin1, LOW);
  digitalWrite(motor1pin2, LOW);
  digitalWrite(motor2pin1, LOW); 
  digitalWrite(motor2pin2, LOW);
  delay(3000);

  // Moving Backwards
  digitalWrite(motor1pin1, LOW);
  digitalWrite(motor1pin2, HIGH);
  digitalWrite(motor2pin1, LOW); 
  digitalWrite(motor2pin2, HIGH);
  delay(3000);

  // Stop
  digitalWrite(motor1pin1, LOW);
  digitalWrite(motor1pin2, LOW);
  digitalWrite(motor2pin1, LOW); 
  digitalWrite(motor2pin2, LOW);
  delay(3000);

  // Moving Right
  digitalWrite(motor1pin1, LOW);
  digitalWrite(motor1pin2, HIGH);
  digitalWrite(motor2pin1, LOW); 
  digitalWrite(motor2pin2, LOW);
  delay(3000);

  // Stop
  digitalWrite(motor1pin1, LOW);
  digitalWrite(motor1pin2, LOW);
  digitalWrite(motor2pin1, LOW); 
  digitalWrite(motor2pin2, LOW);
  delay(3000);

  // Moving Left
  digitalWrite(motor1pin1, LOW);
  digitalWrite(motor1pin2, LOW);
  digitalWrite(motor2pin1, LOW); 
  digitalWrite(motor2pin2, HIGH);
  delay(3000);

  // Stop
  digitalWrite(motor1pin1, LOW);
  digitalWrite(motor1pin2, LOW);
  digitalWrite(motor2pin1, LOW); 
  digitalWrite(motor2pin2, LOW);
  delay(3000);

}

setup.ino

// Setup
void setup()
{
 
  // Motor DC 1
  pinMode(motor1pin1, OUTPUT);
  pinMode(motor1pin2, OUTPUT);

  // Motor DC 2
  pinMode(motor2pin1, OUTPUT);
  pinMode(motor2pin2, OUTPUT);

}

——

People can contact us: https://www.donluc.com/?page_id=1927

Consultant, R&D, Electronics, IoT, Teacher and Instructor

  • Programming Language
  • Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc…)
  • IoT
  • Wireless (Radio Frequency, Bluetooth, WiFi, Etc…)
  • Robotics
  • Automation
  • Camera and Video Capture Receiver Stationary, Wheel/Tank , Underwater and UAV Vehicle
  • Unmanned Vehicles Terrestrial, Marine and UAV
  • Machine Learning
  • Artificial Intelligence (AI)
  • RTOS
  • Sensors, eHealth Sensors, Biosensor, and Biometric
  • Research & Development (R & D)
  • Consulting

Follow Us

Luc Paquin – Curriculum Vitae – 2026
https://www.donluc.com/luc/LucPaquinCVEng2026Mk01.pdf
https://www.donluc.com/luc/

Web: https://www.donluc.com/
Web: https://www.jlpconsultants.com/
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/@thesass2063
DFRobot: https://learn.dfrobot.com/user-10186.html
Elecrow: https://www.elecrow.com/share/sharepj/center/no/760816d385ebb1edc0732fd873bfbf13
TikTok: https://www.tiktok.com/@luc.paquin8
Hackster: https://www.hackster.io/luc-paquin
LinkedIn: https://www.linkedin.com/in/jlucpaquin/

Don Luc

Project #12: Robotics – L298N DC Motor Driver – Mk33

——

#DonLucElectronics #DonLuc #L298N #MotorDC #ESP32CAM #ESP32 #IoT #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant

——

L298N DC Motor Driver

——

L298N DC Motor Driver

——

L298N DC Motor Driver

——

L298n Motor Driver

That’s where the L298N motor driver module comes in. It acts as a bridge between your low-power Arduino and your high-power motors. You send small control signals from the Arduino, and the L298N safely handles the higher current required by the Motor DC.

DL2602Mk06

1 x ESP32-CAM
1 x ESP32-CAM-MB Adapter
1 x L298N DC Motor Driver Module
1 x Motor DC
1 x Power Switch
1 x 18650 Battery Holder (11 Volts)
3 x 18650 Battery
1 x Micro USB Cable

DL2602Mk06p

DL2602Mk06p.ino

/****** Don Luc Electronics © ******
Software Version Information
Project #12: Robotics - L298N DC Motor Driver - Mk33
12-33
DL2602Mk06p.ino
DL2602Mk06
1 x ESP32-CAM
1 x ESP32-CAM-MB Adapter
1 x L298N DC Motor Driver Module
1 x Motor DC
1 x Power Switch
1 x 18650 Battery Holder (11 Volts)
3 x 18650 Battery
1 x Micro USB Cable
*/

// Include the Library Code

// Motor DC 1 
int motor1pin1 = 14;

// Software Version Information
String sver = "12-33";

void loop() {
  
  // Motor DC 1 
  digitalWrite(motor1pin1,   HIGH);

  // Delay 3 Seconds
  delay(3000);

  // Motor DC 1 
  digitalWrite(motor1pin1,   LOW);

  // Delay 3 Seconds
  delay(3000);

}

setup.ino

// Setup
void setup()
{
 
  // Motor DC 1
  pinMode(motor1pin1, OUTPUT);

}

——

People can contact us: https://www.donluc.com/?page_id=1927

Consultant, R&D, Electronics, IoT, Teacher and Instructor

  • Programming Language
  • Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc…)
  • IoT
  • Wireless (Radio Frequency, Bluetooth, WiFi, Etc…)
  • Robotics
  • Automation
  • Camera and Video Capture Receiver Stationary, Wheel/Tank , Underwater and UAV Vehicle
  • Unmanned Vehicles Terrestrial, Marine and UAV
  • Machine Learning
  • Artificial Intelligence (AI)
  • RTOS
  • Sensors, eHealth Sensors, Biosensor, and Biometric
  • Research & Development (R & D)
  • Consulting

Follow Us

Luc Paquin – Curriculum Vitae – 2026
https://www.donluc.com/luc/LucPaquinCVEng2026Mk01.pdf
https://www.donluc.com/luc/

Web: https://www.donluc.com/
Web: https://www.jlpconsultants.com/
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/@thesass2063
DFRobot: https://learn.dfrobot.com/user-10186.html
Elecrow: https://www.elecrow.com/share/sharepj/center/no/760816d385ebb1edc0732fd873bfbf13
TikTok: https://www.tiktok.com/@luc.paquin8
Hackster: https://www.hackster.io/luc-paquin
LinkedIn: https://www.linkedin.com/in/jlucpaquin/

Don Luc