All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

How to connect to a circuit without completing it

I'm trying to upgrade the door buzzer/intercom system in my apartment so I can control it with my phone. It's a very simple system, attached is the wiring diagram(it's the 4-wire intercom station, ...
1
vote
0answers
8 views

How do I find the client_ID of a thing in the Arduino IoT cloud?

I have been trying to connect the MIT App Inventor to the Arduino IoT cloud, but I get the following error: The error seems to say that my client_ID is incorrect, so I believe I have got a wrong one. ...
0
votes
0answers
22 views

How to run the class object only once inside void loop? [closed]

I am trying to flash 3 leds at the same time with different flash rates.I created a class and wrote a function to achieve this,but the task is to flash led2 & led3 only once when a push button is ...
0
votes
0answers
16 views

heart rate sensor has no peaks

I got one of those $1 heartrate sensors with the LED, and while I see there are lots of people who make it work, there are also quite a bunch that seem to fail. My situation: I hook it up to 5v and ...
0
votes
1answer
37 views

On-device logging of all Serial.print calls? [closed]

My Arduino program produces debug/error output using methods like Serial.printf. I can see all this output when it's connected to the computer, but I want to also log all this same output to my board'...
-1
votes
0answers
31 views

DC Motor Controller with Arduino Not Working

I'm working on building a drone with an Ardunio Nano, but the DC motors won't work. I tested the motors earlier and they definitely work. I'm following this tutorial: https://www.circuito.io/static/...
0
votes
0answers
8 views

capacitive touch switch problem [migrated]

this is not exactly an Arduino problem but i thought someone on here may be able to help me. i have these Chinese made off the shelf touch switches https://www.fruugo.co.uk/5pcs-xd-613-onoff-touch-...
1
vote
0answers
21 views

Getting location working on SIM800L with TinyGSM?

Hey Arduino enthusiasts :) I have purchased a LilyGo T-Call board. Which has a Esp32 processor and a SIM800L GSM module. For my project i want to send location data over the 2G cellular network. I am ...
1
vote
0answers
30 views

RTClib.h problem

In Library Manager RTClib and DS3231 work somehow with older versions. RTC time can picked only once and then it give bullshit. Using newest versions screen is empty. In picture first time is right, ...
2
votes
1answer
50 views

Reverse engineering an i2c signal

I have an i2c device that i would like to rreverse engineer. Using the oringal master of the device here is a snapshot from the logical analyzer I would like to replace the orginal master of the ...
1
vote
0answers
20 views

ESP8266 How to run MQTT Client and Http Client in one loop

Scenario: Existing project: read soft serial then do http post New project: MQTT player from other (MrDIY / MrDIY Audio Notifier · GitLab) Objective: Combine together (Result: successful ) Issue: When ...
0
votes
1answer
30 views

Adding L293D motor shield to Breadboard

Anyone knows how to attach the l293D motor driver shield on a breadboard? I need to put the shield on top of a breadboard and then use an Atmega328P as the main way of controlling it. Than you :)
0
votes
1answer
41 views

got a compiling error while programming node mcu

i was programming my node mcu i modified the code and got a complination error but when i compiled the original code i got no error modified code #include "arduino_secrets.h" #include "...
-1
votes
0answers
28 views

2D10 temperature sensor [closed]

I just bought two 2D10 temp. sensors, one go them is analog and the other one is digital, I/m trying to connect them with the Arduino to get their readings, I looked for several resources about how to ...
-2
votes
0answers
22 views

Bluetooth HC-05 command delay [closed]

I have an HC-05 Bluetooth module setup with Arduino that controls an LED light through Bluetooth commands. When the HC-05 is connected to a device, the red light on the HC-05 has a cycle of turning on ...
0
votes
0answers
32 views

Arduino uno and arduino Leonardo [closed]

My question is that, if there is a project like for example a fire alarm. But it is using a arduino Leonardo and I am only able to use a arduino uno for my class that I have. Can I use a arduino uno ...
0
votes
1answer
50 views

Does it do damage when I switch a DC motor on and off every milisecond? [closed]

I am using a L293D as a motor driver on an arduino uno. Does it do hardware damage when I switch the DC motor on and off every milisecond? Here's my code: const int ctrlPin = 9; void setup() { ...
-1
votes
0answers
27 views

