LoRaWAN End node – Smart Lighting


 

 

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. 🙂

 

At this post, we're going to make another LoRa End Device for 'Smart Lighting'.

 

This is actually the extension of Smart Home projects.

However, there are difference in hardware, technologies and distance, too!

 

Let's get into it! 🙂

How we do (Hardware)

How we do (Software)

Once you've prepared all the necessary parts such as Arduino pro mini, RFM95W, LED strip 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
  • Depends on the degree of brightness and darkness, LED strip is turned ON and OFF automatically.

 

 

  • Currently there are 4 status LED Light can be set automatically

 

  • and some outcomes in TTN console where we can check the status of smart lighting. 🙂

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 *