Blog

  • Controlling an RGB LED with Nordic nRF51-DK (nRF51822/nRF51422) 1

Controlling an RGB LED with Nordic nRF51-DK (nRF51822/nRF51422)

Introduction In this project, we will control an RGB LED using the Nordic nRF51-DK over BLE. We will make use of PWM (Pulse Width Modulation) and NUS (Nordic UART Service) for this. Background Before you read further, you might want to look at my previous articles on nRF51822 programming, since

By |2015-07-24T18:30:00+05:30July 24th, 2015|
  • Talking to Ultrasonic Distance Sensor HC-SR04 using nRF51822 2

Talking to Ultrasonic Distance Sensor HC-SR04 using nRF51822

Introduction In this project, we will talk to the popular ultrasonic distance sensor HC-SR04 using the Nordic nRF51-DK board, and transmit the distance information over BLE using the NUS (Nordic UART Service). We will be utilizing GPIO and Timer1 for this purpose. Prerequisite Before you read further, please take a

By |2015-07-19T18:30:00+05:30July 19th, 2015|

nRF51-DK PWM & GPIOTE test with S110 SoftDevice

Prerequisite Before you read further, please take a look at my previous article on nRF51-DK programming using GCC, since we're going to use the same setup here. PWM This is a simple example that demonstrates PWM, GPIOTE, and NUS (Nordic UART Service) using the S110 softdevice on the nRF51-DK. This

By |2015-07-12T18:30:00+05:30July 12th, 2015|
  • External nRF51822 SWD Programming using the nRF51-DK 3

External nRF51822 SWD Programming using the nRF51-DK

Introduction This is a short note on using the nRF51-DK to program an nRF51822 chip on an external board. So far I have (click to jump to section): RedBearLab Nano nRF51822 modules with the dual 2x9 1.27 mm pins, on an adapter board designed by me in collaboration with Explore

By |2015-07-08T18:30:00+05:30July 8th, 2015|
  • nRF51822 Begins - nRF-DK, GCC, ADC, UART/BLE 4

nRF51822 Begins – nRF-DK, GCC, ADC, UART/BLE

Introduction The nRF51822 is a very popular SoC (System on a Chip) which integrates BLE (Bluetooth Low Energy) with an ARM Cortex M0 CPU. For folks like myself trudging along in 8-bit AVR country, 32-bit ARM development is unfamiliar territory. The chips are powerful, complex beasts, and the hardware and

By |2015-07-05T18:30:00+05:30July 5th, 2015|
  • 555 Based Motion Sensing Night Lamp Kit 5

555 Based Motion Sensing Night Lamp Kit

This is a short note on my attempt in 2013 to create an electronics kit meant for kids - a DIY motion sensing night lamp based on the good old 555. Although I gave up on the project before I got to the final manufacturing stage, it was an educational

By |2015-06-17T18:30:00+05:30June 17th, 2015|
  • An IoT Triad Demo, Part I - Device (nRF8001 + Arduino) 7

An IoT Triad Demo, Part I – Device (nRF8001 + Arduino)

Introduction Internet Of Things (IoT) implementations usually consist of three parts - the device itself, software that interacts with the device (which usually runs on a mobile platform), and a cloud part that can serve as an intermediary, which may host web apps for controlling the device or dashboards for

By |2015-05-27T18:30:00+05:30May 27th, 2015|
  • A Silly Birthday Greeting Box 8

A Silly Birthday Greeting Box

There seems to be a deluge of cheap toys in my house, thanks to the kids. But on the upside, many of these have interesting electronics that are perfect for little hacks. I wanted to make a quick birthday gift for my wife, and I remembered that I had stashed

By |2015-05-21T18:30:00+05:30May 21st, 2015|