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.
1,473
questions
130
votes
5
answers
231k
views
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?
45
votes
8
answers
60k
views
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 ...
33
votes
2
answers
96k
views
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 ...
30
votes
6
answers
16k
views
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 <...
29
votes
8
answers
6k
views
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 ...
24
votes
3
answers
5k
views
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 ...
23
votes
2
answers
3k
views
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 ...
22
votes
5
answers
9k
views
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?
22
votes
12
answers
15k
views
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 ...
22
votes
3
answers
72k
views
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 ...
19
votes
8
answers
8k
views
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 ...
19
votes
9
answers
14k
views
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 ...
19
votes
1
answer
12k
views
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 ...
18
votes
6
answers
71k
views
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 ...
17
votes
2
answers
49k
views
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 ...