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
vote
1answer
64 views

Super Slow Serial (UART) Communication Arduino

So hopefully this question isn't an issue for stackexchange but I am using this device for my arduino that connects to the OBD-II port of my car to get various information such as speed. rpm, etc. ...
1
vote
4answers
86 views

Reconstructing Clock for Serial Signal

Supposing I have a serial signal (example below) which is transmitted without an accompanying clock signal, I would like find a circuit (using discrete components / ICs, possibly an FPGA, but not a ...
0
votes
0answers
22 views

MikroC could not detect the serial programmer

I know I'm doing something wrong I use serial PIC programmer with a serial to usb converter but the mikroC doesn't seem to identify it. What extension should I do for it to work (from the serial PIC ...
0
votes
0answers
55 views

Which serial protocol or encoding scheme does this scoreboard use?

I am trying to decode a signal stream coming from a Nevco scoreboard controller: Packets like this are sent every ~2.7 ms. I suspect it is some sort of UART signal because it is on the RX line of ...
0
votes
1answer
41 views

Arduino Serial connection

I've written a small program for Arduino, in which it receives a two digit number from serial, for example ""26". Then it set's HIGH voltage to pin 2 with the duration of 6*100. That works fine, ...
0
votes
1answer
55 views

Save variable between loops in Arduino IDE

I have this code: ...
0
votes
3answers
83 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
238 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
60 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
34 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
42 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
58 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
50 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
75 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
155 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
72 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
30 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
46 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
26 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
34 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
95 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
52 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
65 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
59 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
77 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
61 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
62 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
48 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
219 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
322 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
125 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
53 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
53 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
60 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
82 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
125 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
58 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
74 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
101 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
155 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 ...
3
votes
0answers
117 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
202 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
80 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
120 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
173 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
126 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
144 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 ...