跳至正文
Wener Notes

Internet of Things (IoT) & Embedded Integration

约 3 分钟阅读
标签:嵌入式IoTProtocols硬件SoftwareIntegration

A comprehensive collection of notes on IoT protocols, software frameworks, hardware platforms, and integration techniques.

Software Frameworks & Libraries

Go (Golang)

    • License: Apache 2.0 | Language: Go | Tech: HAL for Embedded
    • Hardware abstraction layer for boards like Raspberry Pi, BeagleBone Black, etc.
    • License: MIT | Language: Go | Tech: Raspberry Pi GPIO
    • Native Go library for GPIO, SPI, and I2C on Raspberry Pi without C dependencies.
    • Language: Go | Tech: 1-Wire / OWFS
    • Client library for interacting with One-Wire File System (OWFS).
    • Go compiler for microcontrollers and WebAssembly.

JavaScript (Node.js)

  • johnny-five
    • License: Apache 2.0 | Language: C, JavaScript | Tech: JerryScript
    • Lightweight JavaScript platform for resource-constrained IoT devices.
  • Gobot
    • Next generation robotics framework with support for various platforms.

Hardware Utilities

Communication Protocols

Bus Types & Networks

ProtocolDescriptionPinsCharacteristics
I2CInter-Integrated CircuitSDA, SCLSynchronous, 127/1023 nodes, up to 5Mbps
SPISerial Peripheral InterfaceSCLK, MOSI, MISO, SSFull-duplex, synchronous, higher speed
1-WireSingle wire dataDQ, GNDLow speed (16.3kbps), long distance (300m)
UARTUniversal AsyncTX, RXAsynchronous, point-to-point

Infrared (IR)

Hardware Platforms & Components

Microcontrollers (MCU)

  • ESP8266 / ESP32: Popular WiFi/BT integrated SoCs.
  • ATmega328 (Arduino Uno): Mainstream 8-bit MCU.
  • ATtiny85 (Digispark): Ultra-small USB development board.

Sensors & Modules

  • DS18B20: Digital temperature sensor (1-Wire).
    • Uses 4.7kΩ pull-up resistor. Supports parasitic power mode.
  • HC-SR04: Ultrasonic distance sensor (Trig/Echo).
  • OV7670: VGA camera module (640x480).
  • L293D: Quadruple high-current half-H drivers for motors.
  • SN74HC595: 8-bit shift register with output latches.

USB-Serial Bridges

Common VID/PID for serial converters:

  • PL-2303: VID 067B, PID 2303. Prolific Driver.
  • CH340G: Popular on low-cost Arduino clones.
  • FT232H: High-speed USB to multi-protocol (UART, SPI, I2C, JTAG).

Tools & Troubleshooting

Kernel & Device Logs

bash
# Linux: Follow kernel logs
dmesg -wH

# macOS: Follow kernel logs
watch -n 0.1 "sudo dmesg | tail -n 20"

USB Management

Specialized IoT Projects

Resources

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

GitHub13 条
Wikipedia1 条
其他外链10 条
最近更新commit 906e816编辑