Soon Kyu Lee
  • Toronto
  • Canada
Share on Facebook Share on Facebook Share

Gifts Received

Gift

Soon Kyu Lee has not received any gifts yet

Give a Gift

 

Soon Kyu Lee's Page

Latest Activity

Soon Kyu Lee posted a video

AER 201 Engineering Science 2013 First good trial

First good trial at running the full machine.
Mar 18, 2013
Soon Kyu Lee posted a blog post

Notes on RS232 and Hyperterminal

I faced several problems while working on the PIC to PC communication portion of the programming. Here are some of the major issues with my solutions: 1. Hyperterminal not found.It seems like Windows 7 does not come with Hyperterminal software. Pretty simple fix: go to the Dropbox link I attached below and download hypertrm.dll and hypertrm.exe. Double clicking hypertrm.exe should start Hyperterminal. If not, try moving these files into C:\Program Files\Windows NT and try again.2. Computer does…See More
Mar 12, 2013
Soon Kyu Lee posted a blog post

Interrupt Handling Tips

Few things that took me a while to figure out:1. When using high and low priority interrupts, GIEH must ALSO be enabled along with GIEL (bits 7 and 6) for low priority interrupts to occur.2. Even when interrupts are not enabled (such as external interrupts on INT0), these are still being flagged. Thus, if there are multiple sources of interrupts and if the interrupt source checking is not handled carefully, disabled interrupt routines may still occur. For example, in my case: btfsc…See More
Feb 22, 2013
Soon Kyu Lee posted a blog post

Writing to 2nd line on LCD for PIC18F4620

Code given in textbook is something like this:WR_INS bcf RS ;clear Register Status bit movwf temp_lcd ;store instruction andlw 0xF0 ;mask 4 MSB movwf LATD ;send 4 MSB bsf E ;pulse enable high call delay5ms swapf temp_lcd, 0 ;swap nibbles (result into WREG) andlw 0xF0 ;mask 4 LSB bcf E movwf LATD ;send 4 LSB bsf E ;pulse enable high nop bcf E call delay5ms ;allow time for change returnBut this does not allow for lines to be switched. After some investigation, the following working code was…See More
Feb 3, 2013
Soon Kyu Lee is now a member of Personal Mechatronics Lab
Jan 13, 2013

Soon Kyu Lee's Videos

  • Add Videos
  • View All

Soon Kyu Lee's Blog

Notes on RS232 and Hyperterminal

I faced several problems while working on the PIC to PC communication portion of the programming. Here are some of the major issues with my solutions:

 

1. Hyperterminal not found.

It seems like Windows 7 does not come with Hyperterminal software. Pretty simple fix: go to the Dropbox link I attached below and download hypertrm.dll and hypertrm.exe. Double clicking hypertrm.exe should start Hyperterminal. If not, try moving these files into C:\Program Files\Windows NT and…

Continue

Posted on March 12, 2013 at 11:42pm

Interrupt Handling Tips

Few things that took me a while to figure out:

1. When using high and low priority interrupts, GIEH must ALSO be enabled along with GIEL (bits 7 and 6) for low priority interrupts to occur.

2. Even when interrupts are not enabled (such as external interrupts on INT0), these are still being flagged. Thus, if there are multiple sources of interrupts and if the interrupt source checking is not handled carefully, disabled interrupt routines may still occur. For example, in my…

Continue

Posted on February 22, 2013 at 2:18am

Writing to 2nd line on LCD for PIC18F4620

Code given in textbook is something like this:

WR_INS

bcf RS ;clear Register Status bit

movwf temp_lcd ;store instruction

andlw 0xF0 ;mask 4 MSB

movwf LATD ;send 4 MSB

bsf E ;pulse enable high

call delay5ms

swapf temp_lcd, 0 ;swap nibbles (result into WREG)

andlw 0xF0 ;mask 4 LSB

bcf E

movwf LATD ;send 4 LSB

bsf E ;pulse enable high

nop

bcf E

call delay5ms ;allow time for change

return

But this does not…

Continue

Posted on February 3, 2013 at 5:00pm

Comment Wall

You need to be a member of Personal Mechatronics Lab to add comments!

Join Personal Mechatronics Lab

  • No comments yet!
 
 
 

© 2017   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service