All Questions
23,418
questions
0
votes
0
answers
2
views
Input Pullup and external signals
Im a bit confused about pullup inputs in Arduino. What im trying to do is I need to connect external signals to arduino. Those signals are 12V so signal go througth voltage divider. But thing is, when ...
0
votes
0
answers
9
views
Something in my code is causing incorrect and spammed keystrokes
Recently I have been working on a project to use a 4x4 matrix keypad as a MacroPad. After doing some research I found a this github repository but I found that the included keyboard library could not ...
1
vote
0
answers
17
views
Compare interrupt enabled in overflow interrupt behavior is not as expected
What I'm trying to do:
Drive a DC motor using Arduino UNO
Control PWM duty using a variable resistance and built-in A/D converter
Write a program in C with direct access to the registers
Target ...
-1
votes
1
answer
20
views
Arduino battery capacity selection based on the current measurements
I'm sorry for this stupid question...
I'm not an electronic/electric expert..
In order to select the battery capacity as well as the solar panel I'm measuring the Arduino current consumption.
So, I ...
1
vote
1
answer
32
views
Connecting various devices to Arduino
I need to connect the following devices to an Arduino UNO board. The problem is that I run out of pins to be able to connect them all. Is there any way to do it?
ultrasonic sensor
yellow led
green ...
2
votes
0
answers
28
views
How to program an ATtiny13 with an Arduino Mini (compatible)
I've had two consecutive successes of programming an ATtiny13 using an Arduino Mini compatible as ISP programmer.
Using the setup described below, I've uploaded a modified Blink example (using the ...
0
votes
0
answers
13
views
Gsm 900A is blinking every 1 sec even after a while
I have a gsm module 900A model together with arduino. I put them together following the instructions provided to me by the https://www.google.com/amp/s/www.instructables.com/GSM-SIM900A-With-Arduino/%...
1
vote
0
answers
26
views
Unable To Upload Source Code on Arduino UNO(Windows 11)
I was trying to upload the source code of a project to the Arduino UNO and this is the error that I keep on receiving.
After I closed and reopened it again, the Port option is gray. I tried everything ...
-3
votes
0
answers
24
views
How can i generate 50kHz spwm signals in arduino? Using matlab or by programming [closed]
I'm trying to generate code for 50kHz spwm signals using matlab, but when I build the frequency is decreased (500hz). I would like to know what is the best solver settting in matlab
-1
votes
1
answer
21
views
Externally powering Arduino while reading voltage off it via USB
I have an Arduino UNO R3 where I’ve set Pin 13 to “HIGH” (as shown here) and I’ve connected an LED to Pin 13 and GND which glows brightly using a USB attached to my MacBook Air providing (I think) 5V.
...
-2
votes
0
answers
30
views
no matching function [closed]
no matching function for call to 'MCP_CAN::readMsgBuf(unsigned char*, unsigned char [8])'
What is the reason for the error message?
code:
#include <SPI.h>
#include <mcp_can.h>
#define ...
-1
votes
0
answers
26
views
SD card degrades analog input in serial plotter [closed]
In recording ECG from AD8232, I have noticed that in sketches using an SD, the appearance of the tracing on serial plotter is degraded. To explain further: If I use a sketch that does not include the ...
-2
votes
0
answers
24
views
I am working on a project to identify a person in relation to a list [closed]
the only problem I encounter is that I do not know where to start at the level of my writing on arduino, I use the M1 model (MMC) for my simulation, I also introduced my csv file in an SD card
-1
votes
0
answers
36
views
How can I appropriately interpret data from my UART NRF24L01 module?
The modules are the following: https://imgur.com/a/HrzpvdR
This is their respective AlieExpress page: https://aliexpress.com/item/4000317884559.html?gatewayAdapt=glo2nld
I am trying to send test ...
-1
votes
0
answers
40
views
Adafruit feather helium integration
So I have an adafruit feather M0 LoRa 900 MHz and try to connect it to a helium hotspot (add to my helium console). For that I use the official helium documentation provided by helium and I get to the ...
-2
votes
0
answers
21
views
Using L298N with mini n20 dc motor [closed]
I need a motor driver to drive two n20 dc motors at max speed. I was wondering whether the L298N motor driver will supply the correct current and voltage necessary to power the 2 n20 motors at max ...
-1
votes
1
answer
32
views
parseFloat() function [duplicate]
I have noticed that the parseFloat() function returns decimal numbers, but only up to 2 decimal places. Would it be possible for it to return the numbers with more decimal places? In case we need more ...
-2
votes
0
answers
23
views
Suggestions For IOT Projects [closed]
I am looking for IOT project suggestions, something that would include an esp82, but that's not a requirement. Links appreciated!
0
votes
0
answers
19
views
Arduino Mega 2560 Reading 5 V DC on Analog input [closed]
I am doing a simple thing to check. Connected 5 V power from the Arduino board to the Arduino A0 pin. I am doing no conversion in my code. Just measure the input bits. I should be reading 1023 all the ...
0
votes
0
answers
19
views
Arduino Ethernet Shield Disconnects after a few Seconds
I am using a fairly simple code using Arduino UNO and Ethernet Shield W5100. The task is to connect the shield with the server and if it gets connected read the reading from the sensor (Rotary Encoder ...
0
votes
1
answer
34
views
Joystick reading erroneous values
Under normal operation, the value of a joystick's ADC range on my board is from 0 to 1023 (10-bits). However, my graph for either axis is not continuous. Rather, there is more than one min and maximum ...
1
vote
0
answers
41
views
SPI protocol with multiple devices
I need to write and read the measurements received by a sensor on an SD card. The card reading would be to display the data on a TFT screen. Specifically, I am using the 1.8-inch ST7735 screen. To use ...
0
votes
1
answer
21
views
Problem deseralizing some fields in JsonRequest
I'm almost successfully able to GET a json blob and print it to the console. It seems to be failing on some string fields I am guessing because of the length. Any thoughts/ideas/suggestions to make ...
1
vote
0
answers
24
views
HOW convert momentary button to touch sensor TTP223?
I am trying to convert
this project https://maker.pro/arduino/projects/simple-fm-radio-receiver-with-arduino-uno-and-rda5807m
to 3 touch sensors TTP223.
But so far my new code don't work.
Please can ...
-1
votes
0
answers
32
views
Why the water sensor chip gets very hot? [closed]
So I have a water sensor like that in the image, but when I connected to the 5V and put it partially in a cup of water, I can read the input value in my Serial, but the black chip in it gets very hot, ...
-1
votes
1
answer
33
views
How To Repeat a the specific Code in Void loop() No Of Times
Hello Friends i Am creating a dc motor controller (for leg extension machine) which moves motor between two points specified by two potentiometers and as a feedback third potentiometer is used
my code ...
1
vote
0
answers
22
views
Transfer a single pulse from Tektronix function generator to Arduino UNO
I have set up a single pulse (width of ~400 ms) using the burst feature on the Tektronix AFG3102 function generator and I want to transfer this signal to the digital pin of Arduino UNO. Essentially I ...
-1
votes
0
answers
32
views
Designing a Flight Controller using an Arduino Nano IOT 33, GPS, Barometer and other Quadcopter components
I am designing and creating a Quadcopter Flight Controller and would like to know other peoples thoughts on the design.
I am planning to use an Arduino Nano IOT 33. This Arduino has an onboard IMU ...
-3
votes
0
answers
16
views
ESP 32 is failing to send the data to another esp32 by using esp now protocol with BNO085 Sensor [closed]
I am trying to send the BNO085 sensor data using the esp now protocol from one esp32 to another esp32.
What I am doing is that I am making one esp32 as sender and another as a receiver. The receiver ...
1
vote
1
answer
21
views
Please help me navigate the stepper motor object definition in the documentation
I am trying to use the stepper library and the stepper object is documented like this
This function creates a new instance of the Stepper class that represents a particular stepper motor attached to ...
0
votes
0
answers
25
views
Control DC motor speed with external power supply
I am trying to control DC motor speed, using analogWrite(MOTOR,int:speed) command.
#define MOTOR D5
void setup() {
Serial.begin(115200);
Wire.begin();
pinMode(MOTOR, OUTPUT);
Serial....
-1
votes
0
answers
18
views
how can I interface 20 EEG sensor with Arduino? [closed]
I'm working on brian's signal processing using an EEG. how can I interface up to 20 EEG Electrodes with an Arduino for monitoring the brain's signal?
-1
votes
0
answers
22
views
Can you help me, in this programme, it says undefined reference to 'subtraction()' [closed]
This is my programme:
#include <bits/stdc++.h>
#include <iostream>
#include <math.h>
#include <fstream>
#include <string>
using namespace std;
ofstream myfile("...
1
vote
0
answers
42
views
Why does this circuit not share a common ground [closed]
Hi I have a circuit shown in the picture below
I have 12V power supply with two ohm resistors one for negative one for postive with the same resistance. I connect my arduino to the power and to the ...
-1
votes
0
answers
32
views
What ways are there for wifi provisioning with ESP8266?
I'm creating a project where a flutter app controls an ESP8266. For this the ESP8266 needs to connect to the wifi network without hard coding the credentials - preferably through the flutter app.
My ...
2
votes
1
answer
26
views
soft wdt reset while receiving data from client [closed]
i've wrote some code where i create a soft access point with my esp8266 and would then receive a file from client and store it in SD but as soon as i send the file a soft wdt reset occurs.
#include &...
3
votes
0
answers
30
views
Can not burn arduino pro mini 8 MHz bootloader with usbasp
I am using schematic of Arduino Pro mini 3.3v/8 MHz version. Please see below circuit diagram I built.
Power supply to circuit is 3.3V.
I have a USB ASP programmer which I used in previous version of ...
2
votes
0
answers
36
views
Arduino Micro digital output pins floating / high Z
so i recently got an arduino micro for a project needing the control of two stepper motors with the A4988 driver. previously i was prototyping on an arduino uno and everything was working fine, but on ...
-1
votes
0
answers
25
views
Do IC (Digital or Analog)Implements logic gate for Arduino Digital or Analog Pins.How many ICs PINs normally connected to how many arduino PINs [closed]
I like to know Do Digital ICs PIns connected to Arduino Uno and Analog IC PINs connected to Arduino Uno do They makes logic gates?
For Example If I have Speaker That is controlled by Arduino Board. ...
-1
votes
0
answers
20
views
ESP32 Offline Storage [closed]
I have connected ESP32 Cam with an FTDI device to my laptop.
I want it to capture and store images offline in a folder.
Also, if possible, can I do offline streaming and show it on my screen.
-1
votes
0
answers
16
views
Unable to BLE OTA update my firmware on ESP32 WROVER 16MB
I added support for BLE OTA update to my ESP32 WROVER 16MB flash Arduino based firmware.
But I get the invalid segment length associated with a huge value 0x15abba12 as follows:
E (934173) esp_image: ...
-1
votes
0
answers
37
views
Ardunio Errors with ATmega644A Fastled (MCUDude Mightycore)
Good Morning,
I am trying to compile a ardunio project with ATmega664A using the MCUDude MightyCore plug in while using the Fastled library.
I have used this before with ATtiny167 with Spence Konde ...
1
vote
1
answer
18
views
How to receive data from Xbee in AT mode on Arduino Nano
I need to print data on the Arduino serial monitor received from the Xbee in AT mode. I have searched on most forums and have not found anything on how to do this.
I have my Xbee tx connected to ...
1
vote
1
answer
31
views
Using a Microchip Fubarino with the Arduino IDE, how to acces and configure all pins
I recently got a Microchip Fubarino, contains a PIC32MX250F128D and I'm totally new to the Arduino IDE, i uploaded the blink sketch all fine and well.
Schematic: FubarinoMini_v15_sch
// the setup ...
-2
votes
0
answers
19
views
giving date when button is pressed in arduino [closed]
In the study I have done, I am trying to print the last date that the button was pressed on the LCD screen, which will be kept pressed for 5 seconds as the room is cleaned. I couldn't write any code. ...
0
votes
0
answers
37
views
Whats is wrong with my code / how can I make it work? Stepper motor with LDR, PIR sensor and LED strip [closed]
Good day friends, I am a bit of a coding noob but with some research I put this code together. I cant seem to find out why it doesn't work though. Could someone help me? I would be very grateful :)
//...
0
votes
2
answers
49
views
Arduino Leonardo/Pro Micro sleep and USB
I am using an Arduino Pro Micro (basically a Leonardo in a smaller form factor) in a mobile application where power consumption is really important.
To reduce power consumption, I put the Arduino to ...
2
votes
1
answer
623
views
What is the default baud rate without calling Serial.begin?
I cannot find the answer from official document and also surprised no one asked the same question.
What is the default baud rates if I didn't call Serial.begin?
0
votes
1
answer
45
views
Can't read through I2C from RTC
I'm using an ESP32 which I connected to a MAX31329 RTC through I2C.
Unfortunately I can't read any register from the RTC. After modifying the MAX31328 library didn't work, I tried reading single ...
0
votes
0
answers
72
views
Why is there an extra pixel in the smiley for the Grove LCD RGB Backlight from Seeed Studio?
While testing the CustomCharacter.ino example for the Grove LCD RGB Backlight from Seeed Studio on an Arduino 101 card, there is an extra pixel that appears above an eye of the smiley and the smiley ...