All Questions

0
votes
0answers
8 views

Power on reset with arduino uno can never happen. Can this be fixed?

When an Arduino Uno is powered on, the USB chip's DTR output pin may (is, in fact) low for a while. This means that the capacitor C5 is connected from the 328p reset pin to ground. Thus, when power ...
0
votes
0answers
12 views

Arduino RGB LED not working all the time?

I was creating an RGB LED System with one 1 RGB LED controlled by an IR Remote. I wanted to assign a button to trigger a mood-light which cycles through the rainbow, and that works fine. But when I ...
0
votes
0answers
9 views

How to send data from Arduino to ESP8266 and showing it up in web server [on hold]

I tried to connect an ESP8266 with an OV7670, but it dose not support this camera. I got an idea: what if I connect it to an Arduino Uno and then send the data to a web server. So I ask for the code ...
0
votes
0answers
7 views

Error with multiple message with the RadioHead librairy

I'm using the RadioHead library to have a communication between two Arduino with an NRF24L01+ wireless module. If I send one (1) message, everything works fine. But when I try to send four (4) ...
0
votes
2answers
21 views

What bootloader is present by default on Arduino Uno?

Or where can i find information of default bootloaders present on each Arduino board. All I could look up was it could be one of these bootloaders on the atmega chip :- .Atmega .Atmega8 .bt .caterina ...
0
votes
0answers
24 views

Sleep function disrupts functions (I think) / Need to disable “sleep” while function is running

I have posted this problem on the Arduino Forum. I am at my wits-end trying to sort this problem out. I have tried to post the code etc here, but am a new member to this forum. The complete code etc ...
0
votes
1answer
30 views

ets Jan 8 2013,rst cause:4, boot mode:(1,7)

I am facing a issue with the ESP8266-01 as the following below: chksum 0x42 csum 0x42 ~ld ets Jan 8 2013,rst cause:4, boot mode:(1,0) wdt reset Anyone has the solution please help!! #include <...
-1
votes
0answers
9 views

I want to build arduino gas sensor with buzzer and gsm module a6

I need help for coding to turn on and off the system and send alert message to owners phone no. . Please help me
0
votes
0answers
12 views

The system runs OK,but i didn't receive any message on my phone

#include<EEPROM.h> #include <LiquidCrystal.h> LiquidCrystal lcd(7,6,5,4,3,2); int led=13; #define pulsein 8 #define relay 12 unsigned int pusle_count=0; float units=0; unsigned int ...
0
votes
1answer
15 views

Setting Fuse Bits From Arduino IDE?

I've come to understand fuse bits in the last few weeks. I'm working on a bitbanging project on an Arduino Pro Micro, and the signals I'm working with are around 30uS each. For this reason, I think I'...
0
votes
0answers
12 views

Troubles with APDS-9900 proximity

So I've received few APDS-9900 sensors and found out, there's no library for it (9960 type is supported only). I took that library and device documentation, and created similar library. Ambient light ...
0
votes
0answers
27 views

PIR sensor using interrupt always on. Why?

I am using an arduino pro mini 3.3V connected to a PIR sensor ST-00081. The connection is as follows: PIR directly to 3.3v from the PSU board. OUT to arduino pin 3 (2 is occupied). En left floating (...
0
votes
1answer
39 views

Program is working wrong while melody playing

My robot working fine but when I added buzzer and melody into code then is something wrong. Melody is playing when accelerometer is activated but rest of the code need to wait to end of melody. I want ...
0
votes
2answers
32 views

Why does it skip the first index - shift register issue

So, I wrote this code myself and I'm a noob on the issue. I did get my code working, but cannot understand why it has to be the way it is. int counter; int ledValue[] = { 1,0,1,1,1,1,1,1 }; void ...
0
votes
1answer
21 views

How to find the difference between two timestamps

I'm using this time library to access the properties of unix timestamps like hours / minutes / etc. What I want to do is get the current time, and an estimated arrival time, and find the difference ...
0
votes
1answer
17 views

Arduino MEGA with RTOS

I've been coding for FreeRTOS on the MEGA 2560, and was using some LEDs to determine activity per task by toggling each individual LED each time through the task, and monitoring the time using a scope ...
0
votes
1answer
21 views

threshold voltage level and blinking problem

I am using arduino pro mini 3.3 V,8 Mhz.vcc of the this arduino is coming from AC-DC converter with regulator 3.3 volt.I am listening analog data from voltage divider approximately 250 milivolts. I ...
0
votes
1answer
24 views

Intermittent jittering servo

I'm controlling a Hitech HS-625MG servo from a 10k slider via a Nano. For a while the motion tracks the slider position even when moved quickly. Then, for no reason I can find, it will stop following ...
0
votes
1answer
22 views

Will this sensor work with arduino?

I'm building an electronic gate. I'm needing a photoelectric sensor to detect cars. This one in the link looks decent. it runs on 12v so I will need to power it separately from the arduino. But does ...
0
votes
0answers
20 views

WS2812B LED strip + Arduino First Pixel keeps dying/breaking

I am trying too hook up a WS2812B LED strip to an arduino nano. The current strip consists of 6 pixels, and the whole thing is powered via a 5.26V Pc power supply. The problem is that the first pixel ...
0
votes
0answers
8 views

can i charge a large capacitor with a small resistor? [migrated]

I am working on this simple Arduino CAPACITANCE METER this project uses 2 resistors a 10k ohms resistor for charging and 220ohms resistor for discharging. The arduino is programmed to measure the ...
0
votes
0answers
33 views

Stepper Motor Not Running Code

I'm working with an Arduino Mega and I'm trying to run a stepper motor and servo from the same code. There are two buttons: one operates the stepper and the other operates the servo. I'm trying to ...
0
votes
1answer
14 views

vk2828u7g5lf GPS module over SoftwareSerial

So my goal was simple. Trying to get a GPS speed, and show it on a display (later use it to control a stepper motor). I am using the vk2828u7g5lf GPS module from Banggood, which after days of ...
0
votes
0answers
38 views

Global variables update then stop updating

I have an Arduino script used on a LeoStick to read weather data sensors and provide data via I2C when requested by a C program run on a BananaPro every 15 minutes. This setup has worked well for 18 ...
0
votes
1answer
24 views

Arduino Warnings That I dont know how to solve [on hold]

#define LDR_DriverS A0 #define LDR_MiddS A1 #define LDR_PassangerS A2 #define senQty 3 #define engineA 6 #define engineB 5 //Motor Driver Inputs Pins #define IN1 7 #define IN2 8 #define IN3 9 #define ...
0
votes
1answer
28 views

Programming a switching AC current?

I tried using this code to output AC power from one H-bridge and then another, switching every second, but when I connected a motor to it, it just seemed to output direct current. This is the code I ...
0
votes
1answer
17 views

How to add if condition with RFID Example

Using a Mega 2560 and PN532 NFC/RFID module, i wanna be able to scan card and see if it's value is (0xF0, 0x21, 0x5D, 0xA7) it should print accepted in serial monitor so it keeps telling me ...
0
votes
1answer
27 views

4 digit 7 segments display wrong number

I'm an Arduino newbie having problems with 4 digit 7 segments display. I want to display some thousands to 4 digit 7 segments display but it display only 0000. I want to receive data from serial with ...
0
votes
1answer
24 views

Pointer to functions in other objects [on hold]

I'm trying to write a shell programm to control my Arduino via serial port. I'd like to send simple commands like "Motor1 run 100; Temp1 read; Dist1 read" to perform the desired actions. Therefor I ...
2
votes
3answers
120 views

Control I2C relay board from two Arduino Uno

how can I make multi master Arduino device to work with single I2C device? As both the master device are 20 m away from Slave device, I am using the I2C relay board to connect with 2 Arduino boards ...
0
votes
1answer
33 views

Idenitifying pins in my code. which pin is which?

I'm new to arduino and knnow nothing about electronics. How do I idenitify which pin is which in the coding? eg- I have a pin on my esp8266 "D3"... how would I reference that in the code?
2
votes
1answer
45 views

Unexpected behavior of ++myCount

I'm new to Arduino and C. This behavior is not what I'd expect: Serial.begin(9600); while ( ! Serial ); int myCount = 0; for (int i=0; i<10; i++) { myCount = min( ++myCount, 8 ); Serial....
0
votes
3answers
29 views

Defining array in switch case

I’m completely new to arduino, so be polite. I’m trying to program my esp32 to drive neopixels as seven segment display. So I take a digit and pass it to switch case and in switch case I mention which ...
0
votes
2answers
20 views

how to compile arduino sketch from termnial without using arduino ide

I want to know how can I compile and upload the arduino sketch from my terminal instead of using Arduino IDE. I want to use a different IDE for writing code.
1
vote
2answers
39 views

remotely uploading code to arduino board over internet [on hold]

I recently used Particle photon that allows me to upload firmware bin remotely over the internet. I would like to use something like this for my arduino but I cannot find anything like that. Does ...
0
votes
1answer
28 views

Addressable RGB LED Strip

I am looking to create an addressable RGB LED strip circuit with my NodeMCU v3 Wi-Fi. I am looking at a strip of 150 RGB LEDs, 5 meters long, so 30 LED/m. But I am only going to use about 50 LEDs for ...
0
votes
1answer
15 views

ATMEGA 328P Standalone on 3.3v controlling a servo

I'd like to use an ATMEGA 328P on standalone mode powered by a 3.3V supply source to control a servo (which is powered by 4 AA batteries, resulting in 6V). My question is: do I have to convert the PWM ...
0
votes
2answers
33 views

Confusion between switch and if?

Following code is to control two LEDs for on and off by two dedicated push buttons. I have used if() for each condition and I was not comfortable writing this code, as I could feel, it can be better ...
0
votes
0answers
16 views

Accelerometer triggers Siren

I have already deigned modeled and created a PCB for a bag alarm project i am trying to make, other people have created bag alarms before, but they are just too complicated for this job. I am using ...
0
votes
0answers
36 views

WeMOS ATmega 2560 +esp8266 wifi R3 Won't find any wifi networks

I have a WeMOS ATmega 2560 +esp8266 wifi R3 that I want to send sensor data to thingspeak with. I'm just getting started with it, and am having trouble finding a wifi network. I followed this guide: ...
0
votes
0answers
24 views

Chittering / stuttering of closed loop DC motor with potentiometer

I'm having trouble with using a motorized sliding potentiometer with L298N h-bridge motor driver and a arduino programming environment. The problem is the algorithms that I've explored to slow ...
0
votes
1answer
33 views

Arduino MEGA Timer Help

Nick Gammon posted some code to setup a counter on an Arduino UNO using timer2 to generate a 38KHZ signal, and I've used it on several IR projects. On my current project, I'm using FreeRTOS for the ...
0
votes
0answers
34 views

Count fuel liters with Arduino

we have created one fuel sensor in our lab with arduino in order to get fuel data from vehicles.Regarding the code below i receive an error PARSE ERROR: 'attachInterrupt': this function needs to be ...
0
votes
1answer
23 views

SD card initialization failed

i use the example sketch of SD card presented in Arduino IDE. It runs well, but when i reboot my Adruino Mega by the reset button, the SD card initialization fails. To fix it, i need to remove the SD ...
0
votes
0answers
30 views

Breadboard power supply voltage changes on restart

I bought this Arduino starter kit from Amazon. The problem I have now is that the voltage supplied by the breadboard adapter seems to change every time I turn it off and on. And not by small amounts ...
0
votes
0answers
32 views

Arduino Uno powered by 9v battery gives ticking noises (Otto Robot)

I built an Otto robot based on an Arduino Nano board and powered it with a 9 V block battery and everything worked as intended. I'm currently recreating the project with a group of kids, but we only ...
0
votes
0answers
19 views

FSR Sensor to keep pressure in 7 seconds?

I have a FSR sensor, where I need to ensure that it has a pressing value of at least 250 in 7 seconds. The values are not important, but needs to be above 250 in 7 seconds in order to run an other ...
2
votes
1answer
9 views

Maze solving robot turning failure due to sensor distance to the corner increasing during the turn

At my school we have a project where we have to make a robot that can solve a 3D-maze using an arduino controlled robot that uses ultrasonic sensors to determine how to turn. The robot may not be pre-...
0
votes
0answers
49 views

Mini water pump

I've bought an Arduino Nano, a 5V relay module and a mini water pump (3v-5v). It's the first thing I'm gonna do with this, but I can't find any simple diagram that just uses the 5V out of the Arduino ...

15 30 50 per page