{{tag>Hardware Arduino Pi Mobile}} ====== Hardware ====== ===== Microcontrollers ===== For details on programming Arduino compatible boards, see [[programming:arduino:arduino_programming|Arduino Programming]]. * Adafruit Products * NeoTrellis M4 * PyPortal * [[:hardware:adafruit::clue|Adafruit CLUE]] * Arduino Genuino * Arduino Duemilanove * Arduino Decimillia * Arduino UNO * Arduino Mega * Arduino Nano * Arduino clones * Seeeduino Nano * ESP * ESP8266 ESP-01 * ESP-32 * Teensy * Teensy 3.2 * Teensy 4.0 * [[: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) ===== Mobile Phones ===== * [[https://store.planetcom.co.uk/products/cosmo-communicator|Cosmo Communicator]] - A cool PDA/phone/camera. Currently supporting Android OS with planned support for Sailfish, Linux Debian and Linux Kali. * [[https://puri.sm/products/librem-5/|Purism Librem 5]] - "A Security and Privacy Focused Phone" running [[https://pureos.net|PureOS]] based on [[:operating_systems:debian|Debian]]. * [[hardware:mobile_devices:nexus_5x|Nexus 5X]] - Can run [[https://lineageos.org|LineageOS]], [[https://e.foundation|/e/ OS]], [[https://maruos.com|MaruOS]]. * [[https://en.wikipedia.org/wiki/Nokia_N900|Nokia N900]] - Can run [[https://postmarketos.org|postmarketOS]] based on Alpine Linux * [[https://www.pine64.org/pinephone/|PinePhone]] - "An Open Source Smart Phone Supported by All Major Linux Phone Projects" ===== x86 PC & Laptop ===== ==== Thinkpad X60 ==== * 32-bit * Requires [[https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/|non-free package]] `firmware-iwlwifi` in Debian for WiFi to work. ==== Thinkpad X220 ==== * 64-bit * Requires [[https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/|non-free package]] `firmware-iwlwifi` in Debian for WiFi to work. ===== NAS ===== ==== Synology DS418 ===== See the dedicated page, [[:hardware:nas:synology_ds418|Synology DS418]].