My Cart

New Industrial Protocols modules: RS-232, RS-485, CAN Bus, Modbus, 4-20 mA for Arduino, Raspberry Pi and Intel GalileoJune 23, 2014

Cooking Hacks has released new industrial protocol modules and API that allow sensor information from industrial devices to connect to the Cloud. The new modules support the most widely used industrial communication network protocols such as RS-485, RS-232, CAN Bus, and Modbus, used for process or industrial automation, building automation, military and automobile applications, for sensor network capability in remote or factory floor environments.

Cooking Hacks new family of modules modules connect with general development platforms such as Arduino, Intel Galileo, and Raspberry Pi, to help developers design industrial Internet of Things (IoT) solutions. In conjunction with the new modules, Cooking Hacks has released a special 4-20 mA sensor board (current loop), to connect the most commonly deployed sensors in industrial environments.

In order to use the Industrial Protocols modules and the wireless radio at the same time we have created the Multiprotocol Radio Shield. This way we can make a bridge between the bus and the wireless link. Available radios are: WiFi, RFID, NFC, Bluetooth, ZigBee, and 802.15.4. Other interesting radio protocols such as 3G and GPRS can be used directly without the need of this board.

Waspmote Industrial Protocols



  • Standard:EIA RS-485
  • Physical Media:Twisted pair
  • Connector:DB9
  • Network Topology:Point-to-point, Multi-dropped, Multi-point
  • Maximum Devices:32 drivers or receivers
  • Mode of Operation:Differential signaling
  • Maximum Speed:460800 bps
  • Voltage Levels:-7 V to +12 V
  • Mark(1):Positive Voltages (B-A > +200 mV)
  • Space(0):Negative voltages (B-A < -200 mV)
  • Available Signals:Tx+/Rx+, Tx-/Rx-(Half Duplex)Tx+,Tx-,Rx+,Rx-(Full Duplex)

  • Industrial Equipment
  • Machine to Machine (M2M) communications
  • Industrial Control Systems, including the most common versions of Modbus and Profibus
  • Programmable logic controllers
  • RS485 is also used in building automation
  • Interconnect security control panels and devices



  • Standard:TIA-232-F
  • Cabling:Single ended
  • Connector:DB9
  • Network Topology:Point-to-point
  • Maximum Speed:115200 bps
  • Signaling:unbalanced
  • Voltage Levels:-25...+25
  • Mark(1):-5...-15
  • Space(0):+5...+15
  • Signals:Full Duplex (Rx, TX)

  • Bar code scanners and other point of sale devices
  • LED and LCD text displays
  • Satellite phones, low­ speed satellite modems and other satellite based transceiver devices
  • Updating Firmware on various consumer devices
  • Uninterruptible power supply
  • Stenography or Stenotype machines
  • Software debuggers that run on a 2nd computer
  • Industrial field buses



  • Standard: ISO 11898
  • Cabling: Twisted Pair
  • Connector: DB9
  • Network Topology: Multimaster
  • Speed: 125 to 1000 Kbps
  • Signaling: Differential
  • Voltage Levels: 0-5V
  • Signals: Half Duplex

  • Automotive applications
  • Home automation
  • Industrial Networking
  • Factory automation
  • Marine electronics
  • Medical equipment
  • Military uses



The Modbus is a software library that can be operated physically on the RS-485 and RS-232 modules.

  • Standard: ISO 11898
  • Data area: Up to 255 bytes per job
  • Interface: Layer 7 of the ISO-OSI reference model
  • Connector: DB9 (RS-485 / RS-232 modules)
  • Number of possible connections: up to 32 in multi point systems
  • Frame format: RTU

  • Multiple master-slave applications
  • Sensors and Instruments
  • Industrial Networking
  • Building and infrastructure
  • Transportation and energy applications

4-20 mA (Current Loop)

4-20 mA (Current Loop)

  • Standard: ISO 11898
  • Type:  Analog
  • Media: Twisted Pair
  • No. of devices: 1
  • Distance: 900m
  • Supply: 5-24V

  • Sensors and Instruments
  • Remote Transducers
  • Monitoring Processes
  • Data transmission in industrial scenarios


We have created specific tutorials explaining how to use step by step each of the modules in Arduino, Raspberry Pi and Intel Galileo.

5 thoughts on “New Industrial Protocols modules: RS-232, RS-485, CAN Bus, Modbus, 4-20 mA for Arduino, Raspberry Pi and Intel Galileo”

  • Oriol Port

    Seria interesante que existiera un 4-20 mA Sensor que pudiera leer la señal que emiten algunos aparatos como termómetros, caudalímetros, niveles, etc. Seria un paso muy importante.

    También, y desconozco si es posible, que el CAN Bus pudiera enlazar más de dos aparatos. Si es así sería interesante algún Tutorial.

  • matthew

    Is there a bacnet version available?

    • Cooking Hacks
      Cooking Hacks July 14, 2014 at 4:09 pm

      Hi Matthew,
      Unfortunately we have not prepare a Bacnet version yet, and it's not in our roadmap yet.
      Thanks, best.

  • Cooking Hacks

    Hola Oriol,
    Con CAN Bus se pueden enlazar más de dos aparatos, simplemente hay que conectarlos. Para cualquier ampliación de este tema, te invitamos a pasarte por el foro.
    Hello Oriol,
    Its possible to link more than two devices with CAN Bus. You just need to connect them. Any related issue, please follow this link to our forum:

  • caEstrada


    You can connect 4-20mA sensors to an Arduino 0-5VDC Analog Channels. You have to use a resistor to convert from 4-20mA to 0-5VDC, let's say 250 Ohms... Apply Ohms law with 250Ohms and see the results.

    I used sometimes 100Ohms to have a conversion in the range from 0.4V to 2.0Volts, which fits perfect with 0-3.3VDC inputs...hope it helps

Leave a Reply