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
48 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
31 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
61 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
0answers
9 views

Program/Read 93LC46B with an Arduino with bit-banging [migrated]

I'm Tom. I'm pretty new to electronics and programming but I've been getting better. So, recently I bought a 93lC46B EEPROM from Element 14 (It was $0.28! Why not!). I've been doing some research and ...
0
votes
0answers
17 views

Arduino Serial Hex Values [migrated]

Apologies if I have missed a relevant post somewhere, but have search for days to try figure this out... I have written some C# code to send a Byte Array over Serial from my PC to an Arduino Nano ...
0
votes
3answers
76 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
45 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 ...
1
vote
1answer
60 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
46 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
98 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
61 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
126 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
38 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
45 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
76 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
182 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 ...
0
votes
2answers
76 views

PIC24 Primary Oscillator XT_PLL frequency is off by 3 percent

I am using a PIC24. After solving the issue with the PLL (PIC24 PLL module is always out of lock) I am struggling with large variation in the system frequency. I wrote a small code that is used to ...
0
votes
0answers
50 views

serial communication won't work?

I'm working on serial communication using UART and 16f877. whenever it receive A => turn on green led B=> turn on red led. This is the program in mikroC: ...
0
votes
1answer
56 views

Unknown serial device/protocol

My light switches at home are connected to a circuit board. The light switches themselves are push buttons connected to it. The circuit board is in turn connected with 3 wires (black, yellow, red) ...
1
vote
1answer
92 views

PIC to PIC serial communication

I need to send all port info from one pic to another using serial port.. currently using 9600bps baud rate. on pic18f4550 running at 20mhz clock. i have used this code to send and receive data of a ...
1
vote
1answer
66 views

Garbled serial on custom Arduino UNO

I was referred here from the Arduino exchange. I built my own Arduino UNO. I designed the schematic and laid out the PCB for a school project. I am having problems getting the serial communication ...
0
votes
0answers
34 views

AVR chip restarts when RX line connected to a USB-to-serial module

I have an ATmega644 connected to a USB-to-serial module. When I currently have the ATmega TX line connected through and the RX line connected via a switch as follows: simulate this circuit ...
0
votes
0answers
35 views

arduino mega <-RX-TX-> dd-wrt wrt54gs v1.1

I try to get a double way communication beetween arduino mega and linksys wrt54gs using Rx and Tx serial. I have solder 3 wires on my wrt54gs serial RX, TX, GND. ...
1
vote
1answer
35 views

How to handle nested final result code in AT-command text?

I am writing a parser (a finite state machine to be more precise) for AT-commands and I don't see how to handle a particular corner case: Here is the specifications of the modem communication: When ...
0
votes
0answers
41 views

I've sent AT+IPR=115200 to SIM900A. Now I see garbage in RealTerm. How to fix this?

I have a GSM board with SIM900A. I've used a bluetooth-to-serial adapter to connect it to my laptop. I've been playing around with different AT commands and everything was OK. However after I sent ...
0
votes
1answer
56 views

MSP430G2231 Serial out using Energia

I am trying to read an analog signal using the Analog.Read() function and output 1 or 0 depending on the value of the analog signal. While testing using a serial monitor, I always get the symbol for ...
0
votes
1answer
61 views

Arduino - receive Ethernet W5100 signal to multiple arduinos

I'm after doing a device in which I'll use 4 AtMega328 chips; Since they'll all be mounted on the same PCB, and I need an ethernet connection for them, I was wondering if there's a way to share the ...
0
votes
2answers
61 views

STM VCP USB_BUSY?

I am using STM32 VCP firmware, and I am sending data to my PC application If i did not open my serial port in PC, and my firmware keep on sending the data it will cause USB_BUSY to happen, (i think ...
0
votes
2answers
95 views

AVR USART sending garbage

I'm trying to make an ATMega328P to send serial data to my computer and print onto Putty using an arduino board to do the USB to serial conversions. The data that's printed, however is garbage data. ...
0
votes
2answers
68 views

Micro controller serial communication question

Im relatively new to micros and have a conundrum. My senior project involves using a touch screen and xbee modules for wireless communication. My question is, since both of them require serial ...
1
vote
1answer
113 views

1-Wire Serial communication to standard RX/TX Serial ports in microcontrollers

I just want to start by saying that I'm relatively new to electrical engineering in general, so if I sound absolutely retarded please bear with me. As part of a learning project I'm working with a ...
0
votes
2answers
866 views

Connecting GSM SIM900A module with Ardunio

I have bought an SIM900A Mini V4 GSM module. Here is the module, I want to configure with arduino to send and receive SMS. Do I have to connect TXD of this module--Tx of Arduino & RXD of this ...
1
vote
1answer
72 views

RS232 Splitter Capable of Transmitting/Receiving data to one device and only Transmitting to another

I was wondering if it is possible to have a RS232 splitter that is able to split the data into two RS232 connections, and allow for one of the connects to still be able to transmit data back through ...
0
votes
0answers
62 views

Can a USB 5v 0.5A powered pcb sent data to a 3,5 mm jack using a 2nd usb port via usb-to-3,5mm converter wire?

I am designing a MCU for a device that is powered by USB. This device needs to send simple serial commands to an 3.5mm stereo port on a monitor. The wanted to use USB-to-3.5mm jack converter wire, ...
0
votes
0answers
71 views

Sending message in the GSM module v4

I got a GSM module v4. It has SIM900A IC. I tried to send SMS by using arduino uno. This is my code. void setup() { Serial.begin(9600); Serial.print("AT+CMGF=1\r"); delay(1000); ...
0
votes
1answer
70 views

nRF8001 DevKit usage with FPGA and Embedded Linux

I would like to develop an application with Nordic's nRF8001 DevKit. The master emulator of this kit is an USB Dongle and it is originally meant for PC connection. My final goal for the project is to ...
0
votes
1answer
143 views

libmodbus trouble with reading from slave

I have the following code for connection to a temperature sensor as my slave using the libmodbus library in C, ...
2
votes
1answer
164 views

How to interpret complex commands from serial with arduino

In a project involving a serial communication and an Arduino I would like to use the serial interface to run multiple routines on the board. The idea is to send a unique string with tags and values ...
0
votes
1answer
87 views

Teensy + Matlab Serial Communication Problem (12Mbit/S)

Im trying to send some data from my teensy to matlab but matlab didnt even call the callback function: This is my matlab Funcion: ...
0
votes
2answers
83 views

Logic low not low enough

I'm having an issue where the "low" level being output from one device isn't low enough for the device on the other end to interpret it as such. I'm guessing I'm not the first person to have this ...
0
votes
0answers
52 views

AND gate mysteriously and ludicrously slow

I've made a 3 input AND gate from 4 NANDs in order to daisy-chain 3 motor drivers jrk 21v3 and get the current value out of them. The problem is, the command is sent OK, the driver responds OK with ...
0
votes
1answer
55 views

MCP2200 - which GPIOs for DTR, DCD, DSR and RI?

Due to the recent controversy surrounding FTDI, I'm looking for a replacement for future designs. I'm looking very hard at the MCP2200. The only thing I can't figure out is that they have several GPIO ...
2
votes
2answers
112 views

Very long transmission-line design tips

I'm designing a very long transmission line between a master node a some slaves far away connected by a bus where only 3 wires are used: - A DC power supply (24vdc) - B Digital comm - C Ground As ...
1
vote
0answers
91 views

STM VCP Driver .inf file

Where can I get the STM32 Virtual Com Port (VCP) Driver .inf file? I want to configure the driver to change the Latency Timer and Receive/Transmit buffer size, but I cant find it. I also cannot ...
0
votes
2answers
129 views

How can I make the Raspberry Pi and BeagleBone Black talk via serial?

The BeagleBone Black is great. You plug in the USB cable to your computer and a DHCP connection is established, allowing you to ssh to the BeagleBone in seconds. Unfortunately the Raspberry Pi takes ...
0
votes
2answers
129 views

PC serial communication with FPGA

I am designing a simple 16 bit adder circuit in Digilent's Xilinx Spartan 6 FPGA. The Verilog design accepts two 16 bit inputs A and B and returns the 16 bit sum C = A+B. I am ignoring carry in and ...
0
votes
2answers
75 views

FTDI cables confusion

I went to the store and asked for a FTDI cable however, I need a bit of assistance, apparently I didn't properly do my homework before shopping and I ended up with upper pic. I need an FTDI cable to ...
0
votes
1answer
455 views

Strange problem with JY-MCU (HC-06) Bluetooth module

Short explanation: data sent over the bluetooth serial does not arrive correctly to the Arduino. Yesterday I connected a JY-MCU bluetooth module to my Arduino UNO R3 to test it. I connected the TXD ...
1
vote
0answers
71 views

Using nRF8001 as a master with an FPGA

I would like to use Nordic's nRF8001 modules in Master and Slave modes and also would like to connect it with Spartan-3E FPGAs using SPI. I am considering buying the nRF8001 DevKit. I believe it is ...
5
votes
1answer
391 views

Transceivers in the field of FPGAs: When and why will we use them?

I am recently getting myself into the field of FPGA design and development, and lately I've found myself hearing a lot about transceivers. I tried searching the net for some answers about these ...