Hacker News new | ask | show | jobs
by analog31 2274 days ago
I've been quite happy with the Teensy boards. The Teensy 3.6 has a 32 bit MCU with FPU, running at 180 MHz and executes code sequentially AFAIK. You program it in the Arduino IDE, but Arduino is now just a thin layer on top of GCC, and you have full access to the MCU registers and functionality. There are a number of other attractive 32 bit processors such as the STM32 family.
1 comments

That's the sort of thing I had in mind. Low-level Arduino-type microcontroller programming on a bigger engine.

The Arduino development environment is just an IDE and a library for board-level systems. It's C++ underneath, and all of the C++ language, although not the libraries, is available to you. You can do the same thing without the Arduino system, but setting up the build environment tends to be complicated.

If you need precision timing, you either need to program bare-metal, or use some hard real time OS like VXworks or QNX. Here, where it's all stepping and reading encoders, bare metal is the way to go. If you were coordinating a multi-axis machine, a real-time OS might be better.