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

Timer and Delay on ATSAM3X8E (Due)

I am curious about how you Handle the delay with ATSAM3X8E (Due), I checked the Datasheet ,and I am thinking to implement on a Timer Counter, don't know if it is a good idea. The point is, I am not...

View Article


Why doesn't this two-LED fade work?

int redLED = 9; int yellowLED = 3; int redBrightness = 0; int yellowBrightness = 255; int fadeAmount = 5; void setup() { pinMode(redLED, OUTPUT); pinMode(yellowLED, OUTPUT); } void loop() {...

View Article


Image may be NSFW.
Clik here to view.

Tracking Stepper Position After Power Loss

Hello, I am trying to turn this handle with an Arduino/stepper. It spins 3 3/4 turns. My question is how can I know where the position of the stepper is in relation to those 3 3/4 turns even as the...

View Article

Image may be NSFW.
Clik here to view.

MPU calibration -> code values matching problem

Hello everyone. First post. I've recently been working with the MPU9250 and a library given by jremington in the post here. As stated by the code I need to use the Magneto 1.2 calibration program to...

View Article

Image may be NSFW.
Clik here to view.

Variable runtime using ESP32 board and MPU6050

I'm currently trying to run the following code on an ESP32 board from HiLetgo with a MPU6050 gyroscope/accelerometer, and when I print the runtime it's normally around 1-2ms, but occasionally jumps to...

View Article


Reading Signal To Servo

My Arduino question is below, but here is the background of the problem I'm trying to solve: I bought a board (not an Arduino) for my model railroad that senses when a train is coming and makes grade...

View Article

How would I make a variable that tracks which analog input is receiving a...

for example, it would be able to tell whether A0, A1, A2, A3, A4, or A5 is on and store a different value depending on which is receiving a signal at any given moment. 15 posts - 6 participants Read...

View Article

Fpermissive going to kill me

Can someone please tell me which variables are char and const char* in this message? In function 'void logger(int, char, float)': main:1001:21: error: invalid conversion from 'char' to 'const char*'...

View Article


Giga Display Blank (No Graphics)

Hi, I have a brand new Giga R1 and a Display shield. The Display is blank. I cannot get any graphics to display. I have installed all of the libraries. I have tried all examples.... IMU example shows...

View Article


I cannot get attachInterrupt() to work (invalid use of non-static member...

I have been trying for days to get this code to work, but I cannot find a solution. My sketch: #include <ControlInterrupt.h> const int commonPin = 2; const int buttonPins[] = {4,5,6,7,8};...

View Article

Reading an ATTINY24a

Hello Y'all. I was able to finally program my attiny24a. Is there a way to read or clone one that I have? 4 posts - 3 participants Read full topic

View Article

Default Nano ESP32 RGB LED Sketch

Is the default sketch that the Nano ESP32-S3 (SKU: ABX00092) ships with available? The RGB LED gently cycled between each color and I would like to recreate this functionality. 1 post - 1 participant...

View Article

ESP2866 wdt reset

Hello, im trying to adress Ws2812 LEDs with my ESP2866, but as soon as i try to use D6 i get the following Message on the Serial Monitor: ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset load...

View Article


Image may be NSFW.
Clik here to view.

Which Power supply for DRV8825 , NEMA 17

Hi, I got an encoder that need to be connected to my arduino to control a NEMA 17 Stepper motor. Could you tell me what power supply I need? Also some additional components like capacitor? Thanks....

View Article

Looking for foot controlled 2 axis controller (joystick)

Marine application requires a foot controlled 2 axis "joystick" but I am unable to find anything remotely applicable. Ideally something that is IP67 but can work with about anything. or....looking for...

View Article


'Wire1' was not declared in this scope

Hi, I have a sketch using U8g2lib.h to control a display using a 2nd SPI port on a Teensy LC. This sketch runs fine on IDE 1.8.19. Now using IDE 2.2.1 the sketch comes up with the error:...

View Article

Image may be NSFW.
Clik here to view.

C12880MA Hamamatsu reading only 0

Hello, I am using the C12880MA micro spectrometer from Hamamatsu with the development kit from groupgets. I have the original version (v1) which includes the 405 nm/20 mW laser. Upon loading the...

View Article


3 button menu for 16x2 LCD - help needed

Hi, I'm new to Arduino and I didn't use C++ since I finished my uni 10 years ago. I have an Arduino Micro and 16x2 I2C LCD. I try to create a menu (6 positions at the moment). Each but last position...

View Article

Detecting Button Press inside loop with delay

Evening I’ve got a few things going on in my main loop including a delay which I can’t get rid of. The delay is stopping a temperature sensor from taking a reading too quickly. Inside the loop it is...

View Article

Problem with DS1307 00:00:00

i bought a ic DS1307 and i did the circuit. In the monitor serial just appear (date 00/00/2000 hour 00:00:00. 6 posts - 3 participants Read full topic

View Article
Browsing all 15287 articles
Browse latest View live