HD44780 Library and more!

Well in light of my recent hardware addition, I’ve decided to convert the basis of my HD44780 code into a standalone library. I’ve also added the ability to print signed integer numbers with padding with my whole code including examples compiling to < 3.5k at O0 optimization! Snazzy or what, with O3 optimization, I’ve managed […]

HD44780 LCD with PWM LED Backlight control

And voila! As I said in one of the last two posts (Initial post: https://hsel.co.uk/2014/08/14/stm32f0-discovery-board-and-the-hd44780-lcd/ and integrating a charge pump for backlight control: https://hsel.co.uk/2014/08/14/stm32f0-discovery-board-with-hd44780-and-integrated-charge-pump/), I’ve now included a generic LED backlight PWM controller using one of the standard GPIO pins. I’m using GPIOA Pin 6 to drive the LED backlight and I’ve integrated a 4bit (16 step) backlight […]

STM32F0 Mini tutorial – Using the I2C peripheral to communicate with a HMC5883L digital compass IC

Well! I’ve had a fair few requests in the past few weeks about how I got the HMC5883L digital compass IC working with my STM32F0 discovery board (as shown in a previous post: https://hsel.co.uk/2014/05/29/hmc5883l-magnetometer/). I’m really not a fan of the I2C implementation on the STM32F0 discovery board as many things don’t seem particularly apparent at […]

Servo tester part 2.

So! I decided that I wanted to properly test my servo tester (testing a tester… wuhhh?) so I bought myself some really cheap servo’s on eBay. When I say really cheap, I mean REALLY cheap! I spent a whopping £3.99 on a pair and that was with postage included (eBay Item: http://goo.gl/fACHpo as per usual, link […]

STM32F0 Servo Tester

Sunday, everybody’s least favourite weekend day at the thought of having another 5 days until time is no longer scarce! I’ve been getting down to a fair bit of VHDL programming, one program I wrote recently was an attempt at a brushless DC motor. I managed to get the outputs 120deg out of phase but […]

STM32F0 Tutorial 2 – SysTick

One of the most cool features of the ARM Cortex series of processors is the SysTick. The SysTick is a 24 bit timer with a user configurable prescalar which can be used for simple variable incrementing tasks such as incrementing a second counter or similar. For the example of done, I’ve made the SysTick counter […]

Watch 2 Update

Its been a pretty hectic exam period (It hasn’t really, I just didn’t really know what to start the post with!) but I’ve regardless managed to finish Watch 1, finish most of the construction of Watch 2, design and send off for Watch 3 and learn a fair bit about Visual basic along with way! […]

STM32F0 Tutorial 1 – GPIO

So I’ve finally got round to writing my first tutorial! This first tutorial will be on using the STM32F0 with simple GPIO ports. I’ve set it up so that the LED’s will alternate depending on whether the push button is pressed or not. I’m using Coocox for my IDE and there are loads of other […]

Today’s advances

Today has actually been a really successful day! I finished the routing of Watch 3 and sent the gerber files to ITead Studio for them to be developed into PCB’s, managed to get my personal Bluetooth packet system working and had a tasty postal order through! One of the things that came in the post […]

Bluetooth Brilliance!

Well, today has certainly been a productive day! I recieved my new HC-06 bluetooth module (I stupidly ripped up the RX trace on the other one trying to unsolder it from the backboard) and have managed to implement the “harris protocol” system! I’ve gone for a really simple protocol as the module itself only sends […]