PlovdivConf, (C) 2018 Released under CC BY-SA-3.0
How the Open Source technologies can
help your city to become an better
place to live
$whoami
Tsvetan Usunov – owner of OLIMEX Ltd,
an company established 27 years ago in
Plovdiv, Bulgaria. Dealing with electronics,
open source hardware and software and
with many customers all around the world.
What is FOSS?
What is OSHW?
Advantages:
People love FOSS/OSHW, as they learn
while looking at how people has solved
given problem.
Even people who do not make FOSS/
OSHW love to learn new stuff.
Advantages:
(for the end user)
When one product is Open source the price
is under pressure. If the author can't
manufacture effectively, competitors step in
and prices fall.
Advantages:
Security for the business, which uses
OSHW, that the product will be available
even if the author stop manufacturing it.
Everything is open and can be produced as
long as there is demand.
Advantages:
Open Source products allow modifications
and tailoring to anyones needs.
Advantages:
End customer has full control over the code
and documentation, everything is open,
everyone can check the code and
hardware and if there are defects to be
fixed on time.
Advantages:
Open Source allow better products to be
designed.
By opening the design you can benefit from
your customer enthusiasm, free
consultations and tips how to improve it.
Advantages:
Your customers accept these products like
their own, as they contribute during the
design. You have not just buyers, but
collaborators which supports you.
Advantages:
You share knowledge, but also learn at the
same time.
Advantages:
You show to the world, how good designer
you are and your capabilities.
Advantrages:
Even if everything else is equal, when you
open your design you give to your
customers more value for your product.
Advantages:
End user is not dependant from single
source, having all documentation makes
easy the maintenance and repairs.
Advantages:
Once done it can be scaled and multiplied.
Disadvantage:
If you are passive user, without capability to
modify and develop this product may be not
exactly what you are looking for.
Even in this case you have options:
- to wait someone, who can do design and
develop and have same as your needs to
do this for you free of charge;
- or to pay to someone to make the
modifications you need and other people to
benefit from your paid contribution.
So ... How to make our city smart and
better place to live?
LoRa
LoRa (Long Range) technology was
developed in Europe by French company
named Cycleo. They have been bough by
Semtech in 2012.
LoRa advantages
Long Range: communication up to 10-15
km in free air, up to 1-2km in the city. Allows
mid size city to be covered with only few
Gateways
LoRa advantages
No subscription and and data traffic taxes.
LoRa advantages
Radio technology easy to install and
maintain.
LoRa advantages
Low consumption, no need for external
power supply, can work on battery for
years.
LoRa advantages
Secure communication, uses Chirp Spread
Spectrum modulation, which is used for
satelite and military communication for
decades. Very hard to jam. The receiver
can receive signals which are under the
noise level.
LoRa advantages
Encrypted connection with AES 128.
LoRa disadvantages
Long Range ;) When many nodes are in
their reach they can interference. One node
transmit between 0.056 and 1.4 seconds.
Maximum 48 nodes can be received by the
Gateway at the same time. So the
theoretical maximum is 857 devices to talk
per second.
LoRa disadvantages
Low data transmission speed 300-5500
bps, small data payload up to 50 bytes.
LoRaWAN IoT infrastructure
LoRaWAN applications
Utility metering – remote metering for
electricity, water, gas, thermal energy.
Infrastructure monitoring, tanks with
fluids, storages open/close logging.
LoRaWAN applications
Tracing of cars, people, pets.
LoRaWAN applications
Environmental monitoring: temperature,
humidity, air pressure, dust, CO2, fires,
flooding, earthquake vibrations.
LoRaWAN applications
Healthcare patient monitoring, eldier
people pulse,temperature, fall SOS
sensors.
LoRaWAN applications
Industrial monitoring – machine work
time hours, maintenance alerts,
machine output logger, working
conditions, tank levels.
LoRaWAN applications
Ciry Parking management, free
parking locator apps.
Management of parking
subscriptions, different city zones.
LoRaWAN applications
City public transport monitoring and
logging.
LoRaWAN applications
City Waste containers
management, full container alerts.
LoRaWAN applications
City street lighting management.
LoRaWAN applications
Informative displays, traffic
information.
LoRaWAN applications
Interractive buttons. Call for
help, for hotels - taxi call.
LoRaWAN applications
Over the air updatable e-
labels for storage and retail
management.
LoRaWAN applications
Home security, fire, motion sensors.
LoRaWAN applications
Remote watering of green areas.
What is available
Motes
https://lora-alliance.org/
130+ different products in range
$12 - $500
One of most popular is RN2483
Microchip $9.20-$12,80
active 40mA, sleep 25 uA
(but Errata says up to 100-150 uA – less than
6 months on battery)
popular among hobby - R95W
transciever $4.70-$6.50, do not use
Semtech IC, no certification
What is on the market
Gateways
Cisco, Kerlink, Lorier $xxxx
TTG EUR 300
Cheapest solution RAK831 no
server, no antenna about $150
Why these Gateways are so expensive?
Semtech is single source for LoRa
gateway ICs and sells SX1301 Gateway
DSP for $50 / 1000 pcs
So there will be no cheap under $100
gateway anytime soon.
What if you do not want to implement
LoRaWAN but just LoRa network.
Then you do not need Gateway, you can
use single LoRa note to communicate
with all other – the disadvantage you
have to make your own protocol and to
poll the nodes. Works for small local on-
site networks.
The good news:
We work on OSHW LoRa and
LoraWAN solutions.
LoRa868 modem
Based on Semtech SX1276,
with embedded and external
antenna
Target price EUR 5.00
LoRa868WAN mote
Modem, Antenna, Battery
Cortex-M23, 64KB Flash, 16KB
RAM, 0.8mA active, 2uA sleep,
1.5us wakeup, LoRaWAN stack
GPIOs, ADC, DAC, SPI, I2C,
UART
Target EUR 15.00
LoRa868WAN-PARK
Modem, embedded antenna,
battery, Low Power MCU with
LoRaWAN stack
strong IP67 box
Low power sensitive earth
magnetic field sensor
Target price EUR 35.00
LoRa868WAN-LIGHT
Modem, antenna, battery, Low
Power MCU with LoRaWAN
stack, electricity metering
(burned lamp detection), RTC,
tamper protection
Target price EUR 50.00
LoRa868WAN-ENV
Modem, antenna, battery, IP67 box,
Low Power MCU with LoRaWAN
stack, temperature, humidity, air
pressure, dust, flooding, fire,
vibrations, CO2 sensors
Target price EUR 30-50 depend on
sensor configurations
FOSS Software:
Infrastructure made by the
community
TTN is all around the world
Even in Bulgaria
Even in Plovdiv
This is so unacceptable! Sozopol has 12
TTN gateways and Plovdiv just one!
How is TTN organized
What is the data format
How you can help?
- if you are good in software – you can
join TTN development
- if you are good in hardware- join our
project with ideas and tips
- or develop your own FOSS app which
ises LoRa and LoRaWAN
Questions?

How the Open Source technologies can help your city to become an better place to live