Things used in this project

Hardware components:
Pancake Vibrating 12mm Flat Motor
×1
Adafruit Metro Mini
×1
BraiNet Placement Cap
×1
Adafruit JST-PH 2-Pin SMT Right Angle Breakout Board
×1
Adafruit JST-PH Battery Extension Cable - 500mm
×1
Adafruit Perma-Proto Half-sized Breadboard PCB - Single
×1
Tens70
9V battery (generic)
×1
Keystone 233 image 75px
9V Battery Clip
×1
Software apps and online services:
Ide web
Arduino IDE
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)
Hy gluegun
Hot glue gun (generic)

Schematics

Schematics
Scalp Massager
Scalpmassager kcdhkhubb3

Code

Scalp MassagerArduino
Just a couple of simple patterns for massaging different parts of the scalp.
//
//     5    4
//   6   13    3
// 7  10 14 11  2
//  8   12    1
//     9    0
const byte red = A1;
const byte yellow = A2;
const byte purple = 2;
const byte orange = 3;
const byte blue = 4;
const byte blueStripe = 5;
const byte orangeStripe = 6;
const byte purpleStripe = 7;
const byte yellowStripe = 8;
const byte redStripe = 9;

const byte greenStripe = 10;
const byte green = 11;
const byte grey = 12; //near top
const byte rose = 13; //back of head
const byte black = A0; //top

int r;

void setup() {
  for (int x = 0; x < 15; x++)
    pinMode (x, OUTPUT);
  randomSeed(analogRead(1));

}
void loop() {
  for (int x = 0; x < 10; x++)  {
    digitalWrite(x, HIGH);
    delay(1500);
    digitalWrite(x, LOW);
  }

  frontband(5000);
  
  digitalWrite(red, HIGH);
  digitalWrite(redStripe, HIGH);
  delay(1000);
  digitalWrite(red, LOW);
  digitalWrite(redStripe, LOW);

  digitalWrite(yellow, HIGH);
  digitalWrite(yellowStripe, HIGH);
  delay(1000);
  digitalWrite(yellow, LOW);
  digitalWrite(yellowStripe, LOW);

  digitalWrite(purple, HIGH);
  digitalWrite(purpleStripe, HIGH);
  delay(1000);
  digitalWrite(purple, LOW);
  digitalWrite(purpleStripe, LOW);

  digitalWrite(orange, HIGH);
  digitalWrite(orangeStripe, HIGH);
  delay(1000);
  digitalWrite(orange, LOW);
  digitalWrite(orangeStripe, LOW);

  digitalWrite(blue, HIGH);
  digitalWrite(blueStripe, HIGH);
  delay(1000);
  digitalWrite(blue, LOW);
  digitalWrite(blueStripe, LOW);

  digitalWrite(green, HIGH);
  digitalWrite(greenStripe, HIGH);
  delay(1000);
  digitalWrite(green, LOW);
  digitalWrite(greenStripe, LOW);

  digitalWrite(grey, HIGH);
  digitalWrite(rose, HIGH);
  delay(1000);
  digitalWrite(grey, LOW);
  digitalWrite(rose, LOW);

  digitalWrite(black, HIGH);
  delay(1000);
  digitalWrite(black, LOW);

  digitalWrite(red, HIGH);
  digitalWrite(redStripe, HIGH);
  delay(5000);

  digitalWrite(yellow, HIGH);
  digitalWrite(yellowStripe, HIGH);
  delay(5000);

  digitalWrite(purple, HIGH);
  digitalWrite(purpleStripe, HIGH);
  delay(5000);

  digitalWrite(orange, HIGH);
  digitalWrite(orangeStripe, HIGH);
  delay(5000);

  digitalWrite(blue, HIGH);
  digitalWrite(blueStripe, HIGH);
  delay(5000);

  digitalWrite(green, HIGH);
  digitalWrite(greenStripe, HIGH);
  delay(5000);

  digitalWrite(grey, HIGH);
  digitalWrite(rose, HIGH);
  delay(5000);

  digitalWrite(black, HIGH);
  delay(5000);

  for (int x = 0; x < 15; x++)  {
    digitalWrite(x, LOW);
  }
  for ( int x = 0; x < 30; x++)  {
    r = random(0, 15);
    if (r==14)
       r=A0;
    digitalWrite(r, HIGH);
    delay(750);
    digitalWrite(r, LOW);
  }

}
void frontband(int wait)  {
  for (int x = 0; x < 10; x++)
    digitalWrite(x, HIGH);
  delay(wait);
  for (int x = 0; x < 10; x++)
    digitalWrite(x, LOW);
}
void topHead(int wait)  {
  for (int x = 10; x < 15; x++)
    digitalWrite(x, HIGH);
  delay(wait);
  for (int x = 10; x < 15; x++)
    digitalWrite(x, LOW);
}

Credits

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

3D-Printed Prank Vibrating Cup
Easy
  • 1,065
  • 13

Full instructions

The instant your prankee lifts up this 3D-printed cup it starts violently vibrating! The electronics separate from the cup for easy washing.

Huzzah! Color Me With PubNub!
Easy
  • 131
  • 3

Full instructions

A fun introduction to PubNub with Adafruit's Huzzah Feather. Huzzah! Huzzah! Huzzah!

8X8 matrix LED Snake game (HTML5 web socket)
Easy
  • 851
  • 6

Full instructions

This is the snake game for PHPoC Shield for Arduino.

Remote-Controlled 8x8 LED Matrix
Easy
  • 1,690
  • 14

Full instructions

Remote-controlled 8x8 LED matrix in real-time by the HTML5 Websocket.

Arduino RFID Keycard Access
Easy
  • 4,656
  • 21

Full instructions

Use the PN532 NFC available on the anduinoWiFi shield to create an RFID keycard building access system.

The Internet
Easy
  • 475
  • 5

Full instructions

Build the Internet for your friend Jen. This is a great gift idea for any nerd wanna-be.

ProjectsCommunitiesContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Respect project
Feedback