ISurfboard

The iSurf board is a smart, connected surf board helping users improve their surf skills based on automation and collected user data. Today we will be building the pressure sensors in the Surfboard

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Shopping List ( Parts and Tools )

For the iSurf board you will need the following things :

Parts :

- Node MCU or ( preferably) an esp32

- Lego mindstormer parts or Lego technic parts

- A few wires

- 6 piezo sensors

Tools :

- Soldering Iron

- Solder

- Solder Wick

- Hot glue gun

- Rubber bands

Software :

- Arduino

Step 2: Step 2 : Testing the Circuit

1) Take the cast of each piezo sensor and pair them in groups of two.

2) Connect the black wires of the piezo sensors of each group.

You now have 3 groups of 2 piezo sensors with 2 red wires and 1 black wire as output/ input.

3) Connect the black wires with the Node MCU's ground pins.

4) Connect each red wire with the Node MCU's D1 - D6 pins.

Test the circuit by running a simple test code :

// State-ing Serial is on 115200.<br>void setup() {  <br>   Serial.begin(115200);   
}<br>
void loop() {
   for ( i = 0; i < 6; i ++){
      if ( analogRead(i) > 0 ){
         serial.printIn("Woohoo the sensor works") l
      } else {
         serial.printIn("Nope, sensor"+ i +"isn't working correctly" );
      }
   }
}

Step 3: Step 3 : Create the Surfboard Frame

1) Make a beautiful wireframe out of lego Minestorm piece's. ( Keep in mind to leave a little bit of room for the wires ).

Step 4: Step 4 : Combining Everything

1) Hot glue the piezo sensors onto the wireframe.

2) Connect the wires just as shown in step 1.

3) Attach the Node MCU and connect using WIFi or USB.

4) Upload the code to your Node MCU and your all set of a test run of the prototype!

Code :

void setup() {<br>  Serial.begin(115200);
  
}<br><br>void loop(){
   int TopLeft = analogRead(D1);
   int TopRight = analogRead(D2);

}

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    Discussions