Author Archives: BlackDog

Annoying Drawer Project 3

It’s day 2 to make this project. In the morning, I just finished the first drawer, and it works! In the end, I still made another small arm to connect the bottom of drawer.

The first drawer video: https://www.youtube.com/watch?v=CyiryXKfsCM&feature=youtu.be

20150520_121033

Then, lunch time was coming…

I made the second drawer in the afernoon, and it’s a little bit unstable.

second drawer video: https://youtu.be/ysDhOlL7Xho

20150520_181811

The third motor only roletate 90°. The idea was coming out this morning. I want to make the hand wave for the third one.

20150521_215459

Try to use same motor to push and drag the drawer, and make the hand go up. The hand will copy from mine by silicon, but just use wood and paper temporarily for tomorrow presentation, hehe…

20150521_215511

So my mission on tomorrow is….

Finish the thid drawer and hand movement on the morning. And, put some small wood to make the second one stable.

In the afternoon, control all the motors with Arduino. Well, if in the morning, i couldn’t finish the third one in the morning, I will jump to this stage directly.

20150520_183037

Advertisements

Annoying Drawer Project 2

Today, my goal is make one drawer move and see how I put another motors.

First step, finding a right angle iron to make a motor stable and bore a hole.

20150518_155945

Second, find two arms. And, I need to know how the destination limited for the arm, otherwise, it might stuck or it didn’t be push out so far.(Marc help a lot.)

20150518_155956

To hide the everything and make it move like magic, I have to cut and restick the bmttom of the drawer.

20150518_155928

The connection of short arm and long arm is adjustable. The hole of short arm is 4.5mm diameter, the long arm hole is 4mm, so the one can be locked, the other one is flexable.

In the end,I still don’t have enough time to test the first drawer( I also need to wait for the glue dry…), however test a movement with speed control motor.

20150518_172509

Video: https://youtu.be/kj4KSX-ZrPI

And, there’s a problem to connect to drawer. I have to make a another small arm to connect them or just drew it but leave some space for movement.

Next time(20/5), I have to finish the first drawer to make sure it truly works. And then, I will see where are another two positions of  motors in cabinet.

If I have more time, I want to make iron leg for my cabinet.

Annoying Drawer Project 1

The sound shouldn’t be control all the time.
I try to put the feeling and character on the drawer. The drawer makes the different beats by the distance from the people. For example, if you get too close, it open the drawer by itself harsh as like it can cut your finger or hurt you. Leaving some objects in three of drawer, so that they make the random some during the regularly beats.

11272125_1583939801857602_1360712662_n 11280405_1583939798524269_1123393272_n

So, the plan is use Arduino to control 3 motors, and make an arms for each one to make drawers go out and in. I use ultrasonic Distance Sensor to detect of distance from the people. Before connecting to motors, I test it with LED light first by simple code (To make motor work in different speed, we need to test PWM.).

11291948_1583940815190834_1372771373_n
Arduino code:

const int PingPin=11;
unsigned int duration, num;

int RedPin = 9;
int YellowPin = 7;
int GreenPin = 3;

void setup(){
Serial.begin(9600);
}

void loop(){
//code of ultrasonic Distance Sensor
pinMode(PingPin, OUTPUT);
digitalWrite(PingPin, LOW);
delayMicroseconds(2);
digitalWrite(PingPin, HIGH);
delayMicroseconds(5);
digitalWrite(PingPin, LOW);
pinMode(PingPin,INPUT);
duration = pulseIn(PingPin, HIGH);
num = duration/ 74/2;
Serial.println(num);
delay(100);
if(num>0 && num<=10){
for(int fadeValue = 0; fadeValue <= 255; fadeValue +=10){
analogWrite(RedPin, fadeValue);
analogWrite(GreenPin, fadeValue); delay(30);
}
for(int fadeValue = 255; fadeValue >= 0; fadeValue -=5){
analogWrite(RedPin, fadeValue);
analogWrite(GreenPin, fadeValue);
delay(30);
}
}
//=======================================
if(num>10 && num <70){
for(int fadeValue = 0; fadeValue <= 150; fadeValue +=15){
analogWrite(YellowPin, fadeValue);
delay(30);
}
for(int fadeValue = 150; fadeValue >= 0; fadeValue -=15){
analogWrite(YellowPin, fadeValue);
delay(30);
}
}
//======================================
if(num> 70 && num <110){
for(int fadeValue = 0; fadeValue <= 25; fadeValue +=5){
analogWrite(GreenPin, fadeValue);
delay(30);
}
for(int fadeValue = 25; fadeValue >= 0; fadeValue -=5){
analogWrite(GreenPin, fadeValue);
delay(30);
}
}
}

Hm….looks okay….

Here is my cabinet which I get one from ARGE TRÖDLERLADEN where you can get furniture easily and cheap!(check the size by bottle) I will hide Arduino and sensor on the downside of black small table.
11264371_1583940865190829_1721611135_n

ah….I will begin to build this project on next Monday(18/5).