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