LoRaWAN End node – Smart Parking


 

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

If you haven't got any Gateway set-up or around your,  please click the following button to see how to make LoRaWAN Gateway via The Things Network.

(In case of you can find any gateways around you, you can also just use that Gateway to trasmit your end node data.)


LoRaWAN Gateway

 

As you can see from other community sites (i.e TheThingsNetwork) or commercial websites (i.e quite a lot),

There are tons of commercial end devices (including Gateway) available out there and you can buy it for your business or something.

 

But the cost is a bit high and might be burden on people who just want to learn electronics or are hobbyist.

I believe many kinds of LoRa End device can be DIY-made.

 

So, here my post has a reason to exist. 🙂

Let's make the simple LoRa End Device at this time and it's for 'Smart Parking'!

 

I'd like to explain some background story before I go on.

When you park your car in the shopping centre, you might be able to see some flat and small device attached to the ground in the parking area.  Have you seen them?

There are various kinds of commercial parking detection sensor available already, but there are a few differences between them and what we're going to make here.

 

First of all, I'd like to say the Hardware.

The commercial ones are using dual methods such as magnetic field and RSSI.

For robustness of their product, they might have to use dual method to manage smart parking I think. 🙂

 

However, we're going to use simple sensor such as Ultrasonic sensor. so we can calculate the distance from sensor to , for example, your car by placing this end node in your garage or outside wall.

(I don't recommend your device on the ground like commercial ones as that gonna be broken soon! 🙂 )

 

I might be able to make the same hardware as commercial one's using later, but at this time I'd like to stick to more suitable ones for DIYers.

 

Secondary, Different model or Applications

We're going to use and utilize the very good established Network, whch is TTN(TheThingsNetwork) on our projects. TTN is quite common and famous world-wide as you already know.

However, there are some difference between technologies and business models when it comes to commercial products.

 

For example, LoRa VS Sigfox.

For years, Sigfox and LoRa were the major competitors in the LPWAN space. Their business models and techologies are quite different.  you can find a few product using Sigfox on the market easily.

 

so, good to know!  It's time to go!

How we do (Hardware)

How we do (Software)

Once you've prepared all the necessary parts such as Arduino pro mini, RFM95W, Ultrasonic sensor and cables, and next step is to make your Arduino pro mini to be uploadable.

 

The upload can be done via 'FTDI Basic Breakout Board', but I didn't mention details here.

If you need how-tos, just click the following button to see how you can upload program into Arduino pro mini.

 

Prepare Pro Mini

 


  • Sneak peek on Software part

 

Once your Pro mini is ready,

 

1. Include some necessary headers

2. Specify Pins and Pin mapping being used

3. Implement some functions to get distance via ultrasonic sensor attached to device

4. Enable Serial and LMIC and initialization

Still shots Outcome
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *