1 of 10

Learning Module #7:

MindFlex

Sam & Gabby

2 of 10

Initial Goals

  • Make sure MindFlex is working and connect it with Arduino
  • Code a blinking LED program → advance this with several LEDs
  • Manipulate the “talking fish” to sing or move in response to the level of the MindFlex’s attention value.

3 of 10

Problems

  • Syntax errors: “Port busy”
  • Serial Monitor printing only 0
  • Old/dead batteries
  • Eliminating the program’s LED variable → caused the serial to print the same values over and over again

4 of 10

5 of 10

Accomplishments

  • Improved the MindFlex by resoldering wires & fixed the wiring configuration to allow the cover to be sealed up.
  • Successfully got the BrainBlinker program to work
  • Manipulated this program further to turn the LED on and off, instead of blinking.
  • Added 4 more LEDs to this program, getting them to turn on at intervals.

6 of 10

7 of 10

What did we learn?

  • Troubleshooting with a new device → remain optimistic and try many different ways
  • Patience & persistence with coding and programming
  • A project is never fully finished and can always be advanced; always making changes and constantly trying to improve something will yield great results

8 of 10

9 of 10

Summary

  • Done differently

-Set more time aside to work with fish or robot

-Make sure batteries are charged

  • Advice for peers

-Don’t get discouraged by errors → keep trying!

-Have one person troubleshooting while the other is researching errors

  • Overall, this was a productive module that taught us a lot! We enjoyed learning the basics of how the MindFlex works.

10 of 10

Trying out our program in person!