Our first week involved setting up a simple ultrasonic project to which we added a sound application using a peizo.
Matt, Rose, Tessa, Beka and Aaron all chipped in on our first week.
Arduino UNO R3 or compatible board (We are using Sparkfun Redboards)
One (1) HC-SR04 Ultrasonic Sensor
One (1) Red LED
One (1) Green LED
Two (2) 220 ohm Resistors
Half Breadboard (300 pin)
Male/Male hookup wires
Using our Ultrasonic we were able to measure distance and make a light and sound component activate on our project. This will be the backbone of our obstacle sensing robot.
The code this week introduced us to the "if then" loop.
In natural language the code says:
Create a variable called "distance"
Take a reading on the ultrasonic and make this reading the value for "distance."
If the value for "distance" is less that 10, flash the light and make a sound. Otherwise flash the other light and make a sound.
A good little introduction to the ultrasonic sensor can be found here.
Lets Build a Robot / Robot Boot Camp
School Holidays saw us offer a two hour "build a robot" program. The robot we created used an ultrasonic sensor and two 360° servos to wander around avoiding obstacles. The kids learned basic electronics concepts such as circuits, wiring, testing and coding.
We used a variety of places to source parts, including:
if you are unsure about purchasing any item, please contact us and we will see what we can do to assist.
3D printed materials with full credit to StartRobot at Thingiverse
If you do not have access to a 3D printer feel free to contact us we may be able to assist.
Mblock programming (Software Available at http://www.mblock.cc/)
Test Code using Arduino software : Ultrasonics and Servos
Welcome to Code Redlands
Code Redlands is a coding and robotics program dedicated to creating a an environment where we can explore, learn and create. With Digital Literacy a new focus for the future, we want to augment digital literacy skills by offering space, technology, and facilitators. We hope to equip the next generations of Queenslanders with STEAM (Science Technology, Engineering, Art & Mathematics) skills to find their own place in an increasingly digital world.
Redland Libraries offer School Holiday Activities throughout the year for children aged 8 and above.