Tuesday, April 14, 2015

My Final project idea

For the final project, I will be working with Brian and Mohamed .  Our idea is to make a sparkle skirt and the idea behind it is that every movement will be sensed ,therefore causing the pixels to flash. We will be sowing the Flora RGB Neo Pixels, Flora Accelerometer,and the Flora main board using conductive thread. It's crucial that the RGB Neo pixels are evenly spaced out  and that we cut out any knot remains , so we can have a successful result.
Material we will be using


  • Flora Main board
  • conductive thread
  • Flora RGB Neo Pixels
  • 3xAAA battery pack
  • Flora  Accelerometer
  • compass module
  • sheer overlay
  • nail polish
The outline design

Before sowing our components onto the shirt, we had to use alligator clips to test if the code and the design works properly . Unfortunately , the RGB Neo Pixels failed to light up and the reason is that we weren't able to install the flora board on Arduino successfully.




-As you can see in the photos displayed, we used alligator clips instead of conductive thread to test out the code and the design .









   















The code



  this is the code that will make the magic happen and we got the the code at adafruit.com













The Solution

The solution to our problem was to download Arduino 1.6.3 IDE and add the custom boards . Once doing so , you will have to make changes onto its prefences. Once doing so ,we were able to successfully add the flora board onto Arduino 1.6.3 IDE .yayyy it worked!!!!!

Sowing  the pixels


  With he the use of conductive thread, The Flora RGB Neo pixels  were sowed onto our sheer overlay. It's crucial that the pixels are evenly spaced out and the tails of the knots are cut out, so the circuit can travel perfectly throughout the RGB Neo pixels!!!!!!!!!
 Note - Cover the knots with nail polish 







-








-As you can see in this photo , its crucial that you mark your design with a marker so you will know where to sow and where to place your RGB Neo pixels, Flora board, and accelerometer .

















The Design 



- As you can see the design is marked by a marker. The RGB Neo pixels are evenly spaced out . 


-  we used an accelerometer to sense motion ,therefore causing the RGB Neo pixels to light up. So our input is movement and the output is the RGB Neo pixels lighting up. 


 -note that we connected the flora and the accelerometer  by connecting GND-GND, SCL-SCL, SDA-SDA, and 3.3v -3.3v



-when connecting all the Flora RGB neo pixels ,We connected all pos with one thread and we connected all neg with one thread. 




Now you wanna see how it looks underneath!!!!! well let's see!!!


-It's pretty cool right !!!!!Now you wanna see it work.
Drum roll please!!!!!

































This is when we sowed the first 2 pixels

-The second video is our final design. As you can see all RGB neo pixels have been sowed . 

Another huge problem
  The Neo pixels stopped lighting up and my team mates couldn't figure it out . We used an millivoltmeter to test for continuity. 



-as you can see in the photos, the first Neo Pixels  have enough voltage ,but when it comes to the last three Neo pixels , there was definitely no 
shortage!!!



-The term that we referred to the neo pixels not working is "A shortage". That being the point where the current stops working.

The solution to shortage is to resow the Neo pxels again. 




















Resowing 


As you can see, we first aimed at getting the Flora RGB neo pixels done first and once we got that done we had to start working on the Flora board and accelerometer. 









- as you can see , all the pixels are evenly spaced , hence we will have a smooth result. 



























 Note that my partner is cutting out the knot remains and it's important to so ,because any knot remains left behind could disrupt the circuit from working. 























After we finished sowing , we tested if the circuit works and here's the result!!!

as you can see in the video it works!!!!!!!!!!Now time to attach this sheer layer onto the shirt.........

Attaching the sheer layer onto the shirt

  we used a york college T shirt to be our shirt ,which we bought at the book store. We then placed our sheer layer on top of the shirt ,so thats's going to be the spot  where we are going to attach the layer.






















 We attached sheer layer onto the shirt using normal thread  and we sowed the top and bottom side sheer layer carefully to avoid to avoid a shortage !!!

We had to carefully locate our location to sow and and i think based on the photos we did good!!!


- as you can see we have attached our sheer layer onto the york t shirt. !!!! yayy








Covering up the LED's 
Add caption


my group wanted to conceal our sheer layers as much as possible ,so we chose to use a net . We sowed the net on top of our sheer layer .


































As you can see, we have successfully attached our net on top of our sheer layer










Now it's time to see the final result of our project!!!! drumroll please.......


- as you can see i am showing how it works and all i can say is that I am proud of my group , as well as getting help from my professor. I am very fortunate to have an amazing group and i hope we do something like this again!!!!:)

Tuesday, March 31, 2015

capacitive sensor assignment

I was assigned to construct an capacitive sensor . A capacitive sensor senses the electrical capacitance of the human body.  let's get started!!!

Materials
  • Arduino Uno board
  • breadboard
  • 3 long jumper wires
  • 1 10 megohm resistor
  • one small piece of alluminim foil















Setting up


-set one jumper wire on digital pin 2 and set the other one on digital pin 4 on the Arduino Uno board.










-  Place the digital pin 2 jumper wire on the positive vertical ground on the bread board .  Connect one side of the 10 megohm resistor towards the positive vertical ground and connect the other side towards the 14b pin on the breadboard. Place the digital pin  4 jumper wire on the strip that that the resistor is on,so you'll place it in 14C.




 -place one side of the third jumper wire on the same strip that digital digital pin 4 jumper wire is on ,so you will place it on 14d. The other side of the third jumper wire is going to be our sensor pin, so it will give me the reading when connected to a conductive material aka "the aluminum foil"






as you can see, i covered the sensor pin with aluminum foil. 









Now let's code yayyyy


- I typed down the Capacitive Sensor sketch given to us when you downloaded the capacitive sensor  library on the arduino.cc website. But i had to make changes to the code























- I fixed the code ,so it can focus only on one Sensor 
















once i had my code set up , you'll upload it to your arduino uno.  As you can see i am not pressing the aluminum foil yet !!!!!








- open up your serial monitor and you will notice that low numbers are showing up . Note that i am not touching the aluminum foil

-Now that i am touching the aluminum ,my electrical capacitance is being sensed by the aluminum foil 












-The number will begin to increase rapidly whenever you press the aluminum foil 


Now let's see what happens when i place my hand near the sensor




As you can see i am not touching the sensor























Now let's check your serial monitor!!!!!!!



























As you can see ,the numbers increase slightly without touching the sensor!!!!!


Now here's a video footage of me showing how it works!!!!




















reference 


















Thursday, March 12, 2015

Arduino project #3 - love-o-meter

i was assigned to do project #3 in the Arduino book called love-o -meter. The love-o-meter project enables you to test the warmness of our skin using a temperature sensor. Pretty cool huh :). lets get started

Materials 
 list of materials

  • Arduino Board
  • breadboard
  • jumper wires
  •  3 red LED's
  •  3 220 ohm resistors
  • TMP36 temperature sensor











Step 1

  The very first thing to do is to attach your resistors ,led's , TMP36 temperature sensor on your board. Then i connected the components using jumping wires to to my Arduino board .









step 2 

the next step is to write down your code. if successful the code will cause the led's to light up one by one when touching the TMP temperature sensor!!! now lets see if it works











step 3 





As you can see all the led's lit up , so i am assuming my coding is wrong . I double checked my coding ,but i couldn't find what was the problem. I have to figure out what i did wrong in my coding and do corrections.






as you can see, the picture here is showing what  the temperature is when my monitor is on the open air.