Blueprint is a pre-configured template on the Blynk IoT platform, that will help you create a fully functional project in a few minutes. It already includes mobile and web dashboard UI, working firmware, and a tutorial to help you connect your device to the Blynk IoT platform and control it from the app!
On this page you can review the blueprint to have an idea of the ready project you are going to get. Sign up for a free account on the Blynk IoT platform to try it out.
Introduction
This blueprint will guide you through launching your project with the Industrial IoT Long Range Wireless Environmental Temperature, Humidity, Pressure, and Air Quality Sensor.
The sample project consists of the sensor, which measures temperature, humidity, pressure, and air quality, and transmits these measurements wirelessly to the NCD Enterprise IIoT Gateway.
Verify that you have all necessary parts. For detailed instructions on unpacking and initial setup, refer to the drawing tab on the product page.
2. Configuring the NCD Enterprise IIoT Gateway
2.1 Required Components:
NCD Enterprise IIoT Gateway
Antennas
The NCD Enterprise IIoT Gateway facilitates seamless integration and communication between various IoT devices and networks.
2.2 Hardware Setup
Connect Terminal Connectors: Insert the terminal connectors into their designated ports.
Attach Antennas:
WiFi and DigiMesh Antennas: Install these into the appropriate ports.
LTE Antennas (Optional): If using LTE, attach the antennas and insert the SIM card.
Connect to ETH1: Use an Ethernet cable to link the ETH1 port to a DHCP router for automatic IP assignment.
Power Supply: Connect the power supply to the gateway and ensure it powers on.
2.3 Preparation
SIM Card:
Ensure the SIM card is activated with data services enabled.
Verify network coverage and signal strength in your area.
Safety Precautions:
Power off the gateway before inserting the SIM card to avoid damage.
Handle antennas carefully to avoid damaging the connectors.
2.4 Connectivity Interfaces
The NCD Enterprise IIoT Gateway offers multiple connectivity options to ensure reliable communication and data transfer between your IoT devices and the network. This section covers the setup and configuration for Wi-Fi, Ethernet, and LTE interfaces.
2.4.1 Ethernet Configuration
The gateway supports Ethernet connectivity for stable and high-speed data transmission.
Connect to ETH1: Use an Ethernet cable to connect the ETH1 port on the gateway to a DHCP-enabled router for automatic IP assignment.
Static IP Configuration (Optional):
Access the web configuration interface.
Navigate to "Network > Ethernet" and set a static IP if required for your network setup.
2.4.2 Wi-Fi Configuration
The gateway can function in both Wi-Fi Access Point (AP) and Client modes, with AP mode as the default setting.
Configure Router as Wi-Fi AP:
Click “Interface > Wi-Fi > Wi-Fi” in the web configuration interface.
Select “AP” as the mode and click “Submit”.
Note that only 2.4GHz Wi-Fi is supported.
Switch to Client Mode:
If you need the gateway to connect to an existing Wi-Fi network, select “Client” as the mode.
Enter the SSID and password of the Wi-Fi network you wish to connect to.
Click “Submit” to save the settings.
2.4.3 LTE Configuration
For locations where wired or Wi-Fi connections are impractical, the gateway can connect via LTE.
Insert SIM Card: Ensure the SIM card is properly inserted into the designated slot.
Attach LTE Antennas: Securely connect the LTE antennas to the marked ports on the gateway.
Login to the Device:
Connect the gateway’s Ethernet port to a PC with a standard Ethernet cable.
Configure the PC with a static IP address on the same subnet as the gateway. Use the following settings:
IP address: 192.168.0.2 Subnet mask: 255.255.255.0 Default gateway: 192.168.0.1 Preferred DNS server: 8.8.8.8
Open a web browser and navigate to the gateway's IP address.
Navigate to the "Network -> Cellular" section in the web interface.
Enter the APN settings provided by your LTE service provider.
Save the settings and reboot the gateway if necessary.
Parameter
Description
APN
Access Point Name provided by the LTE service provider.
Username
Username for the APN (if required).
Password
Password for the APN (if required).
Dial Number
Usually *99# for most networks.
Authentication
Type of authentication (e.g., PAP, CHAP).
Check LTE Connection: Verify the LTE connection status in the web configuration interface.
By configuring these connectivity interfaces, you ensure that your gateway is equipped to handle various network scenarios, providing flexibility and reliability for your IoT applications.
2.5 Access Interfaces
Web Configuration: Access the configuration interface at http://[domain_or_ip] using ncdio / ncdB3ast for login.
Domain Name: The domain name format is ncd-xxxx.local, where xxxx are the last 4 characters of the Gateway's MAC address. The MAC address can be found on the side of the device. For example, if the last 4 characters of your Gateway's MAC address are c398, the domain name would be http://ncd-c398.local.
Network Settings: Configure static IPs, DNS, and firewall rules as needed.
Customizations: Set up user accounts, logging, and notifications for specific events.
Node-Red: Visit http://[domain_or_ip]:1880 to use Node-Red.
SSH Access: Connect via SSH with ncdio / ncdB3ast on port 22.
Open settings for the MQTT node and update the server properties:
Go to the Security tab.
Enter your Blynk device credentials in the Password field, and use "device" for the Username field. For more details, refer to the Blynk Node-RED guideConfigure the MQTT Broker topic.
6. Running the Sample Using Node-RED
Deploy the flow and use Blynk.cloud for testing.
Next Steps
Explore the Blynk Web Console and Blynk IoT app, and try monitoring your sensor data from both.
Read the Blynk Documentation to learn how to work with Virtual Pins.