Quantcast
Channel: Arduino Forum - Latest topics
Browsing all 15682 articles
Browse latest View live

Need help cleaning up this code

Need help cleaning up this program, I hope someone can assist. #include <Adafruit_MLX90614.h> #include <DistanceSensor.h> #include <Wire.h> #include <SPI.h> #include...

View Article


Some strange experiences with Giga R1

Just wondering if you guys have a similar experience... New to Arduino and I started creating code. Started with the UNO and all good. No strange things there. But I need to do faster sampling of ADC,...

View Article


Image may be NSFW.
Clik here to view.

Not sure whether HC-SR04 is broken

Recently, I bought a HC-SR04 ultrasonic sensor nad plug it into an Arduino UNO board. #define trigPin 9 #define echoPin 8 #define ledPin 13 long duration; int distanceThreshold = 20; // Adjust this...

View Article

End millis with push button?

My code changes after 4 days using millis, then after 4 days change back to the original code.Use code tags to format code for the forum Is there a way i can end the millis or skip it some other way?...

View Article

Connect arduino with gsm module to freepbx server

Hi i have this idea, I want to somehow connect an arduino with an gsm module to a FreePBX voip server thats connected to a cisco voip phone so that i can make phone calls. any help would be very...

View Article


Arduino nano to run 18 nano leds for 1/48 jet plane

Hello, If anyone willing to help me with some code. I am running a arduino nano to run 18 nano leds for my model jet plane and have run them all at the same time. when running each code separately...

View Article

IDE has old code in error message

I've noticed an interesting issue with the 2.0 IDE. I don't know if this is bug or feature, but I thought I'd mention it. Let's get this part out of the way, It's 2.2.1 on Ubuntu 22.04 using the App...

View Article

Image may be NSFW.
Clik here to view.

Using seconds instead of millis() for 136 year rollover

I was looking at some very awkward code that was trying to use elapsed times longer than 49 days. It had millis() rollover detection and millis() resetting with adjustments to timer0_millis, along...

View Article


I've had it with the Arduino site

The ongoing redesign SUCKS. We used to have links into the site. GONE. We used to have room to see more code. GONE. We used to have The Playground as a great reference. GONE. The site and forum used...

View Article


Help with LIS3MDL custom calibration

Hello every one. I am using the Arduino Due, with I2C connect to the 9 DOF IMU (Adafruit LSM6DS3TRC + LIS3MDL). I am also using the AdaFruit library for the sensor. The problem is I do not want to use...

View Article

Atmel Flip "Could not open USB device"

I have an Arduino Uno R3, with the ATMEGA328P ic and when using the Atmel Flip and trying to connect it I get the error "Could not open USB device", I don't know what to do. If you know anything it...

View Article

nRF24L01 sending float values

Can I send float structure via nRF24L01 module? I send this: struct DaneTemp { float tempL; float tempR; float temp; } daneTemp; but my reciver reads value 0.00 when I read value of temp variable....

View Article

WS2811 LEDs aren't doing what I think they should

Newbie here. I thought I had it figured out. I got some things to work. However not this. Arduino Uno R3 The white light goes down the string and back just fine. But the blue does not light the whole...

View Article


Circuit diagram for gsm-based spy camera car

I want to build gsm-based spy camera car using arduino uno and I want to know circuit diagram.I don't know how to connect gsm-module, camera and phone. 2 posts - 2 participants Read full topic

View Article

Altering string for a function

I am currently building a project around a nextion display. Things are going reasonbly well so far, but I thought that before I get too far into the coding side of things, it would be more space...

View Article


Image may be NSFW.
Clik here to view.

About String used in ESP32 testing result

Hi all. I knew it is not a good practice to use String in ESP32, just simply to do a test with these sketches: Read SD card file and put values into variables Storage An example of saving to an array...

View Article

Servos not working with 9V battery, works with USB

So I am trying to make two servos work as wheels, and it works perfectly fine when plugged into a computer. However, when I plug it into a 9 v battery they just make a weird jerky movement? Almost...

View Article


How do I double the capacity for my project?

I have two cells "18650" each one is 2800 mAh I added BMS for each cell. I want to charge both of them from 5v usb charger. I want ~3.7v to my project but I want to double the capacity to last longer....

View Article

Arduino only responds to serial monitor not python

Im trying to talk to a arduino UNO over USB using a python script. However i can't get it to respond. If try to talk to it using the serial monitor in the arduino IDE it however does respond. Can...

View Article

Nintendo Pro Controller + Arduino UNO R4 WIFI

Hi I am trying to control an Arduino Robot with Nintendo Pro Controller Through Arduino IOT Cloud(I am using UNO R4 WIFI). Please Let me Know how you would do this. 2 posts - 2 participants Read full...

View Article
Browsing all 15682 articles
Browse latest View live


Latest Images