Wednesday, March 13, 2013

Volt/Ohm Meter for 8051 using Assembly

The post provides simple Digital Meter project code using assembly for 8051 micro-controller. This project mainly focusing on designing condition circuits and demonstrating a use of Analog to Digital Converter (ADC).

Code, flowchart and Proteus simulation is given in the 'Downloads' section at the bottom of this page. It is assumed that you know how to interface LCD and ADC with 8051 micro-controller.


The result of the Proteus simulation is shown below.



In the above figure, we can see that a read of voltmeter and ohmmeter is shown on the screen. The processor keep scanning for change of analog signals of voltmeter and ohmmeter circuits sequentially and frequently. If some change happens equal to one step size (5/255=19.61mV) or more, the processor calculate the new reads and print it.

Flowchart


The flowchart describes the main routine and each one of the three subroutines included at the assembly code.

The program acts as follows:


  1. Initialize the memory and LCD for display after powering up.


  2. Convert analog voltage signal on IN0 of ADC to 8-bit digital signal.


  3. Calculate and print voltage value (Vin = Digital signal * Step size)


  4. Convert analog voltage signal on IN1 of ADC to 8-bit digital signal.


  5. Calculate and print resistance value by voltage divider method.


  6. Forever repeat steps from 2 to 5



Features



  • Good sensitivity for voltmeter.

  • Ohmmeter resistivity ranges up to 9.7 KΩ.

  • No need of external clocking source for ADC.


  • No need of switches for voltmeter and ohmmeter mode multiplexing.


Downloads


The code was compiled in Kiel uVision 4 and simulation was made in Proteus v7.8 SP2.
To download code, flowchart and simulation click here

Monday, March 4, 2013

VLSI CAD: Logic to Layout

VLSI CAD: Logic to Layout

The course I was waiting for is just starting, I'll be pleased if you join also :)

The course is about VLSI, seems to be another point of view than which we study at our class this year, but I think it's still interesting ^^

Course Instructor: Rob A. Rutenbar
He is the Abel Bliss Professor and Head of the Department of Computer Science (CS) at the University of Illinois at Urbana-Champaign :O

PS. Coursera gives the course online at zero fees! ;)
 

Sunday, February 24, 2013

Basic Calculator for 8051

Hello Everyone, Finally I come back after along absence. Today's blog will be about something I like most.  It took from me the last two nights. Fortunately it's required for my next class homework. I hope it could help my colleagues :)

The post provides a simple calculator project code using assembly for 8051 micro-controller. This is a simple one decimal digit calculator which implements only 4 functions: addition(+), subtraction(-), multiplication(x) and division(/).

Code, flowchart and Proteus simulation is given in the 'Downloads' section at the bottom of this page. It is assumed that you know how to interface LCD and keypad with 8051 micro-controller.

The result of the Proteus simulation is shown below.

Calculator Proteus Sim

In the above figure, we can see that a result of "9x9=81" is shown on the screen. To achieve this result, first press '9' from the keypad. Then press 'x' and then press '9' again. After that, on pressing '=' from the keypad the result '81' is automatically displayed on the screen. Then after seconds the screen cleared automatically for next try.

Flowchart


The flowchart describes the main routine and each one of the four subroutines included at the assembly code.

the program acts as follows:

  1. Initialize the memory and LCD for display after powering up.

  2. Get input form user as " 10/2="

  3. Calculate the result depending on the operation once the user press (=)

  4. Print the output on LCD


Calculator flowchart

Features of this calculator



  • You can give any single digit input from 0 to 9.

  • 4 functions are implemented i-e addition, subtraction, multiplication and division.

  • Error messages are displayed if wrong input is detected. For example, if calculator is expecting a number, but a function key is pressed then 'Error!!' message is displayed. Similarly, 'Error!!' message is displayed if wrong key is pressed instead of a function key.


Downloads


The code was compiled in Kiel uvision 4 and simulation was made in Proteus v7.8 SP2.
To download code , flowchart and proteus simulation click here

Saturday, February 9, 2013

How Famous Tech Companies Got Their Names?!

Apple Computers:


Image


It was the favorite fruit of founder Steve Jobs. He was three months late for filing a name for the business, and he threatened to call his company Apple Computers if the other colleagues didn't suggest a better name by 5 o’clock. 



 Google:


Image

The name started as a joke boasting about the amount of information the search-engine would be able to search. It was originally named ‘Googol’, a word for the number represented by 1 followed by 100 zeros. After founders – Stanford graduate students Sergey Brin and Larry Page presented their project to an angel investor; they received a cheque made out to ‘Google’. So, instead of returning the cheque for correction, they decided to change the name to Google. 



Hewlett Packard:


Image

 

Bill Hewlett and Dave Packard tossed a coin to decide whether the company they founded would be called Hewlett-Packard or Packard-Hewlett :D



INTEL:


Image

  Bob Noyce and Gordon Moore wanted to name their new company ‘Moore Noyce’ but that was already trademarked by a hotel chain so they had to settle for an acronym of INTegrated ELectronics.



Microsoft:


Image

Coined by Bill Gates to represent the company that was devoted to MICROcomputer SOFTware. Originally christened Micro-Soft, the ‘-’ was removed later on.

Motorola :


Image

Founder Paul Galvin came up with this name when his company started manufacturing radios for cars. The popular radio company at the time was called Victrola.



SONY:


Image

It originated from the Latin word ‘sonus’ meaning sound and ‘sonny’ as lang used by Americans to refer to a bright youngster.

Wednesday, February 22, 2012

MSP Microsoft Student Partner Program ماذا تعرف عنه؟

إحترت كثيرا قبل أن أكتب هذه التدوينة، لدى العديد من المواضيع التى أريد أن أكتب عنها، ولكنى أحترت بماذا أبدأ..


وأخيرا فضلت أن أكتب عن موضوع يشغل إهتمامى هذه الفترة، وأظنه يهم أيضا أصدقائى فى الجامعة، وأى طالب جامعى عموما..


المقال يتحدث عن برنامج عالمى تقدمه شركة مايكروسوفت، وهو مقدم لطلبة الجامعات من كل مكان فى العالم، وقد أردت خوض هذه التجربة وأردت أن أشارك معكم ما عرفته عن  الموضوع، وقد كتبت هذا المقال من حديث الطلبة المشاركة فى البرنامج وعن مقال كتبته طالبه تدعى نوران عويس فى مجلة عرب هاردوير العدد الأخير..




ما هو هذا البرنامج تحديدا؟


 برنامج Microsoft Student Partner أو ما يطلق عليه MSP  ، هو برنامج تعليمى عالمى يقوم برعاية الطلبة فى تخصصات تكنولوجيا المعلومات بالجامعات. ويسعى إلى تحسين فرص توظيف الطلبة بعد التخرج، وهذا من خلال تقديم مجموعة من التدريبات خلال سنوات دراستهم سواء تنمية المهارات أو التدريبات على أحدث التنقيات المقدمة من مايكروسوفت.


لا يقتصر البرنامج على هذا فقط ولكن بمجرد الإلتحاق بهذا البرنامج تحصل على لقب MSP  داخل جامعتك وهو الذى يتيح لك المزيد من الصالحيات من عمل  بعض الندوات والمحاضرات لبعض أدوات مايكروسوفت  الجديدة التى يتم تدريبك عليها من خلاص شركة مايكروسوفت. ال برنامج متاح فى معظم دول العالم، ويقبل الطلبة بجميع مراحلهم التعليمية بالجامعة فى التخصصات التى لها علاقة بتكنولوجيا المعلومات.


ولتلخيص ما سبق ذكره فى كلمات قليلة ... ستكون أنت الشخص الرسمى من مايكروسوفت للتحدث داخل جامعتك.



 كيف يمكنك كطالب الإستفادة من هذا البرنامج تحديدا؟


 فى البداية ستحصل على مميزات جيدة من هذه الشركة العملاقة مثل برمجيات مايكروسوفت، تدريبات، ومحاضرات. ولكن من أقوى الأشياء  التى ستحصل عليها هى الخدمات الغير ملموسة. المهارات التى ستكتسبها والعلاقات التى ستبنيها سواء مع أفراد معك فى هذا البرنامج أو مع موظفى شركة مايكروسوفت أنفسهم، وأخيرا اللقب الذى ستضيفه فى سيرتك الذاتية أن هذه الشركة الكبيرة اعتبرتك فى يوم من الأيام ممثل لها داخل جامعتك.


دعونى ألخص سريعا فى عدة نقاط ما يمكنك أن تحصل عليه من خلال هذا البرنامج:




  • أحدث برمجيات شركة مايكروسوفت  المرخصة بإعتبارك واحد من ممثليها.

  • التعرف على فرص العمل المتاحة وطلبات السوق من خلال التعامل والإحتكاك بالآخرين.

  • التعرف ومقابلة مجموعة ضخمة من ممثلى جميع الجامعات فى بلدك وخارجها.

  • التطوير وتحسين سيرتك الذاتية بهذه المجموعات من المهارات.


ما هى المعايير التى يتم تطبيقها للدخول فى هذا البرنامج؟


يقوم البرنامج بإختيار كل من تكون له دوافع التعليم وتنمية مهاراته ورغبته الدائمة فى تطوير الذات والتعرف على كل ما هو جديد فى مجال التكنولوجيا. كما ينبغى أن يتمتع بشخصية قوية ولديه مهارت التواصل من الآخرين والعمل داخل الفريق




وأخيراً..


إذا وجدت نفسك مهتم بهذا البرنامج وتريد خوض هذه التجربة أيضا، إذا كل ما عليك هو تقديم طلب الإلتحاق بهذا البرنامج على حسب جامعتك، والإلتحاق بهذا الركب الذى تقدمه شركة مايكروسوفت لتنمية المهارات ووضعك على الطريق الأمثل لمتابعة كل ما هو جديد فى مجال تكنولوجيا المعلومات، وإعلم أنها تجربة واحدة لن تتكرر إلا مرة واحدة فى العمر، وبالفعل هى تستحق!


 



لمزيد من المعلومات 


موقع MSP : www.microsoftstudentpartner.com


مدونةMSP  مصر: www.mspegypt.wordpress.com


صفحة MSP Benha : https://www.facebook.com/BU.Tech.Club


Tuesday, February 21, 2012

البداية

 بداية هذا الأسبوع كانت بداية الفصل الدراسى الثانى للعام الدراسى الحالى، وأيضا كانت بداية النصف الثانى من رحلة دراستى فى الكلية، حيث أنى أنهيت عامين ونصف وتبقى لى مثلهم، أملى إنى أتعلم مما مضى وتكون بداية جديدة أحقق  فيها أهدافى وأشعر أيضا بالرضا عن نفسى.