Smart City
Smart City
Smart City
Presented by:
Arkan Karim
Kamal Sabah
Introduction………………………………………………………….. 2-3
Creating method………………………………………………….5-9
Schema ………………………………………….……..9-11
Output…………………….…….11-13
CODE…………………………………………………………..14-17
1
Smart City
Introduction:
2
potential synergies and increasing transparency to the citizens. An
urban IoT, indeed, may bring a number of benefits in the
management and optimization of traditional public services, such
as transport and parking, lighting, surveillance and maintenance of
public areas, preservation of cultural heritage, garbage collection,
salubrity of hospitals, and school.1 Furthermore, the availability of
different types of data, collected by a pervasive urban IoT, may
also be exploited to increase the transparency and promote the
actions of the local government toward the citizens, enhance the
awareness of people about the status of their city, stimulate the
active participation of the citizens in the management of public
administration, and also stimulate the creation of new services
upon those provided by the IoT. As it was stated earlier, it is seen
in a number of cities that the street light is one of the huge
expenses in a city. The cost spent is huge that all the sodium vapor
lamps consume more power. The expense spent on the street light
can be used for other development of the nation. Currently a
manual system is used where the light will be made to switched
ON/OFF i.e the light will be made to switch ON in the evening and
switched OFF in the morning. Hence there is a lot of wastage of
energy between the ON/OFF. This is one of the major causes of
shifting to the automatic system, since there is less wastage of
power and thus saving a lot of monetary expenses.
3
A motto I liked: “We provide a solution for less pollution”
Supplies:
5-1m A Male to MICRO USB 2.0 Charge Cable Phone Charger Lead
Data
6- USB Cable 52cm Blue for Arduino UNO 2560 R3 Printer Scanner
7-Arduino IDE
9-Solar panels
4
12- 5 mm Ultra Bright Round Water Clear LED Bulb 3V Light
Emitting Diode
14-wires
Methods of creating:
The basis for the model design is a 4 mm thick plywood with its
flyers to achieve a better and more solid structure. Connecting of
all parts of the model will be achieved by using the wood glue.
The model is made from two parts. The basis of the model
dimensions 750 x 720 mm will feature a promenade along the River
5
for which I used the Arduino Uno board, a photo resistor, infrared
sensors and LED lighting. At the position of the upper surface of
the load bearing part of the model, I created the basis for the main
part of the model according to instructions. The main part of the
model (detachable) will be 750 x 500 mm in size and will present
the prototype the county road in a city. The cutting of plywood
according to dimensions is done by an angle grinder. In the step 1,
after measuring, cutting and connecting all the cut parts on the
lower bearing structure, a 2 cm Styrofoam is placed with a net in
the riverbed, which is strengthened and crossed by flexible tile
glue, while in the main part of the model there is an artificial grass
on the slope facing the promenade. Artificial grass is attached to
the slope using the transparent silicone.
6
At the same time as the entire model is built, a solar tracker
construction is made from wooden flyers. During the production of
all wooden parts, all defects are removed, correction and
adjustment is done.
In the 1st step, after all modelling work, the design of the model is
followed by painting according to the actual appearance of the road
and the promenade of the Smart City.
7
These surfaces are first painted with the core color, followed by
synthetic enamel paint for the final appearance and strength. All
the painting is done manually by brush or with a paint roller. After
two final color layers, a decorative granulate is applied in the place
where the solar Sun tracker will be attached to the main surface.
For strengthening the granulate I used the super glue.
8
In the 2nd step, Arduino codes are being programmed for smart
lighting, smart parking, smart traffic lights and a solar Sun tracker.
In addition to programming, drawings are made on the 3D printer,
brackets and traffic lights are printed for the intersection on the
main road. Except programming, all other necessary parking
spaces and accompanying facilities on the main road are made.
The 3rd step includes the installation the installation of the Arduino
boards and all other electronic components for the final appearance
of smart city model.
Schema:
9
Smart City traffic lights schema.
10
Smart City solar sun tracker schema.
Output:
SMART CITY LIGHTS along the river which use the photo resistor,
infrared sensors, led lights, and Genuine Arduino UNO board. The
main principle is that the LED lights are on with a reduced
brightness, but as the person approaches every light, the infrared
sensor activates the program which turns on the light much
brighter. As you leave, it comes back to reduced brightness. At this
11
point of our Humanity, in the 21st Century, we have to look for a
new ways and solutions on how the save more energy to avoid
power outages and to bring electricity to rural areas on this Planet.
Our smart city lights offer tremendous savings in electricity
consumption.
Smart parking:
12
the vehicle enters the ramp goes down to its normal position. The
same procedure is when vehicles leave the parking lot. For this
project I used Genuine Arduino MKR 1000 board.
Code:
13
Smart city lights code:
#include<FadeLed.h>//It }
adds library for LED diode if (digitalRead(sensPin1) }
management. == LOW) { //It checks if
the sensor is voidprog4() { //The fourth
FadeLed leds[5] = {3, 5, 6, electromagnetically loop.
9, 10}; //It adds LED pins stimulated.
to the "leds" object. if (digitalRead(sensPin4)
leds[0].set(100); //It == LOW) {
unsignedlong millisLast; gradually sets the LEDs
//variable millisLast intensity at 100%. leds[3].set(100);
14
prog2(); leds[4].set(0);
prog3(); leds[0].set(0); //If
prog4(); detects the daylight, the }
prog5(); LEDs remain turned off. } //that is it!!!
leds[1].set(0);
} else { //function leds[2].set(0);
"else" leds[3].set(0);
Smart traffic lights code:
15
Smart parking code:
16
Solar Sun tracker code:
17