CE Home
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Electrical & Electronics Engineering
Notices


Advertisements
Reply
 
LinkBack Thread Tools Display Modes

  #11 (permalink)
Old 10th July 2008, 11:08 AM
ash
Moderator
 
ash's Avatar
 
Join Date: 12th July 2007
Location: IIUM, Malaysia
I'm a Crazy Communications Engineer
Posts: 1,538
Default Re: Reading in Data using a microcontroller

If you'd like to construct in on a bread board, you may refer to a schematic here:
http://www.crazyengineers.com/forum/8240-post12.html

Its for a line follower robot, but you should be able to follow it without problems. Just ignore the motor driver schematic
__________________
Keep it simple. Keep it real.
| New to CE? Click here! | Join our CE Bot project! | Problems? Questions? PM or mail me at ash{at]crazyengineers{dot]com |
ash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)
Old 10th July 2008, 02:00 PM
CE - Apprentice
 
Join Date: 24th June 2008
Location: India
I'm a Crazy Electrical and Electronics Engineer
Posts: 18
Default Re: Reading in Data using a microcontroller

Let me tell something..

While using the External Oscillators, we need to set the Oscillator Registers for Type of Oscillator we are using, Baud Rate setting etc..

This should be done in the Program while initializing...


Check out the Transceiver connections and Rx/Tx pin settings in Controller.

Regards,
Karthik
Karthik S is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)
Old 11th July 2008, 04:37 AM
CE - Apprentice
 
Join Date: 24th June 2008
I'm a Crazy Electrical Engineer
Posts: 22
Default Re: Reading in Data using a microcontroller

I'm still having trouble getting the PIC to work after following your diagram. I connected pins 11 and 32 to +5V like it shows. I also tried connecting pins 12 and 31 to ground. My clock circuit is a bit different though. I'm using a 4 pin crystal oscillator. One pin on the crystal oscillator gets connected to +5 V and one pin is connected to ground. Then there's one pin that isn't connected and one pin that gives the clock signal. I ran a wire from the output of the oscillator to pin 13 of the PIC. I left 14 unconnected. For Pin 1 I tried both connecting it directly to the +5 V source and using a 10K ohm resistor. It's really strange. The PIC works fine when it's in the programmer but I can't get it to work when I use it in a breadboard.
el3ktr1k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)
Old 11th July 2008, 11:19 AM
ash
Moderator
 
ash's Avatar
 
Join Date: 12th July 2007
Location: IIUM, Malaysia
I'm a Crazy Communications Engineer
Posts: 1,538
Default Re: Reading in Data using a microcontroller

Oh, I'm not sure about 4 pin oscillators. The pin thats not connected is the "enable", yea? You either float it or connect it to VDD to enable the oscillator. Does connecting it to the +5V make a difference?

If all else fails, try getting a 2 pin oscillator.
__________________
Keep it simple. Keep it real.
| New to CE? Click here! | Join our CE Bot project! | Problems? Questions? PM or mail me at ash{at]crazyengineers{dot]com |
ash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +5.5. The time now is 08:05 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.

Advertisements