All Questions

0
votes
0answers
22 views

Arduino Uno and FastLED WS2812B Glitching

I’m using an Arduino Uno and a fastLed WS2812B. I have the leds set up correctly. Every 2 seconds, the lights pause of about a second and display seemingly random colors. Does anyone know what's ...
0
votes
2answers
33 views

Array is affecting digitalread values

i want to turn on an led with two buttons. If either of the buttons is pressed i want the led to turn on while the button is pressed and stay off if nothing is pressed. i have two sets of code, they ...
0
votes
0answers
12 views

AK4524 with Arduino

I have some AK4524 ADC/DAC chips from an old M-Audio Delta 10/10 sound card in my hand. I would like to use them for precision sensor reading and voltage generating with a arduino nano. My ...
0
votes
0answers
26 views

code for OLED display suddenly crashes arduino Nano

Today i've been playing with my monochrome oled 128x64 adafruit screen. I've got it connected using SPI. Previously today i had no problems att all and i was able to print messages and variables on ...
0
votes
0answers
9 views

Arduino as Modbus RS485 slave using only 2 Digital pins

I want to use RX(0) and TX(1) Pins to make Arduino as an RS485 slave. To do this I am using MAX485 IC (Breakout board) https://datasheets.maximintegrated.com/en/ds/MAX1487-MAX491.pdf The problem here ...
-1
votes
0answers
25 views

I am not able to establish Modbus communication [on hold]

i am trying to establish a connection between arduino and usb(ModScan) using rs 485 My aim is to read the values in a holding Register so that i can use that to publish certain values like ...
0
votes
1answer
24 views

Can I control 4 DC Brushless motors with arduino uno and Adafruit motor shield?

I need to control 4 DC brushless motors. I have no experience with arduino or coding. After some research the cleanest setup seems to be using the Adafruit motor shield, however the motors I'm using ...
0
votes
1answer
28 views

Starter kits? What's the difference between nano? [on hold]

I'm currently looking at https://www.amazon.com/EL-KIT-008-Project-Complete-Ultimate-TUTORIAL/dp/B01EWNUUUA/ref=sr_1_3?ie=UTF8&qid=1547283508&sr=8-3&keywords=elegoo and https://www....
0
votes
0answers
15 views

ESP32 AP send push notifications no internet [on hold]

I have an ESP32 acting as a Access point with multiple devices connected to it. Is there a way of sending notifications of some sort to a mobile phone that is connected to the network? All ...
0
votes
0answers
21 views

WifiNINA WebServer not receiving connections

