tag:blogger.com,1999:blog-2325042365235994476.post7128901786872735335..comments2024-03-23T05:42:08.720-04:00Comments on diyembedded.com: New products and library updatebrennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2325042365235994476.post-34661446896631053722011-07-25T21:06:36.300-04:002011-07-25T21:06:36.300-04:00Have you verified that the CP2102 is actually work...Have you verified that the CP2102 is actually working? Disconnect the PIC from the CP2102 and short the CP2102's TX and RX pins. Then, open a serial terminal to the serial port that the CP2102 is mapped to. Type some characters, and verify that they show up in your terminal window.<br /><br />If they don't show up, then you don't have your CP2102 working. If they do, then there's something wrong with either the wiring from the CP2102 to your PIC, the code that's on the chip, or the PIC itself.brennenhttps://www.blogger.com/profile/06530709850522978620noreply@blogger.comtag:blogger.com,1999:blog-2325042365235994476.post-62446348738135895912011-07-24T22:19:14.127-04:002011-07-24T22:19:14.127-04:00Hi,
i've checked the connection. I've succ...Hi,<br />i've checked the connection. I've succeeded build the tutorial1 programming taking from your site. And i've used 10MHz crystal frequency. The nRF24l01 was connected to the PIC as shown in your tutorial. And the UART connection was making by using CP2102 via TX and RX legs. I've connect it to the computer and setting the hyperterminal as shown in your tutorial.But i get nothing shows on the screen? By the way, how do i supposed to setup the hyperterminal? And if all the step were correct, are they any ways to troubleshoot the problem?Cik Sarahttps://www.blogger.com/profile/08867605947837591756noreply@blogger.comtag:blogger.com,1999:blog-2325042365235994476.post-63656711126467330672011-07-13T10:47:49.850-04:002011-07-13T10:47:49.850-04:00Check your crystal frequency. It must match the o...Check your crystal frequency. It must match the one in the tutorial (10 MHz, as I recall), or you won't get anything out on the UART to your serial port. You can change the code to support different crystal frequencies if you need to, however, but it's much easier to just get the code working with the same crystal I used if you have one.brennenhttps://www.blogger.com/profile/06530709850522978620noreply@blogger.comtag:blogger.com,1999:blog-2325042365235994476.post-29947021666734324602011-07-11T00:06:39.662-04:002011-07-11T00:06:39.662-04:00Owh!
Thanks.
By the way, i've change the PIC. ...Owh!<br />Thanks.<br />By the way, i've change the PIC. I've used PIC18F452 as been told in the tutorial. But i could'nt get any output on my hyperterminal or telnet. Do you by any chance have setup anything that not being told in the tutoria;?<br /><br />I'm sorry. This is my first time using microcontroller. Thus, there's a lot of thing i need to learn.Cik Sarahttps://www.blogger.com/profile/08867605947837591756noreply@blogger.comtag:blogger.com,1999:blog-2325042365235994476.post-32947085905420695282011-06-27T14:46:05.776-04:002011-06-27T14:46:05.776-04:00I have never tested the code with the PIC18F4520, ...I have never tested the code with the PIC18F4520, so I'm not too sure whether it will work or not. I would suggest comparing the registers that I write in the tutorial to see if there are any differences. Another place to look would be the clock/oscillator setup.brennenhttps://www.blogger.com/profile/06530709850522978620noreply@blogger.comtag:blogger.com,1999:blog-2325042365235994476.post-86662252244898216552011-06-26T22:09:47.421-04:002011-06-26T22:09:47.421-04:00Hai!
I've trying to use the tutorial 1 for p18...Hai!<br />I've trying to use the tutorial 1 for p18f452 into p18f4520. but i seems not working at all.. Do i need to change anything? Is the tutorial for p18f452 compatible to the p18f4520? <br />i've change the include file as well as the linker script to p18f4520. When compile, it is suceess.. But then, my uC do not show anything as it is not working at all.. could you help me?Cik Sarahttps://www.blogger.com/profile/08867605947837591756noreply@blogger.com