Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

TUTORIAL no 7 (UART)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
374 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 12, 2011

Another simple tutorial showing you a simple UART communication between the demo board and the mikroC USART terminal.

For more info,
http://pic16f887boardfordummies.blogspot.com/

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (nicox666ful)

  • 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,

    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 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,

    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.

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • 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...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more