Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [uart]

A UART is a Universal Asynchronous Receiver/Transmitter. This refers to the "hardware" serial port in the processor. Use this tag for questions about hardware serial.

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
111 views

Can't connect to my ESP32 board via serial

I'm completely new to electronics work. Today I've received the ESP32 board that I ordered. (It's a WROOM-32.) I followed the instructions here. I connected the board to my computer via USB and I ...
2
votes
0answers
8k views

UART from Arduino to NodeMCU

I'm trying to connect an Arduino nano to a NodeMCU 1.0 via the hardware UART, in order to send information one way from the Arduino to the NodeMCU (and from there to the network). I'm connecting the ...
1
vote
1answer
63 views

Wait between UART frames

I have to reproduce a signal (of 6 UART frames) which have 950 µs delay between each of the frames. Than, a delay of 37ms at the end of those frames. Everything going right except the delay between ...
1
vote
0answers
304 views

ATMega328 to Arduino Mega Serial Communication

I'm working with an ATMEGA328 chip on a breadboard. I'm using the Arduino library for easy coding within Atmel Studio (and an ISP MKii for programming). I have no way to easily debug my code, so I ...
1
vote
0answers
175 views

Garbage when listening to serial

This is the atmega328p code that is supposed to send a predefined message repeatedly. #include <avr/io.h> #include <util/delay.h> #define BAUD 9600 #define BAUD_PRESCALLER (((F_CPU / (...
1
vote
0answers
138 views

Cannot connect device with nRF8001 Bluetooth LE to Windows 10 PC

I've built a device using an IMUduino board, which is supposed to be similar to Arduino Leonardo board with a nRF8001 bluetooth. I was able to connect my device to an Android phone using the nRF UART ...
1
vote
0answers
822 views

ESP8266 pin multiplexing possible?

I am trying to use Adafruit's ESP8266 implementation for a project of mine, which makes use of a bunch of sensors. The problem I have is the limited amount of pins available from ESP8266: 2 pins are ...
1
vote
0answers
92 views

SRF-02 UART, transmitting from one address to another

So I just starting playing around with UART and SoftwareSerial while playing with these SRF-02 Sensors - http://www.robot-electronics.co.uk/htm/srf02techSer.htm I need help getting one to read to the ...
1
vote
0answers
956 views

Serial communication between Computer & Arduino via XBee

I configured two XBees using XCTU, connected them to the computer and sent Bytes back and forth. Works. This is the current, non-working setup: 1 XBee, connected to the Computer using a SparkFun ...
1
vote
0answers
238 views

CH340: right endpoint?

I'm working on implementing CH340 drivers used by cheap Arduino clones on Android (Linux). What endpoints should be used as read endpoint since two endpoints have IN flag - 0x81 and 0x82? http://...
1
vote
0answers
40 views

Graphic fail when rebooting the micro controller and OLED! (NOT when uploading the code??!!)

Im using Spark fun´s Pro micro: https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/hardware-overview-pro-micro And Digole OLED 1.8" hooked up with UART: http://www.digole.com/index....
1
vote
0answers
328 views

Can't get my code to my OLED

I´m using Spark Fun Micro Pro board 5V: https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/hardware-overview-pro-micro and to that i´ve hooked a true color OLED from digole: http://...
1
vote
0answers
46 views

One FTDI on Three Atmega

I'm doing a schematic for an arduino project-based and I can not proceed. I'm facing a problem which I have no idea how can I solve it so that's the reason I'm writing back to you. The thing is: I ...
1
vote
0answers
4k views

How can I be engaging the arduino mega with OBD-II UART card?

Currently I have been doing a project where I need to know the speed of the vehicle, I have implemented the following code but the results have not been good because when the vehicle is in motion ...
1
vote
0answers
867 views

Using Arduino RS232 to a modem (only RS232)

I am a newbie to the arduino world. And am trying to work out a configuration that does not involve USB. I wonder if this configuration will work. Are there any 3g modems that work on Rs232 ...
0
votes
0answers
45 views

Monitor serial0 while code is being uploaded

I'm trying to upload the sketch on a Mega 2560 via the serial port 0 using another microcontroller. To better undestand the process, I decided to first observe what avrdude is doing while it is ...
0
votes
0answers
22 views

Arduino Nano and neoSWserial library

So I've been playing with neoSWserial library on Arduino Nano. I've been using the example interrupt code: #include <NeoSWSerial.h> NeoSWSerial ss( 4, 3 ); volatile uint32_t newlines = 0UL; ...
0
votes
0answers
17 views

Can I use an UART RS485 board with DMX simple library?

I want to use DMX512, and found a library DmxSimple, which uses a single (non UART) GPIO pin as output (see DmxSimple.wiki. I currently use a TTL RS485 board, which does not have any TVS/polyfused ...
0
votes
0answers
40 views

MEGA2560 only starts program after pressing RESET button multiple times

I am working on a program where I am controlling an MP3 player by using UART between my MEGA2560 and the MP3 player. The MEGA2560 sends serial commands to the MP3 player when external interrupts are ...
0
votes
0answers
73 views

how to name master and slave with UART and Serial event

I am trying to implement some small program using below code, now this code works fine and I'm getting data to the slave. But I have more than one slave, so now I'm not sure how to send the Address of ...
0
votes
0answers
43 views

Reading incoming/outgoing bytes from SIM card / ATR

I am trying to read data from a two-way I/O uart pin of a sim card on Arduino. It is attached to the GPRS Arduino shield (with SIM900 modem). I believe I have a baud rate issue. I am supposed to ...
0
votes
0answers
376 views

Using 2 serial ports on NodeMCU

I am using a NodeMCU ESP 12E board which will be programmed using the Arduino IDE. I intend to use it to send GPS data to the Blynk app server. I also want to interface a Bluetooth module HC-05 to the ...
0
votes
1answer
73 views

Sending data to UART using Atmel Studio with Attiny84

I want to send data to TFDI. It can be hello world or any value of variable. But I can't do. I haven't found example code on the internet. Some examples doesn't work. I am using Atmel Studio.
0
votes
1answer
1k views

How to import data from SDcard on Arduino to the computer using Arduino serial/COM port?

I have Arduino UNO with Adaruit wifi shield. I store some data on the sd card successfully and now I need to import that data on to the computer. I am sending some token, say "1", to the UART port of ...
0
votes
0answers
1k views

Arduino Due and BNO055

For a physical activity monitoring project, I am developing a prototype based on an Arduino Due and several IMUs (BNO055 from Bosch). I have to collect the data from the sensors simultaneously (3 for ...
0
votes
1answer
518 views

Can't get call / message from A7 gsm+gprs+gps module

I am making a project using arduino uno & A7 gsm+gps+gprs module.my circuit connection is like this: A7 UTXD -> arduino RX A7 RTXD -> arduino TX A7 GND -> arduino GND A7 pwr_key -> A7 ...
-1
votes
1answer
384 views

Arduino communication with ROS via UART

I am trying to program an Arduino Mega(Crius) from a Minnowboard Max A2 via an UART (Hardware Flow Control Off) interface. I can successfully communicate with the ROS (robot Operating System) on the ...
-1
votes
3answers
3k views

Arduino's Serial Monitor Showing Constant Value

I have a breadboard Arduino; made with ATMega328PU and a UART connector using a CT2102 breakout board. With the help of this site I created a simple IR sensor, now the problem is that in the Serial ...
-2
votes
1answer
1k views

Arduino UART (TX/RX) multidrop 1 master 50 slaves

I'm thinking to connect about 50 slave Arduinos on 1 master using TX/RX. I'm following recommendation of these links: I'm looking for a way to serially communicate with a multi mesh Arduino slave ...
-2
votes
1answer
41 views

Code is supposed To extract data between * ie *989*= 0989*; Runs only once then doesn't please help

void loop() { char *stptr=&string[0]; if(Serial.available() > 0) { data = Serial.read(); if(data=='*') { ib=1;jb=0; ...