Provide a link to this Nano. It apparently has a built-in buck converter or, if it is a linear voltage regulator, can only tolerate a very small current.
To add. It worked fine for a few weeks. Just use the car occassionaly, and last weekend it happened the first amd only time. Have not had the chance to test again
The table presented clearly shows that the original Nano has a 20V input limit, while the clone has a 15V input limit. Your vehicle's operating voltage nears that limit in normal conditions, while starting and operating transients will likely far exceed that(leading to, at best, forgetfulness, at worst, destruction). Your best bet is to both add some circuit protection, and drop the voltage considerably. Either to 8 or 9 volts (buck converter, my choice) or traditional 7805 regulator. If you elect to drop the voltage to 5V, remember to feed the Arduino via the 5V pin, NOT the Vin pin, which MUST receive at least 6.5 VDC for proper operation.
i am gonna add a voltage regulator on my pcb and feed 5V into the 5V arduino port.
I knew the Vin can only accept a minimum of 6V.
Furthermore i was under the impression that the original Nano only had a Vin range from 7 to 12V max.
Thats why i went for the clone one which had a 20V max.
I had my doubts about using an unregulated input to the nano because 2 other arduino's in the car get voltage through stepdown buck convertors.
But could that be the cause for losing it's program?
Thats why i went for the clone one which had a 20V max.
Wrong. Please read the following again (excerpted from the website you pointed to):
Difference
Nano V3.0
Nano V3.0 - Compatible
USB connection
Mini USB
Mini USB
USB cable
Included
Not included
USB <-> UART converter
FT232RL
CH340G
Drivers
Standaard van Arduino
CH340 driver(Win/Mac/Linux)
Maximum input voltage
20V
15V
It is your clone that has the 15V max, not 20V. That means that just about any electrical transient of any size can take you over the 15V max.
Now, that doesn't mean instantaneous problems, but it DOES mean random, difficult to trace problems that get attributed to many wrong things.
It's your choice.
Well i added a buck convertor to feed a steady 8V into the Vin. I guess problem solved for now
but i will be going for an original Nano and setup a Vreg for 5V