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.

learn more… | top users | synonyms

0
votes
1answer
36 views

SoftwareSerial Write to return Read in Serial Monitor?

Hoping someone can help me out in my conundrum here... I currently am testing the SoftwareSerial library out to understand how I may use it in my project. I have a wire running from pin 6 to pin 9, ...
0
votes
1answer
64 views

arduino weather shield and wind speed

I have Arduino Mega and Weather Shield. I want to calculate wind speed. float get_wind_speed() { float deltaTime = millis() - lastWindCheck; //750ms deltaTime /= 1000.0; float windSpeed = ...
1
vote
3answers
2k views

Make a PC graphical interface for Arduino - Any easy software? [closed]

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 ...
1
vote
2answers
48 views

What software is available for use with AVRISP and USBASP on ATMega48, 328, 2560?

What software is available for use with AVRISP and USBASP on ATMega328, 2560 for read/write fuse, flash and EEPROM for UNO, Pro Mini and Mega2560 board? (a fact question not opinion) Which software ...
0
votes
2answers
141 views

Measure LiPo / Li-Ion SOC or the ever standing question of how much juice is remaining in my battery?

So I have a project in which an arduino runs on a two cell LiPo battery and I need a fast, straight forward way to determine remaining battery charge (with an accuracy of 10% so I only have a readout ...
3
votes
1answer
209 views

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 ...
10
votes
1answer
10k views

Reset an Arduino UNO by an command (software)

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 ...
5
votes
3answers
2k views

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 ...
5
votes
1answer
5k views

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 ...
5
votes
1answer
1k views

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 ...
10
votes
2answers
124 views

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 ...