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.

Huzzah/Arduino and Project Ideas – Antya

After a little bit of a struggle, Ellen and I were able to get our Arduino connected to the WiFi. We first realized that we had had one too many parentheses within the WiFi name and password and also noticed that our baud number was off. Once we fixed those it worked!

unnamed

 

Here are my three ideas for the final project:

  1. Improve the ice cream night light and make it more interactive. When someone puts it in the ice cream holder it turns on and off, or it connects with another light and could be used to help kids remember to brush their teeth. It could send off some sort of alert or light or reminder. I’d also refine the design of it.
  2. Create a pill box that alerts and reminds people to take medications. It could trigger a light or sound after a certain amount of time or it could react a certain way when someone opens and closes it.
  3. An Arduino umbrella or umbrella stand that somehow linked up to the weather to let you know if you need your umbrella.

Team Sense – Sound Snitch

Team Sense:
Gustav, Zihan, Sophie and Antya
What the ideal finished version of this product would be like/who’s it for:
Our ideal version of the product would have a different microphone; it would need to be more powerful to be able to catch when you are loud more precisely. Our light output could also be more potent so you could be able to see it from across the room or have the materials expand the light. It would also be important for the user to have access to change the threshold range so that they could select what they considered as unacceptable noise.
Regarding the materials, it would need to be made out of some plastic, maybe ABS or a similar one and it should have an opaque part and a transparent one so that the light can shine through. Ideally, it would be integrated with the speakers or even to your phone.
It would be focus towards young people who live in apartments or live in proximity to their neighbors, or teenagers even as they tend to be the loudest.

The technical steps you took to achieve your prototype:

We first came up with the idea to make a product which helped let someone know when they are playing music too loud.

The first step was to figure out the coding and try to understand the mic and coding for the mic. Once we got the mic to work with coding found from Becky’s recommendation, we decided to use a pixel stick as it would be bright enough to send off a visual sort of alarm to the person playing music too loud.

We played around with the coding for many hours and finally were able to figure out the right “if statements” and the right threshold for the volume of sound we wanted the sensor to react to.

We decided we wanted the design of the product to look somewhat like a fire alarm, where it would be white and mounted on the wall. We built our prototype for this out of wood and painted it white and made it so that the breadboard and circuit could fit nicely inside of the box with a transparent plastic on top for the light to shine through. Below are some of our process photos:

SoundSnitch2 from Antya Waegemann on Vimeo.

 

What did you learn from building this project?

Even though the whole mechanism is quite simple, there are still details needed to be work on very well in order for it to work properly. For example, we needed to transfer the measurement volume of the sound from the numbers in the Arduino code to the decibel in real life. This was something what we did not fully expect. How we completed that was to using a sound measuring app to measure the volume of some music we thought to be on a level exceeded which would be annoying. So even to make a very simple ideas into application, many unexpected details will need to taken care off.

What you would do next/differently if given more time on this project:

If we had had more time, then we would have incorporated an app remote into our project.

This would have allowed for the user to adjust the threshold. Thereby, the user would be able to customize the product to their need and linking.

Furthermore, it would be interesting to explore the input sensor our product and utilizing the output possibilities build within the smartphone.

Maybe, we could make the phone vibrate, when the threshold was reached?

Code:

 // NeoPixel Ring simple sketch (c) 2013 Shae Erisson
// released under the GPLv3 license to match the rest of the AdaFruit NeoPixel library

#include 
#ifdef __AVR__
#include <avr/power.h>
#endif

// Which pin on the Arduino is connected to the NeoPixels?
// On a Trinket or Gemma we suggest changing this to 1
#define LED_PIN1            (5,6)
// How many NeoPixels are attached to the Arduino?
#define NUMPIXELS      16
// Defining the mic
#define SAMPLE_WINDOW 33 // Sample window width in mS (33 mS = ~30 Hz)
#define MIC_PIN       A1 // ANALOG pin # where microphone "OUT" is connected
#define THRESHOLD     625

