Xuan-LAZY LAMP

Is this situation ever freak you out that when you are ready to bed, after turning off the light, you cannot see anything. Has it ever happened to you that when you are chilling on your bed, somehow you are too sleepy to get up turn off the switch?

If so, let’s make a lazzzie lamp which can detective the motion( by a motion sensor) and volume(microphone) of your room. So if you are getting sleepy, and stopping moving or making any sound, the lamp will get dimmer till turn off.

IMG_5917IMG_5934

Want to build your own one? Let’s go.(check the Instructable here)

Tools:

  • Wire strippers;
  • Soldering iron;
  • Lathe;
  • Laser cutter;
  • Table saw;
  • Blend saw;
  • (Or 600$ + 3D printing);

Materials:

  • Arduino Uno;
  • Motion sensor;
  • Microphone:
  • Breadboard:
  • Acrylic;
  • Breadboard wires;
  • Solder;
  • Dotstar LED stripper

Step 1: Soldering and Connecting Circuit

Step 2: Coding

#include
#include

#define NUMPIXELS 20 // Number of LEDs in strip

// Here’s how to control the LEDs from any two pins:
#define DATAPIN 13
#define CLOCKPIN 12
Adafruit_DotStar strip = Adafruit_DotStar(
NUMPIXELS, DATAPIN, CLOCKPIN);

int brightness = 255; // rudamentary brightness value output to the dotstars (0-255)
const int sampleWindow = 50; // Sample window width in mS (50 mS = 20Hz)
unsigned int sample;

int micrphonePin = A0; // Analog input pin that the microphone is attached to
int sensorValue = 0; // value read from the microphone (0-1024)

int inputMotion = 11; // Digital input pin that the motion sensor is attached to
int motionValue = 0;

int fadeAmount = 4;
int plus = 10;
int line = 400;

unsigned int signalMax = 0;
unsigned int signalMin = 1024;

void setup() {

pinMode (inputMotion, INPUT); // digital pins can be either inputs or outputs so we have to define which it will be this time

strip.begin(); // Initialize pins for output
strip.show(); // Turn all LEDs off ASAP

// initialize serial communications at 9600 bps:
Serial.begin(9600);
}

void loop()
{
int sample = soundSample();

motionValue = digitalRead(inputMotion);

Serial.print(“\t microphone sample = ” );
Serial.print(sample);
Serial.print(“\t motion = ” );
Serial.print(motionValue);
Serial.print(“\t brightness = “);
Serial.println(brightness);

if(brightness >0){
if(sample >= line || motionValue == 1){
brightness = brightness + plus;
if(brightness>=255)
{
brightness=255;
}
}

if(sample < line && motionValue == 0){
brightness = brightness – fadeAmount;
}
}

fillAll(strip.Color(brightness, brightness, brightness));
if(brightness<50)
{
delay(100);
}
delay(50);
}

int soundSample()
{
unsigned long startMillis= millis(); // Start of sample window
unsigned int peakToPeak = 0; // peak-to-peak level

// collect data for 50 mS
while (millis() – startMillis < sampleWindow)
{
sample = analogRead(micrphonePin);
if (sample < 1024) // toss out spurious readings { if (sample > signalMax)
{
signalMax = sample; // save just the max levels
}
else if (sample < signalMin)
{
signalMin = sample; // save just the min levels
}
}
}
peakToPeak = signalMax – signalMin; // max – min = peak-peak amplitude
return sample;
}

void fillAll(uint32_t c)
{
for(uint16_t i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i, c);
}

strip.show();
}

Step 3: Making the shape of the lamp

1.Laser cut acrylic

  1. Stripper: the width of the stripper is a little bit wider than the LED stripper,  so that you can glue them on later.
  2. Circles for the bottom.IMG_4405

2.Build dowels

  1. Glue wood sheets together overnight;IMG_4245
  2. Use table saw to cut the cuboid;IMG_4259
  3. Use lathe to make your own dowels;
  4. use blend saw to cut them in pieces;IMG_4274

3. Bend your acrylic.

  1. Use tape glue the pieces together and fix it with clamps;
  2. Heat the acrylic;IMG_4298
  3. Bend it;
  4. Cool down;IMG_4333
  5. Untaped
  6. A little bit sanding

4. Glue

Steps 4: Assembled each part

IMG_4438

 

Reggie: an intuitive tool for unintuitive doors

Reggie: an intuitive tool for unintuitive doors.

I was inspired by a movement/campaign/business in Toronto, ON., Canada. A man by the name of Luke Anderson, who is in a wheelchair, founded Stopgap Foundation with the goal of making the city more accessible. StopGapphoto.jpg

The idea is to make these wood ramps and put them wherever one sees an inaccessible gap for someone who is physically handicapped.

