3
\$\begingroup\$

I have recently bought a couple Bluetooth modules that connect to the Arduino via TTL/USB/UART (you use Serial(); to communicate with it).

I don't know if the UART chips are in the chip or if it is in another part.

Since I only connect it to pins 0 and 1, do I need a TTL to USB converter for a setup like this?

I am following this guide: http://arduino.cc/blog/2010/06/08/minimalist-arduino/

\$\endgroup\$
  • \$\begingroup\$ It's a bit unclear what you are asking here :/ Could you elaborate? \$\endgroup\$ – Manishearth Apr 10 '13 at 1:02
4
\$\begingroup\$

The UART is the piece of hardware the transmits and receives data serially. It takes a byte of data (in parallel form) and then shifts it out 1 bit at a time. For receiving, the opposite occurs: after 8 bits of data come in, a byte is made available.

There is a UART inside of the ATmega328, which is the microcontroller on the Arduino.

When people say "connect to the UART of the Arduino" they are referring to pins 0 and 1. [Refers to Uno, Leonardo's Serial1. Mega has 4 hardware UARTS]

The Bluetooth module is probably meant to be connected to pins 0 and 1. Then when you do a Serial.print("Hello") or Serial.write(0x55) in the Arduino code, that data will be transmitted over Bluetooth.

Bluetooth devices such as this one, generally use the SPP (Serial Protocol Profile) to appear as virtual serial ports on the host device [PC].

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.