PHYSICAL COMPUTING

Winter 2016

Tutorial #3

Tutorial 3:

Video for 3A & B

 

3A Code:

https://gist.github.com/Sugeevan/812cee3a83714ef258ce823fc1243c3d

 

3b Code:

https://gist.github.com/Sugeevan/5df6007072dceb5db310e0e7ef9379b1

 

Tutorial #1

Tutorial 1:

Blinking LED:

Video:

Code:

https://gist.github.com/Sugeevan/540d9d71628f73926d340850be0d65eb

 

Button Controlled LED:

Video:

Code:

https://gist.github.com/Sugeevan/4173ceedfe79be117430865de052b8b8

 

Hack:

Video:

Code:

https://gist.github.com/Sugeevan/961b2ebd50623be7fd1475ecfa86e4a5

Internet Project

MacKenzie Telenko

My project utilizes the internet to keep people’s prized possessions safe. Using a makeshift trip wire the safe will notify the owner via text message that someone has reached into the safe to steal the owner’s valuables. At the moment the system doesn’t have any way to distinguish the identity of the person entering the safe, so wether or not it is the owner or a super villain, the text message will go out to confirm that someone has entered the safe.

Materials:

LED

10K Resistors

Assorted Wiring

Photo-resistor

Particle Photon

Cardboard

Screen Shot 2016-04-06 at 1.53.28 PMUntitled Diagram

 

Link to Code:  https://gist.github.com/guardian8569742/7b9574ed8d98f4b9c1c0fcfb30f07b00

Process:

IMG_2321 IMG_2322 IMG_2325 IMG_2328

 

 

The circuit is made up of a simple light sensor and LED, that make a trip wire by measuring the disturbance in light between them. When a hand or object is moved through the “beam”, there is a change in the amount of light that the sensor is taking in, letting the particle photon know that something is happening. From there the device publishes the result to the cloud, and from there IFTTT works its magic and lets the phone of the owner know about the safe being used.

This project was very easy to make as we have done a similar project in class constructing the trip wire. My application of the device makes use of its security potential and combines it with the shape and function of an everyday safe. The construction of the safe was relatively simple as well, as it is mostly made up of similarly sized squares, with a few exceptions being the floor that the electronic components sit on and the door hinge. If i were to continue with construction i would probably change the design of the object so that the trip wire is less visible, and in a position that more effectively cover the whole area of the safe in order to ensure that there is no way someone could potentially reach around the one current trip wire installed.

I think that this project has definitely opened up some new ideas as to how i will be using the internet in the future, and has given me a little bit of an understanding as to how the devices that we use today work.

Project Colour Battle

Colour Battle

finishedpic

Connal Ds, Matt Carpino, Obaid Quraishi, Camille Kauffman

Concept

The idea is that we have created a game controller for two players arcade style, to each control a colour that is trying to take over the screen with their own colour. Their scores are then uploaded to Instagram.

12378017_10156803797050381_2900907419343836200_o

Research

List and organize all relevant links/documents you’ve collected – inspiration, similar projects, technical guides, data sheets, part info, etc.

  • Info:
  • Similar projects:
    • https://evothings.com/using-the-particle-photon-as-a-wireless-game-controller/
  • Parts:
    • Arduino Uno device
    • Particle Photon device
    • controller
    • wiring
    • materials for the controller (cardboard, paint, buttons)
    • software (Arduino, Processing, Particle Photon)
  • Helpful code
    • Firmata Library
    • https://processing.org/Process

Chronologically document all of your major milestones. This section should include descriptions, photos, video, and links to code. Regular documentation is important; get in the habit of taking photos, making videos, and saving your code as soon as you get a part of your project working.

We began by:

The first step was coming up with the concept. We brainstormed and combined ideas, links, youtube videos and example code until we reached something that seemed cool enough and also feasible to make.

concept sketch

 

 

colourbattle

concept sketch (1)

 

conceptsketch3

After that we assembled the controller.

Screen Shot 2016-03-30 at 4.59.22 AM

Screen Shot 2016-03-30 at 6.00.00 AM

The next step was sorting out the  wiring:

Screen Shot 2016-03-30 at 5.16.34 AM

 

Flow Chart

 

Untitled Diagram copy3

Circuit Diagram

controller_schemlarger5

Code

our commented code:

https://gist.github.com/Obaid2902/524ed8ea16b7660349abbee7bdad9d8d

https://gist.github.com/SLOLNE/056686ec5696109819f0f7eabf4437aa

https://ifttt.com/recipes/403020-particle-project-to-facebook

 

Conclusion

Some things we liked were making the controller and wiring and soldering the buttons. We also liked learning new things and  experimenting with the particle photon to make things happen through the internet.  

Something we hated was how long it took to get the computer to find and connect with the photon.

The obstacles we faced mainly had to do with the particle photon. It was a long process to figure out how to get it connected and stable and ready to use. We had issues with the computer not finding the photon, and then an issue with installing a driver.  Another major problem we had was an error message of “busy ports” within processing. Using our phones wasn’t without its hitches either.

We learned how to make a game that shows the score not just on the screen, but also online. This really expands the potential audience and makes for a more promising experience.

 

 

 

Project 3

Group Members

Quinn Shoreman, Devin Gibson

Concept

Create a device that can help locate your phone when it’s misplaced. Or if your phone is stolen, you can then send threatening messages and videos with the push of a button to the thief.

Research 

https://www.hackster.io/clarissasandiego/android-phone-finder-using-particle-photon-internet-button-610631

Parts

-Black Concave Button
-Wires
-Particle Photon
-Breakout Board
-White Box
-Samsung Note 4

Code

https://gist.github.com/quinnshoreman/381eb44663b58a559ce5c7191a7b13ca

Flowchart

Untitled Diagram (1)

Circuit Diagram

Unsketch_schem

Conclusion

Throughout the process of making our Phone Finder 2001, there were some difficulties that we came across. Originally we wanted to make a system that would tell the user the weather through an array of LEDs however we were unable to make this a reality so we changed our idea and created a system that used a button to make sound through another users phone. Once the button was pressed it would send a notification through the Application “YO” allowing the user to locate his or her phone. Along with receiving a notification the user also receives a YouTube video, that can be changed at any time. The Phone Finder 2001 allows the user to no longer worry about where their phone might be, which solves a problem that everyone has faced at least one time during their life.

Project Three – Taylor Martin, Josh Green, Sugeevan Shanmuganathan and Vivien Tang

 

Concept:

The Concept for our project was to create a Pinball Machine that could connect to the Internet.  Using the Particle Photon we connected a Solenoid to the web.  By submitting an action of “On”, the Solenoid would be activated.  The Solenoid is used to launch the ball in the game.  We decided that it would be more engaging to use a theme for the Pinball machine.  The theme of our machine is Star Wars.  We thought it would be an interesting choice to keep a rustic looking style to the Pinball machine, while using a futuristic space theme.

 

Initial Sketches and Ideas:

IMG_20160330_145937IMG_20160330_150434

 

Research:

Info:

– http://www.bc-robotics.com/tutorials/controlling-a-solenoid-valve-with-arduino/

– http://makezine.com/2015/07/06/design-cardboard-pinball-machine/

– https://www.youtube.com/watch?v=NPLOG3nS3Q8

Screen Shot 2016-03-30 at 3.14.01 PMScreen Shot 2016-03-30 at 3.11.43 PMScreen Shot 2016-03-30 at 3.14.36 PM

 

Similar Projects:

 

Parts:

– Particle Photon
– Arduino Uno
– Plywood
– Particle Board
– Led’s
– Acetate
– Wires
– Elastics
– Solenoids
– Diodes
– Resistors

 

Process:

First We Began Testing Led’s and Circuits for our Idea

12900166_10153697941103495_1165924224_n12910158_10153697941133495_1567356112_n

 

Then, we started Cutting Wood for our Pinball Board

12895487_10153697941183495_2079311567_n12910111_10153697941248495_1578677834_n12919031_10153697941218495_528027377_n

Next, we spent some time at the Library Getting 3D Prints of Ships from Star Wars

