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

2
votes
1answer
52 views

MIDI IN : many circuits

I'm building a MIDI IN to serial port RX cicruit (for Raspberry Pi, or Arduino, or anything else...) using a 6N138 optoisolator. But I find many different circuits, I don't know why there are so ...
1
vote
1answer
70 views

Additional TX and RX pins for FT232RL Microcontroller Interface

I'm designing a board that needs to be programmable via USB and external TX/RX pins. I decided to use FT232RL ( http://www.sparkfun.com/datasheets/DevTools/Arduino/FTDI%20Basic-v21-5V.pdf ) for the ...
1
vote
1answer
26 views

What are the considerations for choosing Bluetooth baudrate?

I have an Arduino UNO which will be using an HC-05 bluetooth module to connect to a program running on PC. Its baud rate can be configured from as low as 4800 to as high as 1382400. I know that there ...
0
votes
1answer
31 views

Simulate modems and leased line over ethernet

I am using a leased line with two modems on the edges. Those modems receive x.21 protocol from db25 connector on their back and transmit to each other over the leased line. For some pairs of leased ...
0
votes
0answers
39 views

How to read inverted serial using Teensy LC?

I'm trying to read inverted serial data coming in from FrSky DJT module. I managed to read it using SoftSerial on another Arduino board and FTDI USB dongle (after configuring it co accept inverted ...
0
votes
1answer
39 views

can't get PORTB value in pic18f2550

I'm trying to send The PORTB to the serial port and receiving the data on pickit2 UART mode.. ...
1
vote
3answers
54 views

Convert MP3 recording of data casette to serial data

I have a retro EMCO F1P CNC machine with a matching M1 controller that comes with mini data cassettes containing the "Machine State Data" which must be fed into registers of the controller before ...
0
votes
0answers
54 views

Design serial adder for 16 bit register using on full FA

I wrote a serial bit adder for a 15 bit width shift register and a full adder (positive edge trigger, asynchronous reset) I don't know where the error in this code is. This is the code: ...
-1
votes
0answers
41 views

serial adder written in vhdl code (structural behavior)

How to write a code in VHDL using structural behavior --i try to write the code for the structure but can't connect them to each other the design like this image exactly...with clk for each register ...
0
votes
2answers
55 views

avrdude: ser_open(): can't open device “/dev/ttyUSB0/”: Not a directory

Recently I have been trying to learn how to program Arduino in Code::Blocks. I used the AVR project wizard to create my project. The program compiles flawlessly into a .hex file that I want to upload ...
0
votes
1answer
30 views

serial data from avr to python

I am using ATtiny2313 microcontroller along with a RS232 to establish communication between my microcontroller and the laptop. Here's my question : What is the predefined system for the laptop to ...
0
votes
2answers
85 views

Can I an RS422 interface to Arduino's serial pins?

I have a custom-designed circuit that communicates to and from the external world through an RS422 interface. I wish to communicate with it with an Arduino, preferably UNO. The RS422, much like the ...
0
votes
1answer
48 views

Arduino Serial Error Correction

I currently have a setup where I take serial output from Arduino 1 and push it through a transmitter to the receiver of Arduino 2 where it is fed back into the serial input and further processed. I ...
0
votes
0answers
17 views

Zigduino Serial Communication works when programmed from Ubuntu but not Mac

So I have a zigduino which I am programming with TinyOS. I have tried programming TinyOS locally on Mac (10.10 Yosemite) and Ubuntu (14.10). It makes and programs fine using the command (on Mac): ...
1
vote
1answer
47 views

Having trouble synchronizing serial data from FPGA to python script

I have a Spartan 6 that's collecting some data I need to send over serial to a python script where it can be displayed on my PC. This is actually the first time I've ever dug into serial ...
1
vote
0answers
110 views

Pic to Pic Communication with 434mhz wireless module?

I want to transmit Data From one Pic18f2550 to Another using a cheap 434mhz wireless module. but its not working at all. Following are the circuits for Tx and Rx respectively. the code for Tx ...
1
vote
1answer
43 views

Can i charge 2 li-ion 12v bateries in Series?

i am making an external batteries arrangement for my laptop. in this i am using two li-ion 12V batteries. now i am facing problem to charge this batteries in series or in parallel? i have tried to ...
0
votes
1answer
50 views

How to Reduce Serial Noise from Refrigerator

I am controlling the compressor of a compact refrigerator using an ArduinoMEGA and an optoisolated relay block. The Arduino is connected to the PC using a serial over USB (Atmel version). Since the ...
0
votes
0answers
25 views

Turn on/off serial and I2C display [duplicate]

I have 2 character display, one is controlled by serial another is controlled by I2C. I could control both with serial or I2C alone. But that's not the point. Now what I want is, to completely turn ...
0
votes
1answer
47 views

ADS1278 double values

I am recently using a ADS1278 as the ADC of my system. The configuration is Frame-sync, TDM, Fixed for the 8 channels. The mode is high speed (sampling at 64KSPS). The core clock and the serial clock ...
0
votes
0answers
35 views

GSM SIM900A Board and USBtoSerial

just got my SIM900A board same as Connecting GSM SIM900A module with Ardunio and I am trying to connect it to my USB-rs232 converter. I couldn't find any doc on module itself, has anyone done it? Tnx ...
-1
votes
2answers
50 views

PIC18f45J50 2nd Serial port?

I am working on a GPS tracker Project where i need to interface with a GPS module and a UMTS module for 3g connectivity. with this i need 2 serial ports on a single microcontroller. For this ...
0
votes
0answers
12 views

Xbee Serial communication with RaspberryPi

I want to know how Xbee serial communication actually works. Normally we uses python libraries to communicate with Xbee in RaspberryPi. But I have to implement the serial communication in Lua ...
0
votes
1answer
75 views

Xbee Serial communication with RaspberryPi - In Lua

We are working with Mihini for an IoT project. Here we have to communicate via Xbee with sensor nodes and coordinator(RaspberryPi) . Mihini doesn't seem to have any modules particular for Xbee ...
1
vote
0answers
86 views

How do I connect a photodiode to a GPIO?

I'm trying to read serial data emitted through an IR led with a Raspberry Pi using an IR photodiode, but I'm not sure about the correct way to hook it up. Unfortunately I don't have a part number for ...
1
vote
1answer
97 views

AVR USB to Serial Converter; Quick Question

I have a TI86 calculator that I've had for over 7 years now. Well I'm letting a lady friend on mine borrow it, and I was going to load it up with some apps for her. And the tradeoff is happening this ...
0
votes
0answers
128 views

DIY JDM pic programmer voltages

I have a ftdi usb->ttl chip and some resistors lying around and want to program some pics without spending loads on a programmer. As far as I can tell the only pin here that needs to be shifted to 12V ...
0
votes
1answer
28 views

baudrate calculation from frame timings

I'm working to interface with an old serial protocol. All I have actually is the frame format and various timings. I need the baudrate to sync correctly and use the data properly. My frame is 15 ...
0
votes
0answers
280 views

Real-time Matlab Simulink plot from serial port data

I have an arduino that constantly writes data via serial port on a usb that I want to plot in real time using Simulink (Matlab R2013b). I have seen matlab codes (.m files) that are working but what I ...
0
votes
1answer
100 views

real time online push button based counting system

I am doing this project: I have 4 inputs. These are push buttons, connected to a microcontroller. Each time a push button is pressed, say for example pushbutton_1 is pressed, the press of a switch ...
0
votes
3answers
118 views

Correctly using RE and DE with RS485

I'm trying to build a RS-485 project using MAX485's. However, I'm having trouble finding out how to correctly use the RE and DE pins. Some PDF's and websites say that RE and DE should be tied together ...
0
votes
2answers
87 views

Is it possible to convert SPI to UART without a microcontroller?

I was wondering about converting SPI to UART only in that direction, not the other way around, without using any microcontroller or bridge. If synchronous can be seen as a particular case of ...
1
vote
1answer
289 views

Interfacing barcode scanner with arduino using RS232

I want to connect a barcode scanner with Arduino. I used MAX232 to convert the levels. I have taken only 3 pins: 2(RX), 3(TX) and 5(GND) from the DB9 cable and given them to pins of MAX232 as shown in ...
0
votes
2answers
42 views

How to deal with start sequence in payload of communication packet?

Basic serial messages are being transferred between an embedded device and a PC app. MCU UART Peripheral -> FTDI cable -> PC USB Serial Library The ...
0
votes
0answers
93 views

ATmega328p hc-06 writing correctly but reading gibrish

Last week i have been strugling with getting the hc-06 bluetooth module working on my ATmega328p. Whatever the ATmega sends to the bluetooth module comes correctly on my phone. But everything i write ...
1
vote
2answers
252 views

Wire up multiple slave Arduino devices to a master Arduino device

I want to use serial communication between a master and multiple slaves. I've already connected the RX of the master to the TX pins of both slaves, and vice versa (thus connected the TX pin of the ...
0
votes
1answer
68 views

Switchable serial bridge (Bluetooth or USB -> Telemetry)

So I've got a simple serial bridge (wireless telemetry -> bluetooth). Now what I would like to do is to be able to use either USB or bluetooth to access the telemetry module (Not at the same time). ...
1
vote
2answers
71 views

FRDM-kl25z Serial Buffer Issue

I'm sending data over Serial to a FRDM-kl25z via a printf statement on another uC; ...
0
votes
2answers
135 views

Finding serial port on generic IP Camera PCB

Background story is that during firmware update of a generic IP Camera, with great wisdom, I managed to wipe part of the embedded Linux files, and in order to recover it, I need to access the ...
0
votes
0answers
36 views

How to fix Serial 0 Level not fully grounded

My project uses a USB to Serial(5V) converter board. Looking at the Serial signals on a Scope I noticed that the 0/GND level signals are very high. They are nice and squire but consistently around ...
0
votes
1answer
69 views

Simple Serial-to Wifi communication

I'm working on controlling an incubator by writing commands to its serial port, a 9 pin RS232. The commands are simple byte strings, such as #02ts. The incubator responses are similar to the ...
0
votes
0answers
680 views

Turn Nano with CH340G(16 pin) chip into a USB to Serial converter (TX not working)

I am trying to convert a CH340G Bases Arduino Nano into a serial converter with 50% luck. It is able to receive data on the serial side but the USB to to serial bit is not sending data out. (Validated ...
0
votes
1answer
122 views

high speed optocoupler circuit

I have 4n35 optocouplers, I am using these to isolate a motor driver circuit and the Arduino controlling it. I put one on the slave select pin and one on the tx line to the motor controller (there is ...
0
votes
4answers
161 views

What kind of component would I need to put a break in a RS-485 bus?

I'd like to have some kind of electronically controlled switch (transistor, relay, solid-state relay, etc) that acts as a break in a RS-485 bus. The effect I would like is to optionally split the bus ...
2
votes
1answer
85 views

Reading a serial data stream with Verilog

I'm using an FPGA to sample a serial data stream (happens to be PCM audio in this case). Basically, there are two signals: Bit clock: a basic clock signal (square wave) Data: the bit to be read is ...
2
votes
1answer
142 views

MSP430 Choppy UART

I am having issues with the UART on the MSP430FR5969 microcontroller. I am sending about 85 characters 100 times per second for a data acquisition system. I am using 115200 baud rate which should be ...
0
votes
0answers
48 views

Strange behavior Pin to GND

This morning I was trying to do some electronic engineering as a hobby. A few weeks ago I bought a wireless outlet with an RF remote. Right now I'm trying to connect the buttons of the RF remote to a ...
1
vote
1answer
120 views

Serial Link Between 3.3V devices

I have an RPi and a freescale FRDM-KL25z controller which will talk over serial protocol. I'm using the pyserial library on the pi: ...
2
votes
2answers
79 views

Analyzing sniffed data from pins of LCD 2*16 using Atmega32

I sniffed DB4..7 of an 2*16 LCD using the below circuit : (Atmega32.PORTA1..3 is connected to GND) As you see above I connected En pin of LCD to INT0 of Atmega32 (That is configured for Falling ...
2
votes
3answers
140 views

Is hardware flow control necessary?

I want to communicate using a serial cable to a device that uses RTS/CTS flow control and 115200 baud speed. I want to use this Sparkfun TTL to rs232 adapter, but it has no RTS or CTS pins. What can I ...