![]() ![]() To make things easier, we’ll put it in a folder alongside the application we’ll be developing. Once you have it downloaded, place it in a new folder. Next, let’s download the latest nRF5 SDK (version 15.0.0) from Nordic’s website. Here, we’ll focus on the steps that follow the installation. We’ve already covered how to install Segger Embedded Studio (the FREE License IDE used for nRF5x development) in a previous post. BLE client application running on the mobile phone (such as Nordic’s nRF Connect or LightBlue).nRF5 SDK (in our case, we’re using the latest SDK provided by Nordic: nRF5 SDK version 15.0.0).A PC running either Windows, Linux, or macOS (for development).nRF52840 development kit (although any nRF5x development will work, with some modifications).So, what hardware & software do I need?įor this tutorial, you’ll need the following: Sign up by filling out the form in the bottom right-hand corner of the webpage:Īlternatively, you can sign up at the following link: FREE 7-day crash course on Bluetooth Low Energy (BLE). If you’re looking to learn the basics, or simply need a refresher, I recommend checking out my FREE 7-day crash course on the Basics of Bluetooth Low Energy (BLE). It does not require you to have in-depth knowledge of BLE. In fact, I recommend you do not spend too much time going through the theory and skip right into developing a BLE application and getting your hands dirty once you’ve gone through learning the basics. To follow along with this example, you’ll need to know the basics of BLE. …which is why we’re keeping it simple in this application! Prerequisites You can always customize and expand your application once you’ve learned the basics.īut if you start with a complex application, you can get lost, and ultimately become frustrated before you get something working. Keeping the example dead-simple is extremely important. The peripheral will notify the Central (mobile phone application in our case) when the battery level gets updated. The Peripheral application will also expose the battery level of a coin-cell battery installed in the development kit. We’re going to build a very simple BLE lightbulb application that allows you to turn ON/OFF an LED on the nRF52840 development kit. In this post, we’ll focus on developing the BLE peripheral application, building it, debugging it, and finally testing it from a mobile phone application. ![]() In the previous blog post ( The complete cross-platform nRF development tutorial), we went over how to set up the IDE of choice for developing nRF52 applications (Segger Embedded Studio) on any platform (macOS, Windows, Linux). To guide you through setting up and developing the most basic BLE peripheral application: a smart BLE lightbulb application you can control from your smartphone. Ok, enough with the rant, and let’s get into what this post is all about: There’s nothing wrong with the other platforms and chipsets, but it also helps if you stick to one platform that you feel comfortable with (at least for a given period of time, especially in the beginning of your journey in learning a technology). (It also helps that you get a FREE commercial license for a professional IDE: Segger Embedded Studio (SES)!) This is due to one main reason: I’ve found it to be the most developer-friendly platform out there. Lately, I’ve been focusing on one platform/chipset: Nordic’s nRF52. I’ve been there… I’ve felt lost, not knowing where and how to start… This is especially true since I was trying to learn the technology itself (BLE) in addition to learning an SDK, platform, and IDE all at once! It just felt overwhelming and way too many things to learn at one time. Whether it’s the setup of the IDE, the configuration of the project, or the implementation the BLE application. One of the hardest things when working with BLE is simply getting started. ![]()
0 Comments
Leave a Reply. |