Forum Replies Created
It's very easy if you are using arduino. Just seach around and you will find code. If you are programming AVR controller or 8051 in C refer datasheet of sensor. YOu need to give signal to sensor to start sending ultrasonic pulse and it returns square wave output. calculate it's time using Timer/Counter and use formula to get distance. YOu will find formula in datasheet of sensor.
It might be due to Improper Baud Rate.(If you have changed default baud rate of modem from 9600 to other value using AT command) Make simple test program to check "OK" response from modem when you sent "AT" to it. If battery is not delievering enough current then also SIM900A fail to send message.
It won't affect running code in simulation if you want to examine what is actually happing with time stamp you can check it in Debug Trace you will get info of all events.
Agree with Ashutosh. YOu just need 40 pin DIP package. Pin numbers doesn't matter just physical dimensions are of interest.
Sure you can interface Ultrasonic module with AT89S52 and interface SIM900 modem via serial interface to send message via AT commands. If you have knowledge of How to interface sensor and know basic program to send data via serial interface (Which you can find on this site) you just need to get famaliar with few AT commands for sending SMS and you're done.
If you are using it on breadboard make sure that all connection you've made for LCD data lines is intact. If LCD had been exposed to moisture let it dry. You can use hair dryer for that. If you have modified program check if there is sufficient delay between sending commands so LCD can get time to process it.
No! In keil uVision it is generic header file which can be used for all 8031 and 8051 microcontrollers. 89c51 is 8051 based microcontroller so you can use this for it. header file simply defines register addresses in hexadecimal so you dont have to remember hexadecimal value of different registers like Accumulator has hexacecimal value of 0xE0.
Diode testing is very simple. put your digital multimeter in continuity/diode test range. In forward bias it will show some reading in range of 200 to 600 and in revese bias it will show opwn (i.e. 1 digit will be displayed on left most side of meter). if it is open in both side or buzzer sounds it is bad. to measure frequency you can use oscilloscope of frequency counter.January 23, 2015 at 5:32 pm in reply to: interfacing of LM 35,LEVEL SESNOR and HUMIDITY SENSOR to serial adc #12533
You can use parallel ADC too. It will use 8 line for data, 3 line for channel selection ans 2-3 control line still you will get enough pins to interface other thing and Both RTC DS1307 and I2C protocol based EEPROM can be interfaced to same pins and implementation of software based I2C protocol on 8051 controller.
If you want to use serial ADC then there is ADC8031 which uses serial inteeface and MCP3204 from microchip which uses SPI serial interface.
You can use Atmel Studio IDE which can be downloaded from the official site of atmel and it is free. It includes text editor,compiler and debugging function.
I can give you a basic idea. create a array of phone numbers. using loop you can send same message to all numbers.
u mean u want to send string to server or to send AT commands.
Make sure baud rate set by program in 8051 and in virtual terminal of proteus is same. To change baud rate,parity etc right click on virtual terminal and set it(baud rate same in virtual terminal and that of 8051 program). Hope this may fix problem.
you can easily make one yourself.Just put appropriate controller,connect leds to approriate port,right click on controller and add hex file generated by keil,set clock frequency and you are done. Just run simulation.
for 89c4051 you have to buy programmer. if it is 89s4051 you can make usbasp programmer to program it. search for usbasp in google.