Questions tagged [serial]

In serial communication data is transmitted as a sequence in time. Main advantage: much less wires needed. Main disadvantage: Higher bandwidth for the same throughput.

Examples of serial protocols are:

  • I²C
  • SPI
  • Universal Serial Bus (USB)
  • FireWire
  • Ethernet
  • SDI-12 industrial sensor protocol
  • Serial Attached SCSI
  • Serial ATA
  • PCI Express
1412 questions
121
votes
5 answers

Difference between UART and RS-232?

Most of the time RS-232 and UART come together in serial communication theories. Are they both the same? From my readings I concluded UART is a hardware form of the RS-232 protocol. Am I correct?
tollin jose
  • 3,092
  • 9
  • 35
  • 53
45
votes
8 answers

How to resolve I2C address clashes?

I want to connect multiple I2C slave devices to a micro controller all on the same set of pins but the I2C devices all share the same address. The addresses are fixed in the hardware. Is there any way to connect multiple devices with the same…
Simon P Stevens
  • 636
  • 1
  • 5
  • 10
33
votes
2 answers

What are the differences between USB and RS232?

Can someone tell me why people use either USB or RS232. They are both serial ports, right? And I understand that USB is much faster (especially USB3.0) but if people wanted too I'm sure they could make a successor to RS232 that is just as…
Sponge Bob
  • 5,193
  • 16
  • 46
  • 64
30
votes
6 answers

Serial protocol delimiting/synchronization techniques

As asynchronous serial communication is widely spread among electronic devices even nowadays, I believe many of us have encountered such a question from time to time. Consider an electronic device D and a computer PC connected with serial line…
Eugene Sh.
  • 9,986
  • 2
  • 26
  • 41
29
votes
8 answers

When should one switch from ASCII to advanced serial protocols?

All my microcontroller devices that communicate with the PC via UART use ASCII strings for sending commands and receiving data (as implemented in Arduino). That's what I learned when I began digging into electronics and I always found sending bare…
24
votes
3 answers

UART signal is "rounded"

I am trying to debug a UART driver for the STM32F405. It does not work above a certain baud rate (about 50 kBd). I connected it to a logic analyzer with analog capability, and I saw that the signal is rounded; it takes time for the signal to rise.…
BillThePlatypus
  • 351
  • 2
  • 7
23
votes
2 answers

How do I make the Fairchild FSA9280/FSA9480/FSA880 BOOT pin trigger? (Samsung Galaxy S)

this is a bit of a long shot but I'm hoping someone has access to the full data sheet for one of the chips listed in the title, and can tell me what combination of VBUS_IN and resistors on ID_CON will make it trigger the BOOT pin on the chip.…
TheBeano
  • 231
  • 2
  • 4
22
votes
12 answers

Best serial monitor?

I just recently started using a Sparkfun serial LCD. I am able to control it through an arduino, but I want to be able to control it through a terminal on my computer. To be able to move the cursor or clear the screen, you need to be able to send…
Hristos
  • 575
  • 1
  • 5
  • 11
22
votes
5 answers

Why do people use AT commands in serial communication?

I need to know why people in embedded systems use AT commands? When I have asked people say that it is a standard. So my question is: What does "AT" means? Why do people keep saying it's a standard?
xsari3x
  • 1,608
  • 5
  • 27
  • 42
22
votes
3 answers

How to read serial data from oscilloscope

I have a microcontroller (PICAXE 20X2) and a pot meter. I programmed the micro so that it sends any change of pot meter to serial port of PC. Obviously it is a 8bit ADC. Now the interesting thing for me is being able to decode this serial data on…
Dumbo
  • 3,244
  • 14
  • 44
  • 69
19
votes
1 answer

With shielded twisted pair cable, do you ground one end, both ends, or neither ends of the shield

I've got a project coming up that's to be doing RS-485 communications over shielded twisted pair cable. The project will involve cable length runs of many 10s of ft and the cables will probably have to be laid in a single conduit containing 36VDC…
fred basset
  • 1,647
  • 6
  • 23
  • 37
19
votes
9 answers

Ideal WiFi to Serial (or SPI) bridge?

What are some recommendations on an ideal WiFi to Serial bridge? My ideal qualities would be: Simple connectivity, SPI or Serial Reasonable fast speed, at least 1mbit/sec ideally (though probably wouldn't always need that fast) Inexpensive, I'm…
davr
  • 6,802
  • 2
  • 25
  • 37
18
votes
8 answers

Why is serial EEPROM preferred over parallel EEPROM?

In the wikipedia page for EEPROM: http://en.wikipedia.org/wiki/EEPROM it is given that "Parallel EEPROM devices typically have an 8-bit data bus and an address bus wide enough to cover the complete memory" and also "Operation of a parallel EEPROM is…
Arpith
  • 283
  • 2
  • 10
17
votes
2 answers

How does TTL serial work?

I've been trying to find a good description of the TTL serial "standard" without much luck. I understand that serial transmit (TX) and receive (RX) lines idle high (at VCC) and that they drop to ground when a bit is transmitted. As such, they're…
blalor
  • 2,544
  • 3
  • 22
  • 24
17
votes
6 answers

Max Serial Cable Length?

What is the maximum length of serial cable I can use, to connection work properly? Is length of serial cable in connection with baud rate? I am using about 5 meter cable at speed 38400 bauds and RS232 communication, is it too long?
Junior
  • 1,009
  • 4
  • 23
  • 44
1
2 3
94 95