Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Recent content by Greital

  1. Greital

    help with :::Generate a random number using interrupt:::

    didn't think about it :woot: will try it, hope it will work, Thanks :happy: the instructor teach us to make it this way ----->>>> the CMD and WCHR are given to us and they forbid us to change a thing on it ya that's why we think later to decrement the 99 by 1 inside a loop and gets out when...
  2. Greital

    help with :::Generate a random number using interrupt:::

    hi still working on my 8051 project using assembly language, and now I'm in phase 4 --->>>> the last phase ;) in this phase we should generate 2 random numbers as following: 1. one digit (1-9) 2. two digit (10-99) and by using push button we pick randomly the number we have done one digit...
  3. Greital

    help with converting numbers to letters in 8051 assembly

    thanks for your reply, appreciate it :) in this phase I have to show a number stored in R3 for example as letters for example if I put R3=#31 ---> it should print thirty one in the LCD -->> I don't know how to generate the letters out of the numbers :banghead: that's my problem :arghh: in your...
  4. Greital

    help with assemble code 8051 - prime or not prime number

    thanks to all of you for your help, I've done by dividing my number by a prime numbers (2, 3, 5, 7) and check after each division if its prime or not
  5. Greital

    help with converting numbers to letters in 8051 assembly

    I'm really sorry for that, I just saw it after your reply to this thread :( alot of things I need to do at the same time :banghead: --->>> I hope you can accept my apology :sorry: thanks for your reply I know I should divide and A holds the number an B the remain (module) but what is the...
  6. Greital

    help with converting numbers to letters in 8051 assembly

    hi, I'm trying to complete my project in assembly 8051 , and thanks to all of you I completed the 1st phase now I'm stuck in the 2nd phase I should convert a number to its letters --->> for example if I put R3 = #31 it should print thirty one I know I had to make an arrays: 1. single digit...
  7. Greital

    help with assemble code 8051 - prime or not prime number

    I just thought about to divide the desire number by 2 then check if its prime or not , then increment the divisor and check again the largest number I have to test is 99
  8. Greital

    help with assemble code 8051 - prime or not prime number

    hi, I'm working with a multiple phases project in 8051 micro-controller and phase one involved with check if a given number is prime or not the way I've trying to do this code is : 1. assuming 2 numbers one is prime and other is not and save them in R1, and R2 2. create a counter from 99 and...
  9. Greital

    Maximum delay can be implemented by timers

    thanks alot :happy: for your help :) , really appreciate it
  10. Greital

    Maximum delay can be implemented by timers

    hi, I'm kinda new to 8051 and have a problems with it :( Q: assuming 8051 is connected to a 6Mhz crystal, what is the maximum delay that can be implemented by a single timer using mode 1 ? what I've tried is the following: 1. finding the freq = 6/12 Mhz 2. finding the cycle of time =...

Latest threads

New Articles From Microcontroller Tips

Back
Top