Arduino nano analog output not working

Hi Everyone !
I bought a nano and i get use A5 analog output from LED strip
but not working
first question the module wrong or i rookie?
pls write
thx

Atex

A5 is an analog input pin.

Use PWM outputs to control motors and LEDs.

These original script:
A5 pin use
//setup chessboard LEDs
#define chessboardLED_PIN A5
#define chessboardLED_COUNT 64
Adafruit_NeoPixel chessboardLED(chessboardLED_COUNT, chessboardLED_PIN, NEO_GRB + NEO_KHZ800);

What is "chessboardLED_PIN" supposed to do?

Which module?

A signal comes out from an output and goes into an input.

I assume you are trying to write to an LED strip to control it with the Arduino?

Note that the Nano has true analog inputs but no true analog outputs. analogWrite() is actually PWM which can simulate analog to control the speed of a motor or to make an LED appear dim.

If you are trying to control an LED strip, there are different kinds of LED strips. What LED strip to you have? A basic non-addressable LED strip can't be driven directly from the Arduino. It needs a transistor of MOSFET driver. (The driver circuit can "pass-through" PWM for dimming.

Addressable LED strips have a built-in driver circuit built-in for each LED (or each group of LEDs) and they can be controlled with a digital output.

Which nano? There are several. Post a link to the one you bought.

INSTRUCTABLES

GIT (in particular, the Arduino sketch)

Hi, @atex_s
Welcome to the forum.

You need to tell us what your project is?
A link to where you got your code if you didn't write it yourself?

What hardware you have.
Your code loaded into a post the way described in the instructions above.

Can we please have a circuit diagram?
An image of a hand drawn schematic will be fine, include ALL power supplies, component names and pin labels.

Thanks... Tom.. :smiley: :+1: :coffee: :australia:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.