Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

thing-it-device-microcontroller

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thing-it-device-microcontroller

[thing-it-node] Device Plugin for microcontroller functionality provided e.g. via an Arduino but also the GPIOs of a Raspberry Pi or C.H.I.P..

  • 0.8.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

thing-it-device-microcontroller

NPM NPM

[thing-it-node] Device Plugin for Microcontrollers (Arduino Uno and others) as well as GPIO access for Single-board Computers like Raspberry Pi or C.H.I.P.

This allows you to

  • control the Microcontroller configuration over the Internet,
  • define complex services, event processing, storyboards and Jobs combining the Microcontroller and its connected Devices, Actors and Sensors with other Devices, Sensors and Actors.

by means of thing-it-node and thing-it.com.

Installation

After you have

  • set up your [thing-it] Node Box and
  • configured or copied a [thing-it] Mesh with a TI SensorTag,

connect your microcontroller to your [thing-it] Node Box via a USB cable.

User Interface

The appearance of the UI of the Microcontroller Plugin on the [thing-it] Mobile Client depends on the configured Actors and Sensors

Actors

LED
RGB LED
Addressable LED (WS2812B)

The Pixel Actor only works with Arduino as Microcontroller and requires a custom version of the Arduino Firmata. Installation instructions can be found here.

Button
Servo
LCD
Photocell
Potentiometer
Relay

Sensors

Light Sensor

Note: Light sensor uses i2c interface. For Microcontroller Typ: Raspberry PI this must be activated first via sudo raspi-config -> interfaces

Connection:

Raspberry Pi pin (function)TSL2564/BH1750
6/9/14/20/25/30/34 (GND)GND
1/17 (3.3V)VCC
5 (SCL)SCL
3 (SDA)SDA
Air Quality Sensor

Note: AirQuality sensor uses i2c interface. For Microcontroller Typ: Raspberry PI this must be activated first via sudo raspi-config -> interfaces

Connection:

Raspberry Pi pin (function)AirQuality
6/9/14/20/25/30/34 (GND)GND
1/17 (3.3V)VCC
5 (SCL)SCL
3 (SDA)SDA

Once I2C is enabled, we need to slow the speed way down due to constraints of this particular sensor.

via

sudo nano /boot/config.txt

add this line to the file

dtparam=i2c_baudrate=10000

safe and reboot

Keywords

FAQs

Package last updated on 02 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc