Files can be found in the different weeks used to build the project, links to the weeks are part of this document.
The idea is to create an adaptor for the 150 models of streetlaps of the city of barcelona that has a dual nature, one gentles that aims to aid to the good rest of the neighbors of noisy neighborhoods (bare in mind that Barcelona is a turistic city with 24 universities or higher education centers).
“Prou soroll!” Catalan for “Enough with the noise!”
“Volem dormir!” Catalan for “We want to sleep!”
It also has a second nature for the case of gunshots being shot.
We think that in Spain there are no gunshots and that was so back in the day, when only ETA terrorist group used that kind of violence and was 2 or 3 times a year (plus the bombs, those were more frequent).
There are more shots than we can think
Of course we don’t reach the levels of America, but we are not used to this, and moreover, let´s prevent it from becoming something frequent.
W0 was useful to start planing the project
HOW DOES IT WORKS¶
The sound sensor feeds a digital signal to a Raspberry checks noise continuously, if over threshold and it is dark, turns on blue deterrent light (annoys partygoers, innocuous to sleapers), if too much noise time accumulated calls the police.
In case of a possible gunshot (sound peak, dB), FFT, compares with gunshot’s library of gunshot footprints (% of similitude) and calls the police and light turns red, if it’s dark. If wrong, machine learns.
The part of the Streetlamp control¶
I did a street lamp mockup which is controlled with a “Funduino” my version of the Satshakit. More here
It has a voltage regulator from 5 to 3.3 V as the Bluetooth logic (see below) has a 3.3 logic but the serial of the arduino works with 5V logic unless powered at 3.3V.
It communicates with a mobile via bluetooth phone that acts as the raspberry pi.
This is explained fuRther in W13
The actual lamp was made with 3D printing, wood CNC, circuit board milling, and lasercut (welded with methilene cloride) Things in general are explained deeper and the 3d and 3d files can be found in W19
There is no hero shot of the lamp, as it felt down and broke before I had the chance, but here is the video.
Due to the need to use a different voltage to simulate the 220V of an streetlamp I can’t use color LEDs as they are 5V and it would be kind of pointless (OK I could use a 5V power supply instead of a 12V but hey) In the video we can see how, 12V white LEDs blink when we simulate the code for the raspberry to tell the arduino there is an emergency, and once the “ticket is closed” the system goes back to normal light, unless it is daylight, imagine that in a limit scenario the emergency happens at dawn, once the ticket is closed there is not “night anymore” if we don’t control that we could leave the light on the whole day. This works as well as not to turn on the light if it is daylight.
This is accomplished by inserting a fiber optic through the casing to the light sensor.
I use This was decided in W18
BOM in a open type of file
PRESENTING IT TO NEIL¶
Neil liked it and said that I should pitch it to Barcelona City Hall. Will do.
The original design of the lamp was inspired by this lamp is one of those things that you say Gee, this is exactly what I had in my mind!! This is the final design
The control board was a FUNDUINO, my version of the Satshakit More here.
Part of the shield design was based on the board design of the commercial relay board.
WHAT HAVE I LEARNED¶
I’ve learned a 3D PRINTING, a little bit of Fourier transform theory, CNC, but I wish to have more contact with the machine to automatize what I’ve learned, Laser cutting, spiral PM, about Buetooth communication. The most important for me is that I relearned things I learned in college, like electronics and programming, something that despite of being good at I ended up disliking very much. I like it again. That for me, recovering the likes for engineering is the biggest gain. No one noticed, but most of what I did in Fabacademy was done in the last month and a half (neglecting my startup a little bit), once the chip made click, was non stop.