Poorly designed doors are everywhere. Some look as if they should be pushed, but in fact, you should pull to open them, and visa versa. So with a small, compact electronic device that could be made cheaply, I want people to highlight these doors and help make them more intuitive by slapping a Reggie onto an unintuitive door. The “push” or “pull” signs do not work. And putting a Reggie on a door labeled “push” will make fun of this, and also the door.

pull-push-door.jpgIMG_20171212_084528.jpg

Here’s everything you need to build one of your own.IMG_20171212_085352 (1).jpg

To build your own, you will need:

  • 1x speaker
  • 13x wires
  • 1x 10mm LED
  • 2x breadboards (preferably 2x Breadboard Mini Solderable)
  • 1x Arduino Nano
  • CH304 Nano Driver
  • 1x Audio FX Sound Board WAV/OGG 16mb
  • 1x Ultrasonic Sensor – HC-SR04
  • NewPing Library
  • 1x 3M double-sided wall sticky
  • 1x battery supply
  • and a form to keep it all together. Here I’ve cut up a plastic container.

Download the NewPingLibrary. This allows you to interact with your Ultrasonic Sensor HC-SR04.

Check the underside of your Arduino Nano. The one being used in this tutorial is a CH304, corresponding to the CH304 Driver. Download it here.

Here’s the circuit:IMG_20171212_085007.jpg

Take a look at a video of the prototype:

Now see the Instructables tutorial to build one yourself!

If I were to continue to develop this idea, the goal would be to make the form and contents more compact and portable and friendly for the user.

Ice Cream Night Light 2.0

3X7A55533X7A55543X7A5569

Have you ever turned all of your lights off to then realize you have to get up again, but you’re in the dark, you can’t see anything and you can’t find where the light switch is? The Ice Cream Night Light is a portable light that lights up when you pick it up, solving the problem of fumbling to find the light switch or having to turn on your way too bright bedside table light. Once you pick up the ice cream cone out of it’s stand, the light is triggered on and you can carry it along whatever journey you’re going on. A trip to the kitchen for that late night snack, or maybe to the bathroom. The Ice Cream Light will guide you there. If you love the way the light looks in the stand and prefer that that be your table side light it can also function as a less bright, all night, night light.

The Ice Cream Night Light is a great way to get kids to brush their teeth, making the journey to the bathroom more exciting, and also acting as a constant reminder to brush their teeth before they get into bed. If you’re someone who loves ice cream, or want a flashlight/night light that doesn’t look like a boring night light, the Ice Cream Night Light is also for you!

3X7A55743X7A5572IMG_9051

Interested in making one yourself? Check out the Instructable Tutorial on how to make your own.

CONCERTO_Runshi Wei

cover_concerto_画板 1

CONCERTO

Concerto is box which creates different drum sounds when the musician taps pedals by hand or foot. You may have seen how many street musicians carry a lot of instruments. It may looks nice, but it’s unnecessary and inconvenient. Or you have the experience of playing guitar. In fact, musicians (especially guitarists) only need a small box to synthesize the drum sound.

Each CONCERTO can make two different sounds. Musicians can also customize their drum sound or sound effects by using USB to upload into CONCERTO.

 

Scenario 1: This product does not need to be exclusively for a drummer, guitarists may need some basic drum sounds to enrich their music. When people play guitar, they can put CONCERTO on the floor and make connection with speakers and charger (portable charger).

Scenario 2: If you want to play guitar with your friend, you don’t need to prepare a drum kit. You can give your friend the CONCERTO which can be put on the lap easily and then start your performance.

Scenario 3: When you want to create a new song by using guitar, CONCERTO definitely is your best friend. You can make or change beat to assist you to find the best tempo of your new song whenever you want.

Check CONCERTO Video.

Check my Instructable

Special thanks to Becky, Yangying, Oomung, Zihan, Tzu Ching, PoD.

Some process pictures

IMG_3455

Processed with VSCO with b1 preset

IMG_3476

 

 

Stepper Pomodoro

In this current way of working we are constantly barraged with too many tasks, not enough time, and too little mental space. Many have used the Pomodoro technique of arranging one’s tasks for the day into small chunks of time with built in breaks. However, having a loud ticking and buzzing timer on one’s desk in a busy office environment is not the most courteous thing. This is where the Stepper Pomodoro shines brightest.

The Stepper Pomodoro doesn’t have numbers on it ticking down to your inevitable project deadline, it’s arbitrary silly! Because it is made from genuine stepper motors it has no zero value because of the H-bridges it uses. Therefore, it counts time by how many 1 RPM revolutions it makes before moving on to one of the three dials. It’s not just an added value on faces, you also get the large wooden form factor, 12V AC/DC power adapter, and stepper motors which may combust if left plugged in too long included. Who knew Pomodoro timers could be so combustable, heavy, large, and electrified?!

IMG_2771

Instructable found here