Modem State Machine

This week was an intense week. The week started with me demonstrating the modem to Dr. Shawn and with a short check of the modem’s code by him. He noticed that there was no obvious state machine in the code which prompted a rewrite of the code to include one. Read more…

Modem Fixes

This week, I finished a working version of the modem which now supports sending data and properly detecting when there is a disconnect to allow reconnecting properly. There are however, a few limitations as of now. One of them is that for some reason on the current firmware, I am Read more…

Emulating a Modem

This week, I wrapped up work on separating the USB features of the firmware which consists of the HID Keyboard and CDC Debugging Console into 2 seperate files together with 1 USB base file where functionalities are shared. These were written to resemble a library which helps to simplify usage Read more…

USB Keyboard

This week, I was able to pinpoint the reason behind the erratic behaviour of the board. Upon rereading the documentation for the Harmony USB Libraries, I found out that in particular for the PIC32MZ family of microcontrollers which includes the board that we were working on, the buffers that are Read more…

Erratic behaviour

This week, I explained to Dr. Shawn about the fact that the USB code managed to work on the PIC32MX but not the real boards in which he suggested to reduce the clock speed of the real boards to match the ones on the PIC32MX as it could be some Read more…

Board Migration

After having much fun with the PIC32 Starter Kit, I am currently moving on to the real boards. As expected, the previous USB code that worked on the starter kit no longer work properly on the real boards. Got the 2 LEDs to work on the boards and hence started Read more…

Having fun with PIC32

Upon receiving the board, I started by getting the typical Hello World program to work (i.e. getting LEDs to light up). Of the 2 methods that can be used to toggle a pin which are 1. Directly writing values to TRISDX and RDX and 2. Using the PLIB Library which Read more…

Venturing into the Hardware Abyss

After a brief hiatus from work, I met Dr. Shawn on Sunday who gave a short briefing about my subsequent project which was to implement some features for the PIC32 on the board. He then provided me with reading materials to be read in the coming week which were divided Read more…

Wrapping Up the Application

Continuing as an extension of the front-end from the previous week, I continued my Javascript marathon with coding up the head judge and attendance roles. Succumbing to temptation, I started off with the attendance role as it was trivial enough to be done in an hour or two which left Read more…

Front-End Integration

This week was spent replicating the functionalities of the previous application but this time with modifications to utilise the REST API as a source for data. Currently while coding up the front-end, there were some minor amendments made to the back-end API to make it more easy to interface with Read more…