Final Project: Beach Clean Up!

#Plastic is choking our planet. Plastic is everywhere and it is harmful to ecosystems, people and wildlife. A crisis that needs to be stopped now. #Stop_PlasticPollution #Mogadishu #Somalia @HarunMaruf @HodanTV @mrbidhaan @A_Addow pic.twitter.com/l6WI55fd4v

— Abdulrahman Jamac (@jubbajama14) March 8, 2019

We love this plastic clean up initiative! Congratulations the #Mogadishu community for smart and fun thinking. Cleaning up beaches could boost our economies in addition to preserving natural treasures and animal habitats #BeatPlasticPollution #CleanPlanetHealthyPeople  #Somalia pic.twitter.com/y9Uov9v7Ap

— African Solution (@CompanyAfrican) February 13, 2019

I orginally planned to do excute a ping pong game for my final project, but I immediately switched gears when I viewed a couple tweets similar to the ones provided above. Coming from a Somali background, with both my parents being born in Mogadishu, I felt strongly tied to creating a design system that would help raise awareness about the urgent pollution issue going on in Mogadishu, Somalia right now.

Project Concept:

Project Concept

For the background image, I wanted to use a picture of Lido Beach in Mogadishu but all of those images were crowded with people and at bad angles. So I decided to go with a shot of Jazeera , which is another beach nearby. For my pollution icon, I chose to go with the image of a soda can outline because I felt like it was not only the most common but also a relatble item found on the beaches and in the ocean.

Demo:

Demo Video

In this demo, I am controlling the grey star using a joystick to move it in the bounds of the pollution item. Once the grey star is inside the soda can's bounds then a button (button is pressed for this demo) is pressed to remove the item. Once the item is removed, the computer sends a signal to the arduino to shift the servo motor to the "clean" side.

System Diagram:

System Diagram

The components below are all included in the build of materials for this project:

Primary Components

  • joystick
  • button
  • servo motor
  • arduino uno
  • p5.js
  • serial
  • Secondary Components
  • bunch of wires
  • 1k ohm resistor
  • usb connector
  • power supply
  • old makeup box for system diagram
  • Schematic:

    Schematic

    Arduino Code:

    Arduino Code

    p5.js Code:

    p5.js code part 1

    p5.js code part 1