Giter Club home page Giter Club logo

raspi-ws2812b's Introduction

raspberry pi3 - NS-LED-2 Device Driver & App

(ws2812b character device driver)

##NS-LED-2 device device site : http://www.nulsom.com/

ws2812b data sheet : http://www.nulsom.com/datasheet/WS2812B_datasheet.pdf

##Connectivity NS-LED-2 & raspberry pi3

NS-LED-2 // raspberry pi3

+5V   --  pin 2,4(physical)   

DI   -- pin 12(physical)

GND   --  pin 6,9,14,20,25,30,34(physical)

##동작 방법

soundcard disable

(raspberrypi) $ sudo blacklist snd_bcm2835 >> /etc/modprobe.d/raspi-lacklist.conf

(raspberrypi) $ sudo reboot

after reboot,

(raspberrypi) $ aplay -l

check no soundcards found...

ref. http://www.instructables.com/id/Disable-the-Built-in-Sound-Card-of-Raspberry-Pi/step3/Test-that-sound-card-is-NOT-detected-by-ALSA-Nativ/

(raspberrypi) $ git clone https://github.com/WookCheolShin/raspi-ws2812b.git

(raspberrypi) $ cd raspi-ws2812b

(raspberrypi) $ make

(raspberrypi) $ gcc 1_ws2812b_app.c -o ws2812b_app

(raspberrypi) $ sudo insmod 1_ws2812b_dd.ko

(raspberrypi) $ sudo ./ws2812b_app  

raspi-ws2812b's People

Contributors

ukcheolshin avatar

Watchers

Raimarius Delgado avatar

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.