DEV Community

Cover image for Getting started with Zephyr and Web Bluetooth

Getting started with Zephyr and Web Bluetooth

Lars Knudsen 🇩🇰 on December 04, 2023

For this post, I wrote the embedded firmware and accompanying test web page in an afternoon - and I want everyone to know that they can too. I did...
Collapse
 
wickramanayaka profile image
Chamal Ayesh Wickramanayaka

A great post. Could you please suggest a few recourses or video tutorials to learn Zephyr? Thanks.

Collapse
 
denladeside profile image
Lars Knudsen 🇩🇰

Hi Chamal,

thank you :)

IMO, there could be a few different approaches, depending on the host OS, target hardware and what you'd like to start with (Zephyr supports MANY boards/sensors/other).

Which OS are you using for development? If Windows, I would probably recommend you to try to use WSL (Linux in Windows...), install Zephyr by following the getting started guide (docs.zephyrproject.org/latest/deve...) for Ubuntu (possibly go with the virtual python env approach.

For hardware, I'd recommend using one of the Nordic Development kits as they are very stable and you'll have a separate USB interface for debugging and flashing. Maybe nRF52840 DK for single core development) or nRF5340 DK for more powerful/dual core development.

As a starting point, you can try to build and flash the 'blinky' sample - and for early Bluetooth testing, maybe try the heart rate sample (peripheral_hr).

Feel free to reach out if you get stuck :)

Collapse
 
wickramanayaka profile image
Chamal Ayesh Wickramanayaka

Thank you so much Lars. I will try and let you know.