Wpisy

Arduino or Raspberry Pi? Pros and cons in IoT use.

Some people consider the Arduino platform to be the best for beginners, however, the novice will handle both Arduino and Raspberry Pi board. The choice between platforms should mainly depend on the characteristics of the project.

The origin of both platfoms

The founder of Arduino is Massimo Banzi, a lecturer at the now-defunct Italian Interaction Design Institute Ivrea, who developed a microcontroller in cooperation with students from this university. The Arduino programming language, based on the Wiring environment and basically on the C/C++ language, was designed by Hernando Barragán, a student of Banzi. The site prepared by Hernando Barragán presents exactly all the work on the project, which clearly shows that this success has more than one father.

In the case of Rasberry Pi, the project also had its source at the university. More specifically, at the University of Cambridge. Three lecturers: Jack Lang, Alan Mycroft and Robert Mullins came up with the idea of ​​developing a simple and above all cheap computer for learning programming. The first prototypes were created between 2006 and 2008. In the next step, seeing the potential of their solution, the men established cooperation with Pete Lamas, an integrated circuit designer at BroadCom, and David Braben, one of the developers of the Elite game, and together they founded the Raspberry Pi Foundation.

As a result, both platforms, which were originally intended to be used for learning by students, due to their low price and simplicity of use, became extremely popular among amateur users of consumer electronics and control, and appeared in mass sales.

So what should you choose – Arduino or Raspberry Pi?

The answer is basically simple – Arduino is ideal for simpler projects. Raspberry Pi will be useful for solutions that require more computing power. Arduino has only 2 kilobytes of RAM. Raspberry Pi has a RAM size of 1 GB. So Arduino is a simple microcontroller, meanwhile Raspberry is actually a small computer. Not without significance is the fact that the Arduino IDE is easier to use than Linux. So if you need a simple control of watering your garden, Arduino will work perfectly. Several sensors and a few lines of code will do the trick. For Raspberry Pi, to achieve the same effect, you will first need to install the system and the necessary libraries. There will be a lot more work and the effect will be the same – watering the garden at a specific time.

So choose Arduino when you need to use a simple solution for frequently repeated activities, e.g. controlling the watering of the garden, switching on and off the external lighting at a specific time, opening the gate, etc. However, because Raspberry can run many tasks at the same time, it is a computer, work simultaneously as a home printer server and operate the monitoring system. Home weather stations are popular and Raspberry will be perfect for this application because of the need to collect information from several sensors (temperature, wind strength, humidity). Raspberry Pi will therefore be a good choice for anyone interested in IoT, i.e. the Internet of Things at home. Examples of ready projects can be found here: https://modberry.techbase.eu/

Why not both?

Nothing prevents you from starting with Arduino and continuing with Raspberry Pi. By using Arduino or ESP32-based solutions you will learn the basics and you will get the effect quickly and relatively easily. But only Rasbperry Pi will allow you to make much more difficult projects. And both platforms can be combined with each other. Arduino/ESP32 can be used to read information from sensors and control e.g. motors (for example a garage door). Raspberry Pi will control all devices and send the collected data, e.g. to a mobile phone. You can do more together.

Moduino X3 ESP32

New version of Moduino ESP32, model X3 designed for various economical applications

Moduino X3 model offers new approach to Industrial IoT by upgrading mainboard elements to ensure high performance and ultra-low cost of implementation. In comparison with X2 version, new X3 limits additional ExCard expansion modules, drasticly changing the price of the device, but maintaining the 3-terminal I/Os of previous model. An important change is providing opto-isolation for DIO interface (optionally interchangeable with Relay interface for that I/O).

New version of Moduino ESP32, model X3 is designed for various economical applications, such as Industrial IoT installations, data management & remote edge-devices control. Basic configurations of X3 can be purchased for a price even lower than X1/X2 models for development purposes. Please contact our Sales Department (via Chat or e-mail) to get best price for these devices.

To read more about Industrial Moduino X solution, check here: PDF datasheet

Full comparison below:

Moduino ESP32 Comparison

To order configurable devices, choose Moduino X3 option in Moduino X product configurator here:
https://iiot-shop.com/product/moduino/

ESP32-WROVER-B

Upgraded Espressif’s ESP32 module platform for Moduino X

Espressif, a manufacturer of popular ESP32-based IoT solutions, has developed a new version of the ESP32-WROVER module, called ESP32-WROVER-B. Updated module, in addition to the dual-core LX6 microprocessor, has now twice the amount of RAM, compared to previous version of the WROVER module. The ESP32 module can work with Pseudo Static RAM. Up to now, modules with up to 4MB RAM have been the most common. Recently Espressif Systems introduced a new ESP32-WROVER-B module, which is equipped with up to 8MB pSRAM.

ESP32-WROVER-B

