Use this tag for questions relating to computer software used for interaction with the Arduino. For example, you could use this tag for questions about programming environments, or you could use it for PC/Arduino communication.
Questions tagged [software]
64 questions
23
votes
2 answers
Reset an Arduino Uno in code
Is it possible to reset an Arduino (i.e., to reboot it) from code (i.e from the sketch itself)? I know that is possible with a special circuit but is there a chance to make it just with code?
Below is my code and the comment //reset is where I want…
kimliv
- 561
- 1
- 4
- 17
15
votes
2 answers
Assembly on the Arduino: IO registers
Question: What registers do I use to access the IO on the Arduino Uno when I am using assembly for programming?
Background: I was interested in practicing my assembly language skills on the Arduino (I thought it would be easier to turn LEDs on/off…
apnorton
- 533
- 1
- 5
- 22
15
votes
5 answers
Programming options other than C++
Can I program my Arduino using any programming language other than C++? If so, which programming languages? What software would I need for compiling and loading my code onto the Arduino?
tstew
- 729
- 1
- 6
- 26
11
votes
3 answers
How to call C functions from Arduino sketch?
I would like to know if there is a way to call functions that are contained within C files using an Arduino sketch?
My C file declares and defines a function. To save putting the messy function definition into my Arduino sketch, I'd like to call…
user_name
- 317
- 1
- 3
- 11
7
votes
1 answer
How to build (concat) a string with big numbers
new to arduino I'm struggling with what sounds like fairly n00b problem...
I've wired up a adafruit GPS-board to my Arduino and it is working as it spits out GPS data to the serial port with Serial.print(GPS.latitude, DEC)
I Now want to concat a…
stUrb
- 351
- 2
- 5
- 10
7
votes
1 answer
How to use RS-232 sheild as software serial port?
I would like to be able to use a USB port at the same time as an RS-232 port with my Arduino Uno board. I unwittingly bought a shield that (I think?) overrides the USB port when it is mounted to the Arduino…
user_name
- 317
- 1
- 3
- 11
6
votes
3 answers
Arduino UNO hangs without visible reason
I'm having trouble with Arduino UNO. I bought a cheap clone (what obviously may be the reason) along with display+keypad shield (site in Polish). For my project I wrote a menu library, which (along with simple demo project) may be downloaded or…
Spook
- 195
- 1
- 8
6
votes
2 answers
Formula / calculation of the function random() / randomSeed()
In which file can I find the calculation that is called with random()? If it is not too much could you also post the content in your answer? I am using an Arduino Uno and its standard IDE.
I found this in the "WMath.cpp" but that is not the final…
kimliv
- 561
- 1
- 4
- 17
3
votes
1 answer
Connecting 3x 0.91Oleds (Using a TCA9548A 8-channel multiplex) and 1 1.51 Inch Transperant SPI OLED
As the title suggests, I have an Arduino Nano connected to a multiplex (which is connected to 3x 0.91 OLEDs) and an 1.51 inch OLED connected through an SPI.
The problem is that they just refuse to work simultaneously - both work, I've tested them…
anton koluh
- 31
- 2
2
votes
3 answers
Make a PC graphical interface for Arduino - Any easy software?
What's the best/easiest software to make a PC-Arduino interface? Ideally, I need to create a .exe that shows up a simple graphic interface, where the user can display data acquired from sensors connected to the Arduino (eg. Voltage, current etc.)…
Andy
- 103
- 2
- 2
- 7
2
votes
1 answer
Adafruit Feather 32u4 BLE compatible with Software SPI?
Let me preface by saying that I am not super experienced with electronics. I have an Adafruit Feather 32u4 that is using Hardware SPI to communicate over Bluetooth. Unfortunately, I'm also hoping to use the SD library, which also uses Hardware SPI.…
Kenzie
- 21
- 1
2
votes
1 answer
Printing transmission data from nRF24L01+
I have a beginner's problem. I have 2 nRF24L01+ devices. They are communicating with each other great, and I can talk with the nRF via SPI.
The problem is I want to display, on the serial monitor, the number of retransmitted packets (ARC_CNT) and…
Mr Chips
- 21
- 2
2
votes
1 answer
Can I run arduino on Windows Embedded Compact 2013?
I'm actually working on a robotic project for which I'm planning to use arduino to drive the wheels.For this, I want to send signals from my Onboard embedded computer (which has Windows Embedded Compact 2013 OS) to arduino. Is this possible? If not…
Andrew Flemming
- 121
- 1
2
votes
2 answers
Is it possible to use Serial window for debug statements while using the hardware serial port for GPS module?
I am using the hardware serial ports of Atmega 328 to connect to a GPS module . A GSM SIM900 module is connected via Software serial . Is it possible to print the debug statements in the Serial window while the GPS module is connected to the…
Vj1989
- 23
- 2
2
votes
1 answer
Arduino Robot won't move
I am building a robot for a school project. I use an Arduino Uno, 2 dc motor's and an Ultra Sonic range measurement module. I want the robot to be autonomous, he has to be able to move around on his own using the Ultra Sonic sensor. Important to…
Daniël Verloop
- 21
- 2