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
1answer
32 views

Is it possible to use two communication protocols in one microcontroller?

So I've been trying to communicate between the Beaglebone Black and atmega through I2C for quite such time and have been facing quite a lot of problems with it. On the other hand I can successfully ...
2
votes
2answers
59 views

Issues related to multiplexed analog signals

I had an idea to transmitte a measured voltage of component X, from multiple slaves to one master device. Each slave's units would use the principle of time division multiplexing to set the data line ...
-2
votes
0answers
43 views

Sending Serial Data over Ethernet Using C# [on hold]

I need to send some serial logging data from a laptop to a server (both Windows machines). I was planning to use the Ethernet port to send the data, as sending data over the USB port appears ...
-5
votes
2answers
45 views

M-Bus (Meter-Bus) Arduino / RPI [closed]

Is there some one that have manage to connect to a M-Bus (Meter-Bus)? With a Arduino or RPI? Maybe a M-Bus to serial is the way to go?
-2
votes
2answers
78 views

Converting serial UART from wire to wireless

I have a device with 4 pins (2 pins RX, 2 pins TX), operating at 9,600 Baud. I want to send the data via an HC11 wireless module which has only 1 RX and 1 TX pin. Is this possible? Or can i merge ...
-1
votes
1answer
61 views

Clock and data vs rx and tx communication

I'm working on a project in which I have to make two pic10f200 microcontrollers communicate via serial communication lines. I know that with Arduino you interconnect the two board's rx and tx lines, ...
0
votes
0answers
39 views

Raspberry Pi 2 Arduino Mega USB Communication [migrated]

we are trying to control our rover via wifi. the idea is motor drivers are connected to arduino mega and the mega is connected to raspberry pi 2 (raspbian os) via USB. raspberry pi is receiving ...
1
vote
2answers
220 views

sharing ground for serial connection Across raspberry Pi and Arduino both with different power supply

I do power the Raspberry via a 5V USB charger. The Arduino is soldered into a different circuit and is powered from a 24 V circuit via a 5V charge regulator. Both will be connected to the same 230 V ...
0
votes
2answers
49 views

Put firewall hardware with ethernet ports between serial ports

I want to put a firewall hardware product between a RTU and PLC to block some Modbus function codes (e.g. write coil, read coil). (This firewall product is able to do deep packet inspection on Modbus ...
0
votes
1answer
40 views

Sending multiple electrical signal to PC via Serial port

I am doing a project in which I want to control small toy car using EMG signals from my forearm. I want to send 4 electrical signals to the computer. I have made a processing circuit which contains ...
0
votes
0answers
25 views

Why doesn't this debounce function work? [migrated]

A little while ago I made a function to debounce a button and return its value. The void loop then read the button to know whether or not to blink the LED. It worked perfectly. I am now using this ...
-3
votes
1answer
55 views

Serial Bus Handling [closed]

Multi receive topology is used like connecting one TX(sensor) to two RX(computers). My question is it also possible to connect two TX(computers) to one RX (sensor).
0
votes
2answers
53 views

Convert TTL levels to RS232 of FTDI USB<->Serial

Have this small interface FTDI FT232RL to connect a Serial device to the computer via USB. It has been working well for most of my Serial applications, except today when I tried to use it for a ...
0
votes
1answer
65 views

Modbus raw data COM capture file example?

I'm attempting to use a RS232 tap to sniff a serial connection between two devices that are communicating using Modbus RTU. I'm looking for any capture files taken from sniffing a COM connection or ...
0
votes
0answers
18 views

Max485 Arduino Uno Not transmitting

I am using an arduino uno 2x Max485ecpa+ 2x 100ohm resistors and an arduino micro (leonardo) and whenever i try to transmit something from the uno to the micro through the max485's nothing happens. ...
2
votes
3answers
53 views

UART Receiver Sampling Rate

I am trying to create a UART receiver in Verilog for my FPGA. I was following this guide http://www.fpga4fun.com/SerialInterface4.html According to it the standard practice for asynchronous ...
0
votes
0answers
37 views

SPI bus, is two active devices with shared MOSI with separated MISO possible

I have two SPI ADC chips. I would like to initiate a reading on both of them at literally the same exact time. Is this scenario feasible with SPI? Hardware is configured like normal except MISO of ...
1
vote
1answer
95 views

RS232 UART verilog code

I am trying to generate a Verilog code for transmitter that sends data at 1 start bit and 1 stop bit from FPGA and receive on my PC at 1 stop bit. If anyone can provide a link or suggestion, it will ...
0
votes
0answers
32 views

Getting [VTERM] Parity Error when simulating USART connection in proteus

I'm trying to simulate USART connection between atmega32 and a virtual terminal. But when I push the button to start the transmission, I always get [VTERM] ...
0
votes
1answer
78 views

Using several microcontrollers as nodes in a neural network [closed]

I recently read an EETimes article about Google's neural network experiment, where they used several processor cores as nodes in a neural network. That made me wonder: could it be possible to ...
4
votes
3answers
129 views

RxTx communication with multiple slaves using a RaspberryPi

I am a programmer trying to build a circuit with limited EE knowledge. With so many options(at least being new to this), just want to make sure I am going down the right path. What I am trying to ...
-4
votes
2answers
41 views

Conversion of RS232 to USB [closed]

Can anybody explain how FT232R or CP2102 or some Serial to USB converter and it magically appears as COM port on PC? I would appreciate a detailed explanation on how the conversion happens. Some ...
0
votes
1answer
46 views

Sending serial signal of HT12A encoder by wire over 25 meters distance

This question has been asked many times, but I couldn't find something regarding sending out serial binary pulses from HT12A encoder over long distance. The wire will be running beside of AC 220v ...
0
votes
1answer
46 views

Encoder/decoder for serial connection without separate clock?

I'm putting together a link where the physical layer is SPDIF transmitters and receivers. I control both sides of the link (ie it doesn't have to interoperate with any other equipment). I would like ...
1
vote
1answer
42 views