// When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals.
// Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest
// example for more information on possible values.
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, LED_PIN1, NEO_GRBW + NEO_KHZ800);

  int delayval = 200; // delay 


  void setup() {
  // This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket
  #if defined (__AVR_ATtiny85__)
  if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
  #endif
  // End of trinket special code
  // Start mic setup
  pinMode(LED_PIN1, OUTPUT);
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
  // make the pushbutton's pin an input:
  pinMode(MIC_PIN, INPUT);

  pixels.begin(); // This initializes the NeoPixel library.
}

  void loop() {
int inputaudio = analogRead(MIC_PIN);
Serial.println(inputaudio);
  // For a set of NeoPixels the first NeoPixel is 0, second is 1, all the way up to the count of pixels minus one.
if (inputaudio > THRESHOLD){
  Serial.println("Threshold has been exceeded");
  for(int i=0;i<pixels.numPixels();i++){

  // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    pixels.setPixelColor(i, pixels.Color(255,0,0)); // Moderately bright green color.

  //pixels.show(); // This sends the updated pixel color to the hardware.
  
  //delay(delayval); // Delay for a period of time (in milliseconds).
  //   
  //pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
  //pixels.setPixelColor(i, pixels.Color(0,0,0)); // Moderately bright green color.
  
  //pixels.show(); // This sends the updated pixel color to the hardware.

  //delay(delayval); // Delay for a period of time (in milliseconds).

  }
  pixels.show(); // This sends the updated pixe
  delay(delayval); // Delay for a period of time (in milliseconds).
  for(int i=0;i<pixels.numPixels();i++){

   // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
   pixels.setPixelColor(i, pixels.Color(0,0,0)); // Moderately bright green color.
    
}
  pixels.show(); // This sends the updated pixe
  delay(delayval); // Delay 
}

//  // Listen to mic for short interval, recording min & max signal
//  unsigned int signalMin = 1023, signalMax = 0;
//  unsigned long startTime = millis();
//  while((millis() - startTime) < SAMPLE_WINDOW) {
//    int sample = analogRead(MIC_PIN);
//    if(sample < signalMin) signalMin = sample; //    if(sample > signalMax) signalMax = sample; 
//    { 
//    int peakToPeak = signalMax - signalMin; // Max - min = peak-peak amplitude
//  int n = (peakToPeak -1) / 4;          // Remove low-level noise, lower gain
//  if(n > 50)    n = 50;                 // Limit to valid PWM range
//  else if(n < 0) n = 0;
//  analogWrite(LED_PIN1, n);   // And send to LEDs as PWM level
//  // read the input pin:
//  int buttonState = digitalRead(MIC_PIN);
//  // print out the state of the button:
//  Serial.println(buttonState);
//  delay(1);        // delay in between reads for stability 
//  }
//  }
  }

Swirl Bright Plush Night Light

Here is my plush night light, called Swirl Bright. Swirl Bright is for anyone who loves ice cream, adult, young, old, or anyone who loves sweets. It’s a great alternative to a flash light as it is rather bright and made to be hand held and solves the ever existing problem of how to walk around with a flash light or night light looking cool, and making everyone around you hungry.

Untitled-30

icecream.png

It went from the prototype on the left to figuring out whether I wanted a regular sugar cone, soft serve cone, and finally I landed on the waffle cone look. I ended up sewing the cone pattern onto the felt and then after deliberating whether to do multiple scoops of a regular cone, I decided I wanted it to look more like soft serve and ended up using yarn. The yarn was actually much more challenging and I had to sew it together in order to keep it looking swirled and stacked and from falling apart.

Programming the LED’s and soldering was probably the most difficult part, but I got through it thanks to a lot of help from Hannah. Below is my circuit:

circuitdiagram

I ended up using 4 white lights instead of many colors as I had originally intended because I wanted a cleaner less crafty look. The soldering took a lot of trial and error as did figuring out where the wires went and what connected to what.

Here are some process photos:

process

Unfortunately, I forgot to take photos of the LED setup, mostly because I was struggling so much! But it looked messy but works.

 

https://www.instagram.com/p/BaIEUetju6w/?hl=en

Plush Night Light Ideas

So I came up with a variety of ideas for the plush night light. The first was to do an ice cream cone and either have the sprinkles or the ice cream part light up and use some sort of plush/translucent material on the top part of the cone.

The second was to create a fish bowl with a light up fish, haven’t quite worked out the materials for that one.

Third idea was a terrarium style night light. So have a glass jar and then either real of fake plants and plush filling pretend dirt with the lights coming from underneath.

The other ideas were after thoughts but more abstract like something that looks like dripping ice cream or paint dripping on the wall, or pipes and each is a different LED color.

FullSizeRender