DUE Script Lessons

These lessons cover DUE Script. Before starting the lessons, the BrainPad must be connected and loaded with the right firmware. All instructions are found on the DUE Script main page.

Coding Basics

In this section, we will learn about the basics of DUE Script coding. We will slightly use the BrainPad but it is mostly about language syntax.

Coding BasicsDescription
Coding IntroIn the overview introduction to DUE Scripts
VariablesLearn about how variables work and what kinds there are.
LoopsLesson on the various kinds of loops used in programming.
Flow ControlConditional statement lessons. How computers decide.
OperatorsSymbols that help us mathematically and with logic checks.
FunctionsIn this lesson, we learn about functions and how to pass arguments and return values.
Built-in FunctionsIt shows what functions are built right into the BrainPad.
DrawingLessons covering everything needed to use the display.
Recording VS Immediate Lesson to explain the difference between DUE modes

Use the BrainBot accessory to learn about robotics. See the AI section for more lessons that use the BrainBot.

Robotics LessonDescription
BrainBot AssemblyInstructions on assembling and charging the robot.
BrainBot IntroBasic info and setting up the coding environment.
BrainBot DanceBringing your BrainBot to life.
BrainBot FlashyUsing the onboard Headlights and Taillights.

Nothing is more fun than making your games. The BrainPad Pulse is everything you need to start, but the BrainGamer allows you to build more interesting games. Oh! And the BrainGamer has a rechargeable battery.

Game LessonDescription
Gaming IntroAn intro to gaming with a simple game that is less than 50 lines of code.
Gaming BrixBuild a more advanced game that uses arrays.
BrainGamer LessonDescription
BrainGamer AssemblyAssembling BrainGamer.
BrainGamer IntroIntro to the BrainGamer.
BrainGamer PongCreating the classic game step-by-step.

Learning about circuits and programming modules to work with the BrainPad brings a whole new meaning to the idea of coding something physical and real. BrainPower, BrainTronics, BrainClip, and BrainSence kits take advantage of this.

Physical Computing
In ➤ Proc ➤ OutPhysical computing and how “things” connect to a computer (processor).
DigitalDigital Signals, how they work, and why.
AnalogAnalog Signals, how they work, and why.
ButtonHow buttons are used to control things.
SoundGenerating sounds from simple beeps and alarms to playing a song.
ServoServo motors, what types there are, and how to use them.
FrequencyUsing hardware-controlled frequency.
NeopixelControlling NeoPixel LEDs.
DistanceWhat are distance sensors? How and what are they used for?
InfraredWhat is infrared and how can I use it?
TouchYour body is conductive and the BrainPad can use it to control things.
I2C BusI2C is a serial protocol that chips can use to talk to each other.
SPI BusSPI is a serial protocol that chips can use to talk to each other.
Temp & HumidityDHTs are common temperature and humidity sensors
BrainPower LessonDescription
BrainPower AssemblyAssembling the BrainPower pack.
BrainPower IntroBasic info and setting it up for coding.
Countdown TimerNever forget about the pizza in the oven again, thanks to this countdown timer!
Analog WatchGive the watch a “face” and turn it into an analog watch.
BrainClip LessonDescription
BrainClip IntroGet started on understanding the use of alligator wire clips and how modules connect to the BrainPad.
BrainClip ModulesCovers individual modules and their use.
BrainTronics LessonDescription
BrainTronics IntroAn intro lesson showing how components plug and work in breadboards.
BrainSense LessonDescription
BrainSense IntroAn intro lesson showing how components plug and work in breadboards.
BrainSense ModulesCovers individual modules and their use.
BrainSense DemoDemos testing all sensors and modules
BrainSense with RaveDemos showcasing a colorful, dynamic, and advanced dashboard.

The artificial intelligence lessons may use some of the accessories.

Robotics LessonDescription
Math ArtWe will create an AI artist using random numbers.
BrainBot CollisionGet the BrainBot to avoid collision using the onboard distance sensor.
BrainBot AutonomousMaking the BrainBot follow a specific path using the ground sensor.
Content Licensing

Twitter Feed
Hot off the press!