AVR Atmega164P UART / ISP programmer problem

I am having a problem with the USART on an Atmega164P. When the ISP programmer is connected everything works fine. If I disconnect the programmer then all I get is garbled serial and the chip won't ...
0
votes
1answer
40 views

Synchronous Serial over Internet

I have a portable diagnostics tool which communicates with an electronic appliance using which I believe is Synchronous Serial Interface (SSI). I'm looking for a way that I can extend the range of ...
0
votes
0answers
36 views

Communication microcontroller - VFD module (FUTABA GP1184A01A)

I'm stuck here, let's see if hopefully somebody can throw a bit of light here. I'm trying to communicate with a FUTABA GP1184A01A VFD module ([See here][1]) using an Arduino Uno via serial, 38400 ...
2
votes
1answer
39 views

PIC's serial receive peripheral questions

I have a few questions regarding the PIC16F690's USART when doing asynchronous receives, and the user guide is sending me mixed signals. It has a two character FIFO buffer, and I'd like to know: ...
2
votes
0answers
57 views

Why there are AC timing characteristics but not DC in I2C interfaced chip?

I'm quite newbie in electronics, and I'd like to learn why there are AC timing characteristics to this particular EEPROM (24LC512) that I'm using but none for DC? Does AC timing constraints apply to ...
-1
votes
1answer
45 views

Hashtag Beside Pins names [duplicate]

What does Hashtag (#) means when it's added beside some pins names in datasheets..like WE# in the flash memeory pinout or RI# in RS232 FTDI datasheets??
24
votes
8answers
2k views

When should one switch from ASCII to advanced serial protocols?

All my microcontroller devices that communicate with the PC via UART use ASCII strings for sending commands and receiving data (as implemented in Arduino). That's what I learned when I began digging ...
3
votes
1answer
81 views

Arduino 2.5mm port serial TX RX

I am connecting a 2.5mm TRS jack to an Arduino Mega to monitor for data from a remote. The remote conforms to LANC standard, viewable here: http://www.boehmel.de/lanc.htm So in short, the Tip is ...
0
votes
0answers
54 views

bluetooth audio receiver pair name change error by onboard serial

My 1st question. I've got a cheap PT-810 bluetooth audio receiver whose chip is very clearly pictured at http://www.eevblog.com/forum/beginners/bluetooth-module-noise-issue/ My aim is to rename the ...
1
vote
1answer
121 views

Is it legal to use a device's Bluetooth serial commands in one's project?

I'm currently making an android application that reads data from an hydrometer that sends it via Bluetooth serial. But when I connect to it, it doesn't send anything, probably expecting control ...
2
votes
1answer
85 views

Why atmega168/328p starts to reset?

First we set fuse bits: avrdude -c usbasp -p atmega328p -U lfuse:w:0xFF:m -U hfuse:w:0xDF:m -U efuse:w:0x07:m # same for atmega168 In the following examples we ...
2
votes
3answers
97 views

How to avoid Attiny84 being powered on by a pulled up data line?

I've developed a simple sensor board based on the Attiny84a microcontroller which is able to communicate over a serial connection. I'm using an arduino bootloader and the SoftwareSerial library on ...
0
votes
0answers
72 views

PIC 18F14K50 does not execute interrupt service routine

Using a PIC 18F14k50 and I am compiling using MPLAB X version 2.35 with XC8 ver1.34. Programming via PICKiT3. I am trying to use the interrupt generated by serial data entering the receive port of the ...
2
votes
1answer
65 views

SPI Clock Phase and Clock Polarity

Why would somebody be bothered to set Clock Polarity and Clock Phase for an SPI Master? Is this about the compatibility for ...
0
votes
1answer
46 views

Does proximity matter when hooking up batteries?

I'm planning to put two batteries in both feet of a two-legged robot and then creating a serial connection of the two sets using wires up to the hips. My question is, does this effect the power source ...
2
votes
1answer
78 views

How can I troubleshoot stuck/flipped bits in a serial connection?

I'm working on reverse engineering some scrap vaccuum fluorescent displays from Noritake that lived their previous lives inside a payphone. No datasheet exists for it since it's a custom part; ...
0
votes
0answers
41 views

Atmel SAM D20 I2C: packet collision error

I'm trying to connect Atmel SAM D20 to LTC3880 via I2C. I have following code: ...
1
vote
0answers
52 views

Programming a 80C196 through serial

I'm currently trying to use the PWM feature of a 80c196 which requires a few control registers to be programmed. Unfortunately I don't have many options to achieve this as I don't have a programmer. ...
0
votes
1answer
91 views

Recieve data via USART on Atmel SAMD20

I'm trying to recieve some data via USART on Atmel SAMD20. I use usart_read_wait() and usart_read_buffer_wait() but they return ...
0
votes
0answers
67 views

Send/receive data using RS-485 to USB adapter

Familiar with RS-232 but new to RS-485. I would like to both view what is being sent from a host over RS-485 and also send RS-485 data from a PC to a slave device. If I order the following USB to ...
1
vote
0answers
45 views

Single line, single device UART for debugging

I'm writing an Android app that uses the IOIO interface to communicate between USB and UART protocols from the Android device to a microcontroller. For the sake of debugging, I don't want to set up ...
0
votes
2answers
59 views

Atmel D20 garbage in USART output

I have an Atmel SAM D20J18 uC. I'm trying to print something via USART. The first few symbols are ok, but after 8-9th symbol there is garbage. However, if I run the code line-by-line in debug mode ...
1
vote
2answers
188 views

Trying to read serial communication from smart meter with Arduino

First my compliments for this wonderful site. I'm hoping to find an answer to my problem. I've checked to find answers, however was not able to find it. My background is somewhat technical, only with ...
0
votes
0answers
48 views

Implementing MUX for different serial input and output

I want to make a MUX using a uC for my serial input and outputs. Below you can see the system setup. There are two parts (1 & 2) in the setup, I am doing the part 2 which is 4000 meters far ...
14
votes
3answers
1k views

Difference between real binary value and oscilloscope value

I tried to see an ASCII "A" character with an oscilloscope but the real binary value and oscilloscope values are different why is that? ASCII "A" Binary value - 01000001 The oscilloscope displays ...
1
vote
0answers
446 views

Serial Adder vhdl design

I've a design problem in VHDL with a serial adder. The block diagram is taken from a book. Since i'm not skilled enough in design with clock (except some silly flip flop i've found on the web, and ...