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.
1
vote
1answer
35 views
Does Interrupting a Microcontroller Data Receive with a Higher Priority Interrupt Cause Data Loss?
I would like to know what would happen if a Serial Terminal were to send a large amount of data to a PIC/AVR, for example over USART interrupt, which was then interrupted by a higher priority ...
0
votes
2answers
26 views
clock frequency confusion
I am using an atmega16 micro controller with a 12MHz external crystal oscillator. But I came to know that the internal clock frequency is 1MHz
I need to calculate UBRR value for serial communication. ...
0
votes
0answers
57 views
ESP8266 sends garbage data always on reset
I am assigned to do a project on IOT using the ESP8266 wi-fi module. For refashing the firmware I also bought a USB-TTL converter and installed the necessary drivers on my PC
I connected the RX and ...
0
votes
1answer
56 views
10Mbs USB to serial communication
I want to transfer data from a full duplex serial device (TTL) to the PC. The data rate is 10Mbs , i am investigating potential solution. I can add a level converter like max232.
I have 2 questions:
...
0
votes
1answer
40 views
High 4bit crash in atmega128 serial communication
I am trying to communication between atmega128 and serialCom(PC),
but I get a pretty strange bug.
When I send data 0 to 255 (char) from atmega128 to serialCom(PC)
,after sending 0x08, the high bit ...
0
votes
0answers
12 views
Pair two RN52 Bluetooth audio modules using single button
I'm doing a project that I wanted to connect two users through RN52 Bluetooth audio modules. both of users have mic and headset for the communication. I decided to user HSP Bluetooth profile for this. ...
0
votes
0answers
36 views
Sending SMS with AT commands - AT+CMGF ERROR
AT
OK
AT+CMEE=1
OK
AT+CSCS="GSM"
OK
AT+CMGF=1
OK
AT+CMGS="+44999999999"
> hello test message [CTRL Z]
At this point the connection hangs for 5-10 seconds.
...
0
votes
0answers
15 views
Arduino SoftwareSerial not receiving data from Neo-6M GPS module [migrated]
I am trying to hook up my Neo-6M GPS module to my Arduino Uno but am having some trouble getting GPS data out of it.
The code being used was taken from the TinyGPS library. I have set the ...
3
votes
0answers
32 views
Help with multiple receiver channels and single storage architecture
I want to build a datalogger that has multiple receiver channels that run on serial communication protocol RS232 and then collect the information from the channels in a single storage that would be ...
0
votes
1answer
37 views
STM32F7 Discovery USB CDC using CubeMX
I've created a project in CubeMX for my F7 Discovery. I followed instructions form here. However, in my Device Manager on Windows nothing appears. When I used precompiled code from enter link ...
4
votes
2answers
537 views
UART synchronization [duplicate]
I am trying to understand UART synchronization.
In a UART, the default state is high, and it starts the reception process when it receives a start bit (high-to-low transition)
In some scenarios any ...
0
votes
1answer
106 views
UART only returns the same character
I am trying to create a program that contains UART using the PIC18f25j50 device. I have attached my creation so far which is a simple program that outputs a single character repeatedly to the console ...
0
votes
0answers
22 views
PC Cannot Access HC-06 Bluetooth COM Port
I have an HC-06 Bluetooth module connected to an Arduino UNO board to allow for the data received by the Ultrasonic sensor to be transferred to my PC via bluetooth and serial communication. I am using ...
-1
votes
1answer
55 views
SFP vs LAN port [closed]
From a board design standpoint, What are the categories to consider when picking between an SFP and LAN port.
This is to be used as a 1GE management data path so regarding data rates both options ...
0
votes
1answer
69 views
When do I need a resistor during LED flashing? [duplicate]
My goal is to flash a few white LED in serial using 9V battery.
Here are the specifications of this LED.
As I saw the Forward Voltage is 3.4V, but what does it really mean?
Can't I plug this LED ...
0
votes
1answer
48 views
xmega serial communication using MAX3232
Hi I am trying to talk to send a character to the PC using the xmega128a1 and the MAX3232 USART to Serial converter chip. Here is my setup and "send char" function below:
...
0
votes
0answers
46 views
Connection between a USB to TTL module and a TTL to RS485 module
I have been provided with these two modules:
CP2102 USB 2.0 to TTL UART Module 6Pin Serial Converter STC Replace FT232 Module
sunkee MAX485 module / RS-485 module / TTL to RS-485 module
How can I ...
0
votes
0answers
37 views
Xbee S1 transparent mode communication problem
Good morning all, I have recently bought two xbee series 1 modules as a way to learn the module, since I haven't used them before. Anyway, I got one USB connector (USB-TTL converter) and am connecting ...
1
vote
1answer
56 views
Windows 10 updates drivers for FTDI
I have one question about the following products:
foca-v2-2-ft232rl-tiny-breakout-usb-to-serial-uart
sparkfun-ftdi-basic-breakout-3-3v
I bought them last year and after time without using them I ...
0
votes
0answers
52 views
Atmega8 and ESP8266 uart problem
I got an atmega8 and an ESP8266. I connected the atmega8 Rx to ESP Tx and Tx to Rx. I don't know why when I power up the communication is not working and the green led from the ESP stay on all the ...
4
votes
1answer
116 views
How do I choose an optocoupler for (19200 baud) serial communication between Arduino and RS422 transceiver?
I wish to read data from a Fronius solar inverter via the Fronius RS-422 Com Card option (part# 4,240,001).
1000 meter cabling length
The Fronius communication uses a 5-wire RS 422 interface (`RX-`, ...
0
votes
1answer
83 views
Calibrating Servo Motor
I am working on a project on image tracking on MATLAB, by moving the mounted camera on a servo motor controlled by the Arduino Uno board, the data is serially sent to the arduino using USB according ...
3
votes
1answer
56 views
Switching Serial Connections among several devices?
I have 3 devices that communicate via a serial port. Let's call them Device 1, Device 2, and Bluetooth (BT to serial adapter). The BT is used to communicate with a computer, but it can be treated just ...
1
vote
1answer
74 views
Chaining Multiple USB Hub Controllers for Serial Interfacing
I have a need for a large amount of serial I/O from a desktop computer in a robotics application. I considered using all off the shelf parts with a large set of USB hubs and usb to serial adapters, ...
0
votes
0answers
29 views
interfacing external push button to msp430 using energia
I am writing code in Energia using the mso430g2553 launchpad and an external pushbutton with a pullup resistor. The code should simply display the state of the button on the serial monitor, 1 for ...
0
votes
0answers
73 views
Problems connecting esp8266 through HL-340 usb serial adapter on Ubuntu (Input/output error)
No matter what I try I can't seem to get a serial connection going between an esp8266 (this model: http://www.autonomii.com/wp-content/uploads/2015/04/esp8266_pinout_h-569x236.png) and my HL-340 (was ...
1
vote
2answers
61 views
Serial Communication Rx ISR logic design
If im not wrong, an ISR is supposed to do minimal processing when it receives a data serially(via UART).
Im planning on implementing such a protocol for communication between 2 systems via uart.
This ...
-2
votes
1answer
91 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
63 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 ...
-5
votes
2answers
262 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?
-1
votes
1answer
82 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, ...
1
vote
2answers
279 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
58 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
63 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 ...
-3
votes
1answer
56 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
65 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
74 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 ...
2
votes
3answers
81 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
41 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
131 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
1answer
84 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
155 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
46 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
48 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
52 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
64 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
42 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
52 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
42 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:
...
1
vote
1answer
92 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 ...