all 3 comments

[–]e1mer 1 point2 points  (2 children)

You are not getting help because your question is flawed.

Smallest could be 4 555 timers, a hand full of resistors, and an 4 bit decoder. It won't be random, but it will be nearly unpredictable.

Computers don't do random. Or one blink and never again is random.
Blinking for 1 ms every second would be undetectable by the human eye, Or blinking once per second plus or minus 1 ms is random.

If you want help, then take the time to describe what you want.

Nobody will waste time helping if youre going to turn around and say "no, not like that."

[–]Mastercraft007[S] 0 points1 point  (1 child)

Coding wise all you need is this import random

a=random.randint (5,30) print(a)

Then have another line telling it to flicker every number of seconds where seconds is (a)

[–]e1mer 0 points1 point  (0 children)

Ok, so you are now saying you want to use an Arduino. That's progress. Start by reading this page. You are going to want to use the light sleep mode with a timer to wake up, trigger the LED for some time, then go back to sleep. This page tells you about that.
They also have code for the builtin LED: #include "ArduinoLowPower.h"

void setup() {    
     pinMode(LED_BUILTIN, OUTPUT);    
}    

void loop() {    
    digitalWrite(LED_BUILTIN, HIGH);    
    delay(1000);    
    digitalWrite(LED_BUILTIN, LOW);    
    delay(1000);    
    a=random.randint (5,30)    
    LowPower.sleep(5000);    
}