Search Engine

8051 Reading

Add Question

77 Threads found on 8051 Reading
hello everyone!!! I'm using 8051 micro controller to measurement height of an object and human using HC SR 04 ultrasonic sensor, the problem is im getting 2 to 10 cm reading... what should i do??? is it possible to measure height using same sensor?????? Thanks
129159 org 0000h mov p1,#0FFh mov p0,#0000h Back:setb p3.6 clr p3.5 mov r3,#255 loop: djnz r3,loop setb p3.5 here: jb p3.4, here clr p3.6 Delay:mov r0,#08 loop2:mov r1,#255 loop1:djnz r1,loop1 djnz r0,loop2 acall Temp_Display ljmp Back Temp_display: mov a,p1 mov b, #010 div ab swap a add
I have been coding in Assembly for a couple of months now. I started with 8051 and I am now using a Microcontroller (Nuvoton) which is an 8051 derivative. For debug purposes, I want to view the SFR values at runtime. I have 4 seven segment for my application. I can view the 256 bytes of RAM with the below code in the 7 segment displays
Hello friends, I am interfacing DS1307 with 8051, i have written code in KEIL overall working fine :-D except reading date & time :sad: please guide me finding the bug. I am able to receive only 1 byte of data. why? I am attaching my keil project with proteus simulation. Please help
zip your full code here i look at it or you can use this working lcd referance codes below.
Hey, I'm an absolute beginner to micro controllers. I've just started reading the 8051 micro controller and embedded systems by Muhammad Mazidi. I want to start with a project but all i really have right now is the at89c51 chip. i wanted to start with led interfacing using this chip. But all the links need me to have a programmable board. Is it
No pins of 8051 can accept analog voltages. So you need an adc converter. If it is a matter of reading the applied voltage only, then why don't you rectify the supply. This way you can rule out the negative half cycle... Use a rectifier & a good filter, convert it in dc, read through adc, multiply by 44( if step down is 220v - 5v) & divide by 1.414
hello friends, my major is electronics engineering, I am quite comfortable with 8 bit micro-controllers (8051, AVR, PIC) and I also know the procedural and OOP languages well (C, C++, C# and so on...). What I want to learn is a good understanding of operating systems running on embedded devices, using some tool is not a problem but I want to really
dear all please i need assembly code (not c code ) for interfacing 8051 with ds18s20 temp. sensor thanks
65530, or 65535, or whatever, is not the decimal value...see the datasheet for how to convert it. The DQ line needs a pullup resistor because the device cannot drive the line high. It's also part of the 1-wire spec. It has an open drain output. For now, skip the temperature reading. Just read the ROM until you figure out what you need to f
hello everyone, I need your help for sending GPS data by GSM module using microcontroller 8051... I can not send data by gsm module which is SIM900.. Need C code or assembly code for both of them. Thank You.:-(
hi wondering if anyone can help me out with this, ive got the lcd displaying information, but i want it to display the temperature using the lm35 and adc0804 as well, using asm code. Basically i need to get the current reading from the lm35 and convert them in the adc0804 and then display that reading in degrees on the lcd display. I have found so
Yes, I know that 8051 has on chip hardware UART module. I've been referring to it as "UART module". So, do you want to transfer ADC results (from channel 0 to channel 7) one after the other to the computer? Is this the 8-channel you're referring to?
Hello, I am using SIM300 with 8051 MCU I want to read only first message after reading it i will delete those. I need suggestion which method is best to read msg i.e Interrupt or polling. Regards Kiran
If you want to build the one in the supplied schematic I suggest start by reading the datasheet of the fingerprint verification module that they are using: If you have never written code for a 8051 - start by buying a small development kit and play your way around from ther
I meant to say, that writing your own code is easier than reading an 8051. Next i suggested "lock" your microcontroller when you yourself program your own code as certainly there may be many more enquiries about how to "break" it as you have posted now:lol:
Hi Guys, so ive been putting together a 8031/8051 system on a breadboard with external PROM and going to be using external RAM, i can write to an External Memory address (by way of latch) and display the value on 8 LEDs no problem, the problem i have is i want to read an 8 bit value from a memory addresses input and then move that value to the 8
could that be an issue with translation? I had a similar problem when I was reading data from a 8051 silab micro. Without a ttl to rs232 converter (max232) my data was unreadable. Not sure if this is the same problem you are having.
Examples : Yo
Hello Friends: i'm trying to do one bit simple calc(using 8051 MCU) , which can take two numbers and operator from the Keyboard (save the numbers in RAM) then do the math the problem i'm facing , i end up having wrong numbers when reading from RAM . here's my asm code: ORG 000H JMP MAIN ORG 003H JMP INT0 ORG 100H
hi all, i am interfacing sim 300 with 8051 in assembly(not in assembly C) using keil please help me with the programme and codes. Thank You
Hello, first time post there. Im just having a little trouble writing a sub routine to be used on my 8051 All I need to do is scan an array of 16 consecutive numbers from external memory starting at a location (lets say 2020h) and returns the high byte of the maximum unsigned value on R2 and the low byte on R3. i started with mov DPTR, #
is a hardware emulator 89c2051/4051. The device has a large RAM and the possibility of saving and reading by ?MOVX? instruction, so you can use the emulator for testing program on processor 8051. Additionally from $f000...$ffff I/O ports were assigned, what gives the possibility
Dear all, I have integrated a MFRC500 reader IC with a p89v51rd2 uC. I have used Multiplexed address/data lines with separate read and write strobe configuration.I am just thinking of testing the working of the parallel connection by just reading a register from the MFRC. The MFRC contains the product information field at EEPROM address 00H to 0
Get a copy of "8051 microcontroller and Embedded Systems" by Muhammad Ali Mazidi and start reading. Its a good book to start.
The 83c752 uses the same instruction set as the other 8051, however it has additional peripherals, including an ADC module, which the baseline 8051s do not possess. To make use of the additional peripherals requires the configuration and manipulation of additional registers. I recommend obtaining and reading a copy of the 83c752 (...)
i am a beginner. pls send me the embedded-c coding for reading digital output of a IR sensor in 8051 microcontroller for its 30 I/o pins!( 30 ir sensors are connected to its 30 IO pins) I am using Keil compiler!
hii, i am using SIM 300 with 89c51. i am able to send text sms from 8051 and sim300. but now i am in problem with receive sms and show it on lcd. not even a single .... i am using interrupt for receive. now i dont have any problem for send sms from MCU. but problem with receiving sms. i am using following commands. (from PC it is
Another possible option is the use of I2C or SPI port expanders. Several manufacturers produce them, TI, Atmel, MAXIM and Microchip to name a few. You may want to consider the MCP23017 or MCP23018 16-bit I2C Port Expanders from Microchip: MCP23017 MCP23017 16-bit i
Can you paste the code reading data in matlab and sending data from 8051 ... Then it will be easy to find the Bug As per your post I think it is a data type. It may be due to sending data type of the data from 8051 and receved data type from matlab differs
for 8051s , you can write to the port registers (P0 , P1...) the data required and it will reflect on the output port pins. when you read the port registers (PO, P1..) you are reading the actual port . only precaution for 8051s are this: whwnever you want to read the ports , fist write to the port a 1. then read the port. (...)
please check this : Keypad Interfacing with 8051-8052 - Free 8051 Microcontroller projects
K2DGR8, It depends on the module, but most current ones support standard NMEA183 output. You'll set up the GPS to output the sentence of your choice (for instance, for lat/long, you would pick the GGA or RMC sentences). From there it's just a matter of reading in the string and parsing it in your 8051, picking out the lat/long data). Here
welove8051 i try ur code but still it is good for short time i can on the system but cant make it off.....becuse system have to remain on for almost 12 hours...
hello , I have copy from the net the following code on "mikroC PRO for 8051" for AT89C51 the code is #include "Include.h" extern unsigned char NowKey;// extern unsigned char xdata CommBuf;// // void EnableInterrupt(void) { EA = 1; } // void DisInterrupt(void) { EA = 0; } // void SystemInit(v
I want to configure cc2500 by using a AT89c51 and i could configure different registers via SPI but i am not getting how to bring the module in transmitting or receiving mode, I didn't find any register to bring it in transmitting or receiving mode. please help me........ thanks in advance...... :-P
my problem get reverse the led connection As expectable. You would have used this solution from the start, if reading the 8051 datasheet thoroughly.
Try the tutorial at this URL - 8051 Tutorial: Index -
I want to read a SMS from SE T610. Then decode it and according to the received message, control corresponding attached devices. My main problem is that I know that using AT+CMGR i can read the message but the recevied message comes with some extra strings like, "REC READ","+61xxxxxx",,"04/08/28,22:26:29+40" and then the original text.. help me how
Actually the containt programmed into a microcontroller isn't the same as the containt in the hex file. The programmer will translate hex into binary before writing into the MCU If the microco
It seems that you used 8051 based MCU and the P0 has external pull-up resistors. You have to set 1 to output for reading correct signals. Ex: PORT0_DATABUS = 0xff; nop_(); nop_(); GetData = PORT0_DATABUS;
he i dont get time for reading your post here are some codes which i worked on the 8051... i have sent data serially through shift register and this code is also written for that diagram
try this to initiate your project IR LED and TSOP 1738 : 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes
i thought this link helpzzzz 2 u........ Atmel ATmega (ATmega16 / ATmega32) I2C EEPROM (E2PROM) Example Schematic and C program The OP wants interface 8051 and not AVR The link you had posted uses an AVR, dont post irrelevant material
There is some information on how to connect LabVIEW to 8051: Maybe this will help. Kennedy
Heya, I was reading the book: 8051 micrcontrollers, authir david calcutt and i am not sure about my understanding to section 1.8: Microcontroller clock. The author gave this code $INCLUDE (REG66X.INC) ; lists all sfr addresses ORG 0 ; sets start address to 0 SJMP START ; short jump to START label
Hi all Ers. I'm interfacing Macronix Mx29LV640BT 8MB Flash with my 8051 core MCU. I had some clarifications on that. Is any body have such a above experience? and i expect your sharings. I written C code by reading the datasheet of Flash IC, but its not able to accessed. Is there any other way to write or read Flash IC via MCU? Thanks
You'll appreciate these two books as well, freely available and worth reading:
Dear All My Friends I use bascom8051 ,how can i read a pot value , i already test the command GETRC(Pin.x) with proteus but not working right dose any one have a good ans simple idea to measure a pot value with 89s52 Best Regards MedTronic
Basically I want to read a stream of audio Linear Timecodes which is a stream of frames made up of bits. 30 frames of 80 bits each = 2400bits per second The bits will be coming on a port pin(not serial) so I need a timer running to accurately get the bits. The question is that is it possibl

Last searching phrases:

keep out | mean well | and nor | seven | last three | nobody | near far | first course | forth | cant get