Makerspace
Learn
Teach
Make a Makerspace
About
CPX Robotics with MakeCode
Intro to CPX Robotics with MakeCode
Robotics
Level 3
1 ) Introduction to MakeCode Raspberry Pi and CPX
MakeCode Robotics Overview
Overview of CPX Features
Overview of Adafruit Makecode Interface
Device Setup
Raspberry Pi Setup
CPX Microchip Setup
Quick Start Example - Red Light
Setup Instructions - Download
2 ) Variables and Logic Blocks
Variables
Example (live intro by instructor)
Variables Example
Variables Exercise #1
Variables Exercise #1 - Solution
Variables Exercise #2
Variables Exercise #2 - Solution
Logic Blocks
Logic Block Example
Logic Block Exercise #1
Logic Blocks Exercise #1 - Solution
Logic Block Exercise #2
3 ) Loops and Temp
4 ) Infrared
IR Transmitter and Receiver
Infrared in MakeCode
Infrared Example # 1
Tips
Infrared Exercise #2 (Laser Tag)
5 ) Crickit
What are Crickit microchips?
Crickit Example
Crickit Exercise #1
6 ) Robot Assembly
Assembly Video
Attach Motors
Robot Assembly – Attaching CPX to Crickit
Robot Assembly – Attaching CPX / Crickit to Robot Body
Robot Assembly – Attaching motor wires and power supply
Infrared Remote Assembly
Final Code
7 ) Functions
Creating Functions
Defining and Calling Functions