Logo

FNK0097

  • Three Wheel
    • Welcome
      • About Battery
      • Get Support and Offer Input
      • Safety and Precautions
      • About Freenove
      • Copyright
    • Raspberry Pi Pico
      • Raspberry Pi Pico
        • UART, I2C, SPI Default Pin
          • UART
          • I2C
          • SPI
      • Raspberry Pi Pico W
        • UART, I2C, SPI, Wireless Default Pin
          • UART
          • I2C
          • SPI
          • Wireless
      • Raspberry Pi Pico 2
        • UART, I2C, SPI Default Pin
          • UART
          • I2C
          • SPI
      • Car Expansion Board
      • Pin Definition of the Car Board
    • List
      • Car Expansion Board
      • Machinery Parts
      • Transmission Parts
      • Electronic Parts
      • Wires
      • Tools
      • Required but NOT Contained Parts
    • Preface
    • Freenove app
      • Install Freenove app
        • 1. Google Play Software
        • 2. Google Play Website
        • 3. Github
        • 4. iOS
      • Introduction to the APP
        • Menu
      • Hardware_Communication_Protocol
        • Supported Communication
        • Communication Command Format
        • Command Characters of FNK0097
        • Communication Protocol of FNK0097
          • CMD_MOTOR_Bluetooth = “A”
          • CMD_LED_Bluetooth = “C”
          • CMD_BUZZER_Bluetooth = “D”
          • CMD_POWER_Bluetooth = “F”
          • CMD_ULTRASONIC_Bluetooth = “E”
          • CMD_STATE_Bluetooth = “M”
          • CMD_CIRCLE_Bluetooth = “B”
    • Chapter 0 Installation of Arduino IDE
      • Arduino Software
      • Environment Configuration
      • Additional Remarks
    • Chapter 1 Car Assembly
      • Assembling the Car
        • Distinguish the top and bottom sides of the car chassis.
          • Installing Motor and Wheels
          • Battery Holder Assembly
          • Expansion Board Assembly
          • Mounting the Expansion Board to Car Chassis
          • Wires Connection
          • Installing two 18650 batteries
      • Library Installation
        • Method 1
        • Method 2
    • Chapter 2 Uploading First Sketch (LED Blink)
    • Chapter 3 Serial
      • Related Knowledge
        • Serial and parallel communication
        • Serial communication
      • Circuit
      • Sketch
        • Code
          • Reference
    • Chapter 4 Motor Test
      • 4.1 Motor
        • Related Knowledge
          • Motor
          • DRV8837
        • Schematic
        • Sketch
          • Code
          • Code Explanation
          • Reference
            • const()
      • 4.2 Motor Speed Control through PWM
        • Related Knowledge
          • Analog & Digital
          • PWM
        • Sketch
        • Code
          • Code Explanation
          • Reference
      • 4.3 TT Motor with Encoder
        • Related Knowledge
          • Gear Reduction Motor
          • How Interrupts Work
          • Hall Encoder
        • Code Knowledge
          • Encoder Value Obtaining
        • Schematic
        • Sketch
          • Code
          • Code Explanation
          • Reference
            • digitalPinToInterrupt()
    • Chapter 5 Buzzer Test
      • Related Knowledge
      • Schematic
      • Sketch
        • Code
        • Code Explanation
          • Reference
    • Chapter 6 ADC Test
      • ADC
      • Schematic
      • Sketch
        • Code
          • Code Explanation
          • Reference
    • Chapter 7 LED Test
      • Related Knowledge
      • Schematic
      • Sketch
        • Code
          • Code Explanation
          • Reference
    • Chapter 8 Gyroscope Test
      • Component Knowledge
        • I2C communication
        • MPU6050 Gyroscope
        • Zero Drift
      • Circuit
      • Schematic
        • Sketch
          • Code
          • Code Explanation
          • Reference
    • Chapter 9 Compass Test
      • Project 9.1 Compass Calibration
        • Component Knowledge
        • Circuit
        • Schematic
        • Sketch
        • Code
          • Code Explanation
      • Project 9.2 Yaw Angle Reading
        • Sketch
        • Code
    • Chapter 10 Ultrasonic Sensor Test
      • Component Knowledge
      • Circuit
      • Schematic
        • Sketch
          • Code
          • Code Explanation
          • Reference
    • Chapter 11 Infrared Test
      • Component Knowledge
        • Infrared remote
        • Infrared receiver
      • Schematic
      • Sketch
        • Code
          • Sketch_11.1_Infrared.ino
          • Code Explanation
    • Chapter 12 Bluetooth Test
      • Component Knowledge
        • Bluetooth
        • Steps of Bluetooth Communication
      • Circuit
      • Schematic
      • Sketch
        • Code
        • Connection
    • Chapter 13 Kinematic Analysis
      • Related Knowledge
        • Omni Wheels
        • Attitude Calculation of Omni-Wheeled Car
      • Circuit
      • Sketch
        • Code
          • Sketch_11.1_Kinematic_analysis.ino
          • Code Explanation
          • Reference
    • Chapter 14 Manual Control
      • Circuit
      • Sketch
        • Code
          • Sketch_12.1_Manual_Control
          • Motor.cpp
          • Interface Introduction
          • Operation Description
          • Code Explanation
          • Reference
    • Chapter 15 Free Head Mode
      • Related Knowledge
        • Digital Compass and Gyroscope Data Fusion
      • Circuit
      • Sketch
        • Code
          • Sketch_13.1_Free_head.ino
          • Angle.cpp
          • Motor.cpp
          • Interface Introduction
          • Operation Description
          • Code Explanation
          • Reference
    • Chapter 16 Lock Head Mode
      • Circuit
      • Sketch
        • Code
          • Sketch_14.1_Lock_hand.ino
          • Motor.cpp
          • Interface Introduction
          • Operation Description
          • Code Explanation
    • Chapter 17 Around Mode
      • Related Knowledge
        • Around Mode Attitude Calculating
        • Around Mode Kinematic Analysis
      • Sketch
        • Code
          • Sketch_15.1_Around_car.ino
          • Motor.cpp
          • Code Explanation
      • About Around mode
        • Interface Introduction
        • Operation Description
    • Chapter 18 Sonar Mode
      • Sonar Mode Summary
      • Circuit
      • Sketch
        • Code
          • Motor.cpp
          • Ultrasonic.cpp
          • Code Explanation
          • Reference
      • About Sonar Mode
        • Interface Introduction
        • Operation Description
    • Chapter 19 Infrared Control
      • Circuit
      • Sketch
        • Code
          • Sketch_17.1_Infrared_car.ino
          • Motor.cpp
    • Chapter 20 Bluetooth Car
      • Sketch
        • Code
          • Sketch_18.1_Bluetooth_car.ino
    • What’s next?
  • Four Wheel
    • Welcome
      • About Battery
      • Get Support and Offer Input
      • Safety and Precautions
      • About Freenove
      • Copyright
    • Raspberry Pi Pico
      • Raspberry Pi Pico
        • UART, I2C, SPI Default Pin
          • UART
          • I2C
          • SPI
      • Raspberry Pi Pico W
        • UART, I2C, SPI, Wireless Default Pin
          • UART
          • I2C
          • SPI
          • Wireless
      • Raspberry Pi Pico 2
        • UART, I2C, SPI Default Pin
          • UART
          • I2C
          • SPI
      • Car Expansion Board
      • Pin Definition of the Car Board
    • List
      • Car Expansion Board
      • Machinery Parts
      • Transmission Parts
      • Electronic Parts
      • Wires
      • Tools
      • Required but NOT Contained Parts
    • Preface
    • Freenove app
      • Install Freenove app
        • 1. Google Play Software
        • 2. Google Play Website
        • 3. Github
        • 4. iOS
      • Introduction to the APP
        • Menu
      • Hardware_Communication_Protocol
        • Supported Communication
        • Communication Command Format
        • Command Characters of FNK0097
        • Communication Protocol of FNK0097
          • CMD_MOTOR_Bluetooth = “A”
          • CMD_LED_Bluetooth = “C”
          • CMD_BUZZER_Bluetooth = “D”
          • CMD_POWER_Bluetooth = “F”
          • CMD_ULTRASONIC_Bluetooth = “E”
          • CMD_STATE_Bluetooth = “M”
          • CMD_CIRCLE_Bluetooth = “B”
    • Chapter 0 Installation of Arduino IDE
      • Arduino Software
      • Environment Configuration
      • Additional Remarks
    • Chapter 1 Car Assembly
      • Assembling the Car
        • Distinguish the top and bottom sides of the car chassis.
          • Installing Motor and Wheels
          • Battery Holder Assembly
          • Expansion Board Assembly
          • Mounting the Expansion Board to Car Chassis
          • Wires Connection
          • Installing two 18650 batteries
      • Library Installation
        • Method 1
        • Method 2
    • Chapter 2 Uploading First Sketch (LED Blink)
    • Chapter 3 Serial
      • Related Knowledge
        • Serial and parallel communication
        • Serial communication
      • Circuit
      • Sketch
        • Code
          • Reference
    • Chapter 4 Motor Test
      • 4.1 Motor
        • Related Knowledge
          • Motor
          • DRV8837
        • Schematic
        • Sketch
          • Code
          • Code Explanation
          • Reference
            • const()
      • 4.2 Motor Speed Control through PWM
        • Related Knowledge
          • Analog & Digital
          • PWM
        • Sketch
        • Code
          • Code Explanation
          • Reference
      • 4.3 TT Motor with Encoder
        • Related Knowledge
          • Gear Reduction Motor
          • How Interrupts Work
          • Hall Encoder
        • Code Knowledge
          • Encoder Value Obtaining
        • Schematic
        • Sketch
          • Code
          • Code Explanation
          • Reference
            • digitalPinToInterrupt()
    • Chapter 5 Buzzer Test
      • Related Knowledge
      • Schematic
      • Sketch
        • Code
        • Code Explanation
          • Reference
    • Chapter 6 ADC Test
      • ADC
      • Schematic
      • Sketch
        • Code
          • Code Explanation
          • Reference
    • Chapter 7 LED Test
      • Related Knowledge
      • Schematic
      • Sketch
        • Code
          • Code Explanation
          • Reference
    • Chapter 8 Gyroscope Test
      • Component Knowledge
        • I2C communication
        • MPU6050 Gyroscope
        • Zero Drift
      • Circuit
      • Schematic
        • Sketch
          • Code
          • Code Explanation
          • Reference
    • Chapter 9 Compass Test
      • Project 9.1 Compass Calibration
        • Component Knowledge
        • Circuit
        • Schematic
        • Sketch
        • Code
          • Code Explanation
      • Project 9.2 Yaw Angle Reading
        • Sketch
        • Code
    • Chapter 10 Ultrasonic Sensor Test
      • Component Knowledge
      • Circuit
      • Schematic
        • Sketch
          • Code
          • Code Explanation
          • Reference
    • Chapter 11 Infrared Test
      • Component Knowledge
        • Infrared remote
        • Infrared receiver
      • Schematic
      • Sketch
        • Code
          • Sketch_11.1_Infrared.ino
          • Code Explanation
    • Chapter 12 Bluetooth Test
      • Component Knowledge
        • Bluetooth
        • Steps of Bluetooth Communication
      • Circuit
      • Schematic
      • Sketch
        • Code
        • Connection
    • Chapter 13 Kinematic Analysis
      • Related Knowledge
        • Omni Wheels
        • Attitude Calculation of Omni-Wheeled Car
      • Circuit
      • Sketch
        • Code
          • Sketch_11.1_Kinematic_analysis.ino
          • Code Explanation
          • Reference
    • Chapter 14 Manual Control
      • Circuit
      • Sketch
        • Code
          • Sketch_12.1_Manual_Control
          • Motor.cpp
          • Interface Introduction
          • Operation Description
          • Code Explanation
          • Reference
    • Chapter 15 Free Head Mode
      • Related Knowledge
        • Digital Compass and Gyroscope Data Fusion
      • Circuit
      • Sketch
        • Code
          • Sketch_13.1_Free_head.ino
          • Angle.cpp
          • Motor.cpp
          • Interface Introduction
          • Operation Description
          • Code Explanation
          • Reference
    • Chapter 16 Lock Head Mode
      • Circuit
      • Sketch
        • Code
          • Sketch_14.1_Lock_hand.ino
          • Motor.cpp
          • Interface Introduction
          • Operation Description
          • Code Explanation
    • Chapter 17 Around Mode
      • Related Knowledge
        • Around Mode Attitude Calculating
        • Around Mode Kinematic Analysis
      • Sketch
        • Code
          • Sketch_15.1_Around_car.ino
          • Motor.cpp
          • Code Explanation
      • About Around mode
        • Interface Introduction
        • Operation Description
    • Chapter 18 Sonar Mode
      • Sonar Mode Summary
      • Circuit
      • Sketch
        • Code
          • Sketch_16.1_Ultrasonic_car.ino
          • Ultrasonic.cpp
          • Code Explanation
          • Reference
      • About Sonar Mode
        • Interface Introduction
        • Operation Description
    • Chapter 19 Infrared Control
      • Circuit
      • Sketch
        • Code
          • Sketch_17.1_Infrared_car.ino
          • Motor.cpp
    • Chapter 20 Bluetooth Car
      • Sketch
        • Code
          • Sketch_18.1_Bluetooth_car.ino
    • What’s next?
  • Product Certification
fnk0097-docs
  • Four Wheel
Previous Next

Four Wheel

Welcome

  • Welcome

Raspberry Pi Pico

  • Raspberry Pi Pico

List

  • List

Preface

  • Preface

Freenove_app

  • Freenove app

Projects

  • Chapter 0 Installation of Arduino IDE
  • Chapter 1 Car Assembly
  • Chapter 2 Uploading First Sketch (LED Blink)
  • Chapter 3 Serial
  • Chapter 4 Motor Test
  • Chapter 5 Buzzer Test
  • Chapter 6 ADC Test
  • Chapter 7 LED Test
  • Chapter 8 Gyroscope Test
  • Chapter 9 Compass Test
  • Chapter 10 Ultrasonic Sensor Test
  • Chapter 11 Infrared Test
  • Chapter 12 Bluetooth Test
  • Chapter 13 Kinematic Analysis
  • Chapter 14 Manual Control
  • Chapter 15 Free Head Mode
  • Chapter 16 Lock Head Mode
  • Chapter 17 Around Mode
  • Chapter 18 Sonar Mode
  • Chapter 19 Infrared Control
  • Chapter 20 Bluetooth Car

What's next?

  • What’s next?
Previous Next