An open API service indexing awesome lists of open source software.

https://github.com/bertrandmartel/newhaven-oled-dk51

Integration of NewHaven OLED 1.69 display on Nordic Semiconductor NRF51 DK board
https://github.com/bertrandmartel/newhaven-oled-dk51

dk51 nrf51822 oled-display

Last synced: 22 days ago
JSON representation

Integration of NewHaven OLED 1.69 display on Nordic Semiconductor NRF51 DK board

Awesome Lists containing this project

README

          

# NewHaven OLED 1.69 display on NRF51 board

[![Build Status](https://travis-ci.org/bertrandmartel/newhaven-oled-dk51.svg?branch=master)](https://travis-ci.org/bertrandmartel/newhaven-oled-dk51)

Integration of NewHaven OLED 1.69 display on Nordic Semiconductor NRF51 DK board

![screenshot](img/newhaven-dk51.jpg)

Based on project : https://github.com/NewhavenDisplay/NHD-1.69-160128ASC3_Example

## Scope

* SPI communication between NRF51 board & display
* fill screen with specified color
* buttons 3 & 4 on NRF51 DK board switch through a sequence of color/image
* draw 160x128 bitmap (a 24 bit bitmap image input will give an image with 3x6 bit/pixel)

## Configuration

* armgcc toolchain
* no softdevice flash required
* nRF5 SDK 11.0.0

## Setup/Installation

* follow SDK/Toolchain Installation steps section of this tutorial

* specify NRF51 SDK directory with :

```
export NRF51_SDK_DIR=/path/to/sdk
```

## Build

```
make
```

## Upload

```
//erase firmware
nrfjprog --family nRF51 -e

//upload firmware
nrfjprog --family nRF51 --program _build/nrf51422_xxac.hex

//start firmware
nrfjprog --family nRF51 -r
```

or

```
./upload.sh
```

To debug your code : check this link

## License

The MIT License (MIT) Copyright (c) 2016 Bertrand Martel