Line 1: | Line 1: | ||
− | = Kin Chin Chua - Design Notebook<br> | + | = Kin Chin Chua - Design Notebook<br> = |
− | <br> | + | <br> |
− | ==== <u>Week of Sept. 05, 2011</u><br> | + | ==== <u>Week of Sept. 05, 2011</u><br> ==== |
− | <u>Sept. 07 (Wed):</u><br> | + | <u>Sept. 07 (Wed):</u><br> |
*attended kick-off meeting<br> | *attended kick-off meeting<br> | ||
− | ==== <u><br></u> | + | ==== <u><br></u> ==== |
==== <u>Week of Sept. 12, 2011</u> ==== | ==== <u>Week of Sept. 12, 2011</u> ==== | ||
Line 17: | Line 17: | ||
*attended weekly meeting<br> | *attended weekly meeting<br> | ||
− | <br> | + | <br> |
− | ==== <u>Week of Sept. 19, 2011<br></u> | + | ==== <u>Week of Sept. 19, 2011<br></u> ==== |
− | <u>Sept. 21 (Wed) ~1.5 hour :<br></u> | + | <u>Sept. 21 (Wed) ~1.5 hour :<br></u> |
*participated in teleconference with HKUST<br> | *participated in teleconference with HKUST<br> | ||
− | <u>Sept. 23 (Fri):</u><br> | + | <u>Sept. 23 (Fri):</u><br> |
*attended weekly-meeting<br> | *attended weekly-meeting<br> | ||
− | <br> | + | <br> |
− | ==== <u>Week of Sept. 26, 2011</u><br> | + | ==== <u>Week of Sept. 26, 2011</u><br> ==== |
− | <u>Sept. 28 (Wed) ~1 hour:</u><br> | + | <u>Sept. 28 (Wed) ~1 hour:</u><br> |
*attended group meeting:<br> | *attended group meeting:<br> | ||
<blockquote> | <blockquote> | ||
− | #Designed and drew a block diagram for the control system.<br> | + | #Designed and drew a block diagram for the control system.<br> |
#Discussed about some processors and TI microcontroller.<br> | #Discussed about some processors and TI microcontroller.<br> | ||
− | </blockquote> | + | </blockquote> |
− | <u>Sept 29 (Thurs) ~1.5 hour:</u><br> | + | <u>Sept 29 (Thurs) ~1.5 hour:</u><br> |
− | *Looked over the TI microcontrollers with Arm cortex M3 processor suggested by Scott and Jason<br> | + | *Looked over the TI microcontrollers with Arm cortex M3 processor suggested by Scott and Jason<br> |
− | *Searched online for other microcontroller board such as Arduino Fio.<br> | + | *Searched online for other microcontroller board such as Arduino Fio.<br> |
*Found a webpage introducing a similar project (WIFI Robot) and thought it might be a good reference<br> | *Found a webpage introducing a similar project (WIFI Robot) and thought it might be a good reference<br> | ||
− | <blockquote> ~ Instead of internet, the robot was controlled by the user by connecting a laptop to the router mounted on the robot wirelessly.<br> </blockquote><blockquote> | + | <blockquote> ~ Instead of internet, the robot was controlled by the user by connecting a laptop to the router mounted on the robot wirelessly.<br></blockquote><blockquote> |
− | ~ It also has video feed, so that the robot can be controlled even it is out of sight.<br> | + | ~ It also has video feed, so that the robot can be controlled even it is out of sight.<br> |
</blockquote><blockquote> | </blockquote><blockquote> | ||
− | ~ http://www.jbprojects.net/projects/wifirobot/<br> | + | ~ http://www.jbprojects.net/projects/wifirobot/<br> |
− | </blockquote> | + | </blockquote> |
<u>Sept. 30 (Fri):</u> | <u>Sept. 30 (Fri):</u> | ||
*attended weekly-meeting | *attended weekly-meeting | ||
− | <br> | + | <br> |
==== <u>Week of Oct. 3, 2011</u> ==== | ==== <u>Week of Oct. 3, 2011</u> ==== | ||
Line 63: | Line 63: | ||
<blockquote> | <blockquote> | ||
#Designed a draft of poster for VIP poster session | #Designed a draft of poster for VIP poster session | ||
− | </blockquote> | + | </blockquote> |
<u>Oct. 7 (Fri):</u> | <u>Oct. 7 (Fri):</u> | ||
*attended weekly-meeting | *attended weekly-meeting | ||
− | <br> | + | <br> |
==== <u>Week of Oct. 10, 2011</u> ==== | ==== <u>Week of Oct. 10, 2011</u> ==== | ||
Line 75: | Line 75: | ||
*Search for some network cameras that might be useful such as: (~1.5 hours)<br> | *Search for some network cameras that might be useful such as: (~1.5 hours)<br> | ||
− | <blockquote>~ http://www2.panasonic.com/consumer-electronics/shop/Computers-Networking/Network-Cameras/Residential-IP-Network-Cameras/model.BL-C1A_11002_7000000000000005702<br> ~ http://www.brickhousesecurity.com/vivotek-pt7137.html<br> ~ I found that some cameras are not bad but too expensive. </blockquote> | + | <blockquote>~ http://www2.panasonic.com/consumer-electronics/shop/Computers-Networking/Network-Cameras/Residential-IP-Network-Cameras/model.BL-C1A_11002_7000000000000005702<br>~ http://www.brickhousesecurity.com/vivotek-pt7137.html<br>~ I found that some cameras are not bad but too expensive. </blockquote> |
*attended weekly-meeting | *attended weekly-meeting | ||
− | <br> | + | <br> |
==== <u>Week of Oct. 17, 2011</u> ==== | ==== <u>Week of Oct. 17, 2011</u> ==== | ||
Line 87: | Line 87: | ||
<blockquote> | <blockquote> | ||
#decided to take a tank as the vehicle platform as it has more space for us to put things on | #decided to take a tank as the vehicle platform as it has more space for us to put things on | ||
− | #decided on wireless transceiver<br> | + | #decided on wireless transceiver<br> |
− | #decided to use push buttons and IR sensors to counter the situation might happen when there is a delay on receiving video.<br> | + | #decided to use push buttons and IR sensors to counter the situation might happen when there is a delay on receiving video.<br> |
#some difficulties are encounterred while deciding to use an IP or network camera such as:<br> | #some difficulties are encounterred while deciding to use an IP or network camera such as:<br> | ||
</blockquote><blockquote> | </blockquote><blockquote> | ||
− | ~ it is difficult to feed the video to our server since specific software or webpage is required for most of the IP cameras | + | ~ it is difficult to feed the video to our server since specific software or webpage is required for most of the IP cameras |
</blockquote><blockquote> | </blockquote><blockquote> | ||
− | ~ ip address of an IP camera has to be assigned manually | + | ~ ip address of an IP camera has to be assigned manually |
− | </blockquote> | + | </blockquote> |
*We also tried to program the microcontroller board and we managed to print our names on it. | *We also tried to program the microcontroller board and we managed to print our names on it. | ||
Line 100: | Line 100: | ||
*met with the group to set up a lab bench in EE63 | *met with the group to set up a lab bench in EE63 | ||
− | <blockquote></blockquote> | + | <blockquote></blockquote> |
*attended VIP poster session<br> | *attended VIP poster session<br> | ||
<u>Oct. 20 (Thurs) ~ 1.5 hours:</u> | <u>Oct. 20 (Thurs) ~ 1.5 hours:</u> | ||
− | *Read the reference manual of the microcontroller board we are using<br> | + | *Read the reference manual of the microcontroller board we are using<br> |
*Read more about the terms like A/D, PMW, SPI, UART, etc.<br> | *Read more about the terms like A/D, PMW, SPI, UART, etc.<br> | ||
Line 112: | Line 112: | ||
*attended weekly-meeting | *attended weekly-meeting | ||
− | <br> | + | <br> |
==== <u>Week of Oct. 24, 2011</u> ==== | ==== <u>Week of Oct. 24, 2011</u> ==== | ||
− | <u>Oct. 25 (Tues) ~3.5 hours:</u><br> | + | <u>Oct. 25 (Tues) ~3.5 hours:</u><br> |
*attended group meeting | *attended group meeting | ||
Line 124: | Line 124: | ||
#task: try to find for cmos camera that would output M-JPEG or M-PEG | #task: try to find for cmos camera that would output M-JPEG or M-PEG | ||
#wrote a list for all possible peripherals and interfaces which would be needed for the project | #wrote a list for all possible peripherals and interfaces which would be needed for the project | ||
− | </blockquote> | + | </blockquote> |
<u>Oct. 28 (Fri):</u> | <u>Oct. 28 (Fri):</u> | ||
Line 130: | Line 130: | ||
*attended weekly-meeting | *attended weekly-meeting | ||
− | <br> | + | <br> |
==== <u>Week of Oct. 31, 2011</u> ==== | ==== <u>Week of Oct. 31, 2011</u> ==== | ||
− | <u>Nov. 2 (Wed) ~ 45 minutes:</u><br> | + | <u>Nov. 2 (Wed) ~ 45 minutes:</u><br> |
*continue working on the draft of the list for design review made by Scott and Chris | *continue working on the draft of the list for design review made by Scott and Chris | ||
Line 144: | Line 144: | ||
#designed a cicuit to drive the motor by PWM output, only problem was the microcontroller board is not providing stable output voltage (4.4V or 0.7V) | #designed a cicuit to drive the motor by PWM output, only problem was the microcontroller board is not providing stable output voltage (4.4V or 0.7V) | ||
#Chris and I finalized the list of the topics for design review. | #Chris and I finalized the list of the topics for design review. | ||
− | </blockquote> | + | </blockquote> |
<u>Nov.4 (Fri):</u> | <u>Nov.4 (Fri):</u> | ||
*attanded weekly-meeting<u></u><br> | *attanded weekly-meeting<u></u><br> | ||
− | <br> | + | <br> |
==== <u>Week of Nov. 7, 2011</u> ==== | ==== <u>Week of Nov. 7, 2011</u> ==== | ||
− | <u>Nov. 8 (Tues) ~ 3 hours</u>:<br> | + | <u>Nov. 8 (Tues) ~ 3 hours</u>:<br> |
− | *attended group meeting to work on the powerpoint slides for design review.<br> | + | *attended group meeting to work on the powerpoint slides for design review.<br> |
*I personally worked on the slides for remote controller and sensors.<br> | *I personally worked on the slides for remote controller and sensors.<br> | ||
− | <u>Nov. 10 (Thurs) ~ 2 hours:</u><br> | + | <u>Nov. 10 (Thurs) ~ 2 hours:</u><br> |
*participated in tele-conference with HKUST<br> | *participated in tele-conference with HKUST<br> | ||
− | <u>Nov. 11 (Fri) ~ 2 hours:</u><br> | + | <u>Nov. 11 (Fri) ~ 2 hours:</u><br> |
− | *<u></u>practised design review presentation with group<br> | + | *<u></u>practised design review presentation with group<br> |
*attended design review.<br> | *attended design review.<br> | ||
− | <br> | + | <br> |
− | ==== <u>Week of Nov. 14, 2011</u><br> | + | ==== <u>Week of Nov. 14, 2011</u><br> ==== |
− | <u>Nov. 15 (Tues) ~ 1.5 hours</u>:<br> | + | <u>Nov. 15 (Tues) ~ 1.5 hours</u>:<br> |
*attended group meeting<br> | *attended group meeting<br> | ||
<blockquote> | <blockquote> | ||
− | #Scoot, Chris and I worked on and improved the protocol proposed by HKUST.<br> | + | #Scoot, Chris and I worked on and improved the protocol proposed by HKUST.<br> |
− | #We felt that the proposed protocol doesn't have any combination for any additional peripheral so we decided to have have 16 bit instructions where every combination has different instruction<br> | + | #We felt that the proposed protocol doesn't have any combination for any additional peripheral so we decided to have have 16 bit instructions where every combination has different instruction<br> |
#However, we realized that this design does not help when the user wants to have different instruction at 1 time, eg move forward and turning at the same time. | #However, we realized that this design does not help when the user wants to have different instruction at 1 time, eg move forward and turning at the same time. | ||
#Hence, we came out with the protocol as the picture below: | #Hence, we came out with the protocol as the picture below: | ||
</blockquote><blockquote> | </blockquote><blockquote> | ||
− | [[Image:Protocol proposal.jpg]]<br> | + | [[Image:Protocol proposal.jpg]]<br> |
− | #Meanwhile, Jason was working on the pandaboard and trying to get a webcam (Creative vf0520) to work with the pandaboard.<br> | + | #Meanwhile, Jason was working on the pandaboard and trying to get a webcam (Creative vf0520) to work with the pandaboard.<br> |
#More research on getting Creative vf0520 to work with Ubuntu to be done.<br> | #More research on getting Creative vf0520 to work with Ubuntu to be done.<br> | ||
− | </blockquote> | + | </blockquote> |
<u>Nov. 17 (Thurs) ~ 1 hour:</u> | <u>Nov. 17 (Thurs) ~ 1 hour:</u> | ||
− | *participated in tele-conference with HKUST<br> | + | *participated in tele-conference with HKUST<br> |
*discussed about the proposed protocols from both sides.<br> | *discussed about the proposed protocols from both sides.<br> | ||
− | <u>Nov. 18 (Fri) ~ 1 hour:</u><br> | + | <u>Nov. 18 (Fri) ~ 1 hour:</u><br> |
*attended weekly-meeting | *attended weekly-meeting | ||
*I was assigned to work on the serial connection of the microcontroller via RS232. | *I was assigned to work on the serial connection of the microcontroller via RS232. | ||
− | <br> | + | <br> |
− | ==== <u>Week of Nov. 21, 2011</u><br> | + | ==== <u>Week of Nov. 21, 2011</u><br> ==== |
− | <u>Nov. 23 (Wed) ~ 2 hours:</u><br> | + | <u>Nov. 23 (Wed) ~ 2 hours:</u><br> |
− | Since I have no experience working on a microcontroller, I started reading some article and forum regrading interfacing mircocontroller and RS232<br> | + | Since I have no experience working on a microcontroller, I started reading some article and forum regrading interfacing mircocontroller and RS232<br> |
− | *http://www.edaboard.com/thread150309.html<br> | + | *http://www.edaboard.com/thread150309.html<br> |
*http://www.camiresearch.com/Data_Com_Basics/RS232_standard.html<br> | *http://www.camiresearch.com/Data_Com_Basics/RS232_standard.html<br> | ||
− | <br> | + | <br> |
− | ==== <u>Week of Nov. 28, 2011</u><br> | + | ==== <u>Week of Nov. 28, 2011</u><br> ==== |
− | <u>Nov. 28 (Mon) ~ 4.5 hours:</u><br> | + | <u>Nov. 28 (Mon) ~ 4.5 hours:</u><br> |
Met with group.<br> | Met with group.<br> | ||
Line 216: | Line 216: | ||
*I tried to work on the serial port (USART) of the microcontroller with Jason's help.<br> | *I tried to work on the serial port (USART) of the microcontroller with Jason's help.<br> | ||
*I also read a tutorial about "Programming STM32 USART using GCC" which Matt found online.<br> | *I also read a tutorial about "Programming STM32 USART using GCC" which Matt found online.<br> | ||
− | <blockquote> | + | <blockquote>http://www.embedds.com/programming-stm32-usart-using-gcc-tools-part-1/<br></blockquote> |
− | http://www.embedds.com/programming-stm32-usart-using-gcc-tools-part-1/<br> | + | |
− | </blockquote> | + | |
*I couldn't get anything done for the USART, then Matt came and worked with me since he has more experience than I do.<br> | *I couldn't get anything done for the USART, then Matt came and worked with me since he has more experience than I do.<br> | ||
*Then, Chris and I read more about H-bridge and tried to get some sample circuits online<br> | *Then, Chris and I read more about H-bridge and tried to get some sample circuits online<br> | ||
− | <blockquote> | + | <blockquote>http://www.bobblick.com/techref/projects/hbridge/hbridge.html<br></blockquote><blockquote> |
− | http://www.bobblick.com/techref/projects/hbridge/hbridge.html<br> | + | |
− | </blockquote><blockquote> | + | |
http://www.mcmanis.com/chuck/robotics/tutorial/h-bridge/bjt-bridge.html<br> | http://www.mcmanis.com/chuck/robotics/tutorial/h-bridge/bjt-bridge.html<br> | ||
</blockquote> | </blockquote> | ||
*Accomplishments: | *Accomplishments: | ||
− | <blockquote> | + | <blockquote>We got the serial ports of both pandaboard and microcontroller (MCBSTM32EXL) working while interfacing with computer. </blockquote> |
− | We got the serial ports of both pandaboard and microcontroller (MCBSTM32EXL) working while interfacing with computer. | + | |
− | </blockquote> | + | |
*Problem: | *Problem: | ||
− | <blockquote> | + | <blockquote>Failed to get the pandaboard and microcontroller interfacing with each other. </blockquote> |
− | Failed to get the pandaboard and microcontroller interfacing with each other. | + | <u>Nov. 29 (Tues) ~ hours:</u><u></u> |
− | </blockquote> | + | |
+ | Worked with Jason to get the pandaboard and microcontroller communicate with each other. | ||
+ | |||
+ | *We made a RS232 male-to-male cable as the connection below: | ||
+ | |||
− | <br> | + | <br><br> |
− | <br> | + | <br> |
[[Design Notebooks|Back to Design Notebooks]] | [[Design Notebooks|Back to Design Notebooks]] |
Revision as of 14:37, 29 November 2011
Contents
- 1 Kin Chin Chua - Design Notebook
- 1.1 Week of Sept. 05, 2011
- 1.2
- 1.3 Week of Sept. 12, 2011
- 1.4 Week of Sept. 19, 2011
- 1.5 Week of Sept. 26, 2011
- 1.6 Week of Oct. 3, 2011
- 1.7 Week of Oct. 10, 2011
- 1.8 Week of Oct. 17, 2011
- 1.9 Week of Oct. 24, 2011
- 1.10 Week of Oct. 31, 2011
- 1.11 Week of Nov. 7, 2011
- 1.12 Week of Nov. 14, 2011
- 1.13 Week of Nov. 21, 2011
- 1.14 Week of Nov. 28, 2011
Kin Chin Chua - Design Notebook
Week of Sept. 05, 2011
Sept. 07 (Wed):
- attended kick-off meeting
Week of Sept. 12, 2011
Sept. 16 (Fri):
- attended weekly meeting
Week of Sept. 19, 2011
Sept. 21 (Wed) ~1.5 hour :
- participated in teleconference with HKUST
Sept. 23 (Fri):
- attended weekly-meeting
Week of Sept. 26, 2011
Sept. 28 (Wed) ~1 hour:
- attended group meeting:
- Designed and drew a block diagram for the control system.
- Discussed about some processors and TI microcontroller.
Sept 29 (Thurs) ~1.5 hour:
- Looked over the TI microcontrollers with Arm cortex M3 processor suggested by Scott and Jason
- Searched online for other microcontroller board such as Arduino Fio.
- Found a webpage introducing a similar project (WIFI Robot) and thought it might be a good reference
~ Instead of internet, the robot was controlled by the user by connecting a laptop to the router mounted on the robot wirelessly.
~ It also has video feed, so that the robot can be controlled even it is out of sight.
Sept. 30 (Fri):
- attended weekly-meeting
Week of Oct. 3, 2011
Oct. 6 (Thurs) ~2 hours:
- attended group meeting
- Designed a draft of poster for VIP poster session
Oct. 7 (Fri):
- attended weekly-meeting
Week of Oct. 10, 2011
Oct. 14 (Fri):
- Search for some network cameras that might be useful such as: (~1.5 hours)
~ http://www2.panasonic.com/consumer-electronics/shop/Computers-Networking/Network-Cameras/Residential-IP-Network-Cameras/model.BL-C1A_11002_7000000000000005702
~ http://www.brickhousesecurity.com/vivotek-pt7137.html
~ I found that some cameras are not bad but too expensive.
- attended weekly-meeting
Week of Oct. 17, 2011
Oct. 18 (Tues) ~3 hours:
- attended group meeting
- decided to take a tank as the vehicle platform as it has more space for us to put things on
- decided on wireless transceiver
- decided to use push buttons and IR sensors to counter the situation might happen when there is a delay on receiving video.
- some difficulties are encounterred while deciding to use an IP or network camera such as:
~ it is difficult to feed the video to our server since specific software or webpage is required for most of the IP cameras
~ ip address of an IP camera has to be assigned manually
- We also tried to program the microcontroller board and we managed to print our names on it.
Oct. 19 (Wed) ~2 hours:
- met with the group to set up a lab bench in EE63
- attended VIP poster session
Oct. 20 (Thurs) ~ 1.5 hours:
- Read the reference manual of the microcontroller board we are using
- Read more about the terms like A/D, PMW, SPI, UART, etc.
Oct 21 (Fri):
- attended weekly-meeting
Week of Oct. 24, 2011
Oct. 25 (Tues) ~3.5 hours:
- attended group meeting
- tried to search for some useful cmos cameras
- realized that the transfer rate of a cmos camera is too high (about a few Megabytes/s)
- task: try to find for cmos camera that would output M-JPEG or M-PEG
- wrote a list for all possible peripherals and interfaces which would be needed for the project
Oct. 28 (Fri):
- tried to search for cmos camera that would output M-PEG or M-JPEG but didn't find anything useful. There are quite a few IP cameras that output M-JPEG though. (~1 hour)
- attended weekly-meeting
Week of Oct. 31, 2011
Nov. 2 (Wed) ~ 45 minutes:
- continue working on the draft of the list for design review made by Scott and Chris
Nov. 3 (Thurs) ~ 4 hours:
- attended group meeting.
- designed a cicuit to drive the motor by PWM output, only problem was the microcontroller board is not providing stable output voltage (4.4V or 0.7V)
- Chris and I finalized the list of the topics for design review.
Nov.4 (Fri):
- attanded weekly-meeting
Week of Nov. 7, 2011
Nov. 8 (Tues) ~ 3 hours:
- attended group meeting to work on the powerpoint slides for design review.
- I personally worked on the slides for remote controller and sensors.
Nov. 10 (Thurs) ~ 2 hours:
- participated in tele-conference with HKUST
Nov. 11 (Fri) ~ 2 hours:
- practised design review presentation with group
- attended design review.
Week of Nov. 14, 2011
Nov. 15 (Tues) ~ 1.5 hours:
- attended group meeting
- Scoot, Chris and I worked on and improved the protocol proposed by HKUST.
- We felt that the proposed protocol doesn't have any combination for any additional peripheral so we decided to have have 16 bit instructions where every combination has different instruction
- However, we realized that this design does not help when the user wants to have different instruction at 1 time, eg move forward and turning at the same time.
- Hence, we came out with the protocol as the picture below:
- Meanwhile, Jason was working on the pandaboard and trying to get a webcam (Creative vf0520) to work with the pandaboard.
- More research on getting Creative vf0520 to work with Ubuntu to be done.
Nov. 17 (Thurs) ~ 1 hour:
- participated in tele-conference with HKUST
- discussed about the proposed protocols from both sides.
Nov. 18 (Fri) ~ 1 hour:
- attended weekly-meeting
- I was assigned to work on the serial connection of the microcontroller via RS232.
Week of Nov. 21, 2011
Nov. 23 (Wed) ~ 2 hours:
Since I have no experience working on a microcontroller, I started reading some article and forum regrading interfacing mircocontroller and RS232
- http://www.edaboard.com/thread150309.html
- http://www.camiresearch.com/Data_Com_Basics/RS232_standard.html
Week of Nov. 28, 2011
Nov. 28 (Mon) ~ 4.5 hours:
Met with group.
- I tried to work on the serial port (USART) of the microcontroller with Jason's help.
- I also read a tutorial about "Programming STM32 USART using GCC" which Matt found online.
http://www.embedds.com/programming-stm32-usart-using-gcc-tools-part-1/
- I couldn't get anything done for the USART, then Matt came and worked with me since he has more experience than I do.
- Then, Chris and I read more about H-bridge and tried to get some sample circuits online
http://www.bobblick.com/techref/projects/hbridge/hbridge.html
http://www.mcmanis.com/chuck/robotics/tutorial/h-bridge/bjt-bridge.html
- Accomplishments:
We got the serial ports of both pandaboard and microcontroller (MCBSTM32EXL) working while interfacing with computer.
- Problem:
Failed to get the pandaboard and microcontroller interfacing with each other.
Nov. 29 (Tues) ~ hours:
Worked with Jason to get the pandaboard and microcontroller communicate with each other.
- We made a RS232 male-to-male cable as the connection below: