Preparing Hardware

Before executing the demo program, make sure you prepare the following:

Table 1. Hardware Preparation
Type M/O* Item Notes
General M VisionFive 2 Board -
General M
  • 32 GB (or more) micro-SD card
  • Micro-SD card reader
  • Computer (Windows/Mac OS/Linux)
  • USB to serial converter (3.3 V I/O)
  • Ethernet cable
  • Power adapter (5 V / 3 A)
  • USB Type-C Cable
These items are used for flashing Fedora OS into a micro-SD card.
GPIO Demo (PWM) M
  • An LED
  • A Breadboard
  • Two Male-Female jumper wires
  • 470 Ω color ring resistor
  • LED stands for Light Emitting Diode, and glows when electricity is passed through it. The longer leg (known as the ‘anode’), is always connected to the positive supply of the circuit. The shorter leg (known as the ‘cathode’) is connected to the negative side of the power supply, known as ‘ground’.
  • Breadboard: Refer to Breadboard Introduction.
  • Resistor: Resistors are a way of limiting the amount of electricity going through a circuit; specifically, they limit the amount of ‘current’ that is allowed to flow.
Note: *: M: Mandatory, O: Optional

Breadboard Introduction

The breadboard is a way of connecting electronic components to each other without having to solder them together. They are often used to test a circuit design before creating a Printed Circuit Board (PCB). As shown in the following figure, there are two lines at the top and the bottom respectively of the breadboard. These two lines are used for power connection: the blue line is for negative and the red line is for positive. Besides, they are divided into two sections, and the holes in each section are connected.

In each column (from A to E, and F to J), holes are connected electrically. In each row (from 1 to 57), holes are not connected.

Figure 1. Breadboard Overview