Title: Hardware Team
1Hardware Team
- Week 8s Tasks
- Team Leader Calvin Li
- Co-Lead Amy Wong
- Team Members Peter Yao, Gurp Badesha, Karon Wong
and Wilson Lam
2Tasks for Week 8
- Goals For This Week
- 1.   Find the best way to make the equipments
portable. Easy to set up and put away. - 2.   Research and finalize the fabric material
and have one wall built. - 3. Connect all the Mic and Arduino board together
in the can and have it working, work closely with
the sound team and test out the recording. - 4. Research on visual programming (Flash or
Maxmsp).
3Team Face to Face Meeting!
4- Process of Building a Portable Room
- What is needed?
- Rope (can be purchased at the dollar store for
1.00) - Pipes ( can be purchased at Home Depot )
- 10 ft long white pipe for 2.59
- Pipe connectors 1 for each wall ( can be
purchased at Home depot for 0.51 each) - Binding rings ( can be purchased at Daiso for 2
or staples for 5 ) or alternative shower curtain
rings at the Dollar store for 1.00 - Shower curtain ( can be purchased at Walmart for
3 4) - Bed sheet (can be purchased at Zellers, Double/
Queen size 14.97 , Twin size9.97). - White thread and needles ( can be purchased at
Fabricana ( around 5-7)
5How to make? 1.) First we will seam rip the
threads on the top of the bed sheet with a seam
ripper. Then we will trim down the size of the
bed sheet so that the width fits perfectly with
the shower curtain. Then we will fold 1.5 cm of
the edge in and sew a straight line, then we will
match the top edge of the bed sheet to the
section underneath the holes on the shower
curtain and we will sew that together.
62.) We will purchase 2 pipes for every wall, and
a pipe connector with it. We will have the
connector in the middle connecting pipe 1 and
pipe 2. Then we will use binding rings and clip
them through the holes on the shower curtain.
After that, we will slip the binding rings
through the pipes to hold up the curtain and bed
sheet.
Binding ring sizes will depend on the radius of
the pipes that will be purchased
73.) Then we will tie the ropes end to a pencil
and put it through the pipe. Once that has been
done we will tie the rope a long the ceilings
pipes. Note 3 people will be needed for this
process, 2 people on the ladder holding both ends
of the pipes (pipe1 and pipe 2s ends) and 1
person in the middle working his/ her way on
tying the rope around the pipes. ( First, the
long rope that went through the pipes are tied,
then we tie little sections in between so that
the wall does not sway side by side and is
balanced.
? Pipe connectors
8How our installation will look!
9How is it portable and how does it work?
In order to move the walls around, first we will
have to remove the rope that is connecting the 2
pipes together. After we have removed the walls
pipes from the ceilings pipes, we will remove
the connector for pipe 1 and pipe 2 and slide the
binding rings off. Then the curtain is completely
removed from the pipes, and then we can fold the
curtain and the pipes and pipe connectors can be
placed in a box and move it to our cars.
10Back up Plan for SFUs Future Usage
11How it Works
12Flash 8! Motion Detection
Links http//blog.tapuz.co.il/thesite/images/7224
97_49.swf http//www.benga.li/cam_exp/cameraActivi
ty_07.swf
function callback1() Â Â Â Â _root.map.draw(clip
)Â Â Â Â _root.map._xscale 10Â Â Â Â clr_ar
new Array ()Â Â Â Â x 0Â Â Â Â y 0Â Â
  i 0    do       obj
colorx_root.map.getPixel(x, y), xxx, yyyÂ
     clr_ar obj      i i 1Â
     x x 10      if (x 320)
        x 0        y y
10          while (y lt 200)Â
   function callback2()    Â
_root.map.draw(clip)Â Â Â Â clr_ar2 new Array
()Â Â Â Â x 0Â Â Â Â y 0Â Â Â Â i
0    do       obj2
colorx_root.map.getPixel(x, y), xxx, yyyÂ
     clr_ar2 obj2      i i
1Â Â Â Â Â Â x x 10Â Â Â Â Â Â if (x
320) Â Â Â Â Â Â Â Â x 0Â Â Â Â Â Â Â Â y
y 10          while (y lt
200)Â Â Â Â fff 0Â Â Â Â t
clr_ar2.length    ii 0    lev
10    do       xxx
clr_ar2ii.colorx - clr_arii.colorx    Â
 if (xxx gt 1000000)         fff fff
1Â Â Â Â Â Â Â Â _root.xxx.text
clr_ar230.xx       Â
_root.attachMovie("circle", "circle2_mc" ii,
lev, _xNumber (clr_arii.xx), _yNumber
(clr_arii.yy))Â Â Â Â Â Â Â Â lev lev
1Â Â Â Â Â Â Â Â Â Â Â Â ii ii 1Â Â Â Â
while (ii lt t)    usercam
Camera.get()Â Â _root.clip.attachVideo(usercam)
  _root.clip._visible false  _root.map
new flash.display.BitmapData(320, 200, true,
100)Â Â _root.createEmptyMovieClip("fake",
2)Â Â _root.fake.attachBitmap(map, 100, "auto",
true)  _root.fake._visible true Â
setInterval(callback1, 100)Â Â
setInterval(callback2, 200)
var camera Camera.get()Â Â my_video.video.atta
chVideo(camera)  balls   var curX
10Â Â var curY 10Â Â var espaceX 7Â Â
var espaceY 7Â Â var i 0Â Â while (i lt
280) Â Â Â Â var refC this.generic_detector.du
plicateMovieClip("c_" i, 100 i)Â Â Â Â
refC._x curXÂ Â Â Â curX curX (9
espaceX)Â Â Â Â refC._y curYÂ Â Â Â if
(curX gt 320) Â Â Â Â Â Â curX 10Â Â Â Â Â
 curY curY (9 espaceY)       Â
balls _root"c_" i    i   Â
_root.map new flash.display.BitmapData(320,
240, true, 0)Â Â _root.createEmptyMovieClip("fak
e", 20)Â Â _root.fake.attachBitmap(map, 0,
"auto", true)Â Â _root.fake._visible falseÂ
 var lastKeptInstance balls0 Â
detectMotion function () Â Â Â Â
clearInterval(this.detectMotionID)Â Â Â Â
map.draw(my_video)Â Â Â Â var _local5Â Â Â Â
var _local3 0Â Â Â Â while (_local3 lt 280)
      var _local4 _root.map.getPixel(bal
ls_local3._x, balls_local3._y)Â Â Â Â Â Â
if (((balls_local3.outclr / _local4) lt 0. Â Â
((balls_local3.outclr / _local4) gt 1.25))
        balls_local3.fade()   Â
  else         balls_local3.masque
()Â Â Â Â Â Â Â Â Â Â Â Â Â balls_local3.outc
lr _local4Â Â Â Â Â Â _local3Â Â Â Â Â
   launchInterval()    launchInterval
function () Â Â Â Â this.detectMotionID
setInterval(this, "detectMotion", 250)Â Â Â
 launchInterval()
13(No Transcript)
14(No Transcript)
15(No Transcript)
16Report on Gun Prototype
- Construction
- This custom-made device consists of the following
major components - Can-gun a plastic tool designed to ease the use
of a standard spraycan - Laser pointer a typical Class 2 laser pointer
- Switches electrical switches installed to
trigger the laser and external devices - Can a custom-fabricated, externally-attached
metal container to house stuff, such as an
Arduino micro-controller board
17Gun 1 This is the initial prototype. The core
of the laser pointer (optics laser diode
circuit) is extracted from the laser pointer
device, and installed into the top-rear end of
the gun. Slots/holes are made to create a clear
line-of-fire. Since the switch that came with the
laser pointer is un-reliable, a standard
(momentary, normally open) micro-switch switch
has been used. This type of switch is designed to
be actuated by the physical motion of mechanical
devices, like the trigger of the can-gun. This
switch is wired to a pack of three button-cell
batteries, and the laser pointer itself. Another
switch, designed to interface with an Arduino
micro-controller board, has been installed. This
switch is a miniature tactile switch. The switch
is installed close to the trigger, which allows
actuation by the thumb of the right hand. All
components are fitted either by friction-lock or
hot-glue. Wires are standard 24-AWG insulated
wire with copper core.
- Gun 2
-
- This is the revision of Gun 1. There are several
minor changes. Firstly, the miniature tactile
switch has been relocated to the center of the
pistol-grip area, so that there is space
available for a microphone module. To gain extra
space inside the can-gun, a sub-miniature
micro-switch is used instead. Wiring is
identical, except that resistors will be added
for ease of interfacing with an Arduino
micro-controller board.
18Specifications Generic standard micro-switch
Omron D2F series sub-miniature micro-switch
Omron B3F series tactile switch
19Finished Look?
What we need from the class
20(No Transcript)
21Questions? Concerns?