The next step is to add a new sensor or controller connected to your device.
# 2.1 Add a new sensor
As shown in Pic3, go to ***My Devices -> Sensors&Controllers ->Sensors, ***and then click on ***Add*** button to create a new sensor.
![](http://upload-images.jianshu.io/upload_images/5875248-1e9771d04949de85.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Pic.1 Add a new sensor
![](http://upload-images.jianshu.io/upload_images/5875248-37ae7eb39f7f5a76.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Pic.2 Create a new sensor
ID: The ID of the new sensor. It is unique for each sensor.
Type: The type of the new sensor.
Unit: The unit of the measurement.
Device: Select the device which the sensor to be connected to.
Name: The name of the new sensor.
Data Conversion: To calibrate your sensor’s measurement. You can fill in the Coefficient and offset if applicable.
Picture: Upload the picture of your sensor.
Public: If your sensors are public, other users can also view them and their measurement.
Normal range: The normal range of the sensor’s measurement. You can set it according to your actual need.
Overrange alarm: Turn it on and you will receive the alert by SMS or email when the sensor’s measurement is out of the range.
Data post period: The system indicates that the sensor is OFFLINE if it does not get the data posted by the sensor within every data post period set here.
Remark: Remark of the sensor.
# 2.2 Add a new controller
As shown in Pic4, go to ***My Devices -> Sensors&Controllers ->Controllers, ***and then click on ***Add*** button to create a new controller.
![](http://upload-images.jianshu.io/upload_images/5875248-53ae428d7985c035.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Pic.3 Add a new controller
![](http://upload-images.jianshu.io/upload_images/5875248-63471d8a768abb98.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Pic.4 Create a new controller
Fill in the related information and then click on Save.
The related parameters are explained as follows:
ID: The ID of the new controller. It is unique for each controller.
Name: The name of the new controller.
Device: To select the device which the controller is connected to.
Type: The type of the new controller, which can be switch control or numerical control. For switch type, 0 or 1 is used to control the switch. While for numerical type, the controller status is adjusted by different numerical values.
Max-value: The max-value for numerical type.
Min-value: The min-value for numerical type.
- DeviceBit User Manual
- Quick Start
- 1. Add A Device
- 2. Add a new sensor or controller
- 3. Data Upload Simulation
- 4. WeChat Alert
- 5. Email Alert
- 6. Data Reports
- 7. Account Settings
- 8. WeChat
- 9. Email Auto-sending
- 10. Email Report
- 11. Control Scheme
- 12. Trigger
- 13. MQTT
- 14. Modbus
- 15. Agent
- 16. Credits
- DeviceBit Open Source Tutorials
- 1. DIY WiFi Particles Monitor
- 2. DIY WiFi Particles & HCHO Monitor
- 3. DIY GPRS Particles Monitor
- 4. GPRS Particles Kit V0.1
- 5. WiFi Socket
- Applicaton Doc
- DTU Tutorial 1: Overview
- DTU Tutorial 2: Using DTU to connect JSY-149 single-phase meter to DeviceBit
- DTU Tutorial 3: Using Python+Openwrt DIY DTU & Connect DeviceBit
- DTU Tutorial 4 DIY Low-cost DeviceBit GPRS DTU
- DTU Tutorial 5: DIY Low-cost DeviceBit WIFI DTU
- DeviceBit Other Platform