<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									General Projects - CrackedConsole Community				            </title>
            <link>https://www.crackedconsole.com/community/arduino-general/</link>
            <description>CrackedConsole Discussion Board</description>
            <language>en</language>
            <lastBuildDate>Wed, 15 Apr 2026 20:22:30 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>What is the difference between mini PC DDR3L, DDR4, and DDR5?</title>
                        <link>https://www.crackedconsole.com/community/arduino-general/what-is-the-difference-between-mini-pc-ddr3l-ddr4-and-ddr5/</link>
                        <pubDate>Thu, 25 Apr 2024 09:43:27 +0000</pubDate>
                        <description><![CDATA[Introduction:Mini PCs boast a diverse array of applications and products within their extensive ecosystem. Among these products are memory sticks available in DDR3L, DDR4, and DDR5 variants....]]></description>
                        <content:encoded><![CDATA[<p><strong>Introduction</strong>:<br /><a href="http://www.hystou.com" target="_blank" rel="noopener">Mini PCs</a> boast a diverse array of applications and products within their extensive ecosystem. Among these products are memory sticks available in DDR3L, DDR4, and DDR5 variants. In the following sections, we will elucidate the disparities between these types of memory sticks.</p>
<p><strong>Discrepancies in Appearance:</strong><br />To prevent user errors leading to potential machine damage, memory sticks are designed with "anti-dimming" features. Each generation of memory stick slots differs, thereby prohibiting the insertion of DDR3L memory sticks into DDR4 memory slots, for instance.</p>
<p><strong>Difference in Memory Frequency:</strong><br />DDR5 exhibits a higher base frequency, commencing at 4800MHz, whereas DDR4 typically ranges from 2133MHz to 3200MHz, and DDR3L starts from 1333MHz or 1600MHz. Generally, higher memory frequencies correlate with faster read/write speeds, thereby enhancing computer performance. However, elevated memory frequencies and larger memory capacities may result in increased memory latency, consequently prolonging the computer's boot self-test time. Typically, memory latency should not exceed 100ns to maintain normal operation. We conducted benchmark tests using AIDA64 CACHE &amp; Memory Benchmark to evaluate the read, write, copy, and latency performance of DDR3L, DDR4, and DDR5 memory, providing valuable reference data. It's important to note that the test data presented herein are based on laboratory tests and should be interpreted with caution. Different configurations and testing environments may yield varied results.</p>
<p>Analysis of the data reveals that DDR5 demonstrates an overall performance increase of 27.9% compared to DDR4, and a significant 187% improvement compared to DDR3L.</p>
<p><strong>Difference in Operating Voltage:</strong><br />DDR3L operates at 1.35V, DDR4 at 1.2V, and DDR5 at 1.1V. This reduction in operating voltage for DDR5 results in a more efficient energy consumption ratio.</p>
<p><strong>PMIC Power Management Chip Difference:</strong><br />DDR3L lacks a PMIC power management chip. DDR4 integrates the PMIC power management chip directly into the motherboard. DDR5 features the integration of the PMIC power management chip from the motherboard to the memory PCB board above. This integration allows for intelligent regulation of voltage changes, current monitoring, and enhanced configurability of voltage ramp and level. By reducing the burden on the motherboard's power management, this integration results in shorter and faster regulation.</p>
<p><strong>Difference in Memory Capacity:</strong><br />A single DDR3L stick has a maximum factory capacity of 8G, with compatibility issues likely for capacities larger than 8G in mini computers. DDR4 supports a single stick maximum factory capacity of 32G, while DDR5 boasts a maximum factory capacity of 64G (not currently in stock). However, capacities exceeding 32G may encounter compatibility issues with mini computers.</p>
<p><strong>Bandwidth Speed Difference:</strong><br />DDR3L at 1600MHz offers a bandwidth of 12.8GBps, DDR4 at 3200MHz provides a bandwidth of 25.6GBps, and DDR5 at 4800MHz boasts a bandwidth of 38.4GBps. As frequency increases, bandwidth also rises. In a dual-channel configuration, bandwidth theoretically doubles.</p>
<p><strong>Integrated ECC Memory Error Correction Mechanism:</strong><br />DDR3L and DDR4 lack ECC memory error correction. DDR5 introduces a simplified version of ECC error correction, termed On-die ECC. This function can correct errors within the memory and aims to enhance stability, reducing the likelihood of system crashes. It's worth noting that ECC support is not universal and requires specific memory models.</p>
<p><strong>Difference in the Number of Pins (Notebook Memory Sticks):</strong><br />DDR3L features 204 pins, DDR4 has 260 pins, and DDR5 includes 262 pins.</p>
<p><strong>Timing Difference (CL):</strong><br />Lower timing values are preferable. DDR5 at 4800MHz typically has a CL timing of around 40, while DDR4 at 3200MHz can achieve a timing of CL21, and DDR3L at 1600MHz can reach CL11. With optimization, DDR5 may achieve even lower timings.</p>
<p><strong>Summary:</strong><br />DDR5 represents a significant advancement over DDR4 and DDR3L, particularly in terms of frequency and bandwidth. It incorporates technologies like ECC error correction and PMIC power management chips. However, DDR5 still has room for improvement, with challenges such as high timings and latency. While DDR5 offers improvements in multi-threaded CPU support, its impact on single-threaded performance, especially in solo gaming scenarios, is minimal. Nonetheless, for applications demanding high frequencies, DDR5 can provide substantial performance enhancements.</p>
<p><!-- /wp:list --></p>]]></content:encoded>
						                            <category domain="https://www.crackedconsole.com/community/arduino-general/">General Projects</category>                        <dc:creator>HYSTOU</dc:creator>
                        <guid isPermaLink="true">https://www.crackedconsole.com/community/arduino-general/what-is-the-difference-between-mini-pc-ddr3l-ddr4-and-ddr5/</guid>
                    </item>
				                    <item>
                        <title>What if the Realtek RTL8821CE WIFI module is not recognized under the Ubuntu system?</title>
                        <link>https://www.crackedconsole.com/community/arduino-general/what-if-the-realtek-rtl8821ce-wifi-module-is-not-recognized-under-the-ubuntu-system/</link>
                        <pubDate>Thu, 25 Apr 2024 09:33:05 +0000</pubDate>
                        <description><![CDATA[SynopsisThis article describes a solution for using the Realtek RTL8821CE wireless network card on a &quot;mini PC&quot; running Ubuntu. In many Linux distributions, including Ubuntu, the Realtek RTL8...]]></description>
                        <content:encoded><![CDATA[<p>Synopsis<br />This article describes a solution for using the Realtek RTL8821CE wireless network card on a "mini PC" running Ubuntu. In many Linux distributions, including Ubuntu, the Realtek RTL8821CE driver is not pre-installed in the system libraries. As a result, users may experience difficulties using WiFi in the operating system. To enable WiFi networking, the driver must be installed manually.<br /><br />Here is how to install the driver:<br />Q: How to check the network card model under Ubuntu system?<br />Answer:<br />▶ After entering the system desktop, use the key combination Ctrl+Alt+T to open "Terminal". Then enter the following command to get the details of your network card model: sudo lshw -c network<br />▶ After entering the command, you will be prompted to enter a password (e.g. 123456). Please note that when you enter the password, no characters will be displayed in the password field. After entering the password, simply press Enter to confirm.<br /><br />(The network card models recognised by this command are as follows:<br />(Wired NIC) RTL8111/8168/8411<br />Wireless NIC: RTL8821CE)<br /><br />1. Preparing the Installation Environment<br />1-1. Connect to the Internet using a wired network, and install the git and dkms tools first. Press Ctrl+Alt+T to open the terminal and enter the following command in the terminal:<br />▶ update apt source<br />▶ sudo apt update<br />Install the required software<br />▶ sudo apt install git<br /><br />1-2. sudo apt install build-essential<br />build-essential is a C/C++ build environment home bucket that allows you to install all the packages you need to build c/C++.<br />sudo apt install dkms<br />DKMS stands for Dynamic Kernel Module Support and is used to maintain Linux drivers that are not integrated into the kernel.<br /><br />2. Download and Install the Driver<br />2-1. Download the RTL8821CE driver and extract it to the download directory. Download from GitHub - tomaspinho/rtl8821ce<br /><br />2-2. Press Ctrl+Alt+T to open the terminal and enter the following command to open the directory where the driver file is located:<br />▶ ls<br />▶ cd Downloads<br />▶ cd Drives-Re</p>
<p><a href="http://www.hystou.com" target="_blank" rel="noopener">More</a></p>]]></content:encoded>
						                            <category domain="https://www.crackedconsole.com/community/arduino-general/">General Projects</category>                        <dc:creator>HYSTOU</dc:creator>
                        <guid isPermaLink="true">https://www.crackedconsole.com/community/arduino-general/what-if-the-realtek-rtl8821ce-wifi-module-is-not-recognized-under-the-ubuntu-system/</guid>
                    </item>
				                    <item>
                        <title>Using ChatGPT code to build a ESP8266 Motion and Temperature Sensor</title>
                        <link>https://www.crackedconsole.com/community/arduino-general/using-chatgpt-code-to-build-a-esp8266-motion-and-temperature-sensor/</link>
                        <pubDate>Sun, 12 Mar 2023 19:04:22 +0000</pubDate>
                        <description><![CDATA[I used to have motion sensors in each room, but the wiring was a hassle as I wired them all down to the basement and used Arduino MEGA controllers to read their data.That will all change tod...]]></description>
                        <content:encoded><![CDATA[<p>I used to have motion sensors in each room, but the wiring was a hassle as I wired them all down to the basement and used Arduino MEGA controllers to read their data.<br />That will all change today.<br /><br />I've been using the ESP8266 for some time now in lighting and RGB projects, now I want to build new motion sensors to put in each room that utilize these.<br />I will also be including a DHT11 Temperature and Humidity sensor in each, very useful in areas such as the bathroom and will allow me to control the exhaust fans based on humidity.</p>
<p>This time, rather than writing the code myself, let's lean a bit on ChatGPT for the code.</p>
<p> </p>
<p><em><span>Can you provide arduino code to use an ESP8266-01 to connect to wifi and then read its 2 available pins for data from the 2 following sensors HC-SR501 PIR motion Sensor DHT11 Humidity Temperature Sensor I want to be able to read these values by via http from the ESP8266-01</span></em></p>
<p> </p>
<blockquote>
<p><span>Sure! Here's some sample Arduino code that should do what you're looking for:</span></p>
</blockquote>
<pre contenteditable="false">#include &lt;ESP8266WiFi.h&gt;
#include &lt;WiFiClient.h&gt;
#include &lt;ESP8266WebServer.h&gt;
#include &lt;DHT.h&gt;

// Replace with your network credentials
const char* ssid = "your_SSID";
const char* password = "your_PASSWORD";

// Create an ESP8266WebServer object on port 80
ESP8266WebServer server(80);

// Initialize the DHT sensor
#define DHTPIN 2          // DHT data pin is connected to GPIO2
#define DHTTYPE DHT11     // DHT 11
DHT dht(DHTPIN, DHTTYPE);

// Define the PIR motion sensor input pin
#define PIR_PIN 0         // PIR motion sensor input pin is connected to GPIO0

void setup() {
  // Initialize serial communication
  Serial.begin(9600);

  // Connect to Wi-Fi network
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi...");
  }
  Serial.println("Connected to WiFi");

  // Start the web server
  server.begin();
  Serial.println("Web server started");

  // Initialize the DHT sensor
  dht.begin();
}

void loop() {
  // Check for a new client connection
  server.handleClient();

  // Read the temperature and humidity from the DHT sensor
  float humidity = dht.readHumidity();
  float temperature = dht.readTemperature();

  // Check if any reading failed and exit early
  if (isnan(humidity) || isnan(temperature)) {
    Serial.println("Failed to read from DHT sensor");
    return;
  }

  // Read the motion sensor input
  int motion = digitalRead(PIR_PIN);

  // Construct the response string
  String response = "Temperature: " + String(temperature) + " °C\n"
                    + "Humidity: " + String(humidity) + " %\n"
                    + "Motion: " + String(motion) + "\n";

  // Send the response to the client
  server.send(200, "text/plain", response);
}
</pre>
<blockquote>
<p>This code should connect to your Wi-Fi network using the credentials you provide, and then read the temperature and humidity from a DHT11 sensor connected to GPIO2, as well as the motion sensor input connected to GPIO0. It then constructs a string containing the readings, and sends it back to the client when it receives an HTTP request. Note that the PIR motion sensor is initialized as a digital input using <code>digitalRead()</code> and its value is sent back as an integer.</p>
<p>You can access the data by opening a web browser and entering the IP address of the ESP8266-01 into the address bar. The data will be displayed in plain text.</p>
</blockquote>
<p> </p>
<p>Well, time to start working on a circuit, flash the code and see what we come up with!</p>]]></content:encoded>
						                            <category domain="https://www.crackedconsole.com/community/arduino-general/">General Projects</category>                        <dc:creator>CrackedConsole</dc:creator>
                        <guid isPermaLink="true">https://www.crackedconsole.com/community/arduino-general/using-chatgpt-code-to-build-a-esp8266-motion-and-temperature-sensor/</guid>
                    </item>
				                    <item>
                        <title>Arduino based RGB LED floor lamp</title>
                        <link>https://www.crackedconsole.com/community/arduino-general/arduino-based-rgb-led-floor-lamp/</link>
                        <pubDate>Tue, 18 Aug 2020 23:37:25 +0000</pubDate>
                        <description><![CDATA[I came across a floor lamp pic floating around, and loved the concept for some accent lighting in my living room and office.

The sticker price was around $150.. wow.. So I figured I would...]]></description>
                        <content:encoded><![CDATA[<p>I came across a floor lamp pic floating around, and loved the concept for some accent lighting in my living room and office.</p>
399
<p>The sticker price was around $150.. wow.. So I figured I would make some of my own.</p>
<p>Current parts list as follows (I just ordered most of this, so I am still awaiting it to arrive)</p>
<p><a href="https://amzn.to/3g8WFtI" target="true">Aluminum U Channel for LEDs</a><br /><a href="https://amzn.to/3gCXLhh" target="true">Aluminum Square Tube 20mmx300mm</a><br /><a href="https://amzn.to/2CDQeRw" target="true">12v WS2811 RGB LED strip, non-waterproof</a><br /><a href="https://amzn.to/326Bzaa" target="true">12v Power supply</a><br /><a href="https://amzn.to/3jtzHiG" target="true">ESP8266-01</a></p>
<p>Other items I already have on hand, but include;</p>
<p><a href="https://amzn.to/2CDR0xU" target="true">4 Wire LED Wire</a>  (technically you only need 3 wires. But I had this on hand from other projects)<br /><a href="https://amzn.to/2YuAY1h" target="true">2.5mm Power Connector</a></p>
<p>And I'm either going to use an Arduino Nano, or an <a href="https://amzn.to/2FCUtxV" target="true">Adafruit Trinket</a>. But more than likely the Nano, as I'm tossing around ideas for Syncing multiple devices.</p>
<p>As for syncing the devices / effects between them, I am tossing around a few ideas of how to sync and control them.</p>
<p>For the lamp itself, I'll just use a section of the U channel and mount it vertically with the LEDs inside. I plan to design and 3D print the base, once I get the channel in my hand.</p>
<p>I hope to have most, if not everything, in my hands this Friday. It should be fun.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.crackedconsole.com/community/arduino-general/">General Projects</category>                        <dc:creator>CrackedConsole</dc:creator>
                        <guid isPermaLink="true">https://www.crackedconsole.com/community/arduino-general/arduino-based-rgb-led-floor-lamp/</guid>
                    </item>
				                    <item>
                        <title>My definitive guide to DIY Christmas lights with Arduino, Vixen and WS2811 RGB LEDs</title>
                        <link>https://www.crackedconsole.com/community/arduino-general/my-definitive-guide-to-diy-christmas-lights-with-arduino-vixen-and-ws2811-rgb-leds/</link>
                        <pubDate>Mon, 23 Dec 2019 03:16:55 +0000</pubDate>
                        <description><![CDATA[(Currently a work in progress)
My definitive guide to DIY Christmas lights with Arduino, Vixen and WS2811 RGB LEDs
 

Planning and design

First things first, we want to get a picture ...]]></description>
                        <content:encoded><![CDATA[<p><strong>(Currently a work in progress)</strong></p>
<p style="text-align: center"><span style="font-size: 24pt"><strong>My definitive guide to DIY Christmas lights with Arduino, Vixen and WS2811 RGB LEDs</strong></span></p>
<p> </p>
<hr />
<p><span style="font-size: 14pt"><strong>Planning and design</strong></span></p>
<hr />
<p>First things first, we want to get a picture of our house, this will allow us to layout a design we are trying to achieve, and using something as simple as Paint we can draw lines where LEDs or props may go.<br />Be sure to keep an untouched copy of your house, as we can also use this in Vixen Lights to overlay a demo show over (more to come on this topic)</p>
<p>363<br />365</p>
<p>Once you've drawn out where you would like to have LEDs/lights, the next step is to take physical measurements of each spot, such as gutters, roof lines etc. Where ever you want your lights, this will allow us to plan for LED counts and lengths.</p>
<p>In our outline lighting example, we going to use WS2811 RGB LEDs, these are 12v LEDs and the ones I used were spaced 2.5 inches apart (the description states 2.7-2.9 inch spacing, but we utilize them with 2.5 inch spaced mounting strips.)</p>
<p><a href="https://amzn.to/2Q6NnTW" target="true">500 pack of WS2811 RGB LEDs - 12v</a></p>
<p>364</p>
<p>To mount these LEDs to the house, I used a few items;</p>
<p><a href="https://www.holidaycoro.com/PixNode-Pixel-Mounting-Strips-p/767.htm" target="true">PixNode mounting strips with 2.5 inch spacing</a></p>
<p>366</p>
<p><a href="https://amzn.to/2EQs8Al" target="true">LED Pixel Pliers</a> (these make a world of difference when pushing all of the LEDs into the mounting strips)</p>
<p>367</p>
<p>For mounting them to the house, I used either <a href="https://amzn.to/2Mmc11N" target="true">3M Command Strips</a> or <a href="https://amzn.to/371GIBa" target="true">Eyelet Screws</a> and secured them together with a mix of <a href="https://amzn.to/34Tl2WJ" target="true">4 inch Zip ties</a> and <a href="https://amzn.to/2rocbhY" target="true">8 inch Zip ties</a>.<br />Taking the measurements for each strip of LEDs, measure them out onto the PixNode strips, adjusting where you need to considering the 2.5 inch spacing of the LEDs.</p>
<p>BE SURE to pay attention and mark or label what end of the LED strand is the input, and if you have to join more LEDs together, pay attention to the side that is the input.</p>
<p>For joining LEDs and LED strands to make 1 strip, as well as attaching the water proof connection ends, I used several types and sizes of water proof heat shrink.</p>
<p><a href="https://amzn.to/371LjmZ" target="true">2mm 3:1 shrink</a> for small individual wires<br /><a href="https://amzn.to/2ZeDcAI" target="true">8mm 3:1 shrink</a> for medium bundles of wires or connectors<br /><a href="https://amzn.to/2EWFxqZ" target="true">3/8ths inch 3:1 shrink</a> for larger wires and bundles</p>
<p>as well as some water proof butt splice connections</p>
<p><a href="https://amzn.to/2sePw81" target="true">22-16 gauge</a><br /><a href="https://amzn.to/2Zkwnhk" target="true">16-14 gauge</a></p>
<p>Lastly, to complete each strand of LEDs I used the following waterproof connections;</p>
<p><a href="https://amzn.to/2PNKKHL" target="true">BTF Lighting small 3 Pin water proof LED connector</a></p>
<p>368</p>
<p>Please bear in mind, this may not be an industry standard for compatibility with other systems or devices, just what I happened to pick at the time when I was setting up my display.</p>
<p>In my setup, I used the female end as the LED input and male end as the LED output, I followed this through all strands, props, extension wires and amps. Doing this simplifies connectivity and keeps things in order.</p>
<p>A few notes on LED strands, mounting and planning out your display;</p>
<p>The WS2811 RBG LEDs work while wired in series, the output of strand 1 goes into strand 2 and so on.<br />Keeping this into consideration when deciding where the initial input signal will start and how the wiring will go from there.</p>
<p>You want the shortest possible wires and extension cables, I've had success with an initial 20 foot run from the controller to the first strand of LEDs but your results may vary.<br />Extension cables, or a jumper cable from 1 strand to the next to continue the signal, needs to be very short. I've run into several issues trying to carry the signal too far from the prior set of LEDs.<br />Though I've had better success with this using these "<a href="https://www.pixelcontroller.com/store/index.php?id_product=53&amp;controller=product" target="true">F-Amps</a>" I found, that boost the LEDs data signal for longer runs.</p>
<p>You want to try and stay around or below 400 LEDs in total per "group". Each group will have their own controller and you want to avoid issues with transfer speeds, or power.</p>
<p>You want to consider power injection. You'll be adding a power feed about every 200 LEDs or so.</p>
<p>In my setup, shown here, I have 3 groups of LEDs to make up my outline, each group contains around 300 LEDs. I feed 12v power into the start and end of each group of strands.</p>
<p>369</p>
<p>Again, take into consideration the flow of data from 1 strand to another as you are making your layout / design.</p>
<p> </p>
<hr />
<p><span style="font-size: 14pt"><strong>Controllers</strong></span></p>
<hr />
<p>Outside of the actual lights themselves, you need a controller to tell the LEDs what to do or turn them off and on. A "show player" tells the controller what the lights should do, the controller the spits that out to the LEDs and they light up as desired. There are several options for both Show Players as well as controllers.</p>
<p>For simplicity and cost, I currently use an Arduino for each of my controllers and depending on the job determines what version of Arduino I am using.</p>
<p><a href="https://amzn.to/2QbkCp9" target="true">Arduino MEGA</a> - Relay / Power plug controller</p>
<p><a href="https://amzn.to/2PPiFjp" target="true">Arduino Nano</a> - Small groups of LEDs 150 or less</p>
<p><a href="https://amzn.to/2tKsE0H" target="true">Arduino Uno</a> - Larger groups of LEDs 200-400+ (Largest I've tested is 410)</p>
<p> </p>
<p>The reasoning behind the Arduino choices, is primarily the Serial port speeds each could handle. This drastically impacts the performance of the LEDs and your display, too many LEDs on an Arduino with a slow max Serial port speed will not perform well and look fairly bad.</p>
<p>The <strong>Arduino MEGA</strong> for relay and power plug box controls 32 relays to turn off/on 32 power plugs for old school Christmas light strands. I use the added I/O pins to control these relays.<br />I've only tested the max Serial port speed of 115,200. But this is fast enough for 32 plugs.</p>
<p>The <strong>Arduino Nano</strong>, was originally for price and size. I was able to get away with Generic Nano's to run small groups of LEDs 20-100 or so and get decent performance.<br />The max Serial port speed I've been able to get from the Nano's, including the official Arduino versions, is 115,200. This is fine for a small group of LEDs, but you will get very choppy and slow performance and updates with higher LED counts.</p>
<p>The <strong>Arduino UNO R3</strong> is what I'm using for larger groups of LEDs, I've tested up to 410 LEDs in 1 group in my setup, with great success.<br />The max Serial port speed I've been able to use with these is 921,600, and makes a world of difference in display performance.</p>
<p>The software I use on the Arduino, can be grabbed from out downloads section here</p>
<p></p>
<p>This code should be modified for the desired Serial port connection speed as well as the LED count each controller will be handling, and then flashed to your Arduino of choice.</p>
<p>370</p>
<p> </p>
<p>For the Traditional Christmas light strands that use standard power plugs and just turn off and on, this is where the Arduino MEGA comes into play.<br />I've coupled the MEGA with 2 16 channel relay banks. The MEGA then turns the relays off and on, that in turn power a bank of standard wall outlets.</p>
<p><a href="https://amzn.to/2tZZDOI" target="true">2x SaintSmart 16 channel relay modules</a></p>
<p>373<br />374</p>
<p>Wiring the Arduino MEGA consisted of connecting Pins 22 - 53 to each individual relay on the modules. I use the relays to control the hot wire coming into each power outlet, and in turn I ran a common Ground and Neutral wire to each outlet.<br />In retrospect I could have used 16 outlets for a total of 32 channels, rather than 32 total outlet modules with 2 plugs each.</p>
<p>375</p>
<p>A quick note around the relay modules and Arduino code, the mechanical relays used in the module as well as the code, do not support dimming.<br />For dimming support, it would require new code as well as Solid State relays, I plan on looking into this in the future to upgrade my current setup.</p>
<p>Arduino code for the relay modules can be found in our Download section, here</p>
<p> </p>
<p></p>
<p> </p>
<p> </p>
<p>I then tossed together a "make shift" controller board to clean everything up a bit, I used M2.5 screws and standoffs to mount the Arduino devices to the board.</p>
<p>392</p>
<p>The USB hub used can be found <a href="https://amzn.to/2VJrRau" target="true">here</a></p>
<hr />
<p><span style="font-size: 14pt"><strong>LED Power</strong></span></p>
<hr />
<p> </p>
<p>For powering my set of RGB LEDs, I try and run power every 200 LEDs or so. Thus for the most past I run power into the start of an LED strand chain, as well as into the end of the LED strand chain. In my experience, for around 400 LEDs or less this seems to be sufficient.</p>
<p>The LEDs used in my setup each use 0.3 Watts, and you will want to size your power supply needs accordingly. It's actually best to stay in the range of 75%-80% utilization or lower on each power supply.</p>
<p>I use sever 12v 40 amp 500 Watt power supplies in my setup;</p>
<p><a href="https://amzn.to/2QkuCwj" target="true">12v 40 amp PSU</a></p>
<p>371</p>
<p>I utilized terminal blocks off of each power supply to clean things up abit and make connectivity easier.</p>
<p><a href="https://amzn.to/2skmnZg" target="true">8-Way Terminal Blocks</a></p>
<p>372</p>
<p>I'll admit, this may not be the best choice for outdoor Winter wiring, but this is what I use to run power to the LED strands.</p>
<p><a href="https://amzn.to/2t42q8U" target="true">18AWG 2 Conductor Jacketed LED Power Wire</a></p>
<p>376</p>
<p><a href="https://www.thingiverse.com/thing:4018781" target="true">LED Power Supply mounting bracket from my Thingiverse Profile</a></p>
<p>377</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.crackedconsole.com/community/arduino-general/">General Projects</category>                        <dc:creator>CrackedConsole</dc:creator>
                        <guid isPermaLink="true">https://www.crackedconsole.com/community/arduino-general/my-definitive-guide-to-diy-christmas-lights-with-arduino-vixen-and-ws2811-rgb-leds/</guid>
                    </item>
				                    <item>
                        <title>Arduino based Christmas Lights display - 2019</title>
                        <link>https://www.crackedconsole.com/community/arduino-general/arduino-based-christmas-lights-display-2019/</link>
                        <pubDate>Mon, 11 Nov 2019 01:41:21 +0000</pubDate>
                        <description><![CDATA[Well, coming up on my 3rd year doing Christmas lights. This year I&#039;ve only added a few items, and will change my layout accordingly. A friend gave me a 6 foot metal tree frame for lights, I&#039;...]]></description>
                        <content:encoded><![CDATA[<p>Well, coming up on my 3rd year doing Christmas lights.</p><p> </p><p>This year I've only added a few items, and will change my layout accordingly.</p><p> </p><p>A friend gave me a 6 foot metal tree frame for lights, I've turned this into an RGB Pixel tree, with a custom tree topper star on top. This new tree consists of 410 WS2811 RGB LEDs<br />I've also added 6 hand made Spiral RGB Pixel trees, 4 consisting of 50 LEDs each and 2 consisting of 40 LEDs each.</p><p>356</p><p> </p><p>The Spiral Pixel trees are Tomato cages, flipped upside down and fastened together and then I welded a spiral around to secure LEDs to (video coming soon). I also made an additional 4 Pixel arches to add to my existing 4 from last year.<br />In all, nearly an additional 1,000 RGB pixels have been added this year across 11 new props, as well as an additional old school LED tree topper to match one I had purchased last year for some strand trees.</p><p>Another addition to this years show is the use of <a href="https://falconchristmas.com/" target="true">Falcon Pi Player</a>  running on a <a href="https://amzn.to/2Cyzwj0" target="true">Raspberry Pi 4 4GB</a> as my new "show player", an additional 12v 50amp LED power suppler and lastly a dedicated 20 Amp outlet/breaker run in the garage for the lights.</p><p>In all, the show will be running on 10 of the Arduino Nano controllers and 1 Arduino MEGA (for the relay box / old school strand LEDs), running at 912600baud in the generic serial setup and powered by a 40amp and a 50amp 12v power supply arrangement.</p><p>357</p><p> </p><p>I have abit of testing and the flu to shake before I can start putting items up around the house (I feel like I'm behind the schedule). But look for more pictures and videos soon!</p><p> </p>]]></content:encoded>
						                            <category domain="https://www.crackedconsole.com/community/arduino-general/">General Projects</category>                        <dc:creator>CrackedConsole</dc:creator>
                        <guid isPermaLink="true">https://www.crackedconsole.com/community/arduino-general/arduino-based-christmas-lights-display-2019/</guid>
                    </item>
				                    <item>
                        <title>Christmas Light Props - Including Arduino controlled WS2811 RGB LEDs</title>
                        <link>https://www.crackedconsole.com/community/arduino-general/christmas-light-props-including-arduino-controlled-ws2811-rgb-leds/</link>
                        <pubDate>Wed, 16 Jan 2019 04:42:20 +0000</pubDate>
                        <description><![CDATA[Static PropsPine Christmas Trees with LED strands33inch Tomato CagesBrass brazing rodsSteel wireArtificial Pine GarlandLEDs or lights of your choice4 inch yard staples  I ended up making 8 o...]]></description>
                        <content:encoded><![CDATA[<p> </p><p><span style="font-size: 18pt"><strong>Static Props</strong></span></p><p><strong>Pine Christmas Trees with LED strands</strong></p><ul><li><a href="https://amzn.to/2TUBukm" target="true">33inch Tomato Cages</a></li><li><a href="https://amzn.to/2MdXQdL" target="true">Brass brazing rods</a></li><li><a href="https://amzn.to/2FsTUFD" target="true">Steel wire</a></li><li><a href="https://www.walmart.com/ip/100-x-10-Commercial-Length-Canadian-Pine-Artificial-Christmas-Garland-Unlit/26467741" target="true">Artificial Pine Garland</a></li><li>LEDs or lights of your choice</li><li><a href="https://amzn.to/2SScTMR" target="true">4 inch yard staples</a> </li></ul><p> </p><p>I ended up making 8 of these little trees, this took 2 100 foot rolls of garland.</p><p> </p><p><img src="http://www.crackedconsole.com/wp-content/gallery/christmas-lights/IMG_20171012_131710.jpg" width="50%" height="50%" border="0" /></p><p>I basically stood the tomato cages upside down and used some steel wire to bring and hold the ends together at a point. Once secured I used a brass brazing rod to lock everything in place.<br />I then wrapped each tomato cage in a nice rigged garland. It took 200 feet in total to wrap 8 of these trees.<br />I also wrapped each tree with 2 25 foot strands of <a href="https://www.1000bulbs.com/product/111471/CMS-50WA-6GRD.html" target="true">Red and Green LED Christmas lights from 1000bulbs.com</a></p><p><strong>LED Lighted Bells</strong></p><p>To create my LED lit bells I have on the Garage, I first found some bell designs I liked on google then imported them into Photoshop and traced their outline.<br />Once I had the design, I enlarged them to my desired size with <a href="https://woodgears.ca/bigprint/" target="true">Big Print</a></p><p>I taped the prints together and began bending some metal rod to match the shape of the printout.</p><p>The rod I used was 1/8" x 3ft round steal welding rod, and can be a bit tricky to bend.</p><p> </p><p><img src="http://www.crackedconsole.com/wp-content/gallery/christmas-lights/IMG_1076.JPG" width="50%" height="50%" border="0" /></p><p>Any cross sections or connections, I used a brass brazing rod to join them together. I ended up making 2 large bells and 2 small bells.</p><p><img src="http://www.crackedconsole.com/wp-content/gallery/christmas-lights/IMG_1078.JPG" width="50%" height="50%" border="0" /></p><p>Once everything was brazed together and in the shape I wanted, I painted everything with a few coats of black spray paint to protect everything from the elements a bit.</p><p><img src="http://www.crackedconsole.com/wp-content/gallery/christmas-lights/IMG_1086.JPG" width="50%" height="50%" border="0" /></p><p>I secured UV stable clear PVC tube to the metal frame with zip ties and then fed LED strips through the PVC tube and soldered everything together.</p><p><a href="https://amzn.to/2Mjl9mM" target="true">PVC Tube</a></p><p><a href="https://amzn.to/2FxXGNM" target="true">Cool White LEDs</a></p><p><a href="https://amzn.to/2U11bjl" target="true">Red LEDs</a></p><p><a href="https://amzn.to/2TPuDIE" target="true">Green LEDs</a></p><p><img src="http://www.crackedconsole.com/wp-content/gallery/christmas-lights/IMG_20171015_105957.jpg" width="50%" height="50%" border="0" /></p><p> </p><p><img src="http://www.crackedconsole.com/wp-content/gallery/christmas-lights/IMG_20171011_084138.jpg" width="50%" height="50%" border="0" /></p><p> </p>]]></content:encoded>
						                            <category domain="https://www.crackedconsole.com/community/arduino-general/">General Projects</category>                        <dc:creator>CrackedConsole</dc:creator>
                        <guid isPermaLink="true">https://www.crackedconsole.com/community/arduino-general/christmas-light-props-including-arduino-controlled-ws2811-rgb-leds/</guid>
                    </item>
				                    <item>
                        <title>Arduino based Christmas Lights display - 2018 Show</title>
                        <link>https://www.crackedconsole.com/community/arduino-general/arduino-based-christmas-lights-display-2018-show/</link>
                        <pubDate>Sun, 13 Jan 2019 18:47:24 +0000</pubDate>
                        <description><![CDATA[This was my second year doing a Christmas lights display, the setup being based around Arduino controllers. Hardware used in my setupArduino Nano (Currently 9 of these in use on my setup)Ard...]]></description>
                        <content:encoded><![CDATA[<p>This was my second year doing a Christmas lights display, the setup being based around Arduino controllers.</p><p> </p><p><strong>Hardware used in my setup</strong></p><p><a href="https://amzn.to/2SROhE5" target="true">Arduino Nano</a> (Currently 9 of these in use on my setup)<br /><a href="https://amzn.to/2FzDvi3" target="true">Arduino Mega</a> (1 used for my 32 channel relay setup)<br /><a href="https://amzn.to/2SRzPf7" target="true">Several 3pin waterproof connectors</a> (used to connect RGB LED strips)<br /><a href="https://amzn.to/2RMvT23" target="true">2x 16 Channel Relay modules</a> (These do NOT support dimming and are just ON/OFF channels)<br /><a href="https://amzn.to/2SU8h8Y" target="true">18awg 2 conductor power wire</a> (Used for power injection into the LED strands)<br /><a href="https://amzn.to/2SXBU9D" target="true">16awg 4 conductor outdoor wire</a> (Used for the WS2811 RGB LEDs)<br /><a href="https://amzn.to/2AK93hQ" target="true">WS2811 RGB LEDs </a><br /><a href="https://www.holidaycoro.com/PixNode-Pixel-Mounting-Strips-p/767.htm" target="true">PixNode Strips for WS2811 RGB LEDs</a> (These are used to mount the LEDs around the house) I choose 2.5inch spacing to match my LED choice.</p><p><strong>Software used in my setup</strong></p><p><a href="http://www.vixenlights.com/" target="true">Vixen 3 Light Controller</a></p><p>Arduino Code for 32 Channel Relay Module<br /></p><p>Arduino Code for WS2811 RGB LEDs<br /></p><p> </p><p style="text-align: center">https://www.youtube.com/watch?v=7FA3YUoT3Hs</p>]]></content:encoded>
						                            <category domain="https://www.crackedconsole.com/community/arduino-general/">General Projects</category>                        <dc:creator>CrackedConsole</dc:creator>
                        <guid isPermaLink="true">https://www.crackedconsole.com/community/arduino-general/arduino-based-christmas-lights-display-2018-show/</guid>
                    </item>
							        </channel>
        </rss>
		