12900219_10153697941358495_1616743188_nIMG_20160330_153127IMG_20160330_153108

 

Then, we began Gluing the Ships, Images and Led’s to Our Pinball Machine

12916158_10209026765644917_4669096451842859839_o12916976_10209026777445212_8925754533686067637_o12901178_10209026778445237_7874055492653702658_o12322665_10209026776645192_5276922558945135165_o

 

Later, We started working on the Circuits for our Led’s and Solenoid’s

12916167_10209026777885223_9056407326224224242_o11143719_10209026764604891_2316602315771530666_o12909521_10209026763964875_7724103935924545159_o

 

 

Flow Chart:

 

Circuit Diagram:

received_10209071811851044

received_10209071672487560

Code:

https://gist.github.com/logtdm/7ee0d27fd866bfc74f758993ad553b51

 

Conclusion:

Rise Romulo Silva & Jasmine So

Rise 

A wearable garment that tracks the sunrise of any city in the world! Yellow and blue LEDs are utilized to depict the sun moving across the horizon.  The user is also able to control the garment through an app on their IOS or Android phone. 

IMG_5706 IMG_5717

IMG_5763IMG_5360

Research

 

Inspiration

inspiration 2 inspiration 4 inspiration1

Parts

 

  • Photon Particle
  • Blue and Yellow LEDs
  • 9V Batteries
  • Acrylic Rods 1/4” x 18
  • Black Wire
  • Tulle (multitoned) approx 1 yard
  • Copper Wire (body brace)
  • Electrical Tape (black)

Info

 

  • www.arduino.cc/en/Tutorial/ShiftOut
  • http://ledcalc.com/

 

 

 

 

Helpful Code

 

  • http://openweathermap.org/api
  • roundsliderui.com

 

Code

Sketches

IMAG3831 IMAG3832 IMAG3833 IMAG3834IMAG3885IMAG3886IMAG3866 IMAG3867

 

Process

IMAG3836IMAG3837IMAG3841IMAG3845IMAG3860 IMAG3862 IMAG3863 IMAG3864 IMAG3865 IMAG3866 IMAG3867 IMAG3871 IMAG3872 IMAG3873IMAG3878 IMAG3879 IMAG3880

Conclusion

Overall we are very happy with the aesthetics of the garment, and we got the photon working along with the app. The only issue was connecting the final garment to the photon, the pins on the photon would stop working when we tried to connect it to the final circuit on the garment. We had uploaded a simpler code on the Arduino Uno and connected it to the garment for the final video to showcase how the garment works. 

Project#3 – SkyLamp

 

 

 

Group Members

Do Park, Reno Almeida

Concept

The object we created is the interactive lamp which visualizes the time and weather. We used Neopixel to simulate the color of the sky in hourly timeline. The light is covered by two half-transparent glasses on sides.

Sketch29220216 (1)

 

 

Research

List and organize all relevant links/documents you’ve collected – inspiration, similar projects, technical guides, data sheets, part info, etc.

 

Process

First of all, we tried make mock-ups using Processing.

Code for Mock-Up : Click Here

After testing, we connect Neopixel to photon.

IMG_8933IMG_8931

 

Then We put Glass panels on the side of the photon, then uploaded codes to it.

IMG_8936IMG_8922

 

 

Flow Chart

flowchart3

 

Circuit Diagram

Untitled Sketch 2_schem

 

 

Code

Code for Javascript : Click Here

Code for Web IDE: Click Here

 

 

Conclusion

It was great opportunity to learn the way to utilize the data from the internet to create the physical object.

The most difficult part of this project was to figure out the way to transfer data from the internet to Photon using Javascript API,

because there weren’t enough information available online, and none of us have advanced knowledge on Javascript.

Other than that, it was very useful to know how it works.

« Older posts

© 2018 PHYSICAL COMPUTING

Theme by Anders NorenUp ↑

Use of this service is governed by the IT Acceptable Use and Web Technologies policies.
Privacy Notice: It is possible for your name, e-mail address, and/or student/staff/faculty UserID to be publicly revealed if you choose to use OCAD University Blogs.