RS232 to Raspberry Pi Zero W





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4















I know this may be a dumb question but can you connect a RS232 Tx, Rx, and Ground from a device directly to the Rx, Tx and Ground on a Raspberry Pi Zero without having to get a Max3232 or something similar to that?










share|improve this question





























    4















    I know this may be a dumb question but can you connect a RS232 Tx, Rx, and Ground from a device directly to the Rx, Tx and Ground on a Raspberry Pi Zero without having to get a Max3232 or something similar to that?










    share|improve this question

























      4












      4








      4








      I know this may be a dumb question but can you connect a RS232 Tx, Rx, and Ground from a device directly to the Rx, Tx and Ground on a Raspberry Pi Zero without having to get a Max3232 or something similar to that?










      share|improve this question














      I know this may be a dumb question but can you connect a RS232 Tx, Rx, and Ground from a device directly to the Rx, Tx and Ground on a Raspberry Pi Zero without having to get a Max3232 or something similar to that?







      serial pi-zero rpio






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 5 at 15:08









      Michael H.Michael H.

      274




      274






















          1 Answer
          1






          active

          oldest

          votes


















          8














          Given the significant differences in the voltage levels it is not safe to directly connect any RS232 signal lines to the Pi's GPIO. Even if the voltage of some RS232 drivers might be as low as 3 V, the logic one (called "mark") is represented as a negative voltage which will kill the Pi.



          RS232 (Source):




          The standard specifies a maximum open-circuit voltage of 25 volts: signal levels of ±5 V, ±10 V, ±12 V, and ±15 V are all commonly seen depending on the voltages available to the line driver circuit. Some RS-232 driver chips have inbuilt circuitry to produce the required voltages from a 3 or 5 volt supply. RS-232 drivers and receivers must be able to withstand indefinite short circuit to ground or to any voltage level up to ±25 volts. The slew rate, or how fast the signal changes between levels, is also controlled.




          Raspberry Pi GPIO:



          GPIO voltage levels are 3.3V and are not 5V tolerant. Voltages below 0V and above 3.3V are outside the operating voltage range.



          See also:




          • What are the Electrical Specifications of GPIO pins?

          • What are the min/max voltage/current values the gpio pins can handle?






          share|improve this answer
























          • In addition to the voltage difference, even if you limited it to 0 - 3V it would not work as the polarity is inverted

            – Milliways
            Mar 5 at 21:14












          Your Answer






          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("schematics", function () {
          StackExchange.schematics.init();
          });
          }, "cicuitlab");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "447"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f94958%2frs232-to-raspberry-pi-zero-w%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          8














          Given the significant differences in the voltage levels it is not safe to directly connect any RS232 signal lines to the Pi's GPIO. Even if the voltage of some RS232 drivers might be as low as 3 V, the logic one (called "mark") is represented as a negative voltage which will kill the Pi.



          RS232 (Source):




          The standard specifies a maximum open-circuit voltage of 25 volts: signal levels of ±5 V, ±10 V, ±12 V, and ±15 V are all commonly seen depending on the voltages available to the line driver circuit. Some RS-232 driver chips have inbuilt circuitry to produce the required voltages from a 3 or 5 volt supply. RS-232 drivers and receivers must be able to withstand indefinite short circuit to ground or to any voltage level up to ±25 volts. The slew rate, or how fast the signal changes between levels, is also controlled.




          Raspberry Pi GPIO:



          GPIO voltage levels are 3.3V and are not 5V tolerant. Voltages below 0V and above 3.3V are outside the operating voltage range.



          See also:




          • What are the Electrical Specifications of GPIO pins?

          • What are the min/max voltage/current values the gpio pins can handle?






          share|improve this answer
























          • In addition to the voltage difference, even if you limited it to 0 - 3V it would not work as the polarity is inverted

            – Milliways
            Mar 5 at 21:14
















          8














          Given the significant differences in the voltage levels it is not safe to directly connect any RS232 signal lines to the Pi's GPIO. Even if the voltage of some RS232 drivers might be as low as 3 V, the logic one (called "mark") is represented as a negative voltage which will kill the Pi.



          RS232 (Source):




          The standard specifies a maximum open-circuit voltage of 25 volts: signal levels of ±5 V, ±10 V, ±12 V, and ±15 V are all commonly seen depending on the voltages available to the line driver circuit. Some RS-232 driver chips have inbuilt circuitry to produce the required voltages from a 3 or 5 volt supply. RS-232 drivers and receivers must be able to withstand indefinite short circuit to ground or to any voltage level up to ±25 volts. The slew rate, or how fast the signal changes between levels, is also controlled.




          Raspberry Pi GPIO:



          GPIO voltage levels are 3.3V and are not 5V tolerant. Voltages below 0V and above 3.3V are outside the operating voltage range.



          See also:




          • What are the Electrical Specifications of GPIO pins?

          • What are the min/max voltage/current values the gpio pins can handle?






          share|improve this answer
























          • In addition to the voltage difference, even if you limited it to 0 - 3V it would not work as the polarity is inverted

            – Milliways
            Mar 5 at 21:14














          8












          8








          8







          Given the significant differences in the voltage levels it is not safe to directly connect any RS232 signal lines to the Pi's GPIO. Even if the voltage of some RS232 drivers might be as low as 3 V, the logic one (called "mark") is represented as a negative voltage which will kill the Pi.



          RS232 (Source):




          The standard specifies a maximum open-circuit voltage of 25 volts: signal levels of ±5 V, ±10 V, ±12 V, and ±15 V are all commonly seen depending on the voltages available to the line driver circuit. Some RS-232 driver chips have inbuilt circuitry to produce the required voltages from a 3 or 5 volt supply. RS-232 drivers and receivers must be able to withstand indefinite short circuit to ground or to any voltage level up to ±25 volts. The slew rate, or how fast the signal changes between levels, is also controlled.




          Raspberry Pi GPIO:



          GPIO voltage levels are 3.3V and are not 5V tolerant. Voltages below 0V and above 3.3V are outside the operating voltage range.



          See also:




          • What are the Electrical Specifications of GPIO pins?

          • What are the min/max voltage/current values the gpio pins can handle?






          share|improve this answer













          Given the significant differences in the voltage levels it is not safe to directly connect any RS232 signal lines to the Pi's GPIO. Even if the voltage of some RS232 drivers might be as low as 3 V, the logic one (called "mark") is represented as a negative voltage which will kill the Pi.



          RS232 (Source):




          The standard specifies a maximum open-circuit voltage of 25 volts: signal levels of ±5 V, ±10 V, ±12 V, and ±15 V are all commonly seen depending on the voltages available to the line driver circuit. Some RS-232 driver chips have inbuilt circuitry to produce the required voltages from a 3 or 5 volt supply. RS-232 drivers and receivers must be able to withstand indefinite short circuit to ground or to any voltage level up to ±25 volts. The slew rate, or how fast the signal changes between levels, is also controlled.




          Raspberry Pi GPIO:



          GPIO voltage levels are 3.3V and are not 5V tolerant. Voltages below 0V and above 3.3V are outside the operating voltage range.



          See also:




          • What are the Electrical Specifications of GPIO pins?

          • What are the min/max voltage/current values the gpio pins can handle?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 5 at 15:31









          GhanimaGhanima

          12.5k114080




          12.5k114080













          • In addition to the voltage difference, even if you limited it to 0 - 3V it would not work as the polarity is inverted

            – Milliways
            Mar 5 at 21:14



















          • In addition to the voltage difference, even if you limited it to 0 - 3V it would not work as the polarity is inverted

            – Milliways
            Mar 5 at 21:14

















          In addition to the voltage difference, even if you limited it to 0 - 3V it would not work as the polarity is inverted

          – Milliways
          Mar 5 at 21:14





          In addition to the voltage difference, even if you limited it to 0 - 3V it would not work as the polarity is inverted

          – Milliways
          Mar 5 at 21:14


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Raspberry Pi Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f94958%2frs232-to-raspberry-pi-zero-w%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix