Lesson 07 – Ardublock Line Sensors

A quick guide to Ardublock
for both Windows and Mac

Introduction
In this lesson we will introduce the black line sensors located underneath the robot. These sensors will light up if they see a black line below them. These sensors allow us to create a program that will have the robot follow black tape along the ground. Creating a line following program is something we will do in an advanced challenge.

Concepts learned
– Black line sensors

Instructions
1. Watch the video here:  https://youtu.be/Grl2PQWTbMM
2. Follow along do as shown in the video.

The ArduBlock lessons are provided as-is, courtesy of FRC Team 4678, the CyberCavs.

Lesson 06 – Ardublock Servo Motor

A quick guide to Ardublock
for both Windows and Mac

Introduction
In this lesson we will introduce the servo motor. The servo motor will allow for precise positioning of the ultrasonic sensor.

Concepts learned
– Servo Motor

Instructions
1. Watch the video here:  https://youtu.be/zKOBkmphGpI
2. Follow along do as shown in the video.

The ArduBlock lessons are provided as-is, courtesy of FRC Team 4678, the CyberCavs.

Lesson 05 – Ardublock Ultrasonic Sensor

A quick guide to Ardublock
for both Windows and Mac

Introduction
In this lesson we will introduce the concept and inner workings of the Ultrasonic sensor. The ultrasonic sensor uses sound waves to determine distances. This lesson will have you reading the distance using the sensor and outputting that values to a console.

Concepts learned
– Ultrasonic sensors

Instructions
1. Watch the video here:  https://youtu.be/ABQMm-mVEGw
2. Follow along do as shown in the video.

The ArduBlock lessons are provided as-is, courtesy of FRC Team 4678, the CyberCavs.

Lesson 04 – Ardublock Make the Robot Move

A quick guide to Ardublock
for both Windows and Mac

Introduction
In this lesson we will use functions that have been pre-made by a mentor to make the robot move. The functions named Forward, Reverse, TurnLeft and TurnRight will be provided.

Concepts learned
– Functions

Instructions

  1. Download the MoveCode.apb
  2. Open that file in ArduBlock
  3. Watch the video here: https://youtu.be/HMwunI3EdHQ
  4. Follow along do as shown in the video

The ArduBlock lessons are provided as-is, courtesy of FRC Team 4678, the CyberCavs.

Lesson 03 – Ardublock Counting to 10 using ifs

A quick guide to Ardublock
for both Windows and Mac

Introduction
In this lesson we will complete the same exercise as Lesson 2. However this time we will use the main loop in the “Program” block along with a logical “If” statement to count to 10 rather than using the “Repeat” block.

Concepts learned
– Loops
– If Statements

Instructions
1. Watch the video here: https://youtu.be/8BpM7u9GNfw
2. Follow along do as shown in the video.

The ArduBlock lessons are provided as-is, courtesy of FRC Team 4678, the CyberCavs.

Lesson 02 – Ardublock Basic Program

A quick guide to Ardublock
for both Windows and Mac

Introduction
In this lesson we will be going over the basics of how to program the Elegoo kit with the ArduBlock interface that was installed in lesson 1.

We will go over how to make a program that simply counts from 0 to 10 and displays those numbers.

Concepts learned
– Variables
– Loops
– Serial Output

Instructions
1. Watch the video here: https://youtu.be/oSoZyMuGqw4
2. Follow along do as shown in the video.

The ArduBlock lessons are provided as-is, courtesy of FRC Team 4678, the CyberCavs.