This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hardware:home [2021/04/13 02:45] nanodano |
hardware:home [2022/03/14 18:45] (current) nanodano |
||
---|---|---|---|
Line 34: | Line 34: | ||
===== Components ===== | ===== Components ===== | ||
+ | |||
+ | ==== LED strip/ | ||
+ | |||
+ | For example, this 64x8 RGB LED matrix from Amazon: [[https:// | ||
+ | |||
+ | The `WS2811` and `WS2812` are common in various LED strips. There are multiple libraries that allow you to control each LED. | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | Each LED consumes about 20ma per color, so 60mA at full brightness. For a 256 pixel strip, that is 15,360mA. | ||
+ | |||
+ | Here is another tutorial on using WS2812 LEDs: [[https:// | ||
==== Power relay switch ==== | ==== Power relay switch ==== | ||
Line 45: | Line 58: | ||
Wiring diagram: [[https:// | Wiring diagram: [[https:// | ||
There are two sides, one side with the big relay box itself and the other side. The side with the relay is where the hot power from the wall goes. The live power line goes into the middle one, the common pin, COM or C. The two on the sides should be labeled NO and NC for normally open and normally closed. Pick the one you want to use (depends what default state you want: on or off). Let's say you picked normally open (NO). Then wire from the NO connector to your actual appliance that you want to power. The ground wire from the wall plug should go directly to the ground connector on your device. The other pin will remain unconnected (NC in this case). | There are two sides, one side with the big relay box itself and the other side. The side with the relay is where the hot power from the wall goes. The live power line goes into the middle one, the common pin, COM or C. The two on the sides should be labeled NO and NC for normally open and normally closed. Pick the one you want to use (depends what default state you want: on or off). Let's say you picked normally open (NO). Then wire from the NO connector to your actual appliance that you want to power. The ground wire from the wall plug should go directly to the ground connector on your device. The other pin will remain unconnected (NC in this case). | ||
+ | |||
+ | NOTE: If you are cutting an extension cord, the only wire you need to snip is the live power wire. The ground/ | ||
On the other side, opposite from the relay box, there are three connectors. Those all connect to the microcontroller: | On the other side, opposite from the relay box, there are three connectors. Those all connect to the microcontroller: | ||
Line 82: | Line 97: | ||
- | ===== Laptops | + | ===== x86 PC & Laptop |
+ | |||
==== Thinkpad X60 ==== | ==== Thinkpad X60 ==== |