top of page

Coding

Soil Moisture Sensor and Fan
Screen Shot 2018-11-18 at 8.40.09 PM.png
Range Sensor
rangeSensorCode.png
Light Sensor
18j.png

Material Research

1. HC-SR04 Ultrasonic Module (distance)

The HC-SR04 ultrasonic sensor uses sonar to determine distance to an object like bats do. It offers excellent non-contact range detection with high accuracy and stable readings in an easy-to-use package.

 

2. IR Infrared Obstacle Avoidance Sensor Module

This module is very easy to use and is often used in robots to detect objects near the sensor. These sensors have a digital output pin that outputs a signal when it detects an object. When the module detects an obstacle, the green indicator light on the board lights up. The module detects the distance 2 ~ 30cm, detection angle 35 °.

3. Temperature sensor/ MCP9808 High Accuracy I²C

The temperature sensor is used to change the voltage output depending on the temperature of the component. The voltage on the center pin changes as it gets warmer or cooler. 

Sensors Utilized

  • Light sensor: Lifting of the phone unblocks light. Sensor senses and triggers motor causing a ball to roll.

  • HC-SR04 Ultrasonic Module: Detects the position change of the ball, triggers another motor to light up the lighter

  • Humidity and Rain Detection Sensor Module: Detects the humidity change caused by water spilling and triggers the final motor to slap the user in the face

Budget Spending 

1. First Time Shop ( 11/11/2018 )

    Light Sensor.                                      $4.99

    Fan Motor Controller                        $6.99

    Ultrasonic Range Finder                   $5.99

    -------------------------------------------------------------------   Total $21.52

                                                                                             $5.38 / Each

 

2. Second Time Shop ( 11/14/2018 )

    

    Soil Moisture Sensor                      $6.99

    -------------------------------------------------------------------   Total $6.99

                                                                                             $1.75 / Each

3. Third Time Shop ( 11/18/2018 ) 

 

        Paint Stick                                 $0.98

        Super Glue Gel                        $5.97

        Handy Roll                                $2.97

        Clear Gorilla Glue                    $8.28

        Marble ball                               $9.99

    -------------------------------------------------------------------   Total $30.37

                                                                                             $7.6 / Each

4. Fourth Time Shop ( 11/25/2018 )

        

        Jenga                                        $8.77

        Rubber Bands                          $2.47

        Bouncy Ball                              $2.97

        Pong Ball                                  $1.96

        Dominos                                   $5.88s

        Red Cup                                   $1.96

        Toy Cars                                   $0.94 * 5

        Wood Sticks                            $3.84

        Balloon                                    $2.76

-------------------------------------------------------------------   Total $38.02

                                                                                         $9.5 / Each

Labor Division

Shop, material research: Group

Prototype building: Group

Constructing the final product: Group

Models(Rube Goldberg Machine parts, hand): Group

Coding: Group

We pretty much do everything together. Choice of the materials, design of the project, building the prototype and construction of the final product are all done/decided together based on group discussions and votes, and we share everything we learned on google docs. Of course we will be making different parts and components during the final construction, but there is not really an division of labor macroly. We all want to learn/experience the entire process of physical computing.

Timeline:

 

Week 6:

  • Visit local Fry’s Electronics store

  • Get a sense of what can we get at Fry’s (None of us had physical computing experiences), and make small adjustments on our project design according to the budget

  • Start building prototypes with Arduino

 

Week 7:

  • Shop at Fry’s, get materials according to the adjustments made upon the first visit. Spend about ¾ of the Budget.

  • Test the materials we bought, if our design is valid

  • Start building and testing small components of the Rube Goldberg machine.

  • Make final adjustments on the materials we need

 

Week 8:

  • Final Shop at Fry’s. Spend the rest of the budget

  • Start building the project.

 

Week 9, 10:

  • Finalizing the project.

  • Consult with Nathan

bottom of page