Hi guys, I've built a really simple PIC circuit to send and receive some data back and forth between a PIC and my desktop PC via the serial port.
I would've attached a schematic but like I say it's very simple, just the PIC (16F690), a max232 with the 4 necessary caps, my DB9 port and that's your lot.
At the moment it works great but with one small problem, every now and again it'll not send the first byte of any byte arrays sent from the PIC to the PC. The other way round never has any problems, the data always arrives at the PIC as it started out. But every other time I power it on it will send for example just the K and the 0xd, when it should be "OK\r"....... could this have anything to do with my lack of a decoupling cap on the PICs power lines? Would appreciate any feedback, thanks a lot peeps Oh and for the most part, whilst it's on the breadboard it's being powered by the Pickit2...
I would've attached a schematic but like I say it's very simple, just the PIC (16F690), a max232 with the 4 necessary caps, my DB9 port and that's your lot.
At the moment it works great but with one small problem, every now and again it'll not send the first byte of any byte arrays sent from the PIC to the PC. The other way round never has any problems, the data always arrives at the PIC as it started out. But every other time I power it on it will send for example just the K and the 0xd, when it should be "OK\r"....... could this have anything to do with my lack of a decoupling cap on the PICs power lines? Would appreciate any feedback, thanks a lot peeps Oh and for the most part, whilst it's on the breadboard it's being powered by the Pickit2...