Hi,
Just out of curiosity, why the values of the capacitors of the XTAL should be smaller ? and indeed, I should've add the resistors for current limitation.
As for the relay coil current, I have a 5 volt rating and the coil resistance is 69Ω so the coil current is 5 / 69 = 72.4 mA. why ?
For the GND at the relay contact, the simulation didn't work without it. my battery is supposed to be a Powerbank.
This are more than basic questions.
* Generally you need to know what "voltage" and "current" means and how to calculate it.
* Then you need to read datasheets and keep on datasheet informations. Every one needs to do this, even we professionals. Every day.
-----------------------------
XTAL capacitors: are given in the XTAL datasheet. How to calculate them: in the according application notes.
And there are many millions of example circuits showing useful values.
BJT base resistors. Many online calculators are available. Many millions of example circuits showing useful values.
Coil current determines BJT collector current --> this determines useful BJT base current --> this determines useful base resistor values.
LED currents and voltages are given in it's datasheet. This determines the current limiting resistor values.
Many millions of example circuits showing useful values.
Why don't you use the internet? It gives all informations you need. Every datasheet, application note, online calculators, design examples....
For every tiny information you may find online tutorials, often even videos.
Use them ... this all is for free.
Imagine....more thirty years ago, when I learned electronics..there was no internet. This really was hard time.
Hard time to get informations like datasheets, electroncis courses, there even was no library around with according books.
Many trials and fails ... often with ugly smelling smoke.
Luck you - you have internet now. So use it.
Also you have the simulation tool. It's easy to measure (LED, BJT, battery...) current ... without smoke and fire and explosions.
Klaus