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 Basics Description Coding Intro In the overview introduction to DUE Scripts Variables Learn about how variables work and what kinds there are. Loops Lesson on the various kinds of loops used in programming. Flow Control Conditional statement lessons. How computers decide. Operators Symbols that help us mathematically and with logic checks. Functions In this lesson, we learn about functions and how to pass arguments and return values. Built-in Functions It shows what functions are built right into the BrainPad. Drawing Lessons 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.
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 Lesson Description Gaming Intro An intro to gaming with a simple game that is less than 50 lines of code. Gaming Brix Build a more advanced game that uses arrays.
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 Lesson Description In ➤ Proc ➤ Out Physical computing and how “things” connect to a computer (processor). Digital Digital Signals, how they work, and why. Analog Analog Signals, how they work, and why. Button How buttons are used to control things. Sound Generating sounds from simple beeps and alarms to playing a song. Servo Servo motors, what types there are, and how to use them. Frequency Using hardware-controlled frequency. Neopixel Controlling NeoPixel LEDs. Distance What are distance sensors? How and what are they used for? Infrared What is infrared and how can I use it? Touch Your body is conductive and the BrainPad can use it to control things. I2C Bus I2C is a serial protocol that chips can use to talk to each other. SPI Bus SPI is a serial protocol that chips can use to talk to each other. Temp & Humidity DHTs are common temperature and humidity sensors
BrainClip Lesson Description BrainClip Intro Get started on understanding the use of alligator wire clips and how modules connect to the BrainPad. BrainClip Modules Covers individual modules and their use.
BrainTronics Lesson Description BrainTronics Intro An intro lesson showing how components plug and work in breadboards.
The artificial intelligence lessons may use some of the accessories.
Robotics Lesson Description Math Art We will create an AI artist using random numbers. BrainBot Collision Get the BrainBot to avoid collision using the onboard distance sensor. BrainBot Autonomous Making the BrainBot follow a specific path using the ground sensor.