RSS Feed

Category Archives: Articles

Don’t turn off your machine!

Posted on

Don’t turn off your machine!

  1. What is the longest time was your computer running for? What was your operating system back then?
  2. How many times did you often use SHUTDOWN/RESTART/SUSPEND/HIBERNATE?

This article aims to discuss power choices and what is the best to meet your requirement, as using the right choice would save your time, power, and money. First of all what is the function of every one of them?

  • Power off/ Shutdown:

It brings down all your computer component and you can remove the power source. Despite for the start up it consumes a lot of power, power means money of course, and the most important it takes long time to boot.

  • Suspend/Sleep:

It brings all your computer down but RAM “Random Access Memory”. RAM is the tricky part, as you are working and running programs RAM is the place to store all services processes, ….etc and so if you need all your programs running again then you just need to restore RAM data as it is volatile and it saves nothing if you remove the power source. Suspend do it this way as I said before. Keeping the RAM power on will keep your data and then you will have your computer up in a very low time that saves your time despite RAM consumes power even if it very low but for a laptop battery, you will need it.

  • Hibernate:

It can restore your computer to it’s previous state as suspend and shuts all your computer like Shutdown, but how? It copies the RAM data to hard disk and here you are your computer up with running programs and continue your work. For sure it takes time to copy the data back to RAM and that’s what take time in start up.

Now what is the best choice?

If you will leave your computer for a short time then SUSPEND is your best choice. You will save the power that will be drained in the start up and time of course -Suspend takes just a few seconds and your computer is up and working.

If you will leave your computer for a long time and wants your work back then HIBERNATE is your best choice. It takes more time in start up than suspend but it will save your power which will be very effective for a laptop.

If you finished what you are doing and all saved and okay then SHUTDOWN is the best one as computers needs to rest.

Personal experience:

Back to 3 years as my lazy brain remembers! Microsoft was testing windows 7 and I really wanted to test and see what is new. I was working on windows XP and I left my PC working for 3 days downloading Windows 7. All I could say describing my PC, it was like walking dead -very very slow-. I started to use Fedora/Linux nearly 2 years ago. Now I am leaving my PC to 5 or more days without even a restart and it is always as just powered up every time I got back to it.

Maestro Of Circuits

Posted on

بسم الله الرحمن الرحيم

A- Do you know resistors?

B= Who don’t!

A- Can you calculate it’s value?

B= I can manage my self. Some times I calculate it through colors, or using ohmmeter.

A- What do you think about resistors?

B= It is way too simple that I really don’t care about it. I am concerning my self most with other component ICs the most.

A- Then, you know micro controller?

B= Yes, that’s why resistors -that can’t be programmed- don’t have any effect on my circuit. I always put any resistor value and it works.

A- Do yo…….

B= BTW, What is this all for? I am already fed up of you.

A- Sorry for that. I just wanna know from what direction do you look at resistors. Can I ask you another question?

B= Last one?

A- All right. Do you know Voltage divider, Pull up-down resistor?

B= Hmm, I heard those names before but can you make it clearer?

A- You can look at these schematics:

BTW, do you know that each component you ever used has an internal resistance?

B= I heard about that before either but as I told you I am not concerning my self with resistors. It can’t affect my circuit.

A- Sorry, but you are wrong. Internal resistance -in my opinion- is the factor that decides the quality of a circuit. You can have two designs for a circuit to do a specific task, but there are always the best choice. To put in your mind all the factors that can affect your circuit, and choose the right component that can make a real big difference. Despite, many circuits can not be working just because of a RESISTOR.

B= I have never thought that resistance can cause a any harm to my circuit. Is there any application that resistor is the main factor?

A- Look, it is not like that always, but it is all concerning about POWER.

B= Power! P=VI=I2R=V2/R.

A- Yes, that is it. Power losses is the worst thing for any circuit. Resistance means you have a power losses that you don’t benefit from. Then you have to choose your right value then you will get the minimum power dissipation. That is what you can call a good design. Also there are some other subjects that have effect on a circuit like high frequencies, and Matching.

B= I didn’t hear about that before!!

A- Resistance -as I think- is the most important thing in electronics. It is too simple to put in mind but has a very big effect. You can call it the maestro of circuits. If you respect it you will have a good circuit design, and if not it will ruin your circuit for no reason. I will talk about things that I did not clear it for you:

How to buy a resistor? Value, sort, and Power

Internal resistance, and high frequency: There are no component -to my knowledge- has zero internal resistance. That resistance may increase in high frequencies, so you have to calculate it right. For example, transistor has an equivalent model the funny thing that there is two resistors in it. For high frequencies there are capacitors added to the model. Capacitors has a resistance that’s why it explodes. Batteries has it too, …….etc. Another thing is the heat, why any component gets hot? It is because internal resistance.

Matching: Some times you have two stages in a circuit one has a low output impedance and the other has a high input impedance. For maximum power transfer you have to match both. There are many methods to do so. Search for it.

 That’s why RESISTORS are the maestro. You have to respect it.

Q: In your opinion; What is more important to learn first ELECTRONICS or MICRO-CONTROLLER PROGRAMMING?

%d bloggers like this: