All Questions

Filter by
Sorted by
Tagged with
1
vote
2answers
28 views

Arduino led not blinking

#include <Arduino.h> void setup() { pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); delay(1); digitalWrite(13, LOW); delay(1); } I am trying to make an led glow for one ...
1
vote
0answers
16 views

What i need to make Ball & Plate project [closed]

hi I want to make a PID priject and i found Balll and plate can you guys help me to buy spcific tools and motors Caues i am kinda newbie and i need help i wanna build it simple not too big and low ...
1
vote
1answer
17 views

ESP32 and wifi router

I connected my ESP32 to Wifi and I can see this in my Wireless Statistics: ID | MAC Address |Current Status| Packets Received | Packets Sent | SSID 1 | 3C: 71: BF: 0D: CB: 00 | Connected ...
1
vote
0answers
22 views

Arduino SerialUSB.print/println is being interrupted by other prints

I have an Arduino M0 connected to a peripheral device. A PC is connected to the arduino via USB. The mode of operation is that the Arduino receives commands via USB that instruct it to do something ...
0
votes
1answer
17 views

voltage regulator

This may not be the best pace to ask this but I have to use a 3.3v regulator with this esp12 . For that I have selected this regulator 3,3v regulator and in the discribtion it is saying to use two ...
1
vote
1answer
19 views

Why Windows 10 does not see Nodemcu device?

I am using a Windows 10 laptop. Behind the nodemcu it says that download CH340G driver. I already had arduino ide and the esp libraries were already installed because i was using a esp8266 01 device ...
0
votes
1answer
36 views

analogWrite(PIN, 1023) <> digitalWrite(PIN, HIGH)

This question is very similar to this one. I'm using an ESP8266 for which the maximum analogWrite value is 1023 rather than 255 for some other Arduino boards, but I believe the principal is just the ...
0
votes
2answers
35 views

Certain componenet does not seen to respond when given voltage

I am using a part off an electronics set I got a long time ago. It is off a electronic set called snap circuits rover deluxe Its a disc launcher and I have wired it to how it seems to want to be ...
1
vote
1answer
18 views

IMU (MPU9250) and Ticker on ESP32

I want to read the data from an IMU (MPU9250) periodically. To do that I use a ticker as shown in the following code: #include <Ticker.h> #include "MPU9250.h" constexpr int ...
1
vote
1answer
21 views

How can I use both ultrasonic and IR sensor and ultrasonic sensor at ones with Arduino

I want to use both the ultrasonic sensor and IR sensor with Arduino + motors for a car project. Will I have to do any kind of multithreading on Arduino, or is it something else
1
vote
1answer
41 views

Looking to optimize this code and add a loop

So I want to optimize this code and add a loop to the two red LEDs. The process is green LED is flashing, press button, yellow LED blink for 3 secs and then alternate flashing between the two red LEDs ...
1
vote
0answers
20 views

Communication between two slaves via single SPI bus

I am trying to control both RC522 and lcd st7920 (128x64) via a single SPI bus on the NodeMCU esp8266. I am using Arduino core for my esp8266. Now in this portion of the code, I only want to display ...
1
vote
1answer
34 views

How might I add a delay, close the servo and go to the start again?

#include <Servo.h> Servo myServo; const int piezo = A0; const int button = 2; const int yellow = 3; const int green = 4; const int red = 5; int knockVal; int buttonVal; const ...
1
vote
1answer
21 views

How to read two byte register address using arduino wire library

I want to read a register 0x012A from the device I2C address 0x0A, the value stored in the register is two bytes, If the register address is one byte i can use Wire.requestFrom and give the register ...
0
votes
0answers
31 views

Running a DC motor for a set amount of time

I am trying to run a DC motor for 100ms and then turn it off completely. Here is my code any suggestions on why it might not be working? My Code const int pirPin = 9; const int motorPin = 2; int ...
1
vote
2answers
34 views

Using Arduino UNO as FTDI

so , just bought some pre-bootloaded ATmega328(p/pu) to which I need to upload sketches on a breadboard using uno TX and RX pin as FTDI Here is what I am to do. I connected Uno GND and Reset . ...
2
votes
0answers
21 views

Detect 2 wire thermostat output

I have a 2 wire thermostat. R is +24VAC, W is Heater. I have no Ground wire (C), and I cannot open the thermostat. When the heater goes on, the thermostat internal relay gets powered and connects R ...
1
vote
0answers
36 views

Please help with my tinkercad code. Debouncing stopwatch with lcd

#include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); int ssPin = 8; int resetPin = 9; bool cntrRunning = false; int sec = 0; int min = 0; double currentMillis; void setup() { ...
0
votes
1answer
31 views

Trying to use Nano Every as a sort of USB logic analyzer, but can't isolate it from “device under observation”

Here's the scenario: I have a radio that displays information on a 1602A LCD. The 1602A is plugged into a header so I can easily pull it out and instead plug in logic analyzer leads. The logic ...
2
votes
2answers
31 views

How to get timestamp of when the data was collected

Basically I want to be able to display the time the arduino collected the data with the data value, not the time the arduino printed off the data. Theres a timestamp feature on the console, however I ...
0
votes
0answers
23 views

IR remote library with an air conditioner

I NEED a library to read hex code from an air conditioner's remote (long length signal). IRremote library doesn't work on AC remote but it works on TV's remote control. Thanks
1
vote
0answers
26 views

Does anyone know code for a filter that bypasses small vibrational movements in my accelerometer input data

So basically I have a DC motor that is self stabilizing a platform using an accelerometer as its input. When i hit the table, everything freaks out and the platform moves rapidly back and forth for a ...
1
vote
0answers
28 views

Adafruit_LEDBackpack library interfering with analog input reading

I'm trying to do something I think would be simple. I'd like to read the input of a electret microphone board and update the Adafruit 24-segment LED Bar Graph. I got each individual item working ...
1
vote
0answers
22 views

loop once per startup for stepper motor

First of all sorry that i dont know much about programming, most of my codes are just copy paste. And of course, i know this question has been asked before, but while using this code: #include <...
2
votes
1answer
18 views

can we make Drone with Dc 180 motor and Arduino?

I want to make a drone as a project for my university, But I am kinda newbie in this, I did many searches about this and I found I should do it with the brushless motors (BLDC) but I can't buy this ...
1
vote
0answers
20 views

IR output won't stop

So I basically tried to control a Servo motor with an IR Remote. I'm a complete newbie in arduino programming but I just took some things from other scripts and tried them out until It worked, and it ...
1
vote
0answers
20 views

Sim800L not working

I have been trying to set up the SIM800L. The LED is not blinking... I am using the LM2596 to convert from 5V to 4.3V (I did try with 3.7 <= Vout <=4.3 V) to power the module. With a 5V/2A power ...
2
votes
0answers
20 views

Can AccelStepper accelerate non-linearly?

I am running a Nema 23 motor with an Arduino Uno and a microstepper driver. I am making a torsional vibration demo, which uses a series of springs connected to the motor driveshaft to spin gears. ...
2
votes
0answers
21 views

Crash when disabling bluedroid

i have an ESP32 and i want to use deepsleep when it's not used. Before sending it to sleep i clean up everything, so disconnect, deinitialize and disable everything i build before. But i get a crash ...
0
votes
1answer
32 views

ESP-NOW with esp32 and esp8266

I want to use ESP-NOW with esp32 and esp8266. The esp32 will mostly send data to esp8266.I was not able to find any good tutorial on YouTube to achieve this. The only videos I found was for either ...
1
vote
1answer
39 views

Send custom HID values instead of keys

I've been building a small macro keypad based on the ATmega32U4. So far, I've been able to send standard key presses to the host. But since I want a program on the host system to react to the key ...
2
votes
2answers
405 views

Switching from one color to another

I'm using ws2812b 2x2 LEDs and have it switching between green and red, but only one of my LEDs on my 2x2 is lighting up. I'm using the "blink" FastLED sketch with Data pin 3 on my Arduino ...
1
vote
1answer
38 views

How can I measure maximum range of my ohm meter?

Hello everyone I am working on a project that will measure ohm value of a resistor . Schematic / article link https://create.arduino.cc/projecthub/iasonas-christoulakis/how-to-make-an-arduino-ohm-...
0
votes
0answers
17 views

How do you do 3D Designs with JST PH/XH/SH connectors? [closed]

I'm making a 3D drawing of my designs, and am trying to find realistic looking components. For Molex and TE, I can easily find good 3D STEP models, but it seems hard for JST. The website fails to ...
1
vote
3answers
316 views

Sensor that detects when metal sieve is clogged with debris

I'm a newbie here and would really appreciate all kinds of suggestions and answers from the experts here. I am trying to make a small grey water recycling system project, and for the my primary ...
2
votes
0answers
22 views

USB-C as power input and analog audio out

I currently use USB-C to charge an arduino with a battery. I also use a headphone jack to output audio. I would like to combine those two and output the analog audio through USB-C (when it is not ...
0
votes
0answers
30 views

Hole in the ground scanner [closed]

I want to be able to scan the ground for holes in order to fill them. For example, set up a robot doing a sweeping pattern across the ground scanning maybe a 1 sq. ft. area, if the vision sensor (...
0
votes
1answer
31 views

Seems like I cant control 4 stepper motor at once

Im trying to control 4 stepper motors with the AccelStepper library. Something like this: AccelStepper FL(1,stepPin,dirPin); AccelStepper FR(1,stepPin2,dirPin2); AccelStepper BL(1,stepPin3,dirPin3); //...
1
vote
0answers
13 views

SIM800C status LED not blinking

I am using an Allwin HW-537 SIM800C module. I am also using a 3.7V 2200mAH ICR18650-22F battery which discharges about 4-5 amps according to the datasheet. However, I am unable to get the status LED ...
0
votes
1answer
39 views

blink led 5 times with for loop

Is it possible to let a led blink, for example 5 times with Arduino? Should I use a For loop? Something like this works within the setup loop, but it will run continuesly in the void loop. So my led ...
0
votes
1answer
31 views

need to make my partners pill box turnover sensitive

ive done some arduino stuff back in uni like 7 years ago; and reserached premade items-ive looked online at many pill organisers and the best and cheapest one is $149 and isn't shipping to the UK rite ...
0
votes
0answers
20 views

Arduino controlling WS2818 7-Jewel LEDs displaying random behaviour

This is my first Arduino project. I have bought some components to make some lamps with. I have an Elegoo Uno R3 Arduino controller for them. The LEDs are from a Chinese company called DIYMall and are ...
1
vote
0answers
21 views

sro4m-2 waterproof ultrasonic sensor

I bought this waterproof ultrasonic sensor about 5 of them with the part number SR04M-2 Written on the PCB silkscreen Which is different from the usual SR04t-0.2, they are just not working, I don't ...
0
votes
1answer
41 views

Code for Degrees not

Using Audrino Nano and MKS SERVO42 42 Stepper Motor With Driver Board Closed Loop with the LCD. I have got the motor going by using the menu on board. Now able to run Code1 https://github.com/makertut/...
2
votes
1answer
48 views

ST7789 TFT display only shows a correct image while Arduino reset button is held down - Why?

I am trying to get the ST7789 TFT display to work with Arduino. I followed online guides for connections and am using the fast library fron github and included workbench ino (https://github.com/...
1
vote
0answers
46 views

LEDs lighting up when off due to servo motor being on

Within my arduino project I have began to run out of GND ports on my arduino so I am having to resort to using 1 GND port for lots of electric components. I have 2 LEDs that are each connected to a ...
2
votes
0answers
39 views

Hijack analogue doorbell chime to trigger nodemcu

I have an oldskool doorbell chime. What i would like to do is whenever there's a voltage flowing through the doorbell also trigger an HTTP call, which will trigger some smart home automations. I have ...
1
vote
1answer
26 views

TQFP Atmega328pu-th cant upload sketch sync error (breadboard)

So I have a USB to ftdi connected to my qtfp 32 socket trying to upload a sketch but I get a sync error , as far as I am aware I have uploaded the sketch correctly
2
votes
1answer
56 views

Uploading sketch to ATTiny84 with Nano as “Arduinio as ISP” stopped working

I am trying to upload a sketch into a ATTiny84 with Nano as "Arduinio as ISP". This worked last week, same sketch, no changes. I have attempted to troubleshoot: Changed ATTiny chips, changed ...
1
vote
0answers
25 views

Communication b/w Arduinos, master(M) and slave(S) via Tx Rx pins. M sends query to S which shows the data in serialmonitor. S fails to send data to M

Slave code int arr[10] = {0,1,2,11,4,5,6,7,8,9}; char id = '1'; char re[2]; void setup() { // Begin the Serial at 9600 Baud Serial.begin(9600); } int ia; void loop() { Serial.readBytes(re,2);// slave ...

15 30 50 per page
1
2 3 4 5
436