APEC 2016 Micromouse Contest Results and Video

The 2016 APEC micromouse contest was held at the Long Beach Convention Center, California on March 21st. A total of twelve mice took part with entries from around the globe. Here is a summary of the results and a look at the maze. Continue reading

Posted in Apec, Micromouse | 2 Comments

TDD with GoogleTest and Netbeans

With googletest set up for use with the the Netbeans IDE it is relatively easy to start working on your code using Test Driven Development Methods. This article shows you how to develop a simple set of library functions using TDD. Continue reading

Posted in Software, Uncategorized | Tagged , , | Leave a comment

Googletest in Netbeans for Test Driven Development

Netbeans is my favoured IDE for C/C++ development. It has some support for test driven development but not for Googletest which I like for its simplicity. Find out how to use Googletest in Netbeans for embedded TDD. Continue reading

Posted in Software | Tagged , , | Leave a comment

PWM basics on the STM32 general purpose timers

The STM32 Family processors include general purpose timers that have a nice PWM function that can handle four channels of independently controlled duty cycles. In this article I will look at how to set these up for basic use suitable for the majority of applications that need PWM signals. Continue reading

Posted in ARM, STM32, STM32 TIM3 | Leave a comment

clock pulses with variable phase on STM32

The CCRx registers can be set to directly produce regular clock pulses on one or more of the output pins. Square waves are especially simple and up to four channels can have variable phase relationships. Continue reading

Posted in ARM, STM32, STM32 TIM3 | 1 Comment

TIM3 Output Compare on the STM32 Family

TIM3 is a general purpose timer found on all the STM32 family processors. Among other features, it has four capture compare channels that can be used to generate regular interrupts. In this article I will show you how to set up simple interrupt events based on these features. Continue reading

Posted in ARM, Hardware, STM32 TIM3 | Leave a comment

TIM3 ARR Gives Regular Interrupts on the STM32F4

The simplest way to produce regular interrupts from a timer like TIM3 on the STM32 family of processors is to set up the Auto Reload Register (ARR) to generate an update event. This article shows you how to correctly set up the clock source, prescaler and ARR to get regular events over a wide range of frequencies. Continue reading

Posted in ARM, Hardware, STM32 TIM3 | 4 Comments

TIM3 on the STM32 – an introduction

Timer 3 (TIM3) is a general purpose 16 bit timer found on every processor in the STM32 range. It is very flexible with a wide range of features. Many of these features are also present in other STM32 timers so familiarity with TIM3 means that you can get going with any STM32 processor and build knowledge that will be useful for all the other timer types. Continue reading

Posted in ARM, STM32, STM32 TIM3 | Leave a comment

Basic systick configuration on the STM32

The ARM cortex processors all come with a systick timer that is part of the core and so should be present on any ARM cortex. This timer is very useful for producing the main system event clock. Here I will show you how to set it up on the STM32F4xx processors to generate an interrupt every millisecond. Continue reading

Posted in ARM, STM32 | Leave a comment

Minos 2016 Advance Notice

Minos 2016 is announced! Minos will once more be run with the support of Birmingham City University at Millennium Point in Birmingham. Tis year’s event will be on April 16th and April 17th. Minos is still the event for catching up with goings on in the world of micromouse and small robots. Get the details

Posted in minos | Leave a comment