Category Archives: Hardware

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 … 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 … Continue reading

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

Micromouse Sensor Design

Selecting the best micromouse sensor design is a study in electronics, physics, geometry, maths and coding. Here I will look at some of the design considerations for the sensors in the next iteration of my micromouse.

Posted in Hardware, Micromouse, sensor | 1 Comment

Group Purchase of Faulhaber Motors

UPDATE: Unfortunately, we will not be able to arrange a group purchase after all. Sorry for any inconvenience. It may be possible to arrange a group purchase of Faulhaber motors. The exact model would be 1717T003SR with IE2-512 encoder. If enough … Continue reading

Posted in Hardware | Leave a comment

Travelling a bumpy road with a micromouse

My micromouse generates a lot of data. I log speeds, sensor readings, motor controller parameters. All sorts of things. Often that data just makes me worry. Most recently, I was noticing that there were some large variances at speed.

Posted in Hardware, Micromouse | 9 Comments

LiPo charger and serial interface combined

Travelling to contests is great. Except for the bits and pieces that you need to lug around. For several years I have used a smart charger for my LiPo batteries. It is a fine charger but bulky. Along with its … Continue reading

Posted in Hardware | Tagged , , , , | 7 Comments

Build a mini ST-LINK/V2 programmer/debugger for the STM32

I enjoy working with the STM32 processors. They are easy to use, powerful and cheap and there are lots of options for developing code. One minor annoyance is the question of a programmer.

Posted in ARM, Hardware | 27 Comments

Using USART1 on the STM32F4Discovery

While it was very good of ST to make the fantastically inexpensive and versatile STM32F4Discovery board, they have made things a little difficult in the choice of peripherals in places.

Posted in Hardware, STM32 | Tagged , , | 3 Comments

Quadrature encoders with the STM32F4

Most commonly, the speed and direction of the motors in a micromouse or other small robot will be read from quadrature encoders connected to the drive train. One of the great things about the STM32F4 processor is that it can … Continue reading

Posted in Hardware, Micromouse, STM32 | Tagged , | 26 Comments

Micromouse sensors aligned the easy way

An essential part of setting up a new mouse is the proper alignment of the sensors.  You micromouse sensors must have the emitters pointing exactly where you want them to and the detectors have to be aligned to get the … Continue reading

Posted in Hardware, Micromouse, sensor | 2 Comments