Single board minicomputers are very popluar in many branches of electronics. Makers love these tiny, but powerful boards for high performance, ease of programming and availability of many useful expansion modules. Professional designers use SBCs as a platform for prototyping, development and testing of embedded software. Scientists benefit from the ability to quickly test their concept of new devices and lab instrumentation using minicomputers. However, in many real world applications there is no need to use highest performance application processors and huge amount of RAM and Flash memory. Instead SBCs, relatively less complex microcontrollers can
Module with 32-bit microcontroller with ARM Cortex M4, 168 MHz, 1 MB Flash memory, and 192 KB RAM. The controller is designed to control robots and automation. It has a built-in motor driver with an encoder, a Wi-Fi module, ports for connecting sensors and servos, and more.
successfully replace more advanced CPUs. One of the most interesting modules designed to use in many real-time control applications – for example mobile robots, home automation and motor controllers – is a Husarion platform. In our store we have two different versions of this controller, so you can select the form factor that ideally fits your needs.
Both of the Husarion modules are based on the STM32F4 microcontroller. It’s based on ARM Cortex-M4 core supporting floating-point arithmetic and giving you high amount of RAM and Flash memories (192 kB and 1 MB, respectively). The processor also contains many internal peripheral blocks that ideally work in real-time motor control applications: these are for example sophisticated hardware timers with PWM outputs and incremental encoders support, 12-bit analog-to-digital converter, 12-bit DAC converter, analog comparators and many other. You can also benefit from multiple serial interfaces including UARTs, I2C, SPI, CAN and USB. The core runs at 168 MHz maximum clock frequency, giving you flexibility in development of real-time applications like fast PID controllers.
The smallest version of Husarion controller is a simple Husarion Core2 mini module. A tiny PCB of dimension 65 x 58 mm is based on the powerful STM32F407 32-bit microcontroller and contains built-in dual output H-bridge motor controller (2 x 1A in two channel mode and 1 x 2A in single channel mode). On the board you can also find a 5V DC jack power input, ON/OFF switch, three digital buttons, a microUSB port and a set of connectors for RC servos, DC motors, encoders and an external debugger. The servos can be supplied by voltage of 5V, 6V, 7,4V or even 8,6V. The board also supports a WiFi module based on ESP32 chipset. Thanks to this your Husarion Core2 mini controller can use wireless connectivity for various purposes like remote control, telemetry and even data acquisition.
Another version of the module is Husarion Core2-ROS. It is also based on a STM32F407 microcontroller, so the basic specs (maximum clock frequency, RAM and Flash sizes) are the same as for Husarion Core2 mini. However, there is much more GPIO lines (42 vs 20), thus you can connect higher count of motors (up to four H-bridge outputs and six servo outputs), as well as you can benefit from many serial interfaces (four UART buses, three I2C with up to 400 kbps baudrate, one 1 Mbps SPI and one 500 kbps CAN). The processor supports up to eight channels of edge-triggered external interrupts. One of UARTs is used for serial connection via built-in FTDI USB-UART converter. There are also a miroSD slot, four switches (two for user application, one for system reset and one for configuration). The most interesting feature of Husarion Core2-ROS controller is a possibility to work with Raspberry Pi through a RPi-compatible GPIO connector. You can use this feature to control your robot with help of dedicated OS – Robot Operating System (ROS), installed on your minicomputer. You can develop a firmware for Husarion board using free web-based IDE, available at cloud.husarion.com. This ecosystem allows you to not only rite an embedded software for on-board processor, but also make a user-friendly GUI dedicated to your device. Instead of Raspberry Pi you can also use an Asus Tinker Board, because it’s also compatible with Husarion Core2-ROS.