Getting Started With Sparkfun RedBoard Qwiic

Getting Started With Sparkfun RedBoard Qwiic

 

Introduction

In this tutorial we shall see how to get started with Sparkfun RedBoard Qwiic. So what is RedBoard Qwiic? RedBoard Qwiic is an Arduino-compatible development board that uses a few of the features that we have loved about Arduinos of the past while also incorporating a few key improvements over the original RedBoard. The best part about the RedBoard Qwiic is that it utilizes the handy Qwiic Connect System which means no soldering or shields are required to connect it to the rest of the system.

On top of that, there are few additions that make the Sparkfun Redboard Qwiic unique. With the improved AP112 voltage regulator, this RedBoard gains a more robust 3.3V regulator that provides it more power to daisy chain multiple Qwiic boards ans sensors, sourcing up to 600mA current.

 

Video

Hardware Preparation

The hardware that we will need for this tutorial is the Sparkfun RedBoard Qwiic.

 

Setting Up The Arduino IDE

The steps to setup the Arduino IDE is as shown in the figure below

  1. First we open the Arduino IDE.
p1 1

2. Next we choose the Arduino Uno board.

 

p2

3. And finally we choose the correct port. In my case the port is COM4

 

p3

Now we are ready to program our RedBoard

Code

The example we use for this tutorial is the blink example.

 

p5

 

p4
/*
  Blink

  Turns an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
  it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
  the correct LED pin independent of which board is used.
  If you want to know what pin the on-board LED is connected to on your Arduino
  model, check the Technical Specs of your board at:
  https://www.arduino.cc/en/Main/Products

  modified 8 May 2014
  by Scott Fitzgerald
  modified 2 Sep 2016
  by Arturo Guadalupi
  modified 8 Sep 2016
  by Colby Newman

  This example code is in the public domain.

  https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink
*/

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Outcome

That's about the tutorial on getting started with Sparkfun RedBoard Qwiic. In the upcoming tutorial we shall how to use the Qwiic.

Thank you.

output

 

Thank You

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."