2011年9月16日星期五

1st project draft of CSE 646 course

My target is to connect sensor to android cellphone and send data to cellphone which can connect to internet.

In the case of telosb, there is a usb interface. But I am not sure if it can use usb interface to transport the data. If it can't do so, using serial port to transmit data is very slow and need to update the mechanism. In the case of XSM, there is a converter of serial to USB, but it is a virtual devices which means the laptop also need serial terminal to communicate with XSM. I will do some study of serial communication including driver and hardware.

To the android terminal, first it need a super terminal for debugging. Secondly, it need the driver for android for the connection of usb and serial port. At last, android might need to allocate separate interrupt number.

In this project, the sensor will send data to the cellphone, so sensor should be a android USB accessory. It must adhere to Android accessory protocol. USB accessory and host modes are directly supported in Android 3.1 (API level 12) or newer platforms.

In the next week, I will learn how the sensor send data. I prefer to use telesb first and then try XSM. Then I will study the android open accessory development kit.

没有评论: