Giter Club home page Giter Club logo

audiorgb's Introduction

AudioRGB

GitHub Licenseย 

Arduino Uno

Pin Configuration

Pin Mode Label Component Data
6 pwm output LED_L_R LED left red
5 pwm output LED_L_G LED left green
3 pwm output LED_L_B LED left blue
11 pwm output LED_R_R LED right red
10 pwm output LED_R_G LED right green
9 pwm output LED_R_B LED right blue
2 input pull-up TCH_1 touchpad pad 1
4 input pull-up TCH_2 touchpad pad 2
7 input pull-up TCH_3 touchpad pad 3
8 input pull-up TCH_4 touchpad pad 4
A0 input AUX_L analog audio left channel
A1 input AUX_R analog audio right channel
A2 input RNG_1 none noise
A3 input RNG_2 none noise

Results

Random walk by analog reading of noise from pin A2

Graph Data
blue random walk

Fade random color in / out while playing music

Graph Data Value
yellow audio volume
purple filtered audio volume
red red value brightness
green green value brightness
blue blue value brightness

Nucleo-64

Pin Configuration

Pin Name GPIO mode GPIO Config User Label Component Data
PB6 pwm output TIM4_CH1 LED_R LED left red
PC7 pwm output TIM3_CH2 LED_G LED left green
PB4 pwm output TIM3_CH1 LED_B LED left blue
PA1 analog input 12 bit AUX_L analog audio left audio channel
PA4 analog input 12 bit AUX_R analog audio right audio channel
PC2 analog input 12 bit RNG none noise
PA2 USART asynchronous 115200 baud USART2_TX Serial Interface debug data

Results

UART record while playing music

Graph Data Value
blue audio volume
red filtered audio volume
green color brightness
yellow saturated color brightness

Miscellaneous

Audio-Jack Pin Configuration

Pin Name Cable Color Data Resistance
Tip blue left channel $\sim1\Omega$
Ring orange right channel $\sim2\Omega$
Sleeve black ground $\sim3\Omega$

Differences between ARM- and AVR-assembly

See Compiler Explorer

audiorgb's People

Contributors

fabianbartl avatar

Stargazers

 avatar

Watchers

 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.