Giter VIP home page Giter VIP logo

rmptxf / neocontroller Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 3.0 96.95 MB

A project that uses the nRF52 to control a neopixel (ws2812b) over BLE using a custom mobile app built using the ionic framework.

Home Page: https://nrf5.dev

License: MIT License

JavaScript 0.14% TypeScript 1.58% HTML 0.27% C 97.23% SCSS 0.78%
nrf52 nrf52840 nrf52832 adafruit-neopixel ws2812b ionic5 ionic-framework i2s android segger-embedded-studio

neocontroller's Introduction

Work in progress

NeoController

A project that uses the nRF52 to controll a neopixel (ws2812b) over BLE using a custom mobile app built using the ionic framework.

Testing

I'm using the Adafruit Feather nRF52840 Express board on this test. This is due to that it has an on-board WS2812b RGB led.

Neocontroller app

neocontroller's People

Contributors

rmptxf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

neocontroller's Issues

Issues controlling the NEO Pixel

Hi,

Awesome project!

I was wondering of you could help me understand why I can't get the neo pixel to do anything. The code executes fine and RTT logs messages. The board is custom and based on the NRF52832. The board and neo pixel (WS2812b) works with other Arduino based sketches that allow me to fully control the neo pixel without issue.

I have defined the following in sdk_config:

#define NOT_USED_PIN1                   3
#define NOT_USED_PIN2                   6
#define SCL_PIN                         9
#define SDA_PIN                         10
#define D5_PIN                          11

All of the above are not connected to anything physically.

And only modified the pin number below in main:

#elif defined(BOARD_PCA10040)
  #define neopixel_pin                  8                                       /**< Neopixel pin number. */
#endif

Unfortunately, I come from a hardware background so the code is a little hard for me to follow.

The RTT output looks good:

00> <info> app_timer: RTC: initialized.
00> <info> app: Neopixel Controller Application started.
00> <info> app: Fast advertising started.
00> <info> app: Connected.
00> <info> app: command rerceived!
00> <info> app: commands[0] = 255;
00> <info> app: commands[1] = 0;
00> <info> app: commands[2] = 0;

Have i missed something obvious?

Thanks in advance!
Ace

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.