The new module is compatible with TECHBASE’s Moduino X series of IIoT devices. The system works with MicoPython, ESP-IDF (freemask based on FreeRTOS with light-weight Internet Protocol), Mongoose OS, Zephyr Project and is Arduino compatible. ESP32-WROVER-B is based on the ESP32-D0WD system with dimensions 5 x 5 mm, which replaced the earlier ESP32-D0WDQ6 (6 x 6 mm). The ESP32-D0WD model has 2 CPU cores that can be controlled independently. The CPU clock frequency can also be configured in the range of 80 to 240 MHz.

Updated Moduino X with ESP32-WROVER-B also comes with variety of Flash Memory available: 4MB and 16MB.

To read more about Industrial Moduino X solution, visit: https://moduino.techbase.eu/

To order sample devices, loor for  ESP32-WROVER-B option in Moduino X product configurator module:

New base platforms for Moduino device

Revised version of TECHBASE’s Moduino edge controller offers now support and compatibility with wide range of Pycom’s compute modules with built-in communication interfaces, e.g. LoRa, Sigfox, NarrowBand-IoT / LTE cat. M1/NB1 and WiFi/BT4.2, similarly to standard Moduino devices, powered by Espressif’s ESP32-WROVER module.

With new Moduino platform you can choose from variety of Pycom modules to power the unit, in order to receive specific wireless features. At the present day Moduino supports these models:

    • WiPy 3.0 with WiFi & Bluetooth 4.2
    • SiPy with WiFi/BT and Sigfox
    • LoPy4 with WiFi/BT and LoRa, Sigfox
    • GPy with WIFi/BT and NarrowBand-IoT / LTE cat.M1/NB1
    • FiPy with WIFi/BT and LoRa, Sigfox, NarrowBand-IoT / LTE cat.M1/NB1

If physical network connection is a must, you can always choose standard Moduino ESP32 with Ethernet expansion module to ensure communication via LAN. Of course the possibility to choose wired-to-wireless communication is also available with the Moduino configurator.

All Pycom-based Moduino solutions are compatible with wide range of interface expansions for standard Moduino ESP32 platform, e.g. RS-232/485, Analog I/Os, Digital I/Os, Relay, CAN and many more, including SuperCap & OLED screen options. You can find the whole list of available expansions here: https://iiot-shop.com/product/moduino/

To read more about Industrial Moduino X solution, visit: https://moduino.techbase.eu/

 

ESP32-WROVER-B

Upgraded Espressif’s ESP32 module platform for Moduino X

Espressif, a manufacturer of popular ESP32-based IoT solutions, has developed a new version of the ESP32-WROVER module, called ESP32-WROVER-B. Updated module, in addition to the dual-core LX6 microprocessor, has now twice the amount of RAM, compared to previous version of the WROVER module. The ESP32 module can work with Pseudo Static RAM. Up to now, modules with up to 4MB RAM have been the most common. Recently Espressif Systems introduced a new ESP32-WROVER-B module, which is equipped with up to 8MB SPI PSRAM.

ESP32-WROVER-B

The new module is compatible with TECHBASE’s Moduino X series of IIoT devices. The system works with MicoPython, ESP-IDF (freemask based on FreeRTOS with light-weight Internet Protocol), Mongoose OS, Zephyr Project and is Arduino compatible. ESP32-WROVER-B is based on the ESP32-D0WD system with dimensions 5 x 5 mm, which replaced the earlier ESP32-D0WDQ6 (6 x 6 mm). The ESP32-D0WD model has 2 CPU cores that can be controlled independently. The CPU clock frequency can also be configured in the range of 80 to 240 MHz.

Updated Moduino X with ESP32-WROVER-B also comes with variety of Flash Memory available: 4MB, 8MB and 16MB.

To read more about Industrial Moduino X solution, visit: https://moduino.techbase.eu/

To order sample devices, visit our new Industrial IoT Shop and ask our Sales Department via chat about new Moduino X with ESP32-WROVER-B module:

Various data connection protocols & MQTT data management solutions

To take full advantage of the TECHBASE’s Industrial IoT Ecosystem’s capabilities, you can build your own installation, depending on project requirements, choosing from variety of Gateways (Gateway Layer) to control data collected from an array of Moduino edge devices (Sensor Layer). Moduino can be programmed in one of open software platforms, e.g. MicroPython to gather the data and send it, using MQTT standard protocol, further to Gateway and/or cloud service.

Both Moduino ESP32 and Pycom-based Moduino supports open & free libraries, shared by Pycom, tested and approved by constantly growing ESP32/Arduino community. TECHBASE company has plans to provide an open-source platform for managing services & remote configuration and control of endpoint Moduino devices using MicroPython.

MQTT Data Management

Wide range of protocol support

All TECHBASE’s solution can be empowered with iMod software incl. protocol support for industrial interfaces, e.g. M-Bus, Modbus, SNMP, MQTT. iMod software works seamlessly with Node-RED using MQTT protocol, allowing use of bacnet and direct control over devices I/Os with Google’s platform-neutral protobuf – extensible mechanism for serializing structured data and zeroMQ controls to connect the code in any modern language, on any platform. The protocol drivers library can be expanded with CODESYS development system to support PROFIBUS, CANopen, EtherCAT, PROFINET and EtherNet/IP.