Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [serial]

Serial communication is the standard USB connection between the Arduino and a computer with a standard USB A to B cable or through the TX/RX pins using a USB to serial converter. It can also refer to the serial library.

3
votes
0answers
443 views

Connecting Mac to Adafruit Feather 32u4 Bluefruit LE over serial

The Adafruit board connects fine over USB serial, and fine over Bluetooth to a mobile app, but it will not connect to a Mac serial monitor over Bluetooth. Is there any way to use the Adafruit's ...
3
votes
0answers
4k views

Using SD card shield on Arduino Due

I have a Seeed Studio SD card shield (V3) that I am trying to use on my Arduino Due. I am having trouble using the SD examples that come with the Arduino IDE. They worked fine on my Arduino Uno by ...
2
votes
0answers
258 views

Arduino IDE programs Leonardo but cannot open serial terminal

I'm using Arduino: 1.6.7 (Mac OS X 10.11.3), Board: "Arduino Leonardo". When I try to program my code, it works without problems. When I want to open the built-in Serial Monitor or Serial Plotter, ...
2
votes
0answers
1k views

Interfacing SD card with arduino without shield

I am trying to connect SD card with arduino without using a shield. To convert to 3.3v, I have used voltage divider circuit as described in these two sites: http://garagelab.com/profiles/blogs/...
2
votes
0answers
760 views

Hiduino as a Serial-USB midi coverter

I have an Arduino Mega2560 configured to Hiduino, which makes the Arduino a driverless class-compliant MIDI interface. I am currently converting RS232 serial I/O data to midi data using the 'hairless ...
2
votes
0answers
969 views

Controlling Dynamixel MX24T, MX64T servo wirelessly using Arduino Mega?

I am planning to control multiple Dynamixel servos (MX28T or MX-64T) wirelessly using an Arduino Mega. Since this servo uses serial communication, I need an additional serial port to interface with ...
2
votes
0answers
2k views

Reading three signals sent serially on Simulink from Arduino

I am sending three signals from one arduino mega to another using xbees. On the receiving end I am using these signals in a Simulink code to control servo motors. Currently it is set up to read from ...
1
vote
0answers
46 views

Connecting Audio Jack to Arduino

So I started working on a project of mine that is mostly software based which I have no problems with, but it includes electronics too. Where I am still learning a lot. Anyways, I have been trying to ...
1
vote
0answers
627 views

Reading +IPD response from serial.read() using Arduino UNO and ESP8266

I have a python server running on my PC and I am using an Arduino Uno (wifi enabled by a ESP8266 chip) as the client. I can make the the server and client communicate using AT commands as shown below: ...
1
vote
0answers
192 views

Adafruit Huzzah Feather not resetting and serial monitor garbage

Hi there, I have an Adafruit Huzzah Feather project laid out as you can see in the diagram above. Currently I am having trouble getting it to reliably reset and start the sketch. More often than ...
1
vote
0answers
763 views

No ttyACM0 nor ttyUSB0

I checked several related posts but couldn't solve my problem. I have Antergos Linux : # uname -a Linux biutitude 4.14.11-1-ARCH #1 SMP PREEMPT Wed Jan 3 07:02:42 UTC 2018 x86_64 GNU/Linux The ...
1
vote
0answers
229 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
346 views

ATtiny85 and MPU-6050 Gyroscope

I'm doing a project that involves sending MPU-6050 gyroscope data via serial communication to the laptop. Is ATtiny85 micro-controller suitable for this job? Is it powerful enough to do it? I was ...
1
vote
0answers
68 views

Transmitting signal from a Photon Redboard to an Arduino Uno

I am doing a basic electronics course revolving around the Internet of Things*, and we have to make a final project to present what we have learnt. * Hear me out - I don't think this belongs on IoT SE,...
1
vote
0answers
62 views

Can't activate Seeeduino port

I want to use Seeeduino, but I can't activate port connection for it. To use Seeduino I installed Seeeduino from Board Manager in Arduino Studio. And then installed USB Serial Driver from this ...
1
vote
0answers
133 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
315 views

PS2 Keyboard and sending keystrokes between a Leonardo and several pro micros

I am working on a project where I am taking the the key presses from a PS/2 keyboard and passing them to several pro micro boards so I can type the same commands on multiple computers at the same time....
1
vote
0answers
613 views

Cant open serial monitor on linux

I have a pro micro and I'm running the IDE on linux. The IDE easily recognises that my board is on /dev/ttyACM0 so i can flash programs on to it. I am testing the following code void setup() { ...
1
vote
0answers
327 views

Serial Monitor Stops Working

I am using a DIY colour sensor (RGB LED and LDR) and a servo to make a skittles sorter. I am testing out just the colour detection now and printing the RGB values to serial. It worked fine until I ...
1
vote
0answers
527 views

Make RFID Tag as a variable

I want to make RFID Tag as a variable, and push it to the web server. But I struggle to do the Serial.read function.. Any solutions? Here is my code #include <ESP8266WiFi.h> #include <SPI....
1
vote
0answers
359 views

Send .wav file from SD card to NodeMCU via serial port

I was able to send a text file in the SD card to NodeMCU using the serial port of an Arduino Mega using this code: if (readSerial1 == "Okay I'm ready") { myFile = sdf.open("uid.txt", FILE_READ); ...
1
vote
0answers
207 views

MATLAB and Arduino communication

I have to send from MATLAB to Arduino a char line 'S' to start the arduino program and send back values from a sensor. This is my MATLAB code clear; delete(instrfind); s = serial('/dev/cu....
1
vote
0answers
3k views

Run Servo when detect object on OpenCV Python

I want to connect OpenCV (Python) with arduino Uno when it detects a tennis ball. OpenCV code: import numpy as np import cv2 import serial face_cascade = cv2.CascadeClassifier('tennisballdetect.xml')...
1
vote
0answers
74 views

How can I use delimiter/split serial input in a loop function?

How can I use delimiter/split serial input in a loop function? I want to use each word from the input and check a database, to check availability. #include SoftwareSerial.h> #define ...
1
vote
0answers
345 views

How can I connect a Fona to an Adafruit feather?

I have this adafruit-feather-huzzah-esp8266: https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/pinouts and I want to connect a Fona board. But I am not certain which pins have the ...
1
vote
0answers
393 views

Arduino Serial Communication Issue

I state that I have already written a similar question on StackOverflow thinking that the problem is with my computer software. Anyway, after some shell debugs, I notice that the real issue is on the ...
1
vote
0answers
48 views

Serial Write fails to send when Motors moving

I have an unusual bug with the code I have written for my rover V2 robot. I have a raspberry pi running some computer vision code written in opencv tracking an object doing the heavy processing. ...
1
vote
0answers
408 views

Xbee S2 API Data Packets dropping out

I made a setup which consists of 3 Zigbee's, 2 routers(Zigbee S2C's) and 1 coordinator(Zigbee S2). The routers are each connected to arduino nano which collects data from 2 FSR's and an IMU(frame type:...
1
vote
0answers
187 views

gsm serial get event or read the hole input?

am using an arduino uno with gsm shield, trying to read some sms, my code looks like #include <SoftwareSerial.h> SoftwareSerial SIM900(7, 8); char incoming_char=0; void setup() { Serial....
1
vote
0answers
366 views

I can't receive data from Arduino through Bluetooth

I am developing an app that controls an Arduino robot. For that I need to communicate through Bluetooth. That means sending and receiving data. Why receiving? Because I also have sensors on the robot. ...
1
vote
0answers
171 views

How do I fix the serial loader on my Pro Mini?

I have an Arduino Pro Mini, 3v3, 8Mhz. I have in the past successfully programmed it over the serial line. I have two others, I can program them over the serial line. I can program the first one using ...
1
vote
0answers
287 views

Working on Binary code with arduino

i have a BGM113 bluetooth module that sends messages as binary form. I have to work on each bit separately. i am not sure about Serial.read() gets it as binary but when i am trying to see at on the ...
1
vote
0answers
565 views

Yet another “Mac cannot find USB serial port” post

I have read about every post about people having issues with their Arduinos on Macs. I have a 100% authentic Arduino UNO, that I cannot by any circumstance manage to connect to my late 2009 iMac with ...
1
vote
0answers
44 views

Erratic behavior from 'randomly' generated values in array

Currently working on a data collection algorithm on the Arduino MEGA (ATMega1280) and I've run into a problem with some of the code I've written. I feel my problems may be stemming from the way in ...
1
vote
0answers
46 views

I want to modify setup, to also keep the serial USB port opens so I can send strings via a Raspberry Pi

I am trying to modify the original code from these guys GRA & AFCH, who have made an Arduino Sketch Program that runs a Arduino powered Nixie Clock. Here is the link to their Firmware file:...
1
vote
0answers
37 views

Why is my radio circuit working with other arduinos but not the Pro Minis?

I have some Arduino Pro Minis. I have both the 3.3V/8MHz and 5V/16MHz versions. I'm trying to get them to work with the nRF24L01 RF modules. I've lightly modified some example code from the RF24 ...
1
vote
0answers
2k views

save bytes from Serial into ROM (EEPROM)

i am trying to save an incomming text from serial into the rom of the arduino using EEPROM. I found out that you can only save a byte at once. So i thought i could do it like that: #include <...
1
vote
0answers
27 views

Arduino only accepts one programming update per laptop boot

I am only able to upload the code to my Arduino Uno once, and then I have to restart my laptop to do it again. I am using Ubuntu. What could be causing an issue like this?
1
vote
0answers
372 views

ArduinoDue - Matlab: SerialUSB.write() sends ASCII?

I'm trying to get some binary data from an Arduino Due to Matlab. Basically this is the setup: Due: byte usbMsg[33]= {0}; // filled with dummy as example usbMsg[1] = '00000001';// in[3]; usbMsg[2] ...
1
vote
0answers
463 views

Transforming from analog output to speed and acceleration with gy-61

Maybe it's a simple question but I'm unable to get what I need. My task is this: Get the acceleration and speed of each axis of the accelerometer. I thought of something like: const int VCCPin = ...
1
vote
0answers
191 views

SIM900 module not responding on hardware COM port

I've got my sim900 module working with arduino by using their software serial library, however, I want to eliminate arduino from the equation and have serial communication directly to sim900 module. ...
1
vote
0answers
667 views

Cannot access “tools>Serial port” on Kali Linux

I just got my Arduino UNO delivered and I wanted to see if it's working properly or not. I tried following this page to create a simple program and the program compiled successfully. But when I ...
1
vote
0answers
165 views

How to filter out “jumpy” readings sent using Bluetooth

I'm using App Inventor to continuously send orientation values (as strings) to my Arduino, which are read using Serial.parseInt(). Using simple IF statements (if value > threshold), I'm trying to turn ...
1
vote
0answers
76 views

Arduino receiving values over serial, but not responding

Now this is gonna make me cry. Yesterday night, my python script was working perfectly fine, while sending values over serial comm to my Arduino UNO. I have added the 10 microFarad capacitor between ...
1
vote
0answers
48 views

Arduino clone changing its serial port on slight physical displacement, even during an ongoing serial communication

I'm using an Arduino clone for serial communication. However, as soon as I even touch the board, it resets, and the serial communication stops. When I view the serial port using the 'Tools' menu of ...
1
vote
0answers
298 views

Particle Electron to RS232 Serial gibberish

I've spent all day trying to monitor serial console output of a router. I'm using an "ebay" MAX3232 RS232 to TTL converter connecting only GND, TX and RX to the Electron. Trying to simply monitor the ...
1
vote
0answers
731 views

Modbus Protocol RTU

I have simple code working on Serial Communication asn below. With Same data i would impliment Modbus protocol> I have Used Modbus library for arduino earlier which works fine with 9600 baudrate and ...
1
vote
0answers
64 views

Serial Request error

I am working on arduino Uno board.I am trying to send request Serially from out Side using docklight.I am sending COmmand is request send every 5S to 10S and get response.When i tested this code with ...
1
vote
0answers
1k views

Customize FTDI driver for custom PID and VID

I have changed PID and VID of my FTDI board for arduino program because i wanted to rename the com port name. The ic is FT232R a USB to serial UART interface IC. I have store new vid and pid to ...
1
vote
0answers
492 views

Controlling dynamixel AX12 by Arduino

Actually, i would like to control 12 motors of AX-12 using Arduino .. I could control just 2 motors. However when i send a command to the 12 motors they don't move and one or 2 of them move randomly!...