Hi
I have an Arduino Nano V3. Input voltage is 7-12. I use external batteries (1.5V, which is basically 1.3V I believe). I have 8 of them, so 10.4V around.
When I power it on, the Arduino green "ON" LED works. But the project does not work. When I on/off the project few times, finally the blue led next to L blinks and then the project executes (No pattern, as far as I could troubleshoot, just random). What does the "L" stand for, and how can I make the code execute every time it boots?
Thanks for any info!
No code and no schematics is going to make it pretty hard to tell much.
Want to add a lot more detail ?
ballscrewbob:
No code and no schematics is going to make it pretty hard to tell much.
Want to add a lot more detail ?
Sorry about that. The schematic looks kind of like this:
![](https://europe1.discourse-cdn.com/arduino/original/3X/2/f/2f0984456f8dd47c5beb0a68b72c3d6cf62ef2aa.jpeg)
(Heed no attention to the model of OLED and such, it's an approximate model)
The code is quite simple, to go over some parts, it's:
Include parts:
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
Setup part:
void setup() {
Serial.begin(9600);
gameOn = false;
gameInterval = 3000;
highScore = 0;
highScoreName = "";
nameLocation = 0;
//Screen things
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); //Just a default image I show
display.display();
delay(1000);
// Clear the buffer.
display.clearDisplay();
}
Basically a OLED, button, Arduino Nano V3 and batteries (8x1.5V)
(The image has few mistakes in there, the GND is connected to Arduino GND; to create the common ground. It all works usually, but most times it does not for some reason. PIN placements on image is a bit off perhaps)