I use a MKR 1010 (firmware 1.2.1), download WifiNINA library (version 1.3.0) and started to play with it. I can connect to my Wifi network, and WifiNINA library examples such a WifiPing (which ...
0
votes
1answer
30 views

Arduino Obstacle avoiding problem

I'm just a new beginner and I'm doing my first project which is Obstacle avoiding robot!I use L298N motor shield, ultrasonic sensor for my project. My problem is that I try to test my ultrasonic ...
0
votes
1answer
44 views

Can the IDE handle a 32khz main clock?

I read somewhere that having the main clock be 32768Hz messes not only with micros() and millis(), but with some other stuff too. Is this true? Will I have to forgo the Arduino IDE to program for an ...
0
votes
2answers
23 views

Keyboard.h: No such file or directory - Arduino pro micro (leonardo)

I've just bought a new pro-micro and I want to simulate some keyboard inputs with it, the thing is the Arduino IDE (version 2:1.0.5) can't seem to find neither HID.h or Keyboard.h libraries. The steps ...
0
votes
1answer
48 views

Am I able to set up a code where I can have two ways of turning something on?

I am pretty new to Arduino. I've created a code with the help of many YouTube tutorials to control a servo with a button. I decided it has gotten a little un-exciting so I've been trying to add a ...
-1
votes
1answer
31 views

Attempting to read random string from SD card

I was wondering if anyone knew how to read in a random string from a file named "PhraseList.csv" or "PhraseList.xlsx" (whatever is easier)? There is a list of 10k. #include <SD.h> #include <...
1
vote
1answer
23 views

Dynamic allocation/ Pointer to Pointer to update an Array containing parameter [on hold]

topicArray defined as follows: const char* msgTopic = "Home/Messages"; const char* groupTopic = "Home/All"; char* deviceName = deviceTopic; const char* topicArry[2] = {deviceTopic, groupTopic}; But ...
0
votes
1answer
21 views

Calling external function from a class function

I'll try to explain my need: I have a generic library I created, called myIOT.h. This class have a pre-configured MQTT and wifi setup. Inside this library there is a mqtt_callback function, for all ...
0
votes
0answers
37 views

Arduino Leonardo board - not running or appearing a USB on external power

I've got an Leonardo board, it seems to be official, in that it has the Arduino branding and Made In Italy on the bottom. However I cannot get anything to run with external power supply. Everything ...
1
vote
2answers
47 views

Can Arduino Uno R3 board remove chip on the board

First off, got my Elegoo Uno board as Christmas gift, so this is all new to me.  Here is my problem, I built an motor project and the chip has been programmed. Can I remove the chip from the Uno ...
0
votes
0answers
24 views

LCD 16,2 lighting but not displaying anything [on hold]

When I hook up my LCD to the arduino it just lights a blue colour but nothing that is displayed. All connections are made according to the code below, could the problem be in the software or the ...
0
votes
0answers
23 views

what will be the Microcontroller for Data acquisition system with inbuilt ADC of 16 bit resolution and more than 50k sampling frequency [on hold]

I am making a data acquisition system then later I need to transmit that data to the server with GSM Module via MQTT protocol. I want to develop the prototype ASAP. below are the requirements:- A ...
0
votes
1answer
42 views

Did not find fingerprint sensor :( Arduino Mega 2560 Adafruit Fingerprint Sensor

I'm getting the following error when I try to enroll fingerprints using the Arduino Mega 2560 microcontroller along with a Fingerprint Scanner: Did not find fingerprint sensor :( The exact devices ...
-1
votes
0answers
29 views

I need help for my science project (Follow the sun) Why is there a -1 * next to tolerence? [on hold]

int tol = 50; // int tol = analogRead(5)/4; // check if the difference is in the tolerance else change horizontal angle if (-1*tol > dhoriz || dhoriz > tol)
0
votes
0answers
18 views

Programming Arduino to dynamically connect pairs of Gertboard I/O pins together

The "Gertboard" requires several link wires to be connected between Pi GPIO inputs and outputs before different python or 'c' programs are run on the Pi. What "Arduino" code could you suggest I might ...
0
votes
1answer
18 views

How do you remove dependencies from a library?

I'm writing a library for a project i created, but it depends on the Neopixel library from adafruit. I want to remove this dependency and have my library be a stand-alone library. Is there a way to ...
-1
votes
0answers
28 views

For my follow the sun project. What does the * mean? [closed]

#include <Servo.h> // include Servo library // 180 horizontal MAX Servo horizontal; // horizontal servo int servoh = 90; // 90; // stand horizontal servo int servohLimitHigh = 180; int ...
0
votes
0answers
10 views

Having trouble using HM-10 with my arduino

I am using the HM-10 bluetooth module with an Arduino Uno. I am able to connect HM-10 to my phone just fine using the app lightblue. My issue is that I cannot use AT commands and by that I mean ...
0
votes
0answers
44 views

SIMCOM SIM900 AT+QAUDCH=x; returns ERROR

For some reason, some commands return ERROR, like AT+QAUDCH=1 (headset). I tried unplugging the headphones and the mic and it didn't work. code: #include <SoftwareSerial.h> SoftwareSerial ...
0
votes
0answers
29 views

What's the required voltage for ws2815?

I am working on ws2815 led strip with the esp8266 on arduino 1.6.6 fast led library.Using CD40109B level shifter to convert 3.3V of esp output to 12V .It's working fine upto 31 leds according to the ...
0
votes
0answers
45 views

ESP8266 client.connect() generates a memory leak [duplicate]

I have an ESP8266 that has to run 24/7, it sends some data to server every our, everything works fine for about 2-3 days after that it crashes. Sometimes it resets sometimes it freezes. I got to the ...
0
votes
0answers
31 views

Comfort zone environmental sensor [closed]

Humans need a very specific set of environmental conditions for their wellbeing, mainly temperature, humidity and illumination. I would like to create a device that can tell how comfortable a certain ...
0
votes
0answers
20 views

Possibility of installing Node.js and IOTA on “TTGO T-Deer Pro mini LoRaWAN” Arduino [closed]

I found an article here :(Link to the article) entitled "LoraWAN and IOTA: Proof of Concept of storing data in real time in the Tangle" , written by Harm van den Brink (IOTA foundation member). ...
-1
votes
0answers
22 views

Sound sensor connection for Arduino programming [closed]

I am going to make a project by using sound detector. In my project sound sensor provided signal have to connect to Arduino and output from Arduino ATMEGA16U2 is indicator one. When sensor provided ...
0
votes
0answers
32 views

ESP12F module not working as an access point

I have an ESP12F WiFi module and I need it to work in access point mode. I burned the example code to it using Arduino IDE and it worked at first. I could connect to the WiFi provided by it using my ...
0
votes
1answer
24 views

Assign and control Digital pin from String

Here is modified version of Blink example #define D8 13 String p = "D8"; // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin ...
0
votes
0answers
45 views

Serial.read() keeps returning the same value over and over

This code keeps on returning 'S' with the Serial.read(). #include <Servo.h> #define trig 10 #define echo 9 int pinMotorRN=3; int pinMotorRP=4; int pinMotorLN=5; int pinMotorLP=6; long distance; ...
0
votes
1answer
43 views

Lines not pulsed fast enough (?))

Should this code pulse the PB3 and PB4 pins (MOSI and MISO of an Arduino Uno) at 2ms interval ? #include <avr/io.h> int main(void) { // for (byte i = 0; i < 32; i++) // pinMode(i, ...
0
votes
0answers
27 views

Passing functions while creating a library [duplicate]

I'm trying to create a library to bind a major part of common code ( starting Wifi, initiate MQTT, OTA and more ). while using same code in a non library sketch, which works as expected, I find a ...
0
votes
0answers
31 views

Simplest/cheapest way to measure furnace gas usage? [closed]

I have an IBC DC 33-160 boiler that burns propane. The boiler can ramp up or down between 33k and 160k BTUs depending on heating requirements of the house. Because of this ramp up/down I can't simply ...
0
votes
0answers
15 views

Sleepmode for arduino [closed]

i have a project to done which is An arduino should send sensor data via bluetooth to raspberry pi so my quetion is, is it anyway to make the arduino bluetooth into sleepmode? because i want save ...
0
votes
1answer
43 views

Deep Sleep NodeMCU with Door Sensor

I have a very simple code of door sensor (magnetic) which gives results in 1 & 0 format. But I want to run the NodeMCU only when a door is open or close. Rest of time I want to keep it in deep ...
0
votes
0answers
33 views

Uploading my code gets an error : permission denied on Ubuntu 16.04

I have faced this problem for few years ago and I solved it on Ubuntu 14.04 but I don't know why my solution doesn't work right now on Ubuntu 16.04 The Error : avrdude: ser_open(): can't open ...
0
votes
1answer
21 views

Serial.write printing blank values

I've got an Adafruit Bluefruit NRF52 hooked up to the Adafruit BNO055 9-axis orientation sensor, but when I use Serial.write to send the data, serial monitor displays blank values only. The scroll bar ...
0
votes
1answer
32 views

Question on how “f” value is calculated in converting Morse Code to laser audio from this tutorial

I am working on this tutorial, https://www.hackster.io/SURYATEJA/morse-code-communication-using-laser-module-both-ea1b01 and the author created a "Send" and "Receive" code for encoding and decoding ...
0
votes
1answer
37 views

Is connecting a 9V battery to a 3-6V pump and a 5V relay module necessarily? [closed]

I'm making a self watering mini greenhouse with the NodeMCU. When the plants are below a certain value the submersible pump should be pumping water through a tube. Im using a 1 channel relay module of ...
0
votes
0answers
22 views

SD card module not responding [duplicate]

I am trying to read an SD card info by Arduino and an SD card module. But the SD card is not responding. I connected the wires carefully several times but it is not working. I am using this module : ...
0
votes
0answers
28 views

How do I spilt a string of data into four different parts [closed]

The string has seconds, miles away from our point and latitude and longitude, and all we need is the lag and long 4271.645999999997,s,28.00301266666665,mi,28.48737418308778,N,-81.36210510944983,E. we ...
0
votes
1answer
37 views

Voltage sensor Calibration

We had used a voltage sensor unit to measure the voltage of the odroid board using an Arduino Uno. wWhen I uploaded the sketch and got the output, the value which was being displayed was around 4.7 to ...
0
votes
0answers
30 views

How can I control 4 DC brushless motors with an Arduino Uno? [closed]

I need all the motors to simultaneously spin at 80 rpm in the clockwise direction. I am looking for the cleanest set-up, along with the code. I have very limited experience coding or working with ...
0
votes
1answer
55 views

5V 10A 4 channel relay to 2 lights15W light in series in 220V AC supply

I am trying to setup my first relay module with live environment. I have attached the relay module image below. Which I am using to control 4 devices in my switch board as follows: Fan (working ...

15 30 50 per page