Questions tagged [software]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 views

Is it possible to transmit radio signal with cheap 433Mhz transmitter as strings and receive it with an RTL-SDR

I have these Arduino transmitters and receivers. They are very common. I am just trying to transmit a "Hello" Message using this code. #include <RH_ASK.h> #ifdef RH_HAVE_HARDWARE_SPI #include &...
0
votes
1answer
47 views

Software I2C - sending data

I'm trying to read a voltage in from a power supply to an Arduino Micro, then send it to an oscilloscope through an I2C (MCP4725). I would use the default pins on the Micro but I want to wire three ...
0
votes
2answers
50 views

How to upgrade ESP8266 NodeMCU SDK from V2.5.2 to V3?

ESP.getFullVersion() output: SDK:2.2.1(cfd48f3)/Core:2.5.2=20502000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1-7-g82abda3/BearSSL:a143020Connecting to DO_231455 I upload sketches from the Arduino IDE. How ...
0
votes
1answer
47 views

Changing the light state

Can someone give me a solution to the following problem? I have 1 IR remote, blynk app,some pushButtons and also 1 relay module. (I set 1 pin of ATMega as input to be able to read what esp sends when ...
0
votes
2answers
89 views

How to automatically reset the NRF24L01 module

For my home-automation project I'm using several arduino nano's with each a NRF24L01+ module. Each module is able to both receive and transmit with one another. Everything seemed to be flawless for a ...
0
votes
1answer
71 views

Tinkercad but offline?

I have some issues with network and would like to work with arduino everywhere. I use Tinkercad which is great, but I would like to installit to my laptop and work without using WiFi. I couldn't find ...
0
votes
1answer
47 views

Motor isnt spinning when using L298N motor controller

I have a L298 motor controller connected to a motor with a 6 volt power sources. the motor however isn't spinning any ideas I'm using a esp 8266 node mcu board. I would like to use pwm but for right ...
2
votes
1answer
48 views

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 ...
0
votes
2answers
53 views

Can't you easily use “quadrature” incremental rotary encoders at 2X or 4X their number of “stops”?

I bought a 12-step "quadrature" incremental rotary encoder as an input device for a project I'm working on. When I wrote the code to track "ticks" of rotation, I made it respond to any change in the ...
-2
votes
1answer
239 views

GPRS Based OTA to the NODEMCU [closed]

I need the OTA firmware update. I have the only option in my hand GSM(GPRS SIM800), with the help of this is it possible OTA, plz help me for this how I Do OTA via GPRS, FYI, I completed OTA Via WIFI.
0
votes
1answer
35 views

Connecting Arduino and Processing, how do I know what COM to read?

I'm using Processing to read data from the serial port that the Arduino sends. When I go to device manager it shows that the Arduino is in COM 4, but in order for Processing to read from the Arduino ...
-1
votes
1answer
574 views

Pulse counter to measure flow-rate: 0 Pulse issues

I am using a Netafim M-Series flow meter interfaced with a UC-32 Arduino. The goal of this is to create a pulse counter than in turn will allow us to determine flow rate in the meter. (1 US gallon per ...
2
votes
1answer
412 views

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, ...
0
votes
0answers
136 views

Configuring Timers to Add One More 50kHz Square Wave

I am generating two 50kHz square waves, but I would like to generate three square waves. I have problems with generating the third square wave. Basically, I need to configure the timer bits so that I ...
0
votes
0answers
352 views

Arduino Square Wave Phase Shift by 270 degrees

I am using this code to generate a square wave with Arduino and shift it by 90 and 180 degrees. However, this code is not able to shift it to 270 degrees. Could you please suggest how may I modify the ...
0
votes
1answer
33 views

Coding Arduino's samples/period and cycles/sample configurations for input signal [closed]

Am I able to code the Arduino so that I can change cycles/sample of an input waveform and a number of samples/period configurations? I would like to modify these parameters in order to be able to ...
0
votes
0answers
38 views

Can the “Arduino Create” chrome extension be used to program an arduino nano clone?

I was wondering if the Arduino Create app for the chrome browser can be used to program an atmega328 based arduino nano clone.(I need that app so that the arduino can be programmed using a chromebook)....
1
vote
2answers
2k views

Structure Array Initialization

I'm trying to initialize a char array which is part of a structure as follows: #define TRUE 1 #define FALSE 0 struct s_field_def { // structure for managing display field char f_txt[16]; // option ...
0
votes
1answer
55 views

Arduino Uno and Arduino Yun software. Which version of the IDE works with both best?

I have been working with Unos and just started working with Yun. I have 1.86 currently installed but the Yun starts up saying to use 1.5.6-r2 Beta IDE. Should I uninstall 1.8.6 and install 1.5.6-r2? ...
-1
votes
1answer
208 views

Setting a default arduino program in NodeMCU

Just after saying farewell to my old broken D1 mini I could not resist myself and bought a brand new nodemcu in the morning. I tried my previous arduino sketches to board and everything works fine, ...
2
votes
1answer
196 views

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 ...
1
vote
1answer
13k views

Difference between Arduino and elegoo? [closed]

I know that Arduino uno and Elegoo uno use chips from the same manufacturarers, but still I was wondering if there's any difference between them in terms of software or similar. In school a professor ...
4
votes
3answers
4k views

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 ...
0
votes
1answer
777 views

Can't get constant reading with load cells

I'm really a newcomer to arduino and I'm trying to build a scale with four SEN-10245 load cells and a HX711. My issue is that I can't get constant readings in the serial monitor and I'm not sure if my ...
-3
votes
1answer
91 views

Writing your own Arduino flashing tool [closed]

I want to make Arduino flashing tool only for a nano, a simple flashing application which could run on windows taking input as a .hex file. I know how to do this in Linux environment using Makefiles ...
2
votes
2answers
90 views

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 ...
0
votes
2answers
274 views

analogRead over a certain time

I would like to read an analog value using analogRead, save this value and compare it to an analogRead value 5 ms later. How would this code look? Because giving a variable the value of analogRead(A0);...
1
vote
1answer
49 views

Dynamically switching pin out

I have a connector with 10 pins, and a bus which uses 2 of the 10 pins. What I need to do is, in software, attach my arduino to 2 of the 10 pins. I cannot wire it directly as the 2 pins required may ...
1
vote
2answers
294 views

Attiny85 Timer 1 comparator B doesn't work properly (while A does)

I'm writing a simple program that is using Timer 1 comparator B to generate a square wave on DEBUG_PIN. So my code at first turns on timer 1 with prescaler 8192 so that one tick is approximately 1ms....
1
vote
2answers
653 views

WeMOS creating soft access point from old code even when new code doesn't have it

In the past I uploaded the code below: #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <DHT.h> #define DHTTYPE DHT22 // DHT 11 #...
0
votes
2answers
266 views

Complex Arduino programs

Im working on a RGB LED matrix project (10 x 10 Neopixels) and I'm using classes to handle the different hardware components. Whats the best way to deal with multiple files in the project eg, I have a ...
1
vote
1answer
408 views

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 ...
1
vote
3answers
222 views

What GUI software/platform can I use to control my Arduino MP3 player over the serial port? [closed]

How would I make a GUI program on a different platform to control my Arduino MP3 player using the Arduino's serial port. I would like the GUI program to show images like this for 'start': ...and ...
1
vote
1answer
3k views

Use an Arduino to “intercept” transparently serial communication to Grbl?

I need to have an Arduino "spying" on communications between the PC and another Arduino with GRBL. The goal is to intercept a couple of GCode commands and act on them instead of Grbl. My first step ...
1
vote
5answers
2k views

Is there a way of turning a computer into a Arduino type board? [closed]

The Arduino's processing power is not sufficient for some of the tasks I would like it to perform... I'm thinking of making a Home Automation System and would like some serious processing power at ...
1
vote
3answers
3k views

Problem with Software Serial: no response

I am using an Arduino Uno board with IDE 1.6.7. I have tried to implement a tweaked version of the basic example (SoftwareSerial example) from the Software Serial library. The code is attached. It ...
1
vote
1answer
302 views

Possibility of installing custom firmware from Arduino Uno R3? [closed]

I've been messing around with installing keyboard firmware onto my Arduino UNO R3 (I used this tutorial) and had an interesting idea: would it be possible to have this install custom firmware, ...
1
vote
2answers
761 views

Record a duration of time as data

I have very little experience with the Arduino and am hoping that you may provide me with some helpful info. I would like to build a device that records time spent on a project. I envision the main ...
2
votes
4answers
1k views

Take an Arduino or Teensy prototype to Mass production - Loading software onto microcontroller

I am developing an educational product that I would like to mass produce. I am not sure of the quantity yet, but I imagine we will make a few hundred PCBs at least to begin I spoke with an electrical ...
0
votes
1answer
2k views

Use ESP8266 as WiFi client connected to Arduino Pro Mini

So i'm trying to use the PubSubClient Library on my arduino mini pro, but I'm connecting to the internet via wifi using an ESP8266. Using a mini means I have to use software serial to connect to the ...
2
votes
1answer
1k views

Updating the ARDuino code over GPRS

I've been searching a little for self-updating the ARDuino, and most i've come about is updating it using a wifi / lan shield. Now I have a GPRS shield that can connect it to the internet. Say that I ...
0
votes
2answers
494 views

Can't get software serial to work

So I have two Arduinos (Arduino Nano) and I'm trying to get them to communicate via SoftwareSerial. I have the 'sending' Arduino's D10 pin connected to the 'recieving' Arduino's D11 pin, and vice ...
0
votes
1answer
954 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
214 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 = (...
2
votes
3answers
38k 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
87 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
302 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 ...
4
votes
2answers
878 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 ...
18
votes
1answer
51k views

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 ...
8
votes
3answers
12k 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 ...