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
1
vote
1answer
30 views

Simple ModBus Master function 15

I have a simple setup with arduino Nano as slave and a arduino Mega as master Can anyone explain how the function 15 FORCE_MULTIPLE_COILS Works i have been running some test on this and cant figure ...
0
votes
1answer
35 views

Boolean Logic With Chars For Motor Input Selection

Context of the code: I am trying to control 2 DC motors through an H-gate, this means there are 4 inputs in total: For DC motor 1: Input 1 (VCC) and Input 2 (GND). For DC motor 2: Input 3(VCC) and ...
0
votes
2answers
76 views

Hardware/software serial for HC-05

can anyone please tell me the whole difference between hardware and software serial for the HC-05. I read UART,USB cable, serial and I was like really confused so what is the difference and advantages ...
0
votes
0answers
52 views

Need debug Software that can be used with Arduino IDE

Background: I have made a standalone Arduino board using Atmega328PB. I have written code for a clock which lights LEDs based on the time. After a day or so it locks up. Sometimes it reboots. I ...
0
votes
1answer
49 views

Can someone help me decipher the code for the arduino? I am totally lost

The code is as follows: void loop(){ light = analogRead(5); Serial.println(light); analogWrite(3,light/4); }
1
vote
1answer
92 views

Random characters transmitted from ESP8266 to Arduino

Below is the code for getting a value from Firebase and sending the received data to arduino for performing necessary action. The code here here sends a string "o" to arduino once //uploaded to ...
0
votes
0answers
25 views

Arduino not starting after 1.8.10 update

First off sorry if this is the wrong place. Yesterday I updated the Arduino IDE to 1.8.10 and I was able to program a couple of hours. Powering up my laptop today though the IDE is active, I can't ...
0
votes
2answers
45 views

How do software interfaces compare to hardware interfaces in therms of speed and reliability?

The Arduino core includes numerous software interfaces mimicking the hardware interfaces provided by the chip and even extending beyond. My question is, if in a project I can either use software or ...
0
votes
0answers
25 views

Having problems with Lilypad [duplicate]

So I recently bought a Lilypad and a Prolific PL-2303HX which I only discovered when connecting it to the computer has phased out since 2012. I found a video online which shows the solution was to ...
0
votes
2answers
89 views

“expected primary-expression before '.' token” in debug code

I'm making some code for school, and is adding debug code to it. When compiling, I get the error as written in the title. This is the code in question: #define DEBUG 1 #ifdef DEBUG #define Serial....
0
votes
0answers
57 views

Effective Controlling of Continous Servo Motor

I have difficulty in controlling a MG995 continuous motor. For I know I can control the speed of the motor as writing servo1.write(p) , where the value of p changes the speed of the motor. When the ...
0
votes
1answer
214 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
486 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
700 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 ...
-1
votes
1answer
56 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
688 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 ...
1
vote
1answer
367 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
235 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
190 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
111 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
531 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
38 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
1k 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
979 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, ...
1
vote
0answers
352 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 ...
1
vote
0answers
532 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
63 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
45 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
3k 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
60 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
266 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
276 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
14k 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
6k 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 ...
1
vote
1answer
1k 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
134 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
128 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
435 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
50 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 ...
0
votes
2answers
410 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
907 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
435 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
616 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
2answers
324 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
5k 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
3k 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
6k 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
358 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, ...
2
votes
2answers
1k 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 ...