Questions tagged [terminal]

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software.

Filter by
Sorted by
Tagged with
1 vote
2 answers
450 views

Communicating via Serial Monitor but not able to get comms via Terminal outside of Arduino IDE

I am using Arduino Nano 33 BLE. I am able to communicate via Serial Monitor within Arduino IDE, but not able to communicate via Terminal, outside of Arduino IDE. I am using Teraterm, do I need to do ...
Oscar's user avatar
  • 21
-1 votes
1 answer
110 views

Arduino Serial to USB=>serial data issue

I am using Mega 2560 to receive serial data from another device but the data appears on the serial terminal are strange characters. then i connected my USB to serial cable (HL-340) to the device and ...
m sk's user avatar
  • 3
1 vote
0 answers
508 views

Resuming Serial Connection after sleep on Arduino M0

For debugging purposes I want my serial connection to resume after sleep. After running LowPower.sleep() from the <ArduinoLowPower.h> library, I don't get any new serial messages in the serial ...
rfii's user avatar
  • 170
1 vote
0 answers
53 views

Arduino wait for incomming data from blynk terminal [duplicate]

I need to add wait command in code where it waits the next input value from blynk terminal to arduino? How can I do that? please help, I will appreciate your help, Thank you. Here is my code ...
Time Gold's user avatar
  • 103
1 vote
0 answers
612 views

Read from Blynk terminal number to arduino

I have a problem in sending numbers from blynk terminal to arduino serial monitor. When I send any number from blynk terminal the arduino always getting 1. How can I get any number please help me. ...
Time Gold's user avatar
  • 103
1 vote
2 answers
2k views

Baudrate is set to 9600 automatically even if specifying a different value

You initialize the serial communication via USB with Serial.begin(baudrate); where baudrate is a long specifying the number of symbols you want to send over the connection per second. You can put ...
LukasFun's user avatar
  • 295
1 vote
0 answers
4k views

Using CoolTerm to receive Serial Data into a saveable file

Have functional code that reads data from sensors. Found that I need to use a terminal program to grab the data from the serial output using CoolTerm by Roger Meier. Wasn't able to test it with my ...
ThermoRestart's user avatar
3 votes
1 answer
10k views

Emulating a generic Mifare USB peripheral device with RFID-RC522

Hardware Dev Board: Arduino Nano V3.0 Module: RFID-RC522 13.56 MHz Cable: USB A - USB Mini B Configuration Physical Code /* * -------------------------------------------------------------------...
voices's user avatar
  • 131
1 vote
0 answers
624 views

Arduino Pro Mini ATmega 328P: garbage output on serial console

Arduino Pro Mini ATmega 328P 3.3V 8MHz, connected to USB port via USB to Serial breakout board built around the FT232RL FTDI chip. JTAGenum project code uploaded to the Arduino. I opened terminal and ...
minto's user avatar
  • 221
1 vote
0 answers
309 views

Different data showing in arduino serial and hyperterminal

I've connected to RS232 device with arduino. When showing data in arduino its showing as: 235 157 191 157 159 153 157 0 While in Hyperterminal it's showing as: 101 102 103 104 How to get the same ...
Rahul Rastogi's user avatar
-1 votes
1 answer
51 views

if condition does not work

I'm trying to connect two Arduinos according to the example in Example I added a bit of debug prints so the code looks like: #include <Wire.h> // Include the required Wire library for I2C<...
Michel Keijzers's user avatar
10 votes
3 answers
10k views

Upload code on Arduino Leonardo using command line

I'm trying to upload a compiled .hex file on an Arduino Leonardo, using the terminal. Uploading a sample code using the Arduino IDE works well, and from the Arduino IDE I got the upload command ...
Alex's user avatar
  • 315
1 vote
2 answers
807 views

Use terminal command to verify software

I've seen that it is possible to use terminal command to verify software instead of using the IDE. Something like arduino --verify lab.ino. Is there a way to do so on Mac OS? Thank you
DiCaprio's user avatar
  • 121
0 votes
2 answers
6k views

Running Arduino IDE in terminal?

Is there any way to use Arduino in the terminal? I have a USB 802.15.4 board that works with Arduino, but I don't want to use the IDE with it, I want to use the terminal.
Sandi's user avatar
  • 109
0 votes
1 answer
13k views

How do I give the ENTER keypress?

I have a Teensy set up as a keyboard, joystick, and I'm giving keyboard commands. Letter and number keys are going fine. But when I try sending ENTER, I get some extra code in my Linux terminal: $ ...
j0h's user avatar
  • 892
1 vote
1 answer
69 views

Why does this method return an unprintable character, how do I convert it to display correctly?

Page 14 says that the method should return the value 'h17' typedef struct { uint8_t data; uint8_t timestamp; unsigned char crc; } tData; int main(void) { unsigned char* tempData = "snap"; ...
Womble's user avatar
  • 189
5 votes
3 answers
5k views

esp8266 garbage out only when using SoftwareSerial

I'm trying to operate the esp8266. When I connect RX+TX pins to pins 1+2 on the Arduino, everything works fine. but when I'm trying to use software serial all hell breaks loose and the recieved data ...
Mercury's user avatar
  • 101
1 vote
2 answers
7k views

Sending data from txt file over serial connection

I'm trying to send data saved on a txt file to arduino over serial connection. I wrote this simple sketch void setup(){ Serial.begin(9600); } void loop(){ while (Serial.available() > 0) { ...
wizofwor's user avatar
  • 298
1 vote
1 answer
3k views

How to upload an arduino sketch from java / processing?

I'm trying to upload a hex file from Java/Processing but running into some issues. Here is my code so far, based on the Arduino IDE's upload verbose output: void setup(){ //C:\Program Files (x86)\...
George Profenza's user avatar
2 votes
0 answers
2k views

Arduino Yun Serial Terminal Overflow Issues?

EDIT: after reading up on some stuff and with the help of the comments people left, I'm certain that it's an overflow issue, but I'm not sure how to solve that... So I just got an Arduino Yun today ...
cnsumner's user avatar
  • 193
2 votes
1 answer
2k views

Serial.write() prints a variable twice

I have this code: #include <TinyGPS++.h> #include <SoftwareSerial.h> #define GPS_RX_PIN 2 #define GPS_TX_PIN 3 TinyGPSPlus gps; SoftwareSerial ss(GPS_RX_PIN, GPS_TX_PIN); void setup() {...
user1584421's user avatar
  • 1,395
55 votes
12 answers
272k views

How do I print multiple variables in a string?

Say I have some variables that I want to print out to the terminal, what's the easiest way to print them in a string? Currently I do something like this: Serial.print("Var 1:");Serial.println(var1); ...
sachleen's user avatar
  • 7,525