Project/s

// Coding and testing.

Circuit draw;

/* The initial prototype circuit layout – at a test scale to assist writing the code – testing the functions as they are written */


Component list;

Arduino board(1) == (An ‘open-source’ electronic prototyping platform); /* assists with the creation of numerous multi-functioning components through the use of a single software driven board programmed using standard processing code. */


‘open-source’; == (a system deliberately designed to be flexible and adaptable to aid individual needs and requirements.)

/*  Software is freely avaialbe and Arduino can be constructed out of parts purchased separately and assembled together. */

Sensors;

// Activated by arduino when the annolouge ports they are connected to are activated

// through the commands in the processing code.

Sensor_1 + Sensor_2 == ‘Rotary Potentiometer’(a variable resistor that is controlled by turning the dial.);

Sensor_3 == ‘Photo resistor’, (senses light – resistance is increased when covered or shaded);


Actuators;

LED_1 + LED_2 + LED_3 == ‘Light Emitting Diodes’, (highly adjustable, very efficien tsemi-conducting light source capable of dimming and being switched on very quickly);

// To control the brightness of the LEDs  10 ohm resistors are connected in series

———————————————————————————————————————————

Evolutionary design;

System Loop (as the user interacts):

1 – User selects ‘Connects’ sensors to actuators
1.5 – Processing tells Arduino to make the connection between Sensor and Actuator
2 – This accesses one of the 9 memory banks specific for that combination
3 – As the actuator moves, the distances between the actuator in relationship to the static sensor are recorded through Arduino and split into ‘zones’. (By calibrating the spring potentiometer)
4 – Room zones become a subset for each of the 9 memory banks
5 – User adjusts the sensor/actuator settings according to their preferences/desires
6 – The settings are logged into their respective memory banks
7 – An average is calculated from the logged data steam
8 – Average value is displayed on the User Interface

—-
mini loop – (output determined by user settings and environment condition)

9 – Settings from point No.5 go to Arduino and adjust the actuator settings
10 – Sensor readings are processed by arduino
11 – Output to actuator

^^^^^^^^

This completes a loop cycle.

——————————-

Hacking the actuators;

Fan box with relay switches to alter direction of fan

Bulge control adaptation to control the expansion of the air bag.

Partially first adaption to blind

 

Mechanism taken apart

 

Gears from a hacked servo and the blind twisting mechanism

 

New mechanism to control blind

 

Modified microphone sensitivity

Adaption to the microphone

———————————————-

Data Logging == (About 3 minutes of data taken recorded); // CSV Data can easily be copied into spreadsheets and graphed

Data == Comma Separated Values (time in seconds,sensor & polarity setting, reading);

og started at,12/12/2010,14:39:33

work by Tyler Chan, Richard Bush and Alastair Powell, with the help of Chris Hand

=========================================

