블로그 이미지
Leeway is... the freedom that someone has to take the action they want to or to change their plans.
maetel

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
  • total
  • today
  • yesterday

Category

2008. 7. 2. 02:04 Hardware/network

http://www.webopedia.com/TERM/U/UART.html

Pronounced u-art, and short for universal asynchronous receiver-transmitter, the UART is a computer component that handles asynchronous serial communication. Every computer contains a UART to manage the serial ports, and some internal modems have their own UART.

As modems have become increasingly fast, the UART has come under greater scrutiny as the cause of transmission bottlenecks. If you are purchasing a fast external modem, make sure that the computer's UART can handle the modem's maximum transmission rate. The newer 16550 UART contains a 16-byte buffer, enabling it to support higher transmission rates than the older 8250 UART.


http://en.wikipedia.org/wiki/UART

a piece of computer hardware that translates data between parallel and serial forms.

A UART is usually an individual (or part of an) integrated circuit used for serial communications over a computer or peripheral device serial port. UARTs are now commonly included in microcontrollers.



http://terms.empas.com/dicsearch/view.html?i=3006728

범용 비동기화 송수신기 (汎用非同期化送受信機)
컴퓨터의 비동기 직렬 통신을 처리하는 프로그램. 보통 마이크로칩으로 실현되며, RS-232C DTE 인터페이스를 제공하여, 모뎀이나 기타 다른 직렬 장치들과 통신하거나 데이터를 주고받을 수 있게 한다. UART는 병렬 데이터를 직렬 비트 스트림으로 변환, 또는 복원하고, 패리티 비트를 추가하거나 패리티를 검출, 제거하며, 비동기 통신을 위해 시작 비트와 정지 비트를 추구하고 삭제하는 기능들을 수행한다. 또한, UART 직렬 통신 측의 속도와 중앙 처리 장치(CPU) 속도에는 큰 차이가 있어 완충기(buffer)를 내장하기도 한다.

'Hardware > network' 카테고리의 다른 글

RS232 data communication - MT9  (0) 2008.08.16
bluetooth on Mac  (0) 2008.06.17
Video Tracking on PC  (0) 2007.08.11
posted by maetel
2007. 1. 3. 05:09 Hardware

Wiring

void setup() {
  Serial.begin(38400);
}

void loop() {
  if (Serial.real() == 65) {
    Serial.print((analogRead(0)/4));
    Serial.print((analogRead(1)/4));
    Serial.print((analogRead(2)/4));


Processing

import processing.serial.*;
Serial port;
float xpos;

void setup() {
  size(256,256);
  noStroke();
  println(Serial.list());
  port = new Serial(this, Serial.list()[2], 38400);
//  port.clear();
}
void draw(){
 
background(0);
while (port.available() > 0) {
  xpos = port.read();
}
rect(xpos,100,20,20);
}


Wiring

int ax = 0; //set the pin number
int ay = 1;
int az = 2;
int x = 0; //the value of acceleration on x-axis
int y = 0;
int z = 0;

void setup() {
  Serial.begin(38400);
}

void loop() {
  x = analogRead(ax); //read the value of analog pin 0
  y = analogRead(ay);
  z = analogRead(az);
  Serial.print(x/4);
  Serial.print(y/4);
  Serial.print(z/4); //write the scaled value to the serial port
}


 

된장... shielding... orz

'Hardware' 카테고리의 다른 글

[Noah Shibley] eagle PCB  (0) 2008.04.01
smd toast oven  (0) 2008.03.24
soldering  (0) 2006.12.14
testing serial  (0) 2006.12.10
hardware term  (0) 2006.02.21
posted by maetel
2006. 12. 10. 17:23 Hardware

processing

// Serial Output + debug
int ledPin = 48;

int switchpin = 0;  // switch connected to pin 0
 
void setup() {
  pinMode(switchpin, INPUT);  // pin 0 as INPUT
  pinMode(ledPin, OUTPUT);
  Serial.begin(9600);         // start serial communication at 9600bps

}
 
void loop() {
  digitalWrite(ledPin, HIGH);
  Serial.print(1);                  // send 1 to Processing
  delay(500);

  digitalWrite(ledPin, LOW);
  Serial.print(0);                  // otherwise send 0 to Processing
  delay(300);
/*  delay(200);
  digitalWrite(ledPin, LOW);
  delay(200);
  if(digitalRead(switchpin) == HIGH)  // if switch is ON
  {
    digitalWrite(ledPin, HIGH);
        Serial.print(1);                  // send 1 to Processing
  }else{
    digitalWrite(ledPin, LOW);
    Serial.print(0);                  // otherwise send 0 to Processing
  }
  delay(100);                         // wait 100ms
  */
}

'Hardware' 카테고리의 다른 글

smd toast oven  (0) 2008.03.24
Wiring board + 가속도 센서 시리얼 통신 테스트  (0) 2007.01.03
soldering  (0) 2006.12.14
hardware term  (0) 2006.02.21
자이레이션  (0) 2006.01.22
posted by maetel
2006. 12. 6. 19:42 Hardware/elements
RS-232 Serial Board
각종 제어기기를 테스트 하기 위하여 시리얼 통신 레벨을 ±10V 에서 +5V 레벨로 변환하여 주는 편리한 인터페이스보드 입니다. (8천원)

Wiring board와 MaxMSP 사이의 시리얼 데이터통신 방법으로 고려 중 (thanks to Tae)


사용자 삽입 이미지

RS-232 Serial Board

'Hardware > elements' 카테고리의 다른 글

servo motor  (0) 2007.07.25
2467S datasheet  (0) 2007.07.24
pin header  (0) 2007.01.07
regulator KA78R33 datasheet  (0) 2006.12.15
electrical components  (0) 2006.07.19
posted by maetel
2006. 12. 1. 20:51 Hardware/mC
The Wiring I/O board has two built-in (hardware) serial ports called Serial and Serial1. The port Serial is available through the USB connector in the Wiring I/O board. The port Serial1 is available on Wiring I/O pins 2(Rx) and 3(Tx).

ref.
The Wiring Serial library
gone's Wiring workshop: serial

'Hardware > mC' 카테고리의 다른 글

SAM7-H256  (0) 2008.03.17
Arduino board  (0) 2007.11.17
AVR  (0) 2007.07.24
testing Wiring board  (0) 2006.08.16
Wiring board  (0) 2006.08.16
posted by maetel