Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework

donowak
Fri Jul 14, 2017 10:02 am
Hi, I’m Dominik from husarion.com .

I have a big pleasure of introducing to you the 2nd generation of our platform for building robots, which we have been developing for the last 4 years.
Here are some key points describing our product:

1. Husarion CORE2: based on STM32F4 and ESP32 Wi-Fi module, with 42GPIO and interfaces to connect DC motors and servos . There is also a CORE2-ROS version with RaspberryPi 3 or ASUS Tinker Board single board computer instead of ESP32.
2. Open source, real-time programming framework (hFramework) – https://github.com/husarion/hFramework based on FreeRTOS, using DMA and Interrupt to save processing power of CPU and with API in C++ 11
3. Arduino compatibility layer to hFramework
4. CORE2-ROS is powered by ROS (Robot Operating System)
5. Optional cloud platform to manage all CORE2 based devices online through a control panel, develop their firmware through Web IDE and share them through a link
6. Offilne dev tools: “Husarion” extension to Visual Studio Code

We have launched our product campaign, where much more detailed description is available. It would be great if you could check it out and let me know if you had any comments or questions. Your feedback means a lot.
Thank you! :)


Ollie
Fri Jul 14, 2017 2:51 pm
Interesting, but what this has to do with STM32duino?

Personally, I am annoyed by plain product promotions in this forum. If they add some relevant information that is OK, but if the purpose is to get free advertisement, that simply is wrong.


Rick Kimball
Fri Jul 14, 2017 3:05 pm
[Ollie – Fri Jul 14, 2017 2:51 pm] –
Personally, I am annoyed by plain product promotions in this forum. If they add some relevant information that is OK, but if the purpose is to get free advertisement, that simply is wrong.

+1

Especially when the author of the post has a post count of 1


stevestrong
Fri Jul 14, 2017 3:53 pm
Maybe they want to use “our” free Arduino_stm32 core for a commercial product…

Rick Kimball
Fri Jul 14, 2017 3:55 pm
[stevestrong – Fri Jul 14, 2017 3:53 pm] –
Maybe they want to use “our” free Arduino_stm32 core for a commercial product…

It doesn’t seem that way. They offer a freertos based api, with its own arduino layer that only runs on windows. This is just a blatant SPAM post.


victor_pv
Fri Jul 14, 2017 4:12 pm
Given that they offer open source software with an arduino layer, and uses and stm32 MCU I would think it does have some merit to be posted here. Even if they want some promotion they may honestly want some feedback.
We will see if they come back to reply, or leave the post count at 1.

Rick Kimball
Fri Jul 14, 2017 6:58 pm
The arduino layer is about as minimal as you can get. It is one file (Arudino.h) that provides digitalRead/Write Serial print and analogRead/Write. There is little chance any significant library would work.

RogerClark
Fri Jul 14, 2017 10:04 pm
Looks like spam

Unless the op can justify why it’s not spam it will be removed and the op will be banned including via ip and domain


donowak
Fri Jul 14, 2017 10:46 pm
Hi once more, Husarion CORE2 is related to STM32 and Arduino so I think it fits this forum.

@Rick, yes, Arduino layer integrates some basic functions right now, but with hFramework it is easy to add the rest. Arduino compatibility is a new feature in our framework, and we decided to start developing of this layer because of many existing libraries for Arduino boards. We created a rich set of libraries optimized to save processing power of CPU, based on FreeRTOS, all communication interfaces use semaphores, queues and DMA channels. 4 quadrature encoder interfaces use hardware timers of STM32F4 in encoder mode, so they also don’t waste processing power of CPU. I think this could be interesting both for Arduino and STM32 users. More new Arduino modules will be added soon, don’t worry :).

I introduced our product and software that may be interesting for users of this forum. I was looking for good communities to talk about hFramework and our Arduino layer, and this place looks promising. I would be grateful for your feedback!


RogerClark
Sat Jul 15, 2017 1:18 am
Is it actually for sale. It looks like its a its crowdfunded and has not met its target.

I can’t see details of how the this can be used as a pure Arduino board.

I presume there must be connections for STLink or for Serial USB, but I can’t see any jump link for Boot0 to enable upload via USB Serial.

I can’t find a schematic etc


RogerClark
Mon Jul 17, 2017 12:46 am
As OP has not responded, I’ve removed the links so that the site doesn’t get abused as a link farm.

If anyone wants to investigate this board as a target for the Arduino IDE, they can easily google for this product.


Ollie
Mon Jul 17, 2017 3:09 pm
Thanks Roger,

I hope that your actions will send a message to all forum users about what is acceptable and what is not.


donowak
Thu Jul 20, 2017 12:52 pm
Roger, yes it’s our second crowd funding campaign. The first one was on Kickstarter 2 years ago with the first generation of our robotic controller – RoboCORE. Husarion CORE2 is a successor of RoboCORE, created based on feedback from our first customers.

“I can’t see details of how the this can be used as a pure Arduino board.” – take a look at our Crowd Supply campaign and find “Arduino compatible” section where you will find Arduino pinout of CORE2. As I wrote in the previous post, not all Arduino libraries are implemented yet, but in the near future, they will be. It’s not a full clone of Arduino, but rather a compatibility layer. For example, we don’t implement:

setup() { }
loop() {}

because it doesn’t look good in a multi-thread program. In our case you start your program like this:

#include “hFramework.h”

void task1() {

}

void task2() {

}

hMain() { //hMain is an RTOS task
sys.taskCreate(task1);
sys.taskCreate(task2);
sys.taskCreate([](){ //C++11 lambda expression
pinMode(D0, OUTPUT);
for (;;) {
digitalWrite(D0, HIGH);
delay(500);
digitalWrite(D0, LOW);
delay(500);
}
});
}

“I presume there must be connections for STLink or for Serial USB, but I can’t see any jump link for Boot0 to enable upload via USB Serial.” – you can upload firmware through two UARTs associated with hardware bootloader of STM32 – Serial USB port (powered by FTDI chip that controls BOOT0) or through hRPI connector with BOOT0 inside(for ESP32 or RaspberryPi 3 / ASUS Tinker Board). A serial port is used to upload firmware from your offline IDE, and hRPI port is used rather for online development (through WebIDE at cloud.husarion.com).

Take a look at “Hardware Specifications” section at our campaign page – there is also SWD interface for ST-link V2. I’m working with STM32 MCUs for more than 8 years, and we know how to use this chip in an efficient way and to make it easy for developers like you guys.

I don’t consider this forum as a “link farm”. Just want to discuss with you. Have a good day!


Ollie
Thu Jul 20, 2017 4:40 pm
Donowak,

I know that you want to “discuss” about your hardware and software products with us. But if there are no interested discussion partners, you should make your own conclusions. This is my last post for this thread.


Leave a Reply

Your email address will not be published. Required fields are marked *