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

0
votes
0answers
33 views

Interrupt handler problem

I'm trying to programm a ohmmeter with AT8051. It uses communication RS232 and I want to send instructions from PC. Below in code are programmed keys 'A' and 'B'. 'A' runs measurement, which is ...
0
votes
0answers
26 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
31 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
23 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
28 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
75 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
0answers
17 views

How to do Serial monitor with Arduino Yun? [migrated]

I'm trying to read some values from a TCS3200 colorsensor using Arduino Yun. I have some code, which you can see below, that I used when I tested on the Uno. With the Uno everything worked fine and I ...
0
votes
1answer
30 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
15 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
41 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 ...
0
votes
0answers
11 views

Arduino Sainsmart uno communication problem [migrated]

I'm trying to communicate with my arduino uno but it seems to have troubles to understand characters. For example, printing things with Serial display weird things, changes characters, removes some. ...
1
vote
0answers
78 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
37 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
45 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
40 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
27 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
46 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
11 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
61 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
77 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
79 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
85 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
27 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
162 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
93 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
88 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
84 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
216 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
38 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
72 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
166 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
55 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
66 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
121 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
35 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
64 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
511 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
113 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
3answers
131 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
73 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
132 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
114 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
76 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
138 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 ...
0
votes
2answers
49 views

MPU-9150 (IMU) - what happens at fullscale range boundaries?

We're debating the use of the MPU-9150 IMU in an application. This IMU has a user settable full scale range for the accelerometer (e.g. 2g, 4g, etc) and gyroscope (200dps, 400dps, etc). Suppose I set ...
-1
votes
1answer
84 views

Serial connection via 3.5 mm Jack

lately I have been experimenting with the Intel Galileo, the thing is that I can't get the serial connection to work so I can do the "Linux magic". Today I bought this cable and tried to establish a ...
0
votes
2answers
93 views

Serial Servo Control using PIC

I am trying to make a serial servo controller using pic18f4550 microcontroller. following if the complete code that i've tried.. please note that i'm currently sending 8bit hex to control only one ...
1
vote
3answers
602 views

Send integer values through serial communication in PIC to PIC?

I need to pass integer values from one PIC to another through serial port for char I can use the following code ...