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
2answers
51 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
124 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
62 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
44 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
41 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
70 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 ...
0
votes
0answers
43 views

Arduino - Progamming issue [migrated]

my first post here. Anyway I'm working on a Simon Says game. I have a weird bug with the function that reads button input. This is the code: ...
0
votes
0answers
8 views

Serial communication between Android and Arduino - cannot recieve data correctly [migrated]

I'm attempting to send a single char command from my Android app to an Arduino Uno R3, and then receive data from a sensor based on which command is read. I've ...
1
vote
1answer
59 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
30 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
22 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
26 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
27 views

Incorrectly Reading Serial Using RXTX in Ubuntu [migrated]

I am reading Accelerometer signals connected to Arduino board through a serial interface. I am using the RxTx library and following is the code. ...
0
votes
0answers
33 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
41 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
39 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
46 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
87 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
53 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
84 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
1answer
210 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
56 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
56 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
56 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
59 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
90 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
137 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
55 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
79 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
50 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
0answers
35 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
111 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
66 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
87 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
108 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
70 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
220 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 ...
0
votes
0answers
58 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
385 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 ...
0
votes
2answers
109 views

adding fluctuations to 5V

hobbyist here, hope someone can guide me. I'm using I2C (only have 4 wires{PWR, GND, SDA, SCL}) to communicate with two exterior Circuit (Circuit A, and Circuit B, both have MCUs), which can be ...
3
votes
1answer
89 views

DMX512 packet issue (no break?)

I'm not sure if I'm reading this wrong or something, but this is a trace of the DMX packet that's coming from my USB-RS485 module then being converter to UART logic levels for my microcontroller. ...
-1
votes
1answer
98 views

USB Serial Communication for STM32F401C-Discovery using Keil uVision5

I have developed a STM32f401c-disco board using Keil, and next I would want to be able to send data out (say just a "hello" string) via the serial link USB-ed back to my PC and show it (I have ...
0
votes
1answer
223 views

What are all of the pins of the Beaglebone Black Rev. C serial (debug) header?

The Beaglebone Black Rev. C has a serial debug header with 6 pins. I would like to know what each of these pins is. If numbered 1-6 starting closer to the 5v barrel connector, pin 1 is ground, pin 4 ...
4
votes
1answer
174 views

Reverse Engineer Serial Signal

This is a long post as I want to take you through all the work I've done. The TL;DR version is I've got an unknown controller for a mechanical heat pump and I'm trying to reverse engineer the signal ...
0
votes
0answers
77 views

Finding out RS232 commands from massage chair

Hey all I have a very quick question to ask about the Bus Pirate before I go ahead and order or not order it. I am looking to get the RS232 commands from a massage chair. It has an ugly, bulky "box" ...
3
votes
2answers
171 views

Reverse engineering old serial devices and cloning with Arduino

I have a piece of music equipment that uses a remote control. This remote control communicates bi-directionally with the main unit. It communicates over RS-422 protocol (mainly for the cable distance, ...
0
votes
1answer
65 views

How to get 32u4 arduino to ignore DTR for USB Serial?

32u4 based "USB Serial Ports" refuse to send data to the PC unless DTR on the PC software side is set to high. If the PC software does not set DTR to true (high?), then Serial.print() on Arduino goes ...
-1
votes
3answers
263 views

Maximum cable length for 5V or 3.3V I2C, UART, or 1-wire signals over Ethernet and how to increase it?

I know similar questions have been asked before (Maximum cable length for 3.3V UART signals) but I would like to know the answer more specifically for a hobbyist. I've been experimenting connecting ...
1
vote
1answer
104 views

Possible to charge a LiPo battery with a 3.5mm headphone cable but also send/receive data?

If I have a device (Device A) that is plugged into a 120v wall outlet, and is connected to another device (Device B), that has a small LiPo battery, via a 3.5mm headphone cable (consider this a ...
1
vote
1answer
43 views

What should I do to have both the synchronous and asynchronous serial communications?

You know that ATmega32 supports Universal Asynchronous Receiver/Transmitter. with pins : RXD & TXD But it doesn't support Universal synchronous Receiver/Transmitter. with pins : RXD/TXD & ...