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.

Filter by
Sorted by
Tagged with
3
votes
2answers
2k views

Determine transmit and receive latency of a USB to EIA-485 converter

How could I determine the latency involved with transmitting data on a USB to EIA-485 converter? The converter is a B&B Electronics USOPTL4 using the FTDI chip, and I know that there is a ...
1
vote
1answer
2k views

Arduino Serial communication troubles

I'm having problems getting my communication code to work. I enter the data 1, 0, 255, 50 and then it errors (shouldn't it wait until 8 bits have been sent?) it exits with my debug message of ...
3
votes
1answer
12k views

Can I make my USB to serial adaptor imitate a null modem cable with a straight cable?

Is there a way in software to make a USB to serial adaptor work like it is using a null modem cable while it is actually using a straight through cable? (Using an off-the-shelf USB to DB9 adaptor for ...
3
votes
2answers
6k views

Configuring baud of USB-Serial bridge

I hope I'm asking this in the right place, I didn't know if it should go on stack exchange or super user instead. Problem Summary: I need to configure the baud rate of a USB to Serial bridge device. ...
2
votes
1answer
715 views

How to hook up an Arduino Uno to serial and ethernet

I've got an Arduino Uno and I'm relatively new to electronics / I'd like to connect it to a serial receipt printer and an ethernet switch. For all the research that I've done, I've found a number of ...
3
votes
4answers
2k views

turn on power to physical wire from linux?

How can I put power to some wires [possibly connected via Serial Port?], by using a script? I use Ubuntu. I want to schedule a time [using cron] to automate turning on something, say, an LED, a small ...
4
votes
6answers
2k views

Monitoring two serial lines at the same time

First this is the setup: (please note that one of the grounds is not connected, both FTDIs working properly) Now, I have used PuTTY to look at these two serial streams, both exchanging data at 9600 ...
2
votes
2answers
609 views

Internal oscilator vs external and Serial port question

I've been thinking about getting into using some pic microcontrollers, and I found the below two things to help get me started. But, on the product page for the microcontroller, it says 20 mhz, but ...
1
vote
1answer
608 views

Transmit data without microcontroller?

I am working on a remote-controlled (IR) lightswitch. This is pretty easy with an Arduino; you just do serial I/O with an IR receiver/transmitter to read "ON" and "OFF" signals. I want to know if ...
1
vote
1answer
9k views

Communicate with bluetooth module from Arduino Uno - Take Two

I have an Arduino Uno. Pins 2 and 3 are connected to pins UART_TX and UART_RX, respectively, on a bluetooth SMD module. I have the following sketch running on the Uno. ...
6
votes
6answers
11k 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 ...
3
votes
2answers
520 views

Recommend a Serial to USB cable/converter that works with modern OSes [closed]

I'm hacking on a board that has an RS232 interface (via a Max232 chip). My new computer doesn't have a serial port, which leaves me using USB. I actually have a Serial to USB cord already, but it ...
5
votes
1answer
2k views

Efficient decoding of a Manchester-encoded serial link?

What's an efficient algorithm for recovering the clock and decoding Manchester-encoded data?
1
vote
3answers
883 views

Arduino Serial TX to iPhone RX voltage drop?

Articles I read about this tell me to hook up a 1KOhm resistor between the Arduino's TX and the iPhone's RX. I understand this is because Arduino's signal is 5V and I want 3.3V going to the iPhone. ...
3
votes
1answer
535 views

Interfacing 16C554 UART to ARM based CPU

Due to deficit of UART's on my board (LPC3141 based) I have the idea to add external multi-channel UART. It has data and address lines, which I'm pretty sure needs to be connected to EBI. ...
2
votes
1answer
870 views

Connect to Arduino Mega serial interface by C code

I'm having trouble talking to an Arduino Mega using serial port commands on Windows. Identical code works fine to connect to an Arduino Duemilanove but doesn't allow connection to the serial port with ...
6
votes
2answers
7k 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 ...
7
votes
3answers
16k 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 ...
8
votes
3answers
3k 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 ...
4
votes
5answers
2k views

Computer to Arduino Interface Options

I need to send 800 bytes of data from a computer to an arduino board every 20ms (approximately). I began with the serial library which works nicely but it is too slow even at its highest rate (115200 ...
4
votes
2answers
728 views

How to interface a Blackberry Torch with a serial device?

I have a Blackberry Torch that needs to send 10 bytes per second to a serial device. The serial device will probably be a basic stamp 2 or other microcontroller. The Blackberry does not need to ...
4
votes
2answers
1k 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 ...
3
votes
2answers
6k views

Set RS232 port options from MacOS X CLI

Does anybody know the magic command to set baud rate, parity, flow control, etc. for an RS-232 port on the MacOS X CLI?
14
votes
2answers
10k 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 ...
6
votes
2answers
1k 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
1
vote
1answer
198 views

how to find NTE part numbers

Can you please tell me how to find part number of the particular chip. I was trying to find max232 chip locally, and I have been told that I need to provide NTE part number. I searched google, but ...
3
votes
1answer
151 views

Need to purchase a Serial port that can be soldered to a motherboard [closed]

All I can find are adapters and gender changers. Where can I find one with actual leads I can solder?
2
votes
2answers
352 views

Serial nested if statements (Not working)

I have been trying to get this to work for a few days. What i have at the moment is TouchOSC installed on my Iphone sending commands to a processing program, which in turn simplify's them and sends ...
8
votes
5answers
881 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 ...
11
votes
2answers
2k 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 ...
4
votes
3answers
881 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 ...

1
18 19 20 21
22