User Tools

Site Tools


hardware:home

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hardware:home [2021/03/30 05:46]
nanodano [NAS]
hardware:home [2022/03/14 18:45] (current)
nanodano
Line 3: Line 3:
 ====== Hardware ====== ====== Hardware ======
  
-===== Arduino =====+===== Microcontrollers =====
  
-Arduino and compatible boards and chips. Some also support MicroPythonCircuitPython, Lua, and other.+For details on programming Arduino compatible boards, see [[programming:arduino:arduino_programming|Arduino Programming]].
  
   * Adafruit Products   * Adafruit Products
     * NeoTrellis M4     * NeoTrellis M4
     * PyPortal     * PyPortal
-    * CLUE+    * [[:hardware:adafruit::clue|Adafruit CLUE]]
   * Arduino Genuino   * Arduino Genuino
     * Arduino Duemilanove     * Arduino Duemilanove
Line 25: Line 25:
     * Teensy 3.2     * Teensy 3.2
     * Teensy 4.0     * Teensy 4.0
-  * [[hardware:arduino::samd51|SAMD51]]+  * [[:hardware:attiny85|ATTiny85]] 
 +  * [[:hardware:arduino::samd51|SAMD51]] 
 + 
 +===== Single-board computers ===== 
 +==== Raspberry Pi ==== 
 + 
 +See the dedicated page, [[hardware:raspberry_pi|Raspberry Pi]]. 
 + 
 +===== Components ===== 
 + 
 +==== LED strip/matrix ==== 
 + 
 +For example, this 64x8 RGB LED matrix from Amazon: [[https://www.amazon.com/gp/product/B088BTXHRG/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1|BTF-LIGHTING WS2812B ECO RGB Alloy Wires 5050SMD Individual Addressable 8X32 256 Pixels LED Matrix Flexible FPCB Full Color Works with K-1000C,SP107E,etc Controllers Image Video Text Display DC5V]]. 
 + 
 +The `WS2811` and `WS2812` are common in various LED strips. There are multiple libraries that allow you to control each LED. 
 + 
 +  * [[https://github.com/adafruit/Adafruit_NeoPixel|Adafruit NeoPixel]] 
 +  *  [[https://github.com/FastLED/FastLED|FastLED]] 
 + 
 +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://howtomechatronics.com/tutorials/arduino/how-to-control-ws2812b-individually-addressable-leds-using-arduino/]] 
 + 
 +==== Power relay switch ==== 
 + 
 +These power relays let you switch high voltage power (110V AC/250V AC) using low power logic (5V). This lets you control household appliances. 
 + 
 +  * [[https://www.amazon.com/HiLetgo-Channel-optocoupler-Support-Trigger/dp/B00LW15A4W|HiLetgo relay on Amazon]] 
 +  * [[http://www.hiletgo.com/ProductDetail/1958599.html|HiLetgo product page]] 
 +  * [[https://www.amazon.com/Valefod-1-Channel-Optocoupler-Isolation-Trigger/dp/B07WQH63FB|Valefod relay on Amazon]] 
 + 
 +Wiring diagram: [[https://www.circuitbasics.com/setting-up-a-5v-relay-on-the-arduino/]] 
 +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/neutral can stay connected all the way, uninterrupted. All we are doing is inserting the switch in the hot power line. (Green = Ground; White = Neutral; Black = LIVE HOT WIRE) 
 + 
 +On the other side, opposite from the relay box, there are three connectors. Those all connect to the microcontroller: 5V, GROUND, and the input signal to toggle the relay. DC+/VCC is the 5V (or potentially 3.3V on some models too). DC-/GND is the GROUND. IN is the input signal (high or low, depending.) 
 + 
 +You can switch the jumper on the board to switch whether it's toggled by low or high signal. 
 + 
 + 
 +==== Waveshare SIM7600A-H 4G Hat for  Raspberry Pi Hat ==== 
 + 
 +Links: 
 + 
 +  * [[https://www.amazon.com/gp/product/B07PLXNVGZ/ref=ppx_yo_dt_b_asin_title_o00_s01?ie=UTF8&psc=1|4G GSM modem for Raspberry Pi on Amazon]] - Waveshare SIM7600A-H 4G HAT 
 +  * [[https://www.waveshare.com/wiki/SIM7600A-H_4G_HAT|SIM7600A-H 4G Hat - Official Waveshare wiki page for modem]] 
 +  * [[https://www.youtube.com/watch?v=ogTY4D6f63M|Waveshare product video]] 
 + 
 +Notes: 
 + 
 +  * Breakout UART control pins, to connect with host boards like /STM32 
 +  * Supports dial-up, telephone call, SMS, MMS, mail, TCP, UDP, DTMF, HTTP, FTP, etc. Supports GPS, BeiDou, Glonass, LBS base station positioning. Supports SIM application toolkit: SAT Class 3, USAT. 
 +  * Onboard USB interface, to test AT Commands, get GPS positioning data, and so on. 
 +  * Onboard CP2102 USB to UART converter, for serial debugging. Onboard audio jack and audio decoder for making telephone call. 
 +  * 2x LED indicators, easy to monitor the working status. SIM card slot, supports 1.8V/3V SIM card. 
 +  * Onboard voltage translator, operating voltage can be configured to 3.3V or 5V via jumper. 
 +  * Baudrate: 300bps ~ 4Mbps (default: 115200bps). Autobauding baudrate: 9600bps ~ 115200bps. 
 +  * Control via AT commands (3GPP TS 27.007, 27.005, and V.25TER command set) 
 +  * Comes with development resources and manual (examples for Raspberry Pi/ /STM32)
  
-===== Raspberry Pi ===== 
  
-See the dedicated page, [[hardware:single_board_computers:raspberry_pi|Raspberry Pi]]. 
  
 ===== Mobile Phones ===== ===== Mobile Phones =====
Line 40: Line 97:
  
  
-===== Laptops =====+===== x86 PC & Laptop ===== 
 + 
  
 ==== Thinkpad X60 ==== ==== Thinkpad X60 ====
Line 56: Line 115:
 ===== NAS ===== ===== NAS =====
  
-  * [[:hardware:nas:synology_ds418|Synology DS418]]+==== Synology DS418 ===== 
 + 
 +See the dedicated page, [[:hardware:nas:synology_ds418|Synology DS418]].
  
hardware/home.1617083160.txt.gz · Last modified: 2021/03/30 05:46 by nanodano