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.
23 questions
-1
votes
1
answer
137
views
avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
I'm working on a linux machine with avrdude and avrgcc. NOT using Arduino IDE.
I'm using Arduino Nano 33 SENSE REV2 BLE, trying to upload a sample blink .c program and getting this error.
This is the ...
1
vote
2
answers
1k
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 ...
-1
votes
1
answer
176
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 ...
1
vote
0
answers
717
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 ...
1
vote
0
answers
54
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
...
1
vote
0
answers
674
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. ...
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 ...
1
vote
0
answers
6k
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 ...
3
votes
1
answer
11k
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
/*
* -----------------------------------------------------------------------...
1
vote
0
answers
682
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 ...
1
vote
0
answers
348
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 ...
-1
votes
1
answer
67
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<...
10
votes
3
answers
11k
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
...
2
votes
3
answers
975
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
1
vote
2
answers
7k
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.
0
votes
1
answer
14k
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:
$ ...
1
vote
1
answer
106
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";
...
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 ...
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) {
...
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)\...
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 ...
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()
{
...
55
votes
12
answers
279k
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);
...