Undefined reference to 'setup' while compiling [closed]

I have a basic code for an arduino esp8266 wemos board device, and the code will not compile because of an undefined reference to setup. float light; void Setup() { pinMode(A0, INPUT); Serial....
1
vote
1answer
43 views

Peculiar behaviour of arduino pro micro

I am working with an arduino pro micro and I am facing a peculiar problem. The project I am working with includes arduino MKR NB 1500 as well. I am transferring data from MKR NB 1500 to arduino pro ...
0
votes
0answers
40 views

my blynk app and node mcu are not working [closed]

i just got my hands on on my new esp8266/nodemcu. i tried making a simple home automation project but only very dimmed blue led glows and when i on / off the button nothing happens same with the blynk ...
-1
votes
0answers
24 views

Arduino boards are not being detected by arduino ide(Serial port is greyed out) [closed]

I recently brought two Arduino UNO boards and were working perfectly with the previous version of Mnajaro. But there came a small os update after which the Arduino ide itself is not recognizing ...
1
vote
1answer
133 views

How to send multiple data over serial in one byte?

I'm currently reading 3 limit switches and sending those data over Serial.write using the following code. #include <SPI.h> #include <Wire.h> #include <arduino-timer.h> //Define ...
-1
votes
1answer
27 views

How to rectify the MQ135 response using an Arduino Uno

I started a simple project on air-quality monitoring, starting with the simple carbon dioxide (CO2) concentration measurement using the MQ135 sensor powered by an Arduino Uno. I have run a simple code ...
0
votes
0answers
65 views

I can't figure out how to add a countdown to my code

I have been trying for a few days to add a countdown to go from 1 day to 0 on an LCD screen after a few pieces of code. The problem is that it's worked once with somebody elses code seperately but I ...
0
votes
0answers
22 views

TimerOne library stopped working

A while back I downloaded TimerOne and manually installed it in the wrong library along with the other standard libraries. This morning I downloaded an adafruit library the proper way from inside the ...
1
vote
1answer
35 views

Why does Arduino Due appear to halt after single call to ADC_Handler?

In the simple example below I just software trigger an ADC acquisition and then set the builtin LED's digital out in the interrupt handler. I don't know why the program appears to halt however. void ...
1
vote
0answers
26 views

How to change the default SPI pin used in SPI and Ethernet library [duplicate]

Hello i have a custom board of the RP2040 and would like to use the ethernet library. But the ethernet example webClient uses the default SPI pins of whatever board it is being used, but what if im ...
1
vote
2answers
34 views

Serial.write - sedd ascii characters with hex value in the same line

Working on making a controller for a haunted house prop. Trying to get it to interface with a device. Was able to use a serial analyzer to see what commands and values are being sent. the hex codes ...
0
votes
0answers
6 views

Variable resistance controlled by micro controller [migrated]

I wish to remove 2 resistors in power supply unit and put variable resistors that would be controlled by my microcontroller. 1st resistor should be in range of 3000-6000 Ohm 2nd resistor should be in ...
1
vote
0answers
32 views

Control D+ and D- USB lines using an arduino disconnect/connect

I am using Arduino to remotely trigger a shutter action. All is well, until I hook up a USB cable on the 4 regular USB pins. This cable runs between a Sony camera and a printer. But I can not take an ...
2
votes
1answer
88 views

Is there something that I need to do to make the code from this answer compile?

I tried to compile the following code (using Arduino 1.8.16 with an esp8266-12) extern volatile unsigned long timer0_millis; unsigned long new_value = 0; void setup(){ //Setup stuff } void loop(){ ...
1
vote
1answer
37 views

Updating ESP32 firmware from another ESP32 over USB, similar to how esptool.py works

Is there a way to update the firmware on one ESP32 from another ESP32 over USB, similar to how firmware can be updated using esptool.py? This would essentially be like a port of whatever magic esptool....
0
votes
0answers
54 views

why do I keep getting this error message? FIXED

My problem is I keep getting the following message on any sketch I try to upload even a blank one: avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ...
0
votes
0answers
17 views

Receiving "+ERR=1" as a response to "AT" on REYAX RYLR890 module even when I add "\r\n" at end

I've uploaded a blank sketch in Arduino to give AT commands to REYAX RYLR890 module manually. Even when I give AT\r\n as command, still I get +ERR=1 as response which means that there is no Carriage ...
1
vote
1answer
39 views

Arduino Nano I2C OLED display 0.96 inches 128x64 pixels

I have a strange issue while trying to run the hello world code on an arduino nano connected to an OLED display. This is the code I used: #include <Adafruit_SSD1306.h> Adafruit_SSD1306 ...
0
votes
0answers
29 views

How to read array data of ESP32 Preference using index?

I want to reduce memory used when loading data from Preference as I just want to read part of that array specify by index (As EEPROM manner). As example code appear to load entire array at once. That ...
-2
votes
0answers
27 views

How to make a chain data transfer from one microcontroller to another!

I am trying to create a chain data transfer where data is collected from one microcontroller to the next and then it transmits the data of the previous microcontroller which it collected and the its ...
-1
votes
0answers
24 views

How to connect esp32 with SK6812 led? [closed]

I bought 10 meters of sk6812 rgbw led strip (60/meter). Now I would like to buy esp32 and install WLED there. I have the following questions: how to easily connect the led strip and the board? Will ...
1
vote
0answers
24 views

Arduino Nano PID Controller with Potentiometer + IBT-2 Motor Control Board

I have a potentiometer connected to an analog pin A1 and would like to implement PID Control to move a robot arm up and down based on to a given serial command. For this to work I will need PID out ...
1
vote
0answers
26 views

How do I optimize this IRremote code?

I am using a ATTINY85 Digispark board with an IR receiver to light some LEDs in my project. The Digispark has a limitation that does not allow it to use the IRremote.h library. I know that there a ...
1
vote
1answer
38 views

can differential drive work together with ultrasonic sensor?

I've written a sketch to drive a differential drive system, specifically - to be able to drive strait. This does work. So I am trying to add the ability to stop when the path is blocked using US ...
0
votes
0answers
15 views

Want know how to combine the follow arduino sensor codes to make them work together [duplicate]

This are the following code which code for accelerometer, vibration sensor ,ultrasonic sensor ,gsm and gps FOR ACCELEROMETER const int xInput = A0; const int yInput = A1; const int zInput = A2; // ...
0
votes
0answers
44 views

Analog multiplexer - signal amplitude? [closed]

I have an analog signal +/-15V @ ~4mA that I would like to distribute to up to 8 receiving devices. I am looking at analog multiplexers, but I cannot understand what is the range of the signal line. ...
-2
votes
0answers
39 views

Running an XML feed from an Arduino-ish device [closed]

I have what I think is a simple use case. I want to feed product information (product quantity remaining, price) to an online aggregator with a large customer base. This aggregator provides the ...
1
vote
1answer
32 views

Is it possible to use a slide switch without a resistor?

I understand how pullup and pulldown resistors work with push buttons and I also understand that an analogous idea can be applied to slide switches. Furthermore, I know that some versions of Arduino ...
1
vote
2answers
69 views

motor driver only works on one side:

I have 3 motor drivers and all 3 other them only seem to only work on one of the 2 sides. I have used a voltmeter to check the voltages across the each of the 2 sections on each motor driver. For all ...
2
votes
4answers
109 views

Instances of a class inside another class - is there a way to control the amount?

I have a class with 12 instances of a button, to create a keypad( meaning that this is the only case I use 12 instances). But this class can be just a button array of any other number between 1-12. I'...
1
vote
0answers
33 views

Arduino uno wifi r3 is not broadcasting its ssid [closed]

I've got an Arduino UNO + WiFi R3 board. I've left the dip switches in off position. When I connect power through usb, and try to scan available wifi networks, I expect to see ARDUINO-UNO-WIFI-*. But ...
-1
votes
0answers
45 views

I want to make a Thermal Imaging Camera

My wiring now This is my code #include <Wire.h> #include <Adafruit_AMG88xx.h> Adafruit_AMG88xx amg; float pixels[AMG88xx_PIXEL_ARRAY_SIZE]; void setup() { Serial.begin(9600); Serial....
2
votes
1answer
53 views

Comments change compiled behavior (sysTickHook weak reference override)

I have a very simple routine that lights up the built-in LED (pin 13) when a system tick timer fires off its interrupt. I override the weak reference to int sysTickHook(void) found in hooks.c. I found ...

15 30 50 per page
1
2 3 4 5
461