TUTORIAL no 7 (UART)
Loading...
374
views
Loading...
Uploader Comments (nicox666ful)
see all
All Comments (5)
-
thnx very much mate. I found the problem. I followed the schematic again but it was fine. The problem was in the coding. I wanted a variable to be sent to RS232, so I needed only the UART_Write_text command and not the read command. I thought that I must read a value then write it. However, if the value is already saved in a variable,u can send that variable directly without the need to read it. Thnx again and amazing video, u might want to add this to it. I see alot of ppl needing this info.
Loading...
awesome video :) but I got a question, can u provide the complete hardware connections? is it EXACTLY the same as connections in mikroC help? thnx
Galal0110 2 months ago
@Galal0110,
I used a cheap USB to Serial cable ($2.5) because I am using a laptop. I connect it to a MAX232 then to the RX/TX of the PIC16F887. The power of the demo board is from the cable (USB port).
nicox666ful 2 months ago
@nicox666ful Thanks for the reply. Me too I am using a USB to serial cable. However, I meant the set-up of max232, is it the same on mikroC help? because when I insert the capacitors of max232, my readings from a temperature sensor become unstable.( weird huh?).
Galal0110 2 months ago
@Galal0110,
Are you sure the power for the max232 is at the appropriate pins? Yes I followed the schematic example from mikroC help file. Better to try a loop back test to your max232 and cable connection.
nicox666ful 2 months ago