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.

learn more… | top users | synonyms

-1
votes
1answer
33 views

convert USB to RCA phone plug in order to close a switch

I would like to know if it is possible to convert a USB signal to a RCA phone plug signal in order to close a switch contact. There are pushbutton switches that can remotely close a switch by means ...
3
votes
3answers
204 views

UART Polling vs Interrupt

I have two UART ports on an MSP430 that need to stream data between a Host Controller (Freescale IMX6) and potential devices ...
0
votes
2answers
57 views

Do you really need all of the sigals for a general RS-232 port?

I know that having TX, RX, GND, RTS, CTS are good. What about all of the others? Do devices these days even make use of the other pins (DSR, RI, DCD, DTR)? Is it safe to generally leave out these ...
0
votes
0answers
33 views

Use Earth and Ground Rods as Tip and Ring for a Modem

My co-worker and I recently tested this theory out with two Cermetek 1794A modems. Datasheet: http://www.cermetek.com/Catalog/High-Speed-Modems/DataSheet/CH1794A_607-0020.pdf Now first, we did two ...
1
vote
1answer
40 views

How do I log only received information in RealTerm

I am trying to test a sensor circuit I'm working on. Essentially, I am using RealTerm to send commands to the µcontroller and it is returning the value read by the ...
1
vote
2answers
57 views

Asynchronous serial bit transmission/reception

I am asking this stupid question for my general knowledge. Why in serial protocol often send least significant bit first? For example, in UART, data byte 10101100b (0xAC) is send as 00110101b (0x35). ...
0
votes
1answer
39 views

Problems with I2C on PIC18F25K22

I've been googling for about two weeks now and I still can't seem to get my I2C working. I've used this (what seems to be complete) tutorial. I followed the Master Write and Master Read examples to ...
0
votes
2answers
68 views

Large errors in ATMEGA8 ADC readings

I'm using the ADC of ATMega8 to read the charging and discharging waveforms of a capacitor. However I'm getting an extremely large number of errors when I see the data I get in my laptop. I'm sending ...
3
votes
2answers
153 views

Is is possible for a microcontroller with a single serial output to interact with two serial peripherals?

I'm looking into using Atmel's 2051 microcontroller with an Xbee and a HC-05 Bluetooth module, the micro however has only one serial connection and no possibility for expandability with ...
1
vote
2answers
69 views

Serial Data Input through Microcontroller to Output Voltage

I am new here and new to programming, so I thought maybe some of you might be able to help me in the right direction. I am looking to design a circuit that receives serial data from an RS232 port on ...
1
vote
1answer
28 views

AT+CNBP command for SIM5216E cellular module [closed]

I am trying to use the the simcom AT command set to change the preferred band on my "SIM5216E" module. I know I need to use the AT+CNBP command, but I am unsure of what code I need to enter to select ...
0
votes
1answer
43 views

FET level shifter for serial does not work with inline resistor for safety

For a voltage change on a serial line I'm using a common level shifter design which uses a FET (BSS138 in this case) as so: I have two of these - one for RX and one for TX. I should add that I'm ...
2
votes
1answer
22 views

Is it possible to use the RTS pin as DTR?

I'm deveoloping a project with a raspberry Pi that involves serial communication. In order to properly handle voltage levels, I used a max3232 converter between the raspberry and the external device ...
0
votes
1answer
32 views

PC side of SPP Bluetooth Profile [closed]

I have a Bluegiga WT12 module, I want it to connect to a PC with SPP profile. How will I handle the PC side? How will I detect the Bluetooth connection on my PC and get it emulated like a serial ...
2
votes
2answers
87 views

uC to host Bluetooth module via UART

I am a newbie. I am trying to finish a school project, I need to transmit an analog signal to the computer via Bluetooth. I am using Bluegiga WT12 as the Bluetooth module, and I want to use it with ...
-1
votes
2answers
51 views

How do I read the Wires from a 180 DIN with an Arduino's analog ports to read Nintendo Controller?

I have a USB Super Nintendo controller. I'm attempting to read the buttons with an Arduino Uno. I found a suggestion to utilize a USB too Ps/2 adapter. I've done that then I found a Serial ps/2 to 180 ...
3
votes
1answer
62 views

In-System Programming of FPGA by MCU

Let me know if this is the wrong place for this, but I am looking to program an FPGA (Spartan 6, I believe) using a microcontroller. Right now the way I am thinking about doing this is I will load ...
1
vote
1answer
55 views

Flash Programming for AT89S2051

Forgive me if this is a noob question, this is my first MCU project. After reading a few tutorials here and there, I've set up my MCU circuit and programmed a simple program in Keil μVision 4 and ...
0
votes
1answer
76 views

Custom PCB for USB to Serial output?

I'm really quite a beginner, so bear with me. :) I'm starting to work with RF transmitters, and I only have one Arduino (It's an Uno R3). I have the transmitter and receiver set, but without another ...
0
votes
0answers
60 views

Can receive from UART, but not send?

I have a commercial device that has a serial port header on it. I soldered some pins to the header and can now receive data from the UART. However, I'm stuck trying to send it data. I'm using an mbed ...
2
votes
1answer
61 views

bitbanging i2c problem with ACK from slave

I am trying to implement bit-banging i2c to communicate between an atmega128A's GPIO and an SHT21 (I2C bus was used for some other devices). The first task is to send a write sequence to the SHT21. ...
0
votes
1answer
42 views

Adesto DataFlash (AT45DB641E) reads zeros after exercising flash for several minutes

I am using the AT45DB641B Adesto DataFlash and not in Low Power mode. In my application I am recording a stream of raw sensor data and constantly writing to flash every second. I have a self-test ...
1
vote
2answers
214 views

Arduino Pin value gets stuck

I'm using a Python program to send some message over serial port to Arduino. This message contains the pin number of the pin and whether it should be HIGH or ...
3
votes
3answers
321 views

Can I screw up my board by guessing which RS232 pins are which?

I have a Raspberry Pi that I want to hook up to a serial (RS232) cable. I've found and read some information about this, so I know what pins on my RPi are Rx/Tx/3.3V/Gnd... Now the cable I'm hooking ...
3
votes
3answers
116 views

Xbee Transmitting garbage characters

We tried to make two Xbees communicate with each other. One Xbee module(configured as transmitter) is connected to one PC (PC1), and the other Xbee module(configured as receiver) is connected to ...
-3
votes
1answer
48 views

Xbee GPS Tracking

We're building a tracking system using Xbee and GPS. Wherein the GPS data is transmitted using the Tx Xbee and received with the Rx Xbee. We've supplied a 3.3V to both the Xbee and GPS (SKM53 by ...
2
votes
1answer
51 views

Arduino: Only reads serial input when Serial Monitor is open. Fails when it's closed

I feel like maybe I'm having a brainfart, but I've been searching around a lot. Setup: I have a Python script using pySerial that connects to the device and writes a line to the serial port @ 4800. ...
0
votes
0answers
48 views

Looking for tri-state buffer driver/receiver

I'm trying to build a circuit with multiple client MCUs and one server MCU. They are all connected through a common bus. The bus contains 5 lines (Power, Ground, TX, RX and Control Signal). The ...
0
votes
0answers
59 views

Not getting data from Parallax GPS

I am trying to use a Parallax PMB-648 GPS with an Arduino Nano running this code: ...
0
votes
1answer
78 views

USB-TTL problem connected to my UART-WIFI module help! [closed]

A question is one to regulate that there warms up very much the chip of my usb-ttl that this feeding to my module uart-wifi as sample in the figure. That can be the problem helps. PL-2303HX ...
1
vote
0answers
124 views

Where does serial data get stored on a PC? [closed]

Say I have the following python script to read in serial data from my Arduino: ...
0
votes
1answer
57 views

Connecting 4 devices on RS232

I have two PCs (very old, without usb but rs232 port) that talks via RS232. They send to each other very small bit of info ( one character every 10sec). Now I need to connect additionally two sensors ...
2
votes
1answer
69 views

Read variables from Arduino code into PureData?

I've been trying to find ways to pass a variable from my Arduino code into PureData in real-time. I've explored PDuino and the Firmata library, but the tools seemed a bit more for reading and ...
2
votes
3answers
98 views

Do I need to program a USB-Serial FTDI chip before using?

I'm building a PCB with an ATMega chip. In the past, I've used Sparkfun's FTDI breakout board to program the ATMega. However, I'd like to implement the FTDI chip and USB port on my own PCB, ...
1
vote
2answers
63 views

serial communications and on/off voltages

I'm writing a program in C to talk to a modem via an rs-232 serial port. Unix supports 6 pinouts in the serial line, including TXD (Transmitted Data), RXD (Received Data), DCD (Data Carrier Detect), ...
0
votes
1answer
45 views

Serial port controlling a motor bridge--unknown bug

This is part of a project where I wanted to bypass using a microcontroller and control motors directly with my laptop. I'm using a usb-to-serial cable and use the serial RTS and DTR to control a ...
1
vote
3answers
154 views

Serial COM Network + Arduino

I am new to this site, but I have got a problem and You might be able help me out. I have got a car cluster which talks and listens to a 0V/+12V serial line. My goal is to send some extra commands to ...
2
votes
0answers
110 views

Arduino to Android serial communication issue

I've been trying to use this serial for android library now, but I can't make it work. I'm trying to run this little program in android: ...
2
votes
1answer
188 views

Real Time Clock DS1307 interfacing with Arduino Uno

I am currently working on an electronics project of building my own Digital wall clock. For that I tried making a RTC module with DS1307 IC. I followed the following instruction from this website. ...
4
votes
2answers
77 views

Xbee not responding timely. Large delay between each transmission

I have prepared a setup for 2 Xbees one connected to the PC via XCTU and the other interfaced with Atmega 168. The terminal software will send 1 and the xbee with Atmega 168 will return 1. The code ...
2
votes
3answers
114 views

Parallel LCD screen to serial? (1 dedicated microcontroller?)

I'm a newb with electronics and was wondering if there's an IC or PCB that could convert a parallel LCD connection to Serial so I can use 2 wires to communicate with the screen using an arduino and ...
3
votes
2answers
168 views

Problem with Atmega 168 USART receive interrupt ,while communicating with Xbee

Before decreasing my reputation please let me know what I have done wrong. Bear with me as I am a newbie. I have written a program so that a receiver radio module sends 1 when it receives an 1 from a ...
0
votes
2answers
124 views

Deleting Single character in LCD

While I have successfully cleared all the lcd display with the help of some guys here by a cheat code (because it doesnt really delete the display)...
0
votes
4answers
143 views

Clearing display of lcd

I'm using serial communication to display the the data to my 4x20 lcd display. When I filled up all the lines of course I need to clear it. I've search over the net and found something like ...
0
votes
1answer
133 views

Simple calculator problem [closed]

So I am trying to create a calculator program in arduino using this codes. ...
0
votes
1answer
142 views

GSM SIM-300 read msg problem

I'm unable to get a proper response from my GSM modem300, sometimes it responds with nothing, sometimes it replies half of line of ONE message from full inbox, sometimes it just sends the command ...
1
vote
2answers
59 views

How to detect status of switch from serial (or other) port?

I have a switch and a headless Debian computer. When the switch changes state, I want a script to run on the computer. The switch has outputs for both NO and NC. If possible I'd like to plan for a ...
1
vote
1answer
233 views

RX/TX led colors

I'll place leds on RX/TX to monitor activity. Do you know if there's a kind of convention for the colors of theses ? I've take a look on google but have found nothing. (For now RX Red, TX Green, ...
1
vote
1answer
87 views

Honeywell Dead Reckoning Module GPS Problems

This was previously posted in the Stack Exchange forum and I was referred here. I'm currently trying to connect a Honeywell DRM4000L to a GPS module. The DRM is a dead-reckoning device which takes a ...
1
vote
1answer
167 views

DE-9 monitoring solutions?

My treadmill connects to its controls via a DE-9 port interface and I'd like to reverse engineer it so I can control and monitor it via my computer instead. I would hope it perhaps uses RS232, but ...