Project tutorial
Ghosty Table

Ghosty Table © GPL3+

When someone passes by, this 3d printed ghost table lights up and squeals!

  • 1,228 views
  • 0 comments
  • 8 respects

Components and supplies

A000066 iso both
Arduino UNO & Genuino UNO
×1
Relay (generic)
https://www.amazon.com/gp/product/B00VRUAHLE/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
×1
ultrasonic transducer
×1
09590 01
LED (generic)
https://www.amazon.com/16-4ft-Flexible-Lights-Lumens-Non-waterproof/dp/B00HSF64JG/ref=pd_sim_60_5?_encoding=UTF8&pd_rd_i=B00HSF64JG&pd_rd_r=QKF1CVRX8DBDS9EEZ2M1&pd_rd_w=OtAle&pd_rd_wg=dlVfy&psc=1&refRID=QKF1CVRX8DBDS9EEZ2M1
×1

About this project

The Project

This printed table base (for a 24 inch glass table top) uses a ghost for a Halloween theme. My wife, Annelle, created the ghost in clay and I scanned it with the Makerbot 3d scanner, then modified the scan using Tinkercad.

This takes 1.2 kilograms of filament and requires around 50 hours of print time.

My inspiration came from art pieces by www.Mousarris.com. If you want their beautiful and well designed table (Rocket Coffee Table), it will cost around five thousand Euros--which puts a roll of filament and a few hours of print time in perspective.

The 3d print files for Ghosty Table can be found here.

Directions

  • Print three of each piece and stack them like this:

If you don't want to fool with electronics, it will look like this:

  • Assemble the electronics according to the schematic and it will look like this:

Two of the ghost heads do not have ping transducers and their eyes shine in the dark.

Enjoy your Ghosty Table.

Code

Arduino SketchC/C++
const int pingPin=7;//ping input-output
long duration;

int light=9;//voltage to led
int sound=5;//sound pin

int val=0;



void setup () {
  pinMode(light, OUTPUT);
  pinMode(sound,OUTPUT);
  
  
  digitalWrite(light,HIGH);
  digitalWrite(sound,HIGH);
  delay(1000);
  digitalWrite(sound,LOW);
  delay(5000);
  digitalWrite(light,LOW);
  delay(2000);

 
  
}

void loop () {
  
delay(200);
  
    
  
  pinMode (pingPin,OUTPUT);//start of ultrasonic test
  digitalWrite (pingPin,LOW);
  delayMicroseconds (2);
  digitalWrite (pingPin,HIGH);
  delayMicroseconds(5);
  digitalWrite (pingPin,LOW);
  pinMode (pingPin,INPUT);//listen for pulse back
  duration=pulseIn (pingPin,HIGH);
  
 
 
  if (duration<8000) {

     
delay(50);
pinMode (pingPin,OUTPUT);//start of ultrasonic test
  digitalWrite (pingPin,LOW);
  delayMicroseconds (2);
  digitalWrite (pingPin,HIGH);
  delayMicroseconds(5);
  digitalWrite (pingPin,LOW);
  pinMode (pingPin,INPUT);//listen for pulse back
  duration=pulseIn (pingPin,HIGH);

  if (duration<8000) {


    
      digitalWrite (light,HIGH);//turn on lights
      digitalWrite(sound,HIGH);//turn on sound
      delay(200);
      digitalWrite (sound,LOW);//turn sound off
      delay(20000);//stay on 20 seconds
      digitalWrite (light,LOW);
      
      
      
     
    }
    
  }
  
}
    
  
  

Schematics

Schematic
Schematic17102016

Comments

Similar projects you might like

Zen Garden CNC End Table

Project tutorial by MakrToolbox

  • 11,946 views
  • 5 comments
  • 46 respects

Touch LED Table - Retrogaming And Ambiant Light

Project tutorial by Arbalet Project

  • 7,893 views
  • 1 comment
  • 38 respects

PinBall Table on Arduino

by Ivan

  • 4,361 views
  • 4 comments
  • 15 respects

On Table Clock & Temp

Project showcase by taha_vs

  • 2,966 views
  • 0 comments
  • 5 respects

Automatic Arduino Goal Counter for Table Football/Soccer

Project showcase by OSZ Täuffelen

  • 3,228 views
  • 1 comment
  • 4 respects

Interactive LED Table for 50€

Project showcase by Antoine Rochebois

  • 29,254 views
  • 12 comments
  • 100 respects
Add projectSign up / Login