Professional Documents
Culture Documents
Abstract
This document describes a network of connected light nodes that work together to reduce the
power consumption of lighting streets or hallways. We propose a pedestrian detection system
built on an embedded platform using ultrasonic motion sensors to dynamically light a hallway
as the traveler moves through the monitored space. A conservative model for powering the
light system would aim to only light areas in the immediate vicinity of the traveler, with a
gradient of light concentrated at the position of the traveler. We present a networked model
that aims to broadcast pedestrian status across the network so that the light controllers may
respond appropriately.
I.
Motivation
II.
Background
I.
Hardware
Arduino Uno Clone (Practical ATmega238P UNO R3)
This will house the microprocessor.
1
256POS
II.
Software
III.
Challenges
The third primary challenge is the communications between nodes. The communications and routing between nodes serves as
the most challenging requirement for the
system. Within each of these challenges,
there are hardware and software components.
IV.
V.
Goals
VI.
Testing
I.
Hardware
I.1
Test Plan
The test plan began by looking at the different aspects of the project in order to
ensure that all aspects of the project were
completed.
I.2
Acoustic Sensor
Digital Potentiometer
The testing of the digital Potentiometer began with a communication test ensuring
that the device would dynamical change
the output voltage based on the input
value. These tests went well, allowing the
dimming and brightening of an LED light.
After verifying that the digital potentiometer would change values testes were performed to find the relative value for Low,
Medium, High, off would be 0 volts. Initial the full range of input values was divided into three equal parts. Testing the
relative light output based on the linear
division of the possible output range revealed that the voltage output was not completely linear with respect to relative light.
Therefore the values for ,Low, Medium,
High were adjusted and relative values that
would give a noticeable change in brightness between Low, Medium, and High.
I.4
Bluetooth Transceiver
Bluetooth Transceiver (HC-05): The Bluetooth communication module that was chosen was initially tested to ensure that two
of the adapters would recognize and pair
with each other. This test was successful. The next test looked at connecting
6
II.
Software
The software test plan began with the analysis of the timing constraints within the
Arduino programing environment. Arduino boards are programed using two
basic steps. First was the setup: here the
device is initialized and internal structures
and devices are setup. Second was the void
loop: the device continually loops through
the set of instructions found within the
loop. One time events and function calls
were called within the setup function while
the main operations take place within the
loop. Because the detection of motion was
the primary purpose of the unit, the section
of code that operates the sonar was time
critical. If other functionality delayed the
operation of the motion detection then an
event could be missed. Therefore testing
the timing was a large portion of the soft-
VII.
Results
VIII.
I.
Discussion
Future Work
II.
Comments
the wireless communication would add additional complexities within the software
and hardware designs.
IX.
Conclusion