Difference between revisions of "MAX232 Breakout"

From Geeetech Wiki
Jump to: navigation, search
(Created page with "==Overview== This is the RS232 converter breakout that is capable of running at 3V and communicating with 5V logic.It's easy to set up your RS232 to TTL connection using this ...")
 
(Examples)
Line 14: Line 14:
 
Here is the guide illustrates how to set up the RS232 to TTL connection.
 
Here is the guide illustrates how to set up the RS232 to TTL connection.
  
 +
===Arduino Example===
 +
int val;
 +
int ledpin=13;
 +
int i;
 +
void setup()
 +
{
 +
  Serial.begin(9600);
 +
  pinMode(ledpin,OUTPUT);
 +
}
 +
void loop()
 +
{
 +
  val=Serial.read();
 +
  if(val=='r')
 +
  {
 +
    i++;
 +
    digitalWrite(ledpin,HIGH);
 +
    delay(250);
 +
    digitalWrite(ledpin,LOW);
 +
    delay(250);
 +
    Serial.println(i);
 +
  }
 +
}
  
 
==How to buy==
 
==How to buy==
 
Click here to buy [MAX232 breakout]
 
Click here to buy [MAX232 breakout]

Revision as of 08:06, 11 January 2013

Overview

This is the RS232 converter breakout that is capable of running at 3V and communicating with 5V logic.It's easy to set up your RS232 to TTL connection using this breakout. The MAX3232 are guaranteed to run at data rates of 120kbps while maintaining RS-232 output levels. And it operates at a broader voltage than the 232 (3 - 5.5V) you can use this on both your 3.3 and 5V projects!

Application

  • Notebook, Subnotebook, and Palmtop Computers
  • High-Speed Modems
  • Battery-Powered Equipment
  • Hand-Held Equipment
  • Peripherals
  • Printers

Examples

Here is the guide illustrates how to set up the RS232 to TTL connection.

Arduino Example

int val;
int ledpin=13;
int i;
void setup()
{
 Serial.begin(9600);
 pinMode(ledpin,OUTPUT);
}
void loop()
{
 val=Serial.read();
 if(val=='r')
 { 
   i++;
   digitalWrite(ledpin,HIGH);
   delay(250);
   digitalWrite(ledpin,LOW);
   delay(250);
   Serial.println(i);
 }
}

How to buy

Click here to buy [MAX232 breakout]