The SparkFun RedBoard is an Arduino-compatible development board that serves as an excellent platform for hobbyists, educators, and professionals to explore the world of electronics. It is designed to be as easy to use as possible, making it ideal for educational purposes and for those new to electronics and programming. The RedBoard can be used for a wide range of applications, from simple LED light shows to complex robotics projects.
Pin Number | Function | Description |
---|---|---|
1 | RESET | Resets the microcontroller |
2-13 | Digital I/O | Digital input/output pins |
A0-A5 | Analog Input | Analog input pins |
3, 5, 6, 9, 10, 11 | PWM Output | Pins capable of providing PWM output |
AREF | Analog Reference | Reference voltage for the analog inputs |
GND | Ground | Ground pin |
RST | Reset | Reset pin, active low |
5V | 5V Power | Regulated power supply for the board and components |
3.3V | 3.3V Power | Regulated power supply for low voltage components |
VIN | Voltage Input | Unregulated input voltage to the board |
Tools > Board
and select "Arduino UNO" as the board type, since the RedBoard is compatible with UNO.Tools > Port
and select the port that corresponds to the RedBoard.Here is a simple example of how to blink an LED connected to pin 13 of the RedBoard:
// The setup function runs once when you press reset or power the board
void setup() {
// Initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}
// The loop function runs over and over again forever
void loop() {
digitalWrite(13, HIGH); // Turn the LED on (HIGH is the voltage level)
delay(1000); // Wait for a second
digitalWrite(13, LOW); // Turn the LED off by making the voltage LOW
delay(1000); // Wait for a second
}
Q: Can I use the RedBoard with Arduino shields? A: Yes, the RedBoard is compatible with most Arduino UNO shields.
Q: What is the difference between the RedBoard and the Arduino UNO? A: The RedBoard is functionally similar to the Arduino UNO but may have differences in layout and USB-to-serial chips.
Q: How do I reset the RedBoard? A: You can reset the RedBoard by pressing the onboard reset button or by connecting the RESET pin to GND briefly.
For further assistance, consult the SparkFun RedBoard forums and the extensive online community resources.