Professional Documents
Culture Documents
Final Report
Final Report
GEEN 1400
By:
1
Table of Contents
Executive Summary………………………………………………………………...3
A. Brainstorming…………………………………………………………….7-11
b. Machining…………………………………………………………...13
c. Assembly…………………………………………………………….14
d. Cost………………………………………………………………14-15
Works Cited…………………………………………………………………….....19
2
Executive Summary
The main issue that we aimed to address was the issues of the current bike racks on campus.
In their current states bikes are left in vaguely organized heaps, leaning on one another or even
being cosier with the concrete than they are with the actual bike rack. This causes students a
great amount of frustration when trying to retrieve or put a bike away.
The project we decided on to fix this issue was a lock that could be easily installed onto the
less than effective racks the campus uses now. The lock consisted of three main components: the
chain lock, the solenoid, and an Arduino. The chain was the simplest, as it physically locks the
bike. A metal piece is attached to a galvanized steel cable wrapped in chain. The solenoid works
on a separate circuit in order to prevent too much power from running into the Arduino. All of
the components were made to work separately and then combined to make a working system that
locks. When a user swipes his or her BuffOne card the Solenoid becomes energized as the relay
on the Arduino completes its circuit. This then magnetizes the Solenoid and pulls the pin up out
of the nipple to unlock the bike. We had trouble getting the components to communicate
properly at first since we had built them separate from one another, but fortunately the lock was
functioning when the Design Expo came around.
The team definitely experienced frustrating obstacles when working in the class, as well
as a few issues when presenting the project during the expo, but the overall experience was
positive for our team. The failure we had with the project was an invaluable learning experience
for every member of the group and as a team we all worked well together. We were able to
create an exciting and unique project because of the diversity of personalities and our ability to
work with that diversity. We usually reached a consensus fairly quickly and prioritized as well as
executed tasks effectively enough to be well prepared for the Expo.
3
In recent years it seems that environmental issues are finally being placed at the forefront of
human endeavors and it is becoming more and more important for businesses and individuals
alike to stay aware of them in their daily operations. One of the most pervasive issues these days
is air pollution as we maintain a heavy reliance on motor vehicles. As a group we may not have
initially had environmental issues at the forefront of the project, but any involvement with
promoting the use of bikes has a byproduct that supports environmental awareness. Bikes,
though they lack the speed of cars, still save a reasonable amount of travel time, especially in
areas with traffic, and prevent a large amount of vehicular pollution. Our project aims to create a
bike lock for bike racks that will provide a convenience that draws people to bike more and find
driving less of a necessity.
Driving pollutes the air and most people are completely aware of this fact, but the unfortunate
reality is that driving is too convenient and necessary for people to abandon altogether. The
number of passenger cars in the US has remained around 135,000,000 since 2002 so it is
unrealistic to think that bikes will ever replace cars, but an increase in the frequency that people
bike as well as a decrease in driving is the key to lowering the massive output of pollution into
the air by vehicles (National Transportation Statistics, 2015). For years people have been trying
to make the car better, and though improved gas mileage and lowered emissions have improved
greatly by human innovation, motor vehicles still produce more than 30% of the U.S’s carbon
dioxide emissions as the average American may emit 4.7 tons of carbon annually (Greenhouse
Gas Emissions). That’s a huge amount of carbon that is impossible for the Earth to cycle
through.
The result of all of this carbon going into the atmosphere is a severe imbalance in the carbon
cycle. The additional burden will cause excess CO2 to remain in the atmosphere for many
thousands of years (Carbon Cycle Science, 2015). Carbon is cycled through the earth and air and
its abundance keeps life on earth thriving. The NOAA, the National Oceanic and Atmospheric
Administration is charged with monitoring carbon emissions by providing analysis and
measurements that allow us to predict the effects of heavy carbon output. Carbon only makes up
0.04% of the atmosphere, but the purpose of carbon is to trap longwave radiation which creates a
warming effect on the planet (Carbon Cycle Science). This process is crucial for the survival of
4
living organisms on Earth, but as more and more carbon builds up the warming affect becomes
amplified and has other adverse environmental effects.
In light of these issues many communities have been responding and trying to combat the
human race’s careless pollution. Cities are finding new ways to lessen traffic and car congestion
by encouraging an increase in bike traffic. The city of Long Beach, California put aside money to
implement more biking infrastructure. As a prototype they laid down a five-foot wide strip of
green paint in a traffic lane that indicated bikers could legally share the lane. The result was that
“the street saw about 400 cyclists and 40,000 motorists a day. After the paint dried two and a half
years ago, the street sees about 1,000 cyclists per day” which is an amazing improvement (Berg,
N).
In order to get a better feel for how actual people with bikes would respond to our project we
asked a few questions of students who would potentially be interacting with our product. One of
those students, an avid biker who wished to remain anonymous, stated that he thought the idea
was “very useful” and though he’d probably trust his own name brand lock-On Guard-a little
more, he thought the bike racks needed some organization. We asked about what he thought
about the issue of carbon emissions from cars and he thought that people should definitely be
biking more and he supported any project that would encourage people to use cars less.
Another student we interviewed, a freshmen, Alex Deegan, said she enjoyed the idea of using
her card to lock her bike up. She said she hates carrying around her lock and trying to wedge her
bike and lock between the bikes of others and sometimes she runs late to class because she can’t
find a space. We asked if she’d feel that her bike was safe and she admitted she’d want to “see
how it worked first” but ultimately if it was put on the campus by the school she’d trust it. We
also asked her about her thoughts on car pollution and she said that though it is a bad thing she
personally loves driving. It is faster than biking and is better when winter comes around, but she
thinks that that the issue should be fixed, though biking may not be the ultimate way to solve the
problem.
I’m sure most people are fully aware that driving is bad for the environment, maybe not so
much the exact science of how, but most people know that humans are hurting their surroundings
by driving. So the issue is not so much providing information, as it is trying to make places biker
5
friendly. Anyone can bombard people with facts and charts and never get any kind of real notion
into their heads because let’s face it driving is an integral part of life in today’s society. It’s very
difficult to live in this world without a car, or a reliable means of transportation. Our project is
aiming to create spaces where people can bike safely and conveniently. Though it is targeted
toward a campus environment in Boulder, Colorado-an extremely bike conscious city-being a
part of a movement to encourage biking helps to inform students of the impacts of their
transportation habits.
Provoking people to take action is a much harder feat. People are much easier to persuade into
action when they feel emotionally attached to something and facts sometimes lack the effect to
create an emotional attachment, especially to biking. This is where the novelty and excitement
comes in. Luckily, we are living in a society where technology is always being improved or
implemented in new ways. So what will provoke people is the excitement of a new use of an
everyday technology. Student ID’s create a kind of personal attachment as well since it will
make a public lock feel more personal. The main goal of our project is to make someone find the
biking lifestyle alluring and exciting so that we can elicit change. It may only be a small change
but means to help our planet’s welfare is necessary.
The Panther Bike Lock is focused on implementing the standardized campus identification
cards known as BuffOne Cards into biking security. Students already use these cards to access
almost all services offered by the campus, which means that swiping in to use a bike rack is not
strange but instead familiar and a new and interesting way of using these cards. Biking is also a
great and widely utilized way to get around campus so students are more than familiar with the
current racks and the many forms of locks as well as the issues of all of them. Our lock sets out
to solve such issues such as crowded racks, cumbersome locks, unreliable locks, and rampant
thievery and vandalism.
The lock has 3 basic components. The first component, and the simplest, is of course the
actual lock. A metal rod called the nipple, sits at the end of a twisted length of galvanized steel
cable, 3/8 inch thick. This cable is also wrapped in low carbon steel chain to prevent anyone
from attempting to cut the cable as the chain links make it difficult to get any sort of cutter
around the cable. The nipple slides into the lock which consists only of a pin that locks and
6
unlocks by being placed in a fitted hole in the nipple. The next component is the solenoid, which
has its own separate circuit-this is to prevent too much power from going into the third
component the Arduino. The Solenoid when energized pulls the pin up out of the nipple and
unlocks the bike. Solenoids are inductors so locking requires the solenoid to be off. The Arduino
can only take a very small amount of voltage so it is crucial that the solenoid stay unconnected
from it. The Arduino will receive information from the card swiper and tell an arm on a servo to
move back and forth. This arm with complete and break the solenoid’s circuit so that it can
energize and turn off the solenoid. This all creates a lock that will allow the user to swipe in, lock
their bike, and unlock the rack by swiping only their card.
7
Multiple ideas were drawn up to create an initial solution to the bike lock. In order to create
ideas, we walked to the bike racks that are placed in front of Baker and Libby Hall. These bike
racks are covered to keep the bikes dry and also are vertically hung from the front tire as shown
in Figure 1.
We developed an idea to use the same bike rack design and add our bike lock onto the mount
that holds the bike. The idea is that the bike is hung on the hook, then one swipes their card and a
steel beam would extend outward through the frame which would secure the bike.
We wanted our product to be used by everyone that owns a bike. This includes a wide range
of ages. The problem with this idea is that some people may not have the strength to prop their
bike up and lift it onto the hook. Also, the steel beam that would go through the frame is heavy
as well as expensive. Even if theses problems were addressed, not all bike frames are the same
shape and size. With these problems noted, we moved to our next ideas, which are described in
the following section
Cable and User-Triggered Lock
Description:
Due to the lack of flexibility of the metal beam locking mechanism, we had to think about
materials that could bend easily to fit through any bicycle frame. After some research, we found
that galvanized steel is the best and most commonly used cable to lock bikes. After settling on
the cable, we needed to lock the cable to something. From here we brainstormed three ideas:
8
At the end of the cable we would attach a locking device, which is called a nipple, that would
be inserted into a box that would house the locking mechanism. The clamp, shown in Figure 2,
would pinch the sides of the nipple when activated and would hold the cable until the user comes
back to unlock the system.
Pros:
Would be secure and hard to pull out. The clamp would be pinching the cable with enough
force that it would be almost impossible to pull away from.
Cons:
Would have to be supplied a lot of power to clamp with enough force. This amount would be
too expensive in terms of energy and cost.
9
Cons:
Depending on the cable thickness, can make the system heavy. Also, can be hard to unwind
back through their bike and through the spokes of their wheel(s).
10
what we need it to do. Also, arduinos have a relay that can complete that circuit when we
command it to. We could code the arduino to complete the circuit when a card is swiped. After
choosing this design, we started building and prototyping as addressed in the following sections.
11
The Arduino shown in Figure 6 is the brains of the operation. It takes in the information
from the card reader and converts it to a string of numbers that is manipulated to check if the
card is the right format, being it exclusive to Buff-one Cards. If such a card was swiped, it
switches the relay to connect the circuit for the solenoid. Three 9V batteries are connected to the
solenoid in order to power the device. Initially, the solenoid is turned off, locking the cable.
When the circuit is closed, the solenoid is powered on to unlock the cable.
12
Table 1 Parts used in the Panther Bike Lock
wires solenoid
nails screws
b. Machining
The machining process was cutting slits in the side of the steel pipe in order to connect the
cable and chain to the pipe. There was also a slit cut in the pipe so the solenoid could close and
open into and out of the slit to lock the cable in place. One of the housing boxes was created by
using five pieces of wood and nailing them together and then attaching a lid to the box with
hinges and screws (for demonstrational purposes) to create the box the circuitry could be housed
in. The other housing box was created by nailing together five pieces of wood and creating a
track that the steel pipe connected to the chain and cable could slide into. One side of the second
box was left open for demonstrational purposes.
13
c. Assembly
Most of the parts were assembled onto the ProtoShield and soldered into place on the board and
into the serial ports. The cable and chain were welded to the steel pipe to connect them together.
The housing boxes were assembled as described in the machining section.
Figure 8: All the parts of the design before assembly
d. Cost
The most expensive item was the serial port card reader. This card reader was needed because
the Arduino could read information from the cards with a serial port versus a USB port card
reader. The next most expensive item was the Arduino board and an Arduino was used because it
is relatively cheap for a circuit board and it is easily programmable. Many of the materials used
for this project were found in the Project Depot or scraps from previous projects found in the
machine shop.
Product Price
14
3/8" galvanized steel cable $5.40
Canvas $2.00
15
What we found with the testing in the beginning was that we were not familiar enough
with Arduino to code the complex sequences we had originally predicted we would need. The
coding we did with buttons, lights, and a relay allowed us to gage the amount of coding that we
could do in a short amount of time and even gave us knowledge that using a light sensor to
activate the switch was an easy way to create a demo for the expo if we could not work with the
card readers. Eventually, we found that USB card readers are incredibly difficult to pull
information from and as we proceeded we focused mainly on how the relay worked with the
Solenoid circuit. Testing the simpler sequences made it so that we were simply testing whether
or not it worked.
When it did not work we looked at the components and tried to pinpoint what was
causing it to fail or we went to seek help until it finally did work. The iterations we did were
heavily focused on the relay on the Arduino. The code and the circuitry had to be modified in
order for the relay to work properly and testing this component even cause a fair amount of relay
deaths. Once we had the relay and Solenoid working we turned to the issue of the swiper and
found that the USB card readers that we were trying to code were not depositing the right
information into the Arduino, so we replaced the USB card swiper with a serial port card reader.
Once we introduced the new reader and recoded the Arduino, we checked the system by
swiping BuffOne cards and verifying that it would work reliably. When the components finally
worked in unison and there didn’t seem to be any failure within the code or the breadboard we
had to validate that the wiring could withstand the stress of installing it onto a demo bike rack.
Getting it onto the rack and conducting the final tests to see if it continued to lock properly when
it was oriented properly showed that the system was functioning and the iterations or
modifications we made were successful.
16
Then the user has a limited amount of time to insert the bike lock into the lock. When the time is
up the system will beep and the light will turn red. Instructions are shown in Figure 9.
Figure 9: Panel that demonstrates the steps to take to swipe and lock
17
Chapter VI: Conclusions
We accomplished many different things for our project. The core objective of our project was
to make a lock that reads student’s buffone card. We got our solenoid to work with arduino and
card reader. We got the card reader to read information from the cards through the serial port.
We also made our circuit with a relay to make solenoid to be our locking mechanism. When the
solenoid is in lock position, solenoid will be off because the circuit and relay are off. If solenoid
is on for a long time, it gets very hot. It would have burnt our batteries rapidly if we didn’t do it
this way. We had some battery issues during the expo. The project was successfully presented to
the judges, but during presentation to the public, our solenoid stopped working few times. We
thought there was a problem with batteries, but it simply got fixed by pressing the reset button on
the arduino. Other than that, we had a great time presenting our Panthers Bike Lock. Our team
worked really well with each other.
18
Works Cited
Berg, N. (2012, January 26). Creating ‘The Most Bicycle Friendly City in America’ ... In
Southern California. Retrieved November 5, 2015.
Fisher, M. (2012, August 14). It's Official: Western Europeans Have More Cars Per Person Than
Americans. Retrieved November 5, 2015.
Greenhouse Gas Emissions. (2014, May 1). Retrieved November 5, 2015, from
http://www3.epa.gov/otaq/climate/documents/420f14040a.pdf
Making The Economic Case For Cycling-Friendly Cities With Bikeonomics. (2013, November
15). Retrieved November 5, 2015.
National Transportation Statistics. (2015, October 1). Retrieved November 5, 2015.
19