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.
21
votes
2answers
2k 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 ...
16
votes
12answers
3k 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 ...
13
votes
9answers
7k 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 ...
11
votes
3answers
1k 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?
...
11
votes
5answers
2k 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 ...
10
votes
4answers
424 views
Why is RS-422 interface interference insensitive?
I am trying to understand differences between RS-232 & RS-485. I just don't grasp what is the core principle behind RS-422 inteference resistance? Is it number of wires (4 instead of 3)? Is it ...
10
votes
6answers
611 views
How to Efficiently Decode Non-Standard Serial Signal
I'm an undergraduate member of a research team working on a project that involves an RF-transmitting ASIC, and its wireless receiver which should ultimately send data to a PC.
The receiver outputs a ...
9
votes
2answers
3k 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 ...
9
votes
2answers
5k views
Serial newbie: why can't I just hook the wires up?
I'm trying to transmit from an ATtiny85 to a PC using Arduino-esque code over a USB-Serial converter without understanding very much of anything. I was shocked and appalled that it did not work.
I ...
9
votes
1answer
2k 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 ...
9
votes
2answers
1k views
Unit testing AVR assembly language
How do you unit test your assembly code?
I'm working on a serial servo controller as part of a hexapod robot project and the code has got to the point where it's becoming complicated ;) Anyway, I'm ...
8
votes
5answers
555 views
What is the most popular embedded serial bus? [closed]
I'm designing an embedded device that I would like to make interoperable with third party peripherals through a serial bus. Should I choose SPI, I²C, or some other bus?
The peripherals will be ...
8
votes
4answers
1k views
How to reverse engineer I2C and SPI protocols?
If I have an unkown device which talk I2C or SPI how can I reverse engineer the protocol. Basically I am looking for something similar as snoop or tcpdump.
For software Mac is preferred but can also ...
8
votes
2answers
259 views
How is the fact that the resistor used to limit the LED current dissipates some of energy addressed in lighting applications?
LEDs can't be connected directly to a source of power - only in series with a current limiting resistor. Which means that when the LED is powered some power is dissipated by that LED and some power is ...
8
votes
1answer
167 views
Is a 10GHz clock required to drive a 10Gb serial pin?
I am reading about the 10Gb/s Ethernet PHY for Altera FPGAs (datasheet here). I was impressed to know that, at the hardware level, the 10Gb/s is done serially.
Naively, I would think to do 10Gb/s ...
8
votes
1answer
157 views
Arduino serial communication protocol design
I make a drum sequencer interface for electronic music.
It uses an arduino mega as it's microprocessor, and currently it interfaces to a Processing program that I wrote for serial communication. ...
7
votes
5answers
923 views
RS232-to-USB Converter
Anyone have any recommendations on a good rs232-to-usb converter. There are a lot out there and from the looks of it some are hit or miss.
Good driver support is a must.
7
votes
2answers
3k 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 ...
6
votes
3answers
1k views
MSP430 serial communication failing in cold weather
I have a product using the MSP430 microprocessor, which has been selling for a couple years now. One of the MSP430's jobs is to communicate over async serial to a low-power radio.
With the onset of ...
6
votes
2answers
746 views
Why is RS422a more immune to electrical noise than RS232?
I have read that
RS-422a cable uses a 20 mA current loop instead of voltage levels.
This makes the systems more immune to electrical noise, so the cable
can be up to 3000 feet long.
I do ...
6
votes
3answers
3k 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 ...
6
votes
1answer
2k views
How to make a fingerprint scanner (UART, Serial) for a headphone jack on Android?
Square up reads magnetic stripe cards through headphone jack on both Android and iOS. I want to capture fingerprints on an Android phone. Can I develop a hardware to capture fingerprints in the same ...
6
votes
1answer
650 views
TI Launchpad MSP430 on Serial in Linux
The MSP-EXP430G2 LaunchPad Experimenter Board User's Guide (Rev. C) in chapter 3.2 states:
The LaunchPad includes a pre-programmed MSP430G2553 device [...]
Press button P1.3 to switch the ...
6
votes
1answer
553 views
Why isn't iPhone minicom reading serial data from Arduino?
Alright, this is my first time posting on electronics.stackexchange.com but I have frequented stackoverflow.com for some time now. Basically I am trying to output serial data from the Arduino to an ...
5
votes
3answers
874 views
A simple on-circuit RS-232 to USB converter
I want to interface a PIC microcontroller (18f452) to a PC via the USB port. I learned that there is a USB class for serial communication so I will not have to write device drivers for it.
I want to ...
5
votes
3answers
2k views
Can the Arduino be used to “spy” on a UART connection between two devices?
I have a need to install an Arduino (actually just the IC) into existing hardware to enhance functionality.
What I would like to do is some how connect the Arduino so that is "spys" on the I/O lines ...
5
votes
6answers
625 views
Serial Enabled LCD
What sort of LCD should should i be using to go with my Arduino?
I have used the HD44780-compatible LCD in the past, but heard that the Serial Enabled LCDs make life a lot easier.
5
votes
3answers
2k views
Apple Desktop Bus (ADB) to USB Adapter
I have an old Apple keyboard that I would like to use but it uses the ADB bus instead of the newer USB bus. Griffin used to produce a product called the iMate which was an ADB-to-USB converter but ...
5
votes
3answers
2k views
Is it possible to send characters through serial to go up a line on the console window?
I think it is possible due to how I can run vi straight from my serial port looking via TeraTerm. There, I can edit some text, go to the next line, then come back and edit the first line! How do they ...
5
votes
1answer
168 views
Serial Communication over 1 Pin?
Okay guys, I'm in a bit of a pickle here. I have the following circuit:
As you can see, pin 3 is my only output. I've actually already had this board printed, so there's not much room for ...
5
votes
4answers
777 views
Trying to figure out available resources on MSP430 LaunchPad
I'm just starting to mess with the MSP430 and have some simple apps working fine. However, now I want to use it with an LCD and am trying to determine if I'm short on I/O. For sure, I'll need to use ...
5
votes
3answers
28 views
How can I create a serial bridge using two Bluetooth dongles?
I own two of the SparkFun BlueSmirf bluetooth modules and I would like to connect them to eachother - one as the master, and one as the slave. It is easy to pair these together using a PC with Putty ...
5
votes
6answers
4k views
How can I send data to the arduino from the computer?
How can I send data to the arduino from the computer? I'm thinking sort of a prompt on the command line and some commands like "led1 on". Then, the arduino would process that and light up a certain ...
5
votes
2answers
405 views
Serial EEPROM with FAT
Is it possible to format an SPI EEPROM (such as AT24C128) to be used as an SD card?
So format it with FAT 32 and have a 16MB drive appear in windows?
Thanks
5
votes
2answers
125 views
High-speed computer interface with an Arduino
I'm planning a project with an Arduino that involves handling a lot of requests from a host computer, and the standard 115200 maximum baud over serial isn't sufficient. I'd like to be able to get ...
5
votes
3answers
9k views
How can I fix an AVRdude not-in-sync error when programming Arduino via USB-to-serial cable?
I'm trying to build this Ambient lighting for PC. This worked flawlessly on my Arduino Uno. My next step was to make it using "Arduino on a breadboard". So I bought a blank ATmega328 chip and burned ...
5
votes
1answer
2k views
Upload to an Arduino from the command line
If I have a sketch compiled to hex, is it be possible to upload this sketch to an Arduino board using avrdude directly from command line?
Pekkaa figured out that arduino ide executes the following ...
4
votes
2answers
1k views
Serial (UART) communication
I just have a few general questions that those with more experience could easily answer.
I am working with an arduino, and interfacing with various devices such as the PC that I use to write the ...
4
votes
7answers
4k views
iPhone hardware serial port access
Does anyone know how to access the iPhone's serial port, from a program on the iPod to allow that application to send signals. The idea is that the iPod could be used as the brain for some kind of ...
4
votes
4answers
561 views
Use UART Tx as digital output?
Would it be possible to send a 5 V "true" signal from the Tx of a UART dongle? As if it were a digital output?
Here is the UART adapter I purchased.
4
votes
7answers
534 views
Should I consider using RS-485 for my next project
I am planning on an automation project that will be using several different sensors including but not limited to: Temperature, Barometric Pressure, Air flow, Humidity, etc.
As I was talking with ...
4
votes
3answers
485 views
3pi Robot with Bluetooth
I want to use bluetooth to grab the info off my 3pi rather then have it display on the small LCD.
Pololu provides a lib for serial communication.
I'm wondering what the best bluetooth/serial module ...
4
votes
3answers
456 views
UART receiver clock speed
I was trying to understand UART fundamentals.It is understood that
It is an asynchronous communication protocol and hence the TX and RX clocks are independent of each other
The data reception is ...
4
votes
5answers
3k views
Using an Arduino to read data from serial device then send data over bluetooth
So from a general high level standpoint I need to grab data from a serial device and then send this data over bluetooth. I have a bluetooth modem picked out. I understand how to hook it up to the ...
4
votes
2answers
2k views
Arduino Uno, weird characters sent to COM (SoftwareSerial)
I'm trying to send ASCII characters from Arduino UNO to a computer serial port. I'm using a cable with a male COM connector, attached to the computer's serial port, and three wires (TX, RX and Ground) ...
4
votes
4answers
312 views
Best way to connect a RS-485 device
I have to control a device with a C++ application (Windows) via RS-485. I'm wondering, which would be the best way to connect it. Should I use a USB-RS485 adapter (which would be the most flexible ...
4
votes
2answers
500 views
Problems with CDC Device Class
I'm using the Microchip 16-bit 28-pin starter board and the USB communication with the PC keeps breaking.
There are two microprocessors on the board. The application processor communicates to the USB ...
4
votes
2answers
714 views
Parallel Port - Voltage / Current required for input pin
I am developing a program to send and receive sigal to my circuit and pc. Actually I have to count the pulses or (frequency of high pulse) generated from a 555 timer IC in my circuit. When I connect a ...
4
votes
2answers
136 views
How to produce clock signals with data on serial port
I am designing a Serial to Parallel converter with PIC16f84A micro-controller. Where I am going to use pin RA0 for data input, RA1 for clock input and RB0 to RB7 for parallel data output from MCU. Now ...
4
votes
3answers
194 views
Multidrop one or two lane bus
I like to design a single master, several slave (up to 100) application and looking for a reliable (up to 30meter) multi drop bus. One or two lane is preferred, I will use daisy chain topology ...

