Week 2 Status Update

This week our goal was primarily to implement the alarm clock control system. We wanted to get the alarm button working to see the alarm time, be able to change the alarm time, and be able to turn the alarm on and off. In addition to this, we wanted to be able to set the time of the normal clock. Second, we wanted to begin testing the capability of the EEG headset we were planning to use and begin trying to read data off of the headset. The goal for us was to get the data in a somewhat functional format.

To address our first goal of implementing the alarm clock control system, we did not fully implement the alarm system yet, however we did make a lot of progress implementing the Real-Time Clock (RTC). We have the external oscillator wired up and we are managing to use it to control our clock value. We are also able to set the clock value at anytime. We should pretty easily be able to fully implement the alarm system in the coming week with the RTC working and all of our touch screen buttons and time setting controls working perfectly. Rich primarily worked on this portion of the project.

week2Oscillator

We also managed to make a lot of progress with the EEG headset. Kyle primarily worked on this part of the project. We found that the headset was working as expected and we still believe that the headset will be useful in our system. This week we soldered some connections onto the chip in order to get packaged data off of the chip. We connected the data lines to the set RX pin on the PIC-32 and began trying to read the data from the headset using the UART functions in the PIC-32 peripheral library. We based the code to package the data in our system off of the Brain project to read data onto an Arduino board. Link to GitHub project: https://github.com/kitschpatrol/Brain

Unfortunately, we still have not been able to package the EEG data correctly. We believe this to be an error in the way we are using the UART functions. We plan to attempt to learn more about the UART functionality on the PIC32 this coming week.

Leave a Reply

Your email address will not be published. Required fields are marked *