Just one of many ideas, the possibilties are endless. I'de always go for RGB leds over just white, allows for more customisation while able to still give you the same white as the white leds.
... unless, as in my use case, colors are not needed.
I'm too stingy to pay for the unused dry powder!
You guys had the wrong LED type in the arduino setup:
// NEO_GRB Pixels are wired for GRB bitstream (most NeoPixel products)
// NEO_RGB Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)
// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products)
I have the 12V GRB option - one controller connected to 3 leds but it runs smooth as a cat. With RGB and RGBW it doesn't work that well and I see only 3 led chunks. ali express link 12V2811 5m |1 50 leds | White PCB
That is the setup line that works for the WS2811 RGB strip (GRB strip):
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, PIN, NEO_GRB + NEO_KHZ800);
I went on this by accident and I thought I should let you know even after 2 years Hope that helps
I had the same problem with "Emakefun LGT-RF-Nano für Arduino Nano V 3,0 RF-NANO LGT8F328P Integrieren NRF24l01 + Micro USB Nano Bord mit Antenne Interface"
Using the default Compiler the Serial Messages were not working properly.
I used this https://github.com/nulllaborg/arduino_nulllab Board Package and it worked(at least the serial issue). The rest I still need to test.
I hope this helps some hours of trouble.
It's an awfully convoluted way of doing things but suspect your error lies in misunderstanding calculations mixing ints and floats and something screwy with your resistor bridge - It is always worth checking the bridge with a multimeter and raw voltage to verify the expectation.
If you have 3v at the top of your voltage divider, you should be getting 0.9593v applied on the ADC pin which will be read as 892 against the 1.1v internal reference.
The easiest way I found was to define a multiplier needed to derive the raw voltage, in this case (((R1+R2)x1.1)/R2) - For your resistor arrangement the max you can read is 3.4404v before exceeding the 1.1v internal reference.
To reverse the ADC reading of 892 to raw voltage is (892x3.4404)/1023 = 2.9984 v.
Perhaps this is a simpler way to do it
float MULTIPLIER= (((1000+470)*1.1)/470);//Resistor bridge values in k and Vref
int sensorValue = analogRead(BATTERY_SENSE_PIN);
float batteryV = (sensorValue * MULTIPLIER)/1023.0; //Note the trailing decimal point on the 1023 for calculations involving floats
Install this and find libraries for whatever sensors you have on that board.
@basaksts said in nRF5 Multi Sensor Board (12-14€):
Also I need an bootloader
No, you really don't. You need ST-Link, or J-Link SWD programmer/debugger. Connect it to SWDIO, SWCLK, 3.3V and GND and program it using Arduino IDE.