[Ljava.lang.String;@3f99af
2,pola_1,-
2,pola_2,-
2,pola_3,-
2,sens_1,43
2,sens_2,-1640.75
2,sens_3,21.77736
4,sens_1,47
4,sens_2,-78.25
4,sens_3,21.77736
5,sens_1,50
5,sens_2,-0.125
5,sens_3,21.28908
6,sens_1,49
6,sens_2,-0.125
6,sens_3,21.77736
7,sens_1,47
7,sens_2,-0.125
7,sens_3,20.800798
8,sens_1,46
8,sens_2,-0.125
8,sens_3,21.28908
9,sens_1,46
9,sens_2,-0.125
9,sens_3,21.77736
10,sens_1,45
10,sens_2,-0.125
10,sens_3,21.77736
11,sens_1,53
11,sens_2,-0.125
11,sens_3,20.800798
12,sens_1,45
12,sens_2,-0.125
12,sens_3,21.28908
13,sens_1,46
13,sens_2,-0.125
13,sens_3,20.800798
14,sens_1,48
14,sens_2,-0.125
14,sens_3,21.28908
15,sens_1,48
15,sens_2,-0.125
15,sens_3,20.800798
16,sens_1,48
16,sens_2,-0.125
16,sens_3,22.265642
17,sens_1,47
17,sens_2,-0.125
17,sens_3,21.77736
17,s1_a1
18,sens_1,48
18,sens_2,-0.125
18,sens_3,21.28908
19,n_a2
19,sens_1,48
19,sens_2,-0.125
19,sens_3,21.28908
20,n_a3
20,sens_1,45
20,sens_2,-0.125
20,sens_3,21.77736
21,sens_1,44
21,sens_2,-0.125
21,sens_3,21.28908
22,sens_1,46
22,sens_2,-0.125
22,sens_3,21.28908
23,sens_1,42
23,sens_2,-0.125
23,sens_3,21.28908
24,sens_1,42
24,sens_2,-0.125
24,sens_3,21.28908
25,sens_1,41
25,sens_2,-0.125
25,sens_3,21.28908
26,sens_1,41
26,sens_2,-0.125
26,sens_3,21.77736
27,sens_1,41
27,sens_2,-0.125
27,sens_3,21.77736
28,sens_1,41
28,sens_2,-0.125
28,sens_3,21.28908
29,sens_1,106
29,sens_2,-0.125
29,sens_3,22.265642
30,sens_1,112
30,sens_2,-0.125
30,sens_3,21.28908
31,sens_1,112
31,sens_2,-0.125
31,sens_3,21.28908
32,sens_1,112
32,sens_2,-0.125
32,sens_3,21.77736
33,sens_1,112
33,sens_2,-0.125
33,sens_3,21.77736
34,sens_1,111
34,sens_2,-0.125
34,sens_3,21.28908
35,sens_1,111
35,sens_2,-0.125
35,sens_3,21.77736
36,sens_1,192
36,sens_2,-0.125
36,sens_3,21.28908
37,sens_1,194
37,sens_2,-0.125
37,sens_3,21.28908
38,sens_1,194
38,sens_2,-0.125
38,sens_3,21.28908
39,sens_1,194
39,sens_2,-0.125
39,sens_3,21.28908
40,sens_1,194
40,sens_2,-0.125
40,sens_3,21.28908
41,sens_1,245
41,sens_2,-0.125
41,sens_3,21.28908
42,sens_1,251
42,sens_2,-0.125
42,sens_3,21.77736
43,sens_1,252
43,sens_2,-0.125
43,sens_3,21.77736
44,sens_1,242
44,sens_2,-0.125
44,sens_3,21.77736
45,sens_1,196
45,sens_2,-0.125
45,sens_3,21.28908
46,sens_1,195
46,sens_2,-0.125
46,sens_3,21.28908
47,pola_1,+
47,pola_1,+
47,pola_1,+
47,pola_1,+
47,pola_1,+
47,pola_1,+
47,sens_1,194
47,sens_2,-0.125
47,sens_3,21.28908
48,sens_1,194
48,sens_2,-0.125
48,sens_3,21.77736
49,sens_1,194
49,sens_2,-0.125
49,sens_3,21.77736
50,sens_1,194
50,sens_2,-0.125
50,sens_3,21.28908
51,sens_1,194
51,sens_2,-0.125
51,sens_3,21.28908
53,sens_1,194
53,sens_2,-0.125
53,sens_3,21.28908
54,sens_1,194
54,sens_2,-0.125
54,sens_3,21.77736
55,sens_1,194
55,sens_2,-0.125
55,sens_3,21.28908
56,sens_1,194
56,sens_2,-0.125
56,sens_3,21.28908
57,sens_1,111
57,sens_2,-0.125
57,sens_3,21.28908
58,sens_1,110
58,sens_2,-0.125
58,sens_3,21.77736
59,sens_1,110
59,sens_2,-0.125
59,sens_3,21.77736
60,sens_1,110
60,sens_2,-0.125
60,sens_3,21.28908
61,sens_1,110
61,sens_2,-0.125
61,sens_3,21.28908
62,sens_1,48
62,sens_2,-0.125
62,sens_3,21.28908
63,sens_1,47
63,sens_2,-0.125
63,sens_3,21.28908
64,sens_1,47
64,sens_2,-0.125
64,sens_3,21.77736
65,sens_1,47
65,sens_2,-0.125
65,sens_3,21.77736
66,sens_1,47
66,sens_2,-0.125
66,sens_3,21.77736
67,sens_1,47
67,sens_2,-0.125
67,sens_3,21.28908
68,sens_1,47
68,sens_2,-0.125
68,sens_3,22.753923
69,sens_1,47
69,sens_2,-0.125
69,sens_3,21.28908
70,sens_1,47
70,sens_2,-0.125
70,sens_3,21.28908
71,sens_1,47
71,sens_2,-0.125
71,sens_3,21.28908
72,sens_1,47
72,sens_2,-0.125
72,sens_3,21.77736
73,sens_1,48
73,sens_2,-0.125
73,sens_3,21.28908
73,pola_1,-
73,pola_1,-
73,pola_1,-
73,pola_1,-
73,pola_1,-
73,pola_1,-
73,pola_1,-
74,sens_1,47
74,sens_2,-0.125
74,sens_3,21.28908
75,sens_1,47
75,sens_2,-0.125
75,sens_3,21.77736
76,sens_1,47
76,sens_2,-0.125
76,sens_3,21.28908
77,sens_1,47
77,sens_2,-0.125
77,sens_3,21.77736
78,sens_1,47
78,sens_2,-0.125
78,sens_3,21.28908
79,sens_1,49
79,sens_2,78.0
79,sens_3,21.28908
80,sens_1,49
80,sens_2,78.0
80,sens_3,21.28908
81,sens_1,49
81,sens_2,-0.125
81,sens_3,21.28908
82,sens_1,49
82,sens_2,-0.125
82,sens_3,21.28908
83,sens_1,49
83,sens_2,-0.125
83,sens_3,21.28908
84,sens_1,49
84,sens_2,-0.125
84,sens_3,21.77736
84,s3_a1
85,sens_1,49
85,sens_2,-0.125
85,sens_3,21.77736
86,sens_1,49
86,sens_2,-0.125
86,sens_3,21.77736
87,sens_1,49
87,sens_2,-0.125
87,sens_3,21.77736
88,n_a1
88,sens_1,50
88,sens_2,-0.125
88,sens_3,21.28908
89,sens_1,50
89,sens_2,-0.125
89,sens_3,21.28908
90,sens_1,49
90,sens_2,-0.125
90,sens_3,21.28908
91,sens_1,51
91,sens_2,-0.125
91,sens_3,21.28908
92,sens_1,48
92,sens_2,-0.125
92,sens_3,21.28908
93,sens_1,48
93,sens_2,-0.125
93,sens_3,21.28908
93,s1_a2
94,sens_1,48
94,sens_2,-0.125
94,sens_3,21.28908
95,sens_1,48
95,sens_2,-0.125
95,sens_3,22.265642
96,sens_1,48
96,sens_2,-0.125
96,sens_3,21.77736
97,sens_1,47
97,sens_2,-0.125
97,sens_3,22.753923
98,sens_1,46
98,sens_2,-0.125
98,sens_3,22.753923
99,sens_1,45
99,sens_2,-0.125
99,sens_3,21.77736
100,sens_1,196
100,sens_2,-0.125
100,sens_3,23.24221
101,sens_1,196
101,sens_2,-0.125
101,sens_3,21.77736
102,sens_1,196
102,sens_2,-0.125
102,sens_3,21.77736
103,sens_1,196
103,sens_2,-0.125
103,sens_3,21.28908
104,sens_1,42
104,sens_2,-0.125
104,sens_3,21.77736
105,sens_1,42
105,sens_2,-0.125
105,sens_3,21.77736
106,sens_1,42
106,sens_2,-0.125
106,sens_3,21.77736
107,s3_a3
107,sens_1,77
107,sens_2,-0.125
107,sens_3,21.77736
108,sens_1,76
108,sens_2,-0.125
108,sens_3,21.77736
109,sens_1,76
109,sens_2,-0.125
109,sens_3,21.77736
110,sens_1,77
110,sens_2,-0.125
110,sens_3,22.265642
111,sens_1,77
111,sens_2,-0.125
111,sens_3,21.77736
112,sens_1,78
112,sens_2,-0.125
112,sens_3,21.77736
113,sens_1,78
113,sens_2,-0.125
113,sens_3,21.77736
114,s2_a1
114,sens_1,81
114,sens_2,-0.125
114,sens_3,21.77736
115,sens_1,81
115,sens_2,-0.125
115,sens_3,21.77736
116,pola_3,+
116,pola_3,+
116,pola_3,+
116,pola_3,+
116,pola_3,+
116,pola_3,+
116,pola_3,+
116,pola_3,+
116,pola_3,+
116,sens_1,81
116,sens_2,-0.125
116,sens_3,21.28908
117,sens_1,81
117,sens_2,-0.125
117,sens_3,22.265642
118,sens_1,81
118,sens_2,-0.125
118,sens_3,21.28908
118,pola_3,-
118,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,pola_3,-
119,sens_1,80
119,sens_2,-0.125
119,sens_3,33.984398
120,sens_1,79
120,sens_2,-0.125
120,sens_3,22.265642
121,sens_1,79
121,sens_2,-0.125
121,sens_3,22.753923
122,sens_1,79
122,sens_2,-0.125
122,sens_3,21.77736
123,sens_1,79
123,sens_2,-0.125
123,sens_3,21.77736
124,sens_1,79
124,sens_2,-0.125
124,sens_3,21.77736
124,n_a1
125,sens_1,79
125,sens_2,-0.125
125,sens_3,21.77736
126,s2_a3
126,sens_1,78
126,sens_2,-0.125
126,sens_3,21.77736
127,sens_1,78
127,sens_2,-0.125
127,sens_3,21.77736
128,s3_a1
128,sens_1,77
128,sens_2,-0.125
128,sens_3,21.77736
129,sens_1,77
129,sens_2,-0.125
129,sens_3,21.77736
130,sens_1,80
130,sens_2,-0.125
130,sens_3,21.77736
131,sens_1,80
131,sens_2,-0.125
131,sens_3,21.77736
132,n_a2
132,sens_1,79
132,sens_2,-0.125
132,sens_3,22.265642
133,sens_1,78
133,sens_2,-0.125
133,sens_3,21.28908
134,sens_1,78
134,sens_2,-0.125
134,sens_3,21.28908
135,sens_1,79
135,sens_2,-0.125
135,sens_3,21.77736
137,sens_1,79
137,sens_2,-0.125
137,sens_3,21.28908
138,sens_1,81
138,sens_2,-0.125
138,sens_3,21.28908
139,sens_1,81
139,sens_2,-0.125
139,sens_3,21.28908
140,sens_1,80
140,sens_2,-0.125
140,sens_3,21.77736
141,sens_1,79
141,sens_2,-0.125
141,sens_3,21.77736
142,sens_1,80
142,sens_2,-0.125
142,sens_3,20.800798
143,sens_1,81
143,sens_2,-0.125
143,sens_3,21.28908
144,sens_1,84
144,sens_2,-78.25
144,sens_3,21.28908
145,sens_1,83
145,sens_2,78.0
145,sens_3,21.28908
146,sens_1,82
146,sens_2,-0.125
146,sens_3,21.77736
147,sens_1,80
147,sens_2,-0.125
147,sens_3,21.77736
148,sens_1,80
148,sens_2,-0.125
148,sens_3,21.77736
149,sens_1,80
149,sens_2,-0.125
149,sens_3,21.28908
150,sens_1,80
150,sens_2,-0.125
150,sens_3,21.28908
151,sens_1,80
151,sens_2,-0.125
151,sens_3,21.77736
152,sens_1,80
152,sens_2,-0.125
152,sens_3,21.28908
153,sens_1,79
153,sens_2,-0.125
153,sens_3,21.28908
154,sens_1,82
154,sens_2,-0.125
154,sens_3,21.28908
155,sens_1,82
155,sens_2,-0.125
155,sens_3,21.77736
156,sens_1,82
156,sens_2,-0.125
156,sens_3,22.265642
157,sens_1,81
157,sens_2,-0.125
157,sens_3,21.28908
158,sens_1,81
158,sens_2,-0.125
158,sens_3,21.77736
159,sens_1,81
159,sens_2,-0.125
159,sens_3,21.28908
160,sens_1,80
160,sens_2,78.0
160,sens_3,21.28908
161,sens_1,80
161,sens_2,-78.25
161,sens_3,21.28908
162,sens_1,81
162,sens_2,-0.125
162,sens_3,21.77736
163,sens_1,80
163,sens_2,-0.125
163,sens_3,21.28908
164,sens_1,80
164,sens_2,78.0
164,sens_3,20.800798
165,sens_1,78
165,sens_2,-0.125
165,sens_3,21.28908
166,sens_1,78
166,sens_2,-0.125
166,sens_3,21.77736
167,sens_1,78
167,sens_2,-0.125
167,sens_3,21.28908
168,sens_1,78
168,sens_2,-0.125
168,sens_3,21.28908
169,sens_1,78
169,sens_2,-0.125
169,sens_3,21.77736
170,sens_1,78
170,sens_2,-0.125
170,sens_3,21.77736
171,sens_1,80
171,sens_2,-0.125
171,sens_3,21.28908
172,sens_1,79
172,sens_2,-0.125
172,sens_3,21.77736
173,sens_1,78
173,sens_2,-0.125
173,sens_3,21.28908
174,sens_1,78
174,sens_2,-0.125
174,sens_3,21.28908
175,sens_1,79
175,sens_2,-0.125
175,sens_3,21.77736
176,sens_1,79
176,sens_2,-0.125
176,sens_3,21.28908
177,sens_1,79
177,sens_2,-0.125
177,sens_3,21.77736
178,sens_1,78
178,sens_2,-0.125
178,sens_3,21.28908
179,sens_1,79
179,sens_2,-0.125
179,sens_3,21.77736
180,sens_1,79
180,sens_2,-0.125
180,sens_3,21.28908
181,sens_1,78
181,sens_2,-0.125
181,sens_3,21.28908
182,sens_1,78
182,sens_2,-0.125
182,sens_3,21.28908
183,sens_1,79
183,sens_2,-0.125
183,sens_3,21.28908
184,sens_1,80
184,sens_2,-0.125
184,sens_3,21.28908
185,sens_1,80
185,sens_2,-0.125
185,sens_3,21.28908
186,sens_1,80
186,sens_2,-0.125
186,sens_3,21.28908
187,sens_1,82
187,sens_2,-0.125
187,sens_3,21.28908
188,sens_1,81
188,sens_2,-0.125
188,sens_3,21.77736
189,sens_1,81
189,sens_2,-0.125
189,sens_3,21.28908
189,n_a1
190,sens_1,81
190,sens_2,-0.125
190,sens_3,21.28908
191,n_a3
191,sens_1,81
191,sens_2,-0.125
191,sens_3,21.28908
192,sens_1,80
192,sens_2,-0.125
192,sens_3,21.28908
193,sens_1,78
193,sens_2,-0.125
193,sens_3,21.28908
194,sens_1,78
194,sens_2,-0.125
194,sens_3,20.800798
195,sens_1,76
195,sens_2,-0.125
195,sens_3,21.28908
196,sens_1,76
196,sens_2,-0.125
196,sens_3,21.77736
197,sens_1,78
197,sens_2,-0.125
197,sens_3,21.77736
198,sens_1,78
198,sens_2,-0.125
198,sens_3,21.28908

=========================================

log ended at,12/12/2010,14:42:50

work by Tyler Chan, Richard Bush and Alastair Powell, with the help of Chris Hand

- FIN -
%d bloggers like this: