Tuesday, 23 October 2007

Last Days!!! Printed Circuit Board (PCB)

Week of 15 - 19 October
  • Schematic diagram
  • Look for hardware components
  • Fixed code errors
  • Written thesis

Week of 22 - 26 October (Expected..)

  • Schematic diagram via Express PCB
  • Design PCB Master diagram
  • Build PCB
  • Finish with hardware
  • Improvise codes
  • Written thesis

Thursday, 11 October 2007

OMG Week 11!!

Week of 8 - 12 October
  • Cut down codes and readjusting codes
  • Card input output pins
  • Compile codes
  • Debug error
  • Schematic drawing
  • Research on circuit manufacture

Week of 15 - 19 October (Expected)

  • Hardware hardware
  • Testing
  • Written thesis

Thursday, 4 October 2007

Its Week 10!!

Week of 1 - 5 October
  • Struggling with finishing up with codes!!!
  • Compiling problem
  • Looked for a software that can compile my C code.

Option : CCS, Reads51 from Regal Corp, C51 from Keil.com

(Problem : How to compile my big codes? Maybe it is not even the size. ??)

Week of 8 - 12 October (expected to do..)

  • Finish Compiling codes
  • Code testing
  • Implement hardware
  • Written thesis

Thursday, 27 September 2007


24-28 Sept
  • Integrated ADC
  • Written thesis on ADC
  • More research on card interface
  • SD Card Interface

( Problem: The SD Card Interface is 10Kb, but CC5x Compiler allows only up to 4Kb. )

1 - 5 Oct (Expected to..)

  • Finish up with coding
  • Board testing
  • Start thinking about hardware implementation
  • Written thesis!!!!

Wednesday, 19 September 2007

Analogue to Digital Converter

10 Sept - 14 Sept
  • Experiment ADC with assembler MPLAB via LED simulation
  • Improvement on assembly language skills
  • Move to CC5X C language compiler - implement to support with MPLAB program

17 Sept - 21 Sept

  • CC5X compiler - solved implementing CC5X to MPLAB assembly (Monday)
  • Multimedia Card (MMC) Card Interface
  • Combine MMC and ADC Interface


  1. Support MPLAB to implement CC5X
  2. CC5X compiles C code to ASM code. However, CC5X has the limitation of not compiling code more than 4KB


24 Sept - 28 Sept (Expected to do)

  • Combine MMC and ADC Interface
  • SD Card Interface
  • Combine SD Card and ADC Interface

Sunday, 2 September 2007

Assembly Language

Problem : No basic on assembly language
Solution :
Self Tutorials from the internet. (Still finding myself lost)
28 August 2007 - Tutorial on assembly with Gaetano (Understood basic assembly)

Week of 29 Aug - 4 Sept
Practical tutorial on assembly language on flashing LED with PIC16F877A hardware implementation.

Pin Address

Hardware on PIC16F877

Week of 3 Sept - 7 Sept

Implement assembly coding for project on PIC16F877

Presentation on Progress

Presentation on progress was held on the 10 & 17 of August 2007 with the rest of other projects related to Electrophysiology.

Progress overview are as below:

Thursday, 2 August 2007

SD Card Coding

Having a little trouble with eclipse. Still getting used to familiarise myself with the programming language. The boxes in the image basically shows the main classes (for each box) and Im allocating roughly 3 days to do coding for each classes.

File Allocation Table

File Allocation Table

Four different sections
  • The Reserved sectors, located at the very beginning. The first reserved sector is the Boot Sector. It includes an area called the BIOS Parameter Block (with some basic file system information, in particular its type, and pointers to the location of the other sections) and usually contains the operating system's boot loader code.
  • The FAT Region. Maps of the Data Region, indicating which clusters are used by files and directories.
  • The Root Directory Region. This is a Directory Table that stores information about the files and directories located in the root directory.
  • The Data Region. This is where the actual file and directory data is stored and takes up most of the partition.

Monday, 23 July 2007

Write and Read of SD Card

Types of data logger
1) just store the data on the card
2) Acquire the analogical signals and store it on the card (preferable)

1)Format the card from windows with a known FAT, when you format Windows always prompt you the kind of FAT that you want use (FAT, FAT16, FAT32).
2)Filling the card with a binary file that contains the number FF or 00.
3)Know the exact location of the file start , communicate it to the PIC and start to write.

Sunday, 15 July 2007

Research - Data Logger

Data Logger
A data logger (or datalogger) is an electronic device that records data over time or in relation to location either with a built in instrument or sensor or via external instruments and sensors. Increasingly, but not entirely, they are based on a digital processor (or computer). They generally are small, battery powered and portable. Dataloggers vary between general purpose types for a range of measurement applicatio ns to very specific devices for measuring in one environment only. It is common for general purpose types to be programmable however many remain as static machines with only a limited number of changeable parameters. Electronic dataloggers have replaced chart records in many applications. [www.wikipedia.com.au]

* 8 signal-conditioned analog inputs
* Program software to write in and read from SD card
* Software programmer - Java & Assembler

Rough plan
3 weeks on research and literature review
3 weeks on software coding to write to SD card
4 weeks on software hardware data logger
4 weeks on brushing up written thesis

Thursday, 24 May 2007

First meeting

Date : 15 May 2007
Time : 2.00pm-3.30pm


* Introduction to Electrophysiology and the project.

* I'll be working with
  • Chandra - 3rd year student from Univ. Southern Calif in EE who will work with us for 3
  • Di - Masters student working on data mining
  • Gaetano - PhD student from Naples, Italy working on biomedical equipment

* Task

  • Read safety and ethics from Electrophysiology book
  • Get list of components to order for Confirmation Form
  • Research about Data Logger