In this activity you will learn about Internet Firewalls and how they can help keep us safe when browsing online. Then you will use your littleBits accessories to model a firewall designed to allow your trusted web traffic (your Sphero robot) to reach its destination.
Sphero RVR
Chromebook or iPad with Sphero EDU installed
littleBits RVR+ Topper Kit
notebook paper - 3 pieces
More likely than not, you've gotten the message Website Blocked when browsing the internet on the school network.
Which websites were blocked? Why do you think they were blocked?
Who blocked the website? How did they block it?
Do you think this site was blocked individually or as part of a category of websites?
While the message can be frustrating, school districts use firewalls to set up content filters and keep their students safe online. In this activity, you'll learn all about firewalls and create a model of network traffic encountering a firewall with your RVR+ and littleBits RVR+ Topper Kit.
Get three pieces of paper.
Label them: public internet, router, and computing device.
Lay them in a line on the floor, with about five feet of space between each piece of paper.
Place your RVR+ on the public internet aimed toward the router.
Assemble the littleBits circuit: battery + wire p7 power w1 wire i8 proximity sensor w1 wire o11 server (in turn mode).
Attach the littleBits Mechanical Arm to the servo Bit.
Attach the circuit to the small mounting board as shown in the image below. You can use a twist tie to secure the proximity sensor to the mounting board so that it is facing outwards.
Place the circuit on the piece of paper that you've labeled Router.
Test the circuit with your finger. The gate should open when your finger gets close to the sensor on the proximity sensor bit.
Program RVR+s path through the littleBits firewall model. RVR+ should drive up to the firewall, then stop. When the firewall opens, RVR+ should pass through. The firewall gate will close behind it.
Test and debug your program until you have it working.
You may have thought that the gate is kind of like a firewall because it opens and closes. But you may have also noticed that it lets all internet traffic into the network. Real content filtering firewalls analyze where every internet packet is coming from and going to. If these are approved, the packet is directed to its destination. If not approved, the packet is dropped, or turned away. In this step, you'll modify your littleBits firewall to better model the analysis of an incoming packet.
Swap out the proximity sensor for the i7 remote trigger and latch in your littleBits circuit: battery + wire p7 power w1 wire i7 remote trigger w8 latch w1 wire o11 servo.
Reattach the circuit to the mounting board.
Place the circuit on or next to the piece of paper that you've labeled Router.
Program RVR+s path through the littleBits firewall model with the remote trigger.
RVR+ should drive up to the gate, then stop.
RVR+ should send an IR message to the littleBits circuit. Look for these blocks in the communication's category of the Block Library.
When the gate opens, RVR+ should pass through.
After passing through, RVR+ should close the gate by sending another IR message.
Test and debug your program.