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
18 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
14 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 ...
0
votes
2answers
38 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
8 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
29 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
votes
0answers
29 views

How does on board serial communication work (IIC or SPI)? [closed]

How would an embedded control device (say a pump control) that has on-board sensors for monitoring operating conditions typically be set up? My questions in particular are (assuming that the sensors ...
1
vote
0answers
64 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
50 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
34 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
23 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
46 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
71 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
62 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
73 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
133 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
37 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
54 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
99 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
50 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
47 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
103 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
61 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
310 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
87 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
106 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
61 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
105 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
47 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
111 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
71 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
135 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
43 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
70 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
86 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
356 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
89 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
52 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
106 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
73 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
38 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
56 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
42 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
49 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 ...
-1
votes
1answer
104 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
87 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
95 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
107 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
71 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 ...