Brainboxes BB-400 Quick Start Manual

Text of the manual

This product comes with Brainboxes'

Lifetime Warranty and Support For full terms and conditions, as well as information on accreditations, and correct disposal of this product can be found on our website: : www.brainboxes.com This guide will help you set up your BB-400. Out of the box your BB-400 comes with sensible defaults to help you get started fast. For more detailed information, the product manual, and a host of resources for programming and software integration visit our website: www.brainboxes.com Risk of injury from energy stored in capacitors. Wait at least 5 minutes after shutdown of device before opening case.

More resources online

www.brainboxes.com Uplink LAN Wi-Fi Antenna Reset Power State Serial Power DIO 0-3 DIO 4-7 C Serial D Bluetooth B NFC* A Admin DIO Status *Coming soon via software update

bb@bb400-XXXX:~ $ sudo bb config.system.rtc true

Battery not included 1 2 1,2 3,4 To set the clock: Terminal Real Time Clock

Optional Accessory Item

PW-400 (UK/EU/US/AUS) - Suitable for use with BB-400 Power Supply +5VDC to +30VDC 15W Max Typical Power

Secure webpages require an SSL certificate.

This can only be applied for once an IP address or name has been assigned. This is the case for all IoT devices. The connection however is encrypted and secure

Jumper selectable pull up for NPN, active low, type sensors and pull

down for PNP, active high, type sensors Logic Level 0: 0V to +1V maximum Logic Level 1: +2.0V to +30V maximum Latched Inputs: Triggered by user programmable positive or negative edges, stays true until acknowledged Counter Inputs: User programmable – counts positive or negative transitions, up to 250Hz count rate. 16-bit (65335 count) or 32-bit (4.2 billion count) counters. Counter values persist over power-off periods Digital Outputs Max output current Sinks up to 0.85 Amp per pin, 30V max load Max combined load 4 Amps per BB device Max output load Voltage 30V ESD Protection Protection to 16kV DIO Values

ASCII & REST Examples

ASCII Command Response Description $AAM1 !AA(Data) Read device location @AA6 >(Data) Read Digital I/O Status ~AAO(Name) !AA Set Device Name Terminal @01 >00FF REST Request REST Verb Response http://bb400-xxxx:9000/io GET { "inputs": [1, 1, 1, 1, 1, 1, 1, 1], "outputs": [0, 0, 0, 0, 0, 0, 0, 0] } http://bb400-xxxx:9000/io/inputs GET [1, 1, 1, 1, 1, 1, 1, 1] http://bb400-xxxx:9000/io/inputs/0 GET 1 http://bb400-xxxx:9000/io/outputs GET [0, 0, 0, 0, 0, 0, 0, 0] http://bb400-xxxx:9000/io/outputs body: [1, 1, 1, 1, 0, 0, 0, 0] POST header: 200 OK http://bb400-xxxx:9000/io/outputs GET [1, 1, 1, 1, 0, 0, 0, 0]

Other Connections and Updates

Coming soon via software update: NFC - Tap your smartphone or NFC enabled device to get device status information and IP address. Modbus - Coming soon support for Modbus TCP It is recommended to install all updates when you first use the device. This will ensure you are running the latest version of the operating system and software.

Any custom Baud rate between 60 - 920,000Baud

Data Bits 5,6,7 or 8 Parity Odd, Even, None Stop Bits 1, 1.5 or 2 Flow Control RTS/CTS Serial settings

Software & APIs

REST http://bb400-xxxx:9000/io WebSocket ws://bb400-xxx:8989 ASCII TCP bb400-xxxx:9500 www.brainboxes.com/bb-400 provides a range of resources and example code to get you started with some common machine monitoring scenarios. Sample code is available in the following languages; • .NET C# & VB • Python • Node.js • Node-RED (visual coding interface) Raspbian Lite - based on Debian Linux

Docker is an online repository for

secure/isolated apps that can run on your BB-400. To get started search for Brainboxes and find prebuilt containers.

UK & EU: +44 (0)151 220 2500

USA Toll free: +1 855 958 2502 Brainboxes Limited 18 Hurricane Drive, Liverpool International Business Park, Speke, Liverpool, Merseyside, L24 8RL, United Kingdom Brainboxes LLC 4500 140th Avenue North Suite 101, Clearwater FL 33762, USA [email protected] [email protected]

Other Controller Manuals