Logo

FNK0072

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

Preface

  • Preface

Micro:bit

  • Micro:bit
    • Meet micro:bit
    • Features
    • Hardware
      • GPIO

Micro:bit GPIO Extension Board

  • Micro:bit GPIO Extension Board
    • Hardware and Feature
    • How to use?

Code & Programming

  • Code & Programming
    • Quick Start
      • Step 1: Connecting Micro:bit
      • Step 2: Write Program
      • Step 3: Flashing Code to your Micro:bit
      • Step 4: Run the Program
      • Warning
    • MakeCode
    • Quick Download
      • Pair device
    • Import Code
    • Python
      • Mu
      • Import necessary Python file into micro:bit

Projects

  • 1. Chapter LED matrix
    • 1.1. Project Heartbeat
      • 1.1.1. Component List
      • 1.1.2. Circuit
      • 1.1.3. Block code
        • 1.1.3.1. Reference
      • 1.1.4. Python Code
        • 1.1.4.1. Reference
          • display.show()
          • sleep()
    • 1.2. Project Displaying Number
      • 1.2.1. Circuit
      • 1.2.2. Block code
        • 1.2.2.1. Reference
      • 1.2.3. Python code
        • 1.2.3.1. Reference
          • display.scroll()
    • 1.3. Project Displaying Text
      • 1.3.1. Circuit
      • 1.3.2. Block code
        • 1.3.2.1. Reference
      • 1.3.3. Python code
    • 1.4. Project Displaying Custom
      • 1.4.1. Circuit
      • 1.4.2. Block code
        • 1.4.2.1. Reference
      • 1.4.3. Python code
        • 1.4.3.1. Reference
  • 2. Built-in Button
    • 2.1. Project Button A and B
      • 2.1.1. Circuit
      • 2.1.2. Block code
        • 2.1.2.1. Reference
      • 2.1.3. Python code
        • 2.1.3.1. Reference
          • is_pressed()
  • 3. Chapter LED
    • 3.1. Project Blink
      • 3.1.1. Component List
      • 3.1.2. Circuit Knowledge
        • 3.1.2.1. Current
        • 3.1.2.2. Resistor
        • 3.1.2.3. Analog signal and Digital signal
        • 3.1.2.4. Low level and high level
        • 3.1.2.5. Jumper
        • 3.1.2.6. Breadboard
        • 3.1.2.7. LED
      • 3.1.3. Circuit
      • 3.1.4. Block code
        • 3.1.4.1. Reference
      • 3.1.5. Python code
        • 3.1.5.1. Reference
          • pin.write_digital()
  • 4. Chapter Button and LED
    • 4.1. Project Control LED by Button
      • 4.1.1. Component List
      • 4.1.2. Circuit knowledge
        • 4.1.2.1. Connection of Push Button Switch
      • 4.1.3. Circuit
      • 4.1.4. Block code
        • 4.1.4.1. Reference
      • 4.1.5. Python code
        • 4.1.5.1. Reference
          • pin.read_digital()
    • 4.2. Project Table Lamp
      • 4.2.1. Component list
      • 4.2.2. Circuit knowledge
        • 4.2.2.1. Debounce for Push Button
      • 4.2.3. Circuit
        • 4.2.3.1. Reference
      • 4.2.4. Python code
  • 5. Chapter LED Bar Graph
    • 5.1. Project Flowing Light
      • 5.1.1. Component List
      • 5.1.2. Component knowledge
        • 5.1.2.1. LED Bar Graph
      • 5.1.3. Circuit
      • 5.1.4. Block code
        • 5.1.4.1. Reference
      • 5.1.5. Python code
        • 5.1.5.1. Reference
          • display.off()
  • 6. Chapter PWM
    • 6.1. Project Breathing Light
      • 6.1.1. Component list
      • 6.1.2. Circuit knowledge
        • 6.1.2.1. PWM
      • 6.1.3. Circuit
      • 6.1.4. Block code
        • 6.1.4.1. Reference
      • 6.1.5. Python code
        • 6.1.5.1. Reference
          • pin.write_analog()
  • 7. Chapter RGBLED
    • 7.1. Project Breathing Light
      • 7.1.1. Component list
      • 7.1.2. Component knowledge
        • 7.1.2.1. RGB LED
      • 7.1.3. Circuit
      • 7.1.4. Block code
        • 7.1.4.1. Reference
        • 7.1.4.2. Python code
        • 7.1.4.3. Reference
          • map()
    • 7.2. Project Multicolored Light
      • 7.2.1. Component list
      • 7.2.2. HSL color
      • 7.2.3. Circuit
      • 7.2.4. Block code
        • 7.2.4.1. Reference
        • 7.2.4.2. Extensions
      • 7.2.5. Python code
        • 7.2.5.1. Reference
          • HSL_RGB()
  • 8. Chapter Buzzer
    • 8.1. Component knowledge
      • 8.1.1. Transistor
      • 8.1.2. Buzzer
    • 8.2. Project Active Buzzer
      • 8.2.1. Component list
      • 8.2.2. Circuit
      • 8.2.3. Block code
      • 8.2.4. Python code
    • 8.3. Project Happy Birthday Melody
      • 8.3.1. Component list
      • 8.3.2. Circuit
      • 8.3.3. Block code
        • 8.3.3.1. Reference
      • 8.3.4. Python code
        • 8.3.4.1. Reference
          • music.play()
    • 8.4. Project Custom Melody
      • 8.4.1. Component list
      • 8.4.2. Circuit
      • 8.4.3. Block code
      • 8.4.4. Python code
  • 9. Chapter Serial Communication
    • 9.1. Project Display the Data
      • 9.1.1. Component list
      • 9.1.2. Circuit
        • 9.1.2.1. Reference
      • 9.1.3. Python code
        • 9.1.3.1. Reference
          • uart.write()
  • 10. Chapter Magnetometer
    • 10.1. Project Display Magnetometer Data
      • 10.1.1. Component list
      • 10.1.2. Circuit
      • 10.1.3. Block code
        • 10.1.3.1. Reference
      • 10.1.4. Python code
        • 10.1.4.1. Reference
          • compass.calibrate()
          • compass.heading()
    • 10.2. Project Electronic Compass
      • 10.2.1. Component list
      • 10.2.2. Circuit
      • 10.2.3. Block code
        • 10.2.3.1. Reference
      • 10.2.4. Python code
  • 11. Chapter Accelerometer
    • 11.1. Project Display Accelerometer Data
      • 11.1.1. Component list
      • 11.1.2. Circuit
      • 11.1.3. Block code
        • 11.1.3.1. Reference
      • 11.1.4. Python code
        • 11.1.4.1. Reference
          • accelerometer.get_values()
    • 11.2. Project Gradiometer
      • 11.2.1. Component list
      • 11.2.2. Circuit
      • 11.2.3. Block code
        • 11.2.3.1. Reference
      • 11.2.4. Python code
        • 11.2.4.1. Reference
          • display.clear()
          • display.set_pixel()
          • accelerometer.get_x()
          • accelerometer.get_y()
  • 12. Chapter Potentiometer
    • 12.1. Project Potentiometer
      • 12.1.1. Component list
      • 12.1.2. Component knowledge
        • 12.1.2.1. ADC
        • 12.1.2.2. Potentiometer
        • 12.1.2.3. Rotary potentiometer
      • 12.1.3. Circuit
      • 12.1.4. Block code
        • 12.1.4.1. Reference
      • 12.1.5. Python code
        • 12.1.5.1. Reference
          • read_analog()
          • print()
  • 13. Chapter Potentiometer and LED
    • 13.1. Project Soft Light
      • 13.1.1. Component list
      • 13.1.2. Circuit
      • 13.1.3. Block code
      • 13.1.4. Python code
    • 13.2. Project Multicolored Soft Light
      • 13.2.1. Component list
      • 13.2.2. Circuit
      • 13.2.3. Block code
      • 13.2.4. Python code
  • 14. Chapter Light Sensor
    • 14.1. Project Built-in Light Sensor
      • 14.1.1. Component list
      • 14.1.2. Component knowledge
        • 14.1.2.1. Light sensor
      • 14.1.3. Circuit
      • 14.1.4. Block code
        • 14.1.4.1. Reference
      • 14.1.5. Python code
        • 14.1.5.1. Reference
          • display.read_light_level()
  • 15. Chapter Temperature Sensor
    • 15.1. Project Built-in Temperature Sensor
      • 15.1.1. Component list
      • 15.1.2. Circuit
      • 15.1.3. Block code
        • 15.1.3.1. Reference
      • 15.1.4. Python code
        • 15.1.4.1. Reference
          • temperature()
          • display.scroll()
    • 15.2. Project Thermistor
      • 15.2.1. Component list
      • 15.2.2. Component knowledge
        • 15.2.2.1. Thermistor
      • 15.2.3. Circuit
      • 15.2.4. Block code
        • 15.2.4.1. Reference
        • 15.2.4.2. Extensions
      • 15.2.5. Python code

What's next?

  • What’s Next?
fnk0072-docs
  • Search