Logo

Welcome

  • Welcome
    • Getting Started
    • Get Support and Offer Input
    • Safety and Precautions
    • About Freenove
    • Copyright

Preface

  • Preface
    • Control Board

Projects

  • 0. Getting Ready (Important)
    • Programming Software
    • Installation of Development Board Support Package
    • First Use
    • How to install the library
  • 1. Chapter LED Blink
    • 1.1. Project Control LED with Manual Button
      • 1.1.1. Component List
      • 1.1.2. Circuit Knowledge
        • 1.1.2.1. Power supply
        • 1.1.2.2. Voltage
        • 1.1.2.3. Current
        • 1.1.2.4. Resistor
      • 1.1.3. Component Knowledge
        • 1.1.3.1. Jumper
        • 1.1.3.2. Breadboard
        • 1.1.3.3. Push Button Switch
        • 1.1.3.4. LED
      • 1.1.4. Circuit
    • 1.2. Project Control LED with Control Board
      • 1.2.1. Component List
      • 1.2.2. Circuit Knowledge
        • 1.2.2.1. Analog signal and Digital signal
        • 1.2.2.2. Low level and high level
      • 1.2.3. Code Knowledge
        • 1.2.3.1. Comments
        • 1.2.3.2. Data type
        • 1.2.3.3. Constant
        • 1.2.3.4. Variable
        • 1.2.3.5. Function
      • 1.2.4. Circuit
      • 1.2.5. Sketch
        • 1.2.5.1. Sketch Control_LED_by_Control_Board
          • Reset()
    • 1.3. How to Use the Expanding GPIO Pins
  • 2. Chapter Two LEDs Blink
    • 2.1. Project Two LEDs Blink
      • 2.1.1. Component List
      • 2.1.2. Code Knowledge
        • 2.1.2.1. Parameters of function
        • 2.1.2.2. Boolean data type
        • 2.1.2.3. Logical operator
        • 2.1.2.4. Relation operator
        • 2.1.2.5. Conditional statement
      • 2.1.3. Circuit
      • 2.1.4. Sketch
        • 2.1.4.1. Sketch Two_LEDs_Blink
        • 2.1.4.2. Sketch Two_LEDs_Blink
        • 2.1.4.3. Sketch Two_LEDs_Blink
  • 3. Chapter LED Bar Graph
    • 3.1. Project LED Bar Graph Display
      • 3.1.1. Component List
      • 3.1.2. Component Knowledge
        • 3.1.2.1. LED bar graph
      • 3.1.3. Code Knowledge
        • 3.1.3.1. Array
        • 3.1.3.2. Loop
      • 3.1.4. Circuit
      • 3.1.5. Sketch
        • 3.1.5.1. Sketch LED_bar_graph_Display
        • 3.1.5.2. Sketch LED_bar_graph_Display
  • 4. Chapter LED Blink Smoothly
    • 4.1. Project LEDs Emit Different Brightness
      • 4.1.1. Component List
      • 4.1.2. Circuit Knowledge
        • 4.1.2.1. PWM
      • 4.1.3. Code Knowledge
        • 4.1.3.1. Return value of function
        • 4.1.3.2. return
      • 4.1.4. Circuit
      • 4.1.5. Sketch
        • 4.1.5.1. Sketch LEDs_Emit_Different_Brightness
          • analogWrite()
          • map()
    • 4.2. Project LED Blinking Smoothly
      • 4.2.1. Component List
      • 4.2.2. Circuit
      • 4.2.3. Sketch
        • 4.2.3.1. Sketch LED_Blink_Smoothly
  • 5. Chapter Control LED with Push Button Switch
    • 5.1. Project Control LED with Push Button Switch
      • 5.1.1. Component List
      • 5.1.2. Circuit Knowledge
        • 5.1.2.1. Connection of Push Button Switch
      • 5.1.3. Circuit
      • 5.1.4. Sketch
        • 5.1.4.1. Sketch Control_LED_Through_Push_Button
          • digitalRead()
    • 5.2. Project Change LED State with Push Button Switch
      • 5.2.1. Component List
      • 5.2.2. Circuit Knowledge
        • 5.2.2.1. Debounce a push button switch
      • 5.2.3. Circuit
      • 5.2.4. Sketch
        • 5.2.4.1. Sketch Change_LED_State_by_Push_Button
  • 6. Chapter Serial
    • 6.1. Project Send Data through Serial
      • 6.1.1. Component List
      • 6.1.2. Code Knowledge
        • 6.1.2.1. Bit and Byte
      • 6.1.3. Circuit Knowledge
        • 6.1.3.1. Serial and parallel communication
        • 6.1.3.2. Serial communication
        • 6.1.3.3. Serial port on Control board
      • 6.1.4. Circuit
      • 6.1.5. Sketch
        • 6.1.5.1. Sketch Send_data_through_Serial
    • 6.2. Project Receive Data through Serial Port
      • 6.2.1. Component List
      • 6.2.2. Code Knowledge
        • 6.2.2.1. Interrupt
      • 6.2.3. Circuit
      • 6.2.4. Sketch
        • 6.2.4.1. Sketch Receive_Data_through_Serial_Port
    • 6.3. Project Application of Serial
      • 6.3.1. Component List
      • 6.3.2. Circuit
      • 6.3.3. Sketch
        • 6.3.3.1. Sketch Application_of_Serial
          • constrain()
  • 7. Chapter Timer
    • 7.1. Project Serial print using timer
      • 7.1.1. Component List
      • 7.1.2. Code Knowledge
        • 7.1.2.1. Timer
      • 7.1.3. Circuit
      • 7.1.4. Sketch
        • 7.1.4.1. How to install the library
        • 7.1.4.2. Sketch Serial_print_using_timer
    • 7.2. Project Using timer to implement LED blinking
      • 7.2.1. Component List
      • 7.2.2. Circuit
      • 7.2.3. Sketch
        • 7.2.3.1. Sketch Using_timer_to_implement_LED_blinking
  • 8. Chapter ADC
    • 8.1. Project ADC
      • 8.1.1. Component List
      • 8.1.2. Circuit Knowledge
        • 8.1.2.1. ADC
      • 8.1.3. Component Knowledge
        • 8.1.3.1. Potentiometer
        • 8.1.3.2. Rotary potentiometer
      • 8.1.4. Circuit
      • 8.1.5. Sketch
        • 8.1.5.1. Sketch ADC
    • 8.2. Project Control LED by Potentiometer
      • 8.2.1. Component List
      • 8.2.2. Circuit
      • 8.2.3. Sketch
        • 8.2.3.1. Sketch Control_LED_by_Potentiometer
    • 8.3. Project Control LED by Potentiometer
      • 8.3.1. Component List
      • 8.3.2. Component Knowledge
        • 8.3.2.1. Photoresistor
      • 8.3.3. Circuit
      • 8.3.4. Sketch
        • 8.3.4.1. Sketch Control_LED_through_Photoresistor
  • 9. Chapter RGB LED
    • 9.1. Project Control RGB LED through Potentiometer
      • 9.1.1. Component List
      • 9.1.2. Component Knowledge
        • 9.1.2.1. RGB LED
      • 9.1.3. Circuit
      • 9.1.4. Sketch
        • 9.1.4.1. Sketch Control_RGB_LED_through_Potentiometer
    • 9.2. Project Multicolored LED
      • 9.2.1. Component List
      • 9.2.2. Circuit
      • 9.2.3. Sketch
        • 9.2.3.1. Sketch Colorful_LED
          • random()
  • 10. Chapter Buzzer
    • 10.1. Project Active Buzzer
      • 10.1.1. Component List
      • 10.1.2. Component knowledge
        • 10.1.2.1. Transistor
        • 10.1.2.2. Buzzer
      • 10.1.3. Circuit
      • 10.1.4. Sketch
        • 10.1.4.1. Sketch Active_Buzzer
    • 10.2. Project Passive Buzzer
      • 10.2.1. Component List
      • 10.2.2. Circuit
      • 10.2.3. Sketch
        • 10.2.3.1. Sketch Passive_Buzzer
          • tone()
  • 11. Chapter DAC
    • 11.1. Project DAC
      • 11.1.1. Component List
      • 11.1.2. Component Knowledge
        • 11.1.2.1. DAC
        • 11.1.2.2. Analog Output vs PWM
      • 11.1.3. Circuit
      • 11.1.4. Sketch
        • 11.1.4.1. Sketch DAC_Audio
  • 12. Chapter RTC
    • 12.1. Project RTC
      • 12.1.1. Component List
      • 12.1.2. Component Knowledge
        • 12.1.2.1. RTC
      • 12.1.3. Circuit
      • 12.1.4. Sketch
        • 12.1.4.1. Sketch RTC
  • 13. Chapter Onboard LED Matrix (WiFi Board)
    • 13.1. Project LED Matrix
      • 13.1.1. Component List
      • 13.1.2. Component Knowledge
        • 13.1.2.1. LED matrix
      • 13.1.3. Sketch
        • 13.1.3.1. Sketch LED_Matrix
    • 13.2. Project LED Matrix
      • 13.2.1. Component List
      • 13.2.2. Sketch
        • 13.2.2.1. Sketch LED_Matrix_Scrolling_Text
    • 13.3. Project Play the game with LED matrix
    • 13.4. Project LED Matrix Bounce Game
      • 13.4.1. Component List
      • 13.4.2. Circuit
      • 13.4.3. Sketch
        • 13.4.3.1. Sketch LED_Matrix_Bounce_Game
    • 13.5. Project LED Matrix Snake Game
      • 13.5.1. Component List
      • 13.5.2. Circuit
      • 13.5.3. Sketch
        • 13.5.3.1. Sketch LED_Matrix_Snake_Game
  • 14. Chapter WiFi Working Modes (WiFi Board)
    • 14.1. Project Station mode
      • 14.1.1. Component List
      • 14.1.2. Component knowledge
        • 14.1.2.1. Station mode
      • 14.1.3. Circuit
      • 14.1.4. Sketch
        • 14.1.4.1. Sketch_38.1.1
        • 14.1.4.2. Reference
    • 14.2. Project AP mode
      • 14.2.1. Component List & Circuit
      • 14.2.2. Component knowledge
        • 14.2.2.1. AP mode
      • 14.2.3. Circuit
      • 14.2.4. Sketch
        • 14.2.4.1. Sketch_38.2.1
        • 14.2.4.2. Sketch_37.2_AP_mode
  • 15. Chapter TCP/IP (WiFi Board)
    • 15.1. Project As Client
      • 15.1.1. Component List
      • 15.1.2. Component knowledge
        • 15.1.2.1. TCP connection
        • 15.1.2.2. Install Processing
        • 15.1.2.3. Use Server mode for communication
      • 15.1.3. Circuit
      • 15.1.4. Sketch
        • 15.1.4.1. Sketch_38.1_As_Client
        • 15.1.4.2. Reference
    • 15.2. Project As Server
      • 15.2.1. Component List
      • 15.2.2. Circuit
      • 15.2.3. Sketch
        • 15.2.3.1. Sketch_39.2.1
        • 15.2.3.2. Reference
  • 16. Chapter Control LED with Web (WiFi Board)
    • 16.1. Project Control the LED with Web
      • 16.1.1. Component List
      • 16.1.2. Component knowledge
        • 16.1.2.1. HTML
      • 16.1.3. Circuit
      • 16.1.4. Sketch
        • 16.1.4.1. Sketch_40.1.1
  • 17. Chapter Bluetooth (WiFi Board)
    • 17.1. Project Bluetooth Low Energy Data Passthrough
      • 17.1.1. Component List
      • 17.1.2. Component knowledge
        • 17.1.2.1. Master mode
        • 17.1.2.2. Slave mode
      • 17.1.3. Circuit
      • 17.1.4. Sketch
        • 17.1.4.1. Lightblue
    • 17.2. Project Control LED with Bluetooth
      • 17.2.1. Component List
      • 17.2.2. Circuit
      • 17.2.3. Sketch
        • 17.2.3.1. Sketch_41.2.1
  • 18. Chapter USB HID
    • 18.1. Project Mouse control
      • 18.1.1. Component List
      • 18.1.2. Component knowledge
        • 18.1.2.1. Human Interface Device (HID)
      • 18.1.3. Circuit
      • 18.1.4. Sketch
        • 18.1.4.1. Sketch_42.1.1
    • 18.2. Project Keypad Control
      • 18.2.1. Component List
      • 18.2.2. Circuit
      • 18.2.3. Sketch
        • 18.2.3.1. Sketch_42.2.1

What's next?

  • What’s Next?

Appendix

  • Appendix
    • ASCII Table
    • Resistor Color Code
fnk0095-docs
  • Freenove Basic Starter Kit for Control Board V5
Next

Freenove Basic Starter Kit for Control Board V5

FNK0095

Welcome

  • Welcome

Preface

  • Preface

Projects

  • 0. Getting Ready (Important)
  • 1. Chapter LED Blink
  • 2. Chapter Two LEDs Blink
  • 3. Chapter LED Bar Graph
  • 4. Chapter LED Blink Smoothly
  • 5. Chapter Control LED with Push Button Switch
  • 6. Chapter Serial
  • 7. Chapter Timer
  • 8. Chapter ADC
  • 9. Chapter RGB LED
  • 10. Chapter Buzzer
  • 11. Chapter DAC
  • 12. Chapter RTC
  • 13. Chapter Onboard LED Matrix (WiFi Board)
  • 14. Chapter WiFi Working Modes (WiFi Board)
  • 15. Chapter TCP/IP (WiFi Board)
  • 16. Chapter Control LED with Web (WiFi Board)
  • 17. Chapter Bluetooth (WiFi Board)
  • 18. Chapter USB HID

What's next?

  • What’s Next?

Appendix

  • Appendix
Next