STM32F0 – AnyPinServo Library

Servos are great. They generally work really well and contain all the control and drive circuitry for reasonably precise error free position keeping. Servos are interfaced through PPM with the standard generally being deemed as a pulse between 1ms – 2ms and a period of 20ms. I’ve written code before for the STM32F0 discovery boards to allow servos to […]

uHMCU Alpha 0.1 – Interrupts and improved assembly

Term is over! I’m free for another Easter so hopefully I can get a couple of blog posts done though I’m taking a trip to visit Chernobyl so my levels of irradiation might end up screwing up everything electronic… (lol.) Assembler The assembler I’ve been using previously had been written quite a while ago and […]

uHMCU – Alpha 0.1

After a pretty large redesign, I can now safely say that the uHMCU is in alpha stage! I’ve ironed out most of the bugs for my USART module and can now both send and receive data. I tested it up to 115200 baud with the USB <-> USART bridge on my FPGA board and after […]

My SDL adventure

So as I’ve said many times before, C++ is not my strongest language! I’m putting that disclaimer out there before I start this post because I’m sure the whole world of skilled programmers will bear down and dismantle all of my efforts… Anyway, disclaimers aside, while Qt is great for quick GUIs, its license can […]

PIC10 Constant current LED driver

To ensure LEDs have a long life span, the brightness and power dissipation can be controlled by a constant current source. Dedicated ICs are available for this task though having already designed a buck converter with the PIC10, I thought I’d have a go at extending this to controlling the current through an LED. The […]

Logic netlist simulator

One software project I’ve wanted to do for quite a while is to code a logic simulator. Well I’ve finally got round to doing so and made reasonable success within under half a days worth of coding! With 444 lines of C++ and 17 lines of Matlab code, I’ve managed to design a simulator which can […]

STM32F0 uSpeech port

As much as I should  be revising, who doesn’t enjoy a good break porting a library eh! The uSpeech library is a pretty cool one written by Arjo, it allows a microcontroller to decode human speech into simple phonemes (sections of words that distinguish between other words). A couple of example have been included though […]

Upcoming 2016!

It has certainly been a stressful Christmas, 5 exams feels so much more than 4! I feel the extra exam is just a spanner in my revision works but hey! Medics get it a ton worse so how can I complain. I’ve had quite a few requests with the MAX7219 8×8 matrix display, namely a […]

uHMCU FPGA Implementation

Having already designed the microcontroller in a simulation environment, I wanted to take it to the implementation phase. I’d previously shown an implementation of a timer in simulation so keeping the same test program, I wanted to make sure it worked in implementation! Firstly, I decided to replace the simulation ROM and RAM for IP […]