Documentation **[[Documentation|Home]]** ====== BASIC INFORMATION ====== Name: **Raspberry Pi Hat RGB LED**\\ Type: **Raspberry Pi Hat**\\ Version: **1.0.0**\\ Author: **Dubravko Penezic**\\ Copyright: **Creative Commons BY-NC-SA v 3.0**\\ Implemented function: * **Power RPi from Hat** * **2 Channel LEDs control** * **DS18B20 temperature sensor and unique identificator** \\ PCB Top & Bottom image:\\ {{:rpi_hat_rgbw_control_1_0_0:pcb_top.jpg?400|}}\\ {{:rpi_hat_rgbw_control_1_0_0:pcb_bottom.jpg?400|}} \\ Schematic:\\ {{:rpi_hat_rgbw_control_1_0_0:hw_hat_led_sk6812-ws2812.pdf|PDF document}}\\ ==== Implemented module ==== Top side:\\ {{:rpi_hat_rgbw_control_1_0_0:hat_top.jpg?400|}}\\ Bottom side:\\ {{:rpi_hat_rgbw_control_1_0_0:hat_bottom.jpg?400|}}\\ \\ Hat installed on RPi and connected to LED strip\\ {{:rpi_hat_rgbw_control_1_0_0:hat_in_use.jpg?400|}}\\ {{:rpi_hat_rgbw_control_1_0_0:hw_hat_led_sk6812-ws2812_brd_working_connection.png?400|}}\\ ==== Configuration options ==== Pin/connectors function:\\ {{:rpi_hat_rgbw_control_1_0_0:hw_hat_led_sk6812-ws2812_brd_top_config_pin_labele.png?400|}}\\ Be aware that Power In connector must provide enough current for running RPi and all LEDS.\\ Each color in RGB LEDs draw 20mA, so if you run RGBW LED chip with all colour full on you will need 4*20mA = 80mA per LED chip.\\ \\ Data connectors and data selection area:\\ {{:rpi_hat_rgbw_control_1_0_0:hw_hat_led_sk6812-ws2812_brd_top_config_data_connection.png?400|}}\\ RGBW LEDs strip may be connected on CON1 or/and CON2.\\ CON1 provide one of follow data line : * PWM0 GPIO18 * SPI GPIO10 * PWM0 12 CON2 provide one of follow data line : * PWM1 GPIO13 * PCM GPIO21 Follow pictures show how to connect jumper cup to select data line (i.e. you may select and use just one CONx or both, picture just show jumper position, not actual combination for use).\\ {{:rpi_hat_rgbw_control_1_0_0:hw_hat_led_sk6812-ws2812_brd_top_config_pwm0gpio18pwm1gpio13.png?400|}}\\ {{:rpi_hat_rgbw_control_1_0_0:hw_hat_led_sk6812-ws2812_brd_top_config_spigpio10pcmgpio21.png?400|}}\\ {{:rpi_hat_rgbw_control_1_0_0:hw_hat_led_sk6812-ws2812_brd_top_config_pwm0gpio12.png?400|}}\\ === HAT EEPROM Settings === {{:rpi_hat_rgbw_control_1_0_0:eeprom_flash_info.pdf| PDF Document}}\\ === Library and Software === Raspberry Pi LEDs library : * [[https://github.com/jgarff/rpi_ws281x| Master ]] * [[https://github.com/dpenezic/rpi_ws281x| Mirror]] Raspberry Pi Hat documentation : * [[https://github.com/raspberrypi/hats| Master]] * [[https://github.com/dpenezic/hats| Mirror]]