element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry pi zero
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 665 subscribers
  • Views 1585 views
  • Users 0 members are here
  • frontpage
  • raspberry pi zero
  • raspberry-pi3
  • serial communication
Related

Raspberry pi zero

patil.sunny9999
patil.sunny9999 over 7 years ago

Hello There,

Please help me out. I am using Raspbeery Pi zero and Raspberry pi Zero W. Currently I am working on Serial Transmission on it. First the Serial Transmission was working well on raspberry pi zero. but all of a sudden it stops receiving data.so i checked the TTL voltage level , on RX pin it showing only 0.35 volts. As i checked more i got to know that my RX pin and Ground are shorted. What should i do now ? please suggest.

  • Sign in to reply
  • Cancel
  • rew
    rew over 7 years ago

    The raspberry pi and especially the -zero variant is a really simple board. There is not a "serial chip" that this RX pin connects to. The serial lines go directly into the CPU.

     

    It is also extremely unlikely that say a short has developed on the board. So the only thing that seems reasonable is that your CPU has developed a short on the RX pin.

     

    There is only one option  that I can think of that might have caused this: Illegal voltages at the RX pin. These are documented to "reduce reliability a lot", and that's what you seem to be seeing.

     

    The voltage at the RX pin should be between 0 and 3.3V at all times (that's what we mortals are supposed to attempt). The official specs will state something like ABSOLUTE MAXIMUM RATING: min -0.3V max: 3.6V.

     

    So... what are you using to drive the serial signal into the pi? Something that runs at 5V? Or maybe there are long lines between the two devices and some EMC events slowly wear down the pi?

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • patil.sunny9999
    patil.sunny9999 over 7 years ago

    rew Sir, I have Connected TX, RX pins to RS232 IC setup along with USB to RS232 converter cable. Raspberry pi itself supplying the voltages to drive serial signal.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 7 years ago in reply to patil.sunny9999

    So what you're saying is that you have an USB-RS232 converter that allows you to set the IO voltages on the non-USB  side(*). And you're saying that you used a voltage output from the pi to set the IO voltage.

    Now the question remains: did you use 3.3V or 5V? (3.3V is pin 1 on P1, 5V is pin 2 and pin 4 on P1).

     

    (*) if the signal levels are not -12V for "1" and +12V for "0" then you can't really call it RS232.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • patil.sunny9999
    patil.sunny9999 over 7 years ago in reply to rew

    rew Sir, my RS232 Chip circuit is well Tested and Signal Levels are also as per Required.

     

    As i mentioned before that my serial Transmission was working well on my Raspberry pi zero.

     

    All of a sudden something happened and raspberry is now only Transmitting the Data but not receiving it.

     

    And also 5V supply voltage RS232 chip is given from Raspberry pi VCC (Physical pin no. 2).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 7 years ago in reply to patil.sunny9999

    Sir, The raspberry pi foundation has not released full formal electrical specifications for the chip. But they have said: if you supply 5V signals into the raspberry pi CPU, the chip will have a reduced lifetime.

     

    I have in the past accidentally supplied 5V signals into the raspberry pi. I have then noticed that and quickly disconnected what shouldn't have been connected in the first place. So far this has not resulted in my raspberry pi breaking down.

     

    You have confirmed to me that you're sending 5V signals into the raspberry pi.

    You have confirmed to me that you've tested this for a while.

    The foundation says that it won't die immediately. My experience confirms that.

    The foundation says that it will die quicker than when you provide appropriate 3.3V signals. Your experience confirms that.

     

    Sir, you have, by your own actions, blown up your raspberry pi.

    The good news is that it's only one pin. The bad news is probably that you NEED that pin for your project. Sorry about that.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • patil.sunny9999
    patil.sunny9999 over 7 years ago

    rew  Thank you so much for all the help sir.

     

    condolences to my raspberry pi  image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • patil.sunny9999
    patil.sunny9999 over 7 years ago

    rew Raspberry Pi Sir, Have one Question in my Mind. Can i use any other GPIO on Raspberry as SERIAL RECEIVE PIN. I understand technically its not possible,  but still if there is any way ? please suggest. Thank you in advance

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 7 years ago in reply to patil.sunny9999

    The GPIO pins are "general purpose".... you can do anything with them. But you have to write software to do that. And  often what you want to do is easy to do in hardware and many people use it, so they make a hardware module that can do it.


    This is the case for the serial port. The protocol (start out with the line high, then pulse it low for one period, then pulse each of the bits and then go high again for at least one bit period) is common and easy enough to warrant hardware. Now they COULD make the chip so that you can route all pins to each of the hardware modules. (besides "serial" there is SPI and I2C for example). But that's expensive in terms of chip space. And in most cases not necessary.

     

    So as an example the chip maker may tell you: If you want serial that can be on pins 1 and 2 or 4 and 5. SPI can be on 4-5-6, or on 7-8-9. If now I2C can go on 1-2 or 7-8, you'd have the situation that you can chose any two of these modules but not all three. Of course in practice, things are more complex, with more options and more peripherals things get more complex. But also you get the situation that almost always you can find a solution provided you don't need ALL peripherals at the same time.

    Anway..... I looked up the options for your RX signal. It is normally on pin GPIO15. pin 10 of the P1 connector. But you can also configure it on pin GPIO33, GPIO37 or GPIO41. None of these are broken out on the P1 connector. :-(

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • patil.sunny9999
    patil.sunny9999 over 7 years ago

    rew Thank you so much for the Information. so I can use pin 15 Directly as RX or I have to make changes in any kind of software?

    like in /boot/cmdline.txt or anywhere else?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 7 years ago in reply to patil.sunny9999

    GOIO15, which is pin 10 on the P1 connector is the one that is broken. It is the default location for the RX.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube