HBBR Basic v2.500 Premium

Purchase software instantly (web download) using secure on-line payment through PayPal Terms and ...

HBBR Basic v2.500 Standard

Purchase software instantly (web download) using secure on-line payment through PayPal Terms and ...

  • HBBR Basic v2.500 Premium

    Friday, 04 February 2011 20:22
  • HBBR Basic v2.500 Standard

    Friday, 04 February 2011 19:36

HBBR Basic - World is Programmable!

Wednesday, 03 October 2012 20:30

Kinetis Freedom Board

With the general release of the Kinetis L family of Cortex-M0+ based 32-bit MCUs Freescale has also released entry level Freedom evaluation board.

The new FRDM-KL25Z board comes with KL25 MCU (MKL25Z128VLK4, 48MHz, 128KB Flash, 16KB SRAM, USB OTG/FS) with USB mass storage based bootloader, on-board debugger based on OpenSDA and compatible with CMSIS-DAP the latest ARM standard in USB based debugging.


The board has GPIO pinout compatible with the 8-bit Arduino platform, however production version lacks the headers as well as the battery connector and SPI Flash memory. So to take advantage of these options some soldering will be required.

HBBR Basic already supports Cortex-M0+ CPU and we are working on fully supporting the Kinetis L family of MCUs. Initially we will be releasing support for the Freedom board with full runtime and debug capabilities.

For more details check the Freedom board home page:

Freescale FRDM-KL25Z page

Last Updated ( Wednesday, 03 October 2012 20:32 )

Wednesday, 12 September 2012 19:50

Motion Control - Embedded Programing On-line Course

Controlling stepper motors can be as simple as generating proper phase signals for the driver. However, this will typically only work for general testing and once the motor is used to put in motion some kind of the machine the physical and mechanical constraints have to be taken into the account.

Physical and Mechanical effects

Good overview of the physical constraints can be found in the classical "Jones on Stepping Motors" chapter 2. Stepping Motor Physics Which introduces the reader to the static properties of the stepper motor like: half-stepping and microstepping, friction and the dead zone as well as motor dynamics including: resonance, torque versus speed curve and even some electromagnetic issues.

Knowing the physics behind any device will help to understand why it is controlled in a certain way. However, stepper motors can be used with just the intuitive knowledge of the real world.

Mechanical constraints on the movement typically come from the actual machine and include rotary (Extruder) or linear motion ( X,Y and Z axis), range of motion either unlimited like the Extruder or limited by the dimensions of the machine gantry.

Dynamics or Kinematics of the stepper motor and the assembly dictate how the movement should be controlled in time from the point of view of software.

Motion Control

All the aspects of the stepper motor control have to be taken into the account in the part of the software which is responsible for machine motion and which is called Motion Control.

What exactly does Motion Control do? As it turns out machine movement can be broken down into a number of linear movements which approximate the ideal path of the machine. This approximation is the key to the quality of the parts being made by the 3D printer. Straight lines or walls are easy the approximate but the more complicated parts require large number of small linear segments like for example a circle.

Motion control is responsible for planning the machine path then approximating it by breaking it into linear segments and finally coordinating machine movement according to the motion plan. Typically detailed motion plan is generated for a single Motion Path describing coordinated movement from point A to point B

Motion Path

Breaking the movement into linear segments is the first step in motion path planning. Each segment corresponds to a single motion that the machine has to make but it does does not yet describe how this motion has to be made. At this point it would possible to run the machine but the movement would have to very slow because it would be done with the same speed! It is becoming clear that in addition to the geometric information in the linear segments the motion path planning has to provide information on the " speed profile" along each of the linear segments.

The simplest speed profile would use linear ramp to accelerate movement to a maximum speed, then continue the movement at a constant speed and finally decelerate down to 0.

Here is the graphical representation of the linear ramp.

Linear Ramp

Last Updated ( Wednesday, 12 September 2012 19:52 )


Supports following cores
ARM7, Cortex-M0 and Cortex-M3
2 year subscription
Supports single core either
ARM7, Cortex-M0 or Cortex-M3
1 year subscription
Friday, 18 May 2012 15:27

STM32F0-Discovery Board

With the general release of the Cortex-M0 based STM32F0 family STMicro has released new evaluation board in the Discovery series the STM32F0-Discovery. New board has STM32F051R8T6 microcontroller which has 64 KB Flash, 8 KB RAM all packaged in a LQFP64. It comes in the ususal blister pack and looks superficial similar to the other Discovery boards.


However, after opening the package we discover a little surprise! This time ST added handy prototype board to the package. The MB1038B has 20 by 35 hole pattern spaced at the standard 0.100" with a silk layout matching the pinout of the STM32F0-Discovery board. Both boards are very well made including gold plating so it should be no problem to solder any connectors.


Speaking of pinouts, we do not expect Discovery boards to share the pinouts but it is iteresting to note that none of them has the same width. The orginal STM32-Discovery is the narrowest followed by the STM32F0-Discovery then STM32L-Discovery and finaly the "fat" dual row STM32F4-Discovery. The MB1038B can be used with all of the except the STM32F4-Discovery.

This board comes with the ST-LINK/V2 and has the same handy 6 pin SWD connector as other V2 boards. But it also adds unpopulated JP1 header with Tx and RX pins connected to the USART1 on the STM32F051R8T6 MCU.

The STM32F051R8T6 area has the signature blue and black push buttons and two LEDs. The X2 and X3 crystals plus all the required caps and resistors are not populated but should be a quick fix in case they are needed for the evaluation.


For standalone usage STM32 ST-LINK Utility V2 utility and USB driver is required. Windows USB driver will install automatically once the board is plugged in.

STM32F0-Discovery USB driver installed

ST-LINK Utility V2 version v2.2.0 has no problem recognizing the board.

STM32F0-Discovery in ST-LINK Utility V2

Overall this new board is a great bargain to be had for around 7.99 USD which is about what you might pay just for the proto board alone!

We will be adding full support for this board to the HBBR Basic shortly.

For more details check STM32F0-Discovery home page:

STMicroelectronics page

Last Updated ( Friday, 18 May 2012 15:30 )

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 21