LoRaWAN End node – Smart Lighting
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.)
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! 🙂
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.
- 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