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 […]

uHMCU 7 – USART

I posted about my microcontroller design a couple of posts back. As it turns out, I had actually designed it wrong! I didn’t have the pipeline fully sorted meaning I couldn’t properly execute some instructions and some things weren’t working properly. After a quick stack overflow question, I realised the error of my ways and figured […]

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 […]

PIC10 Buck converter

Well! My new PicKit3 has just arrived and in my last RS order, I got some PIC10F320 chips. The reason I chose these chips out of the massive array of PIC microcontrollers is because it is from the cheapest range (PIC10), features a hardware PWM module and an integrated 8bit ADC. I’m always interested in […]

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 […]

HMCU V1…2…3…6?

Its been a long time since I’ve written VHDL and I’ve since forgotten which version of my microcontroller I’m on – my filing system says 6 but I’m feeling a bit sceptical, 6 rewrites seems a bit extreme! Regardless, I’ve since been deciding what I should do for my final year project and one of […]

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 […]