Product ID: EM-KM-RTIB-8051
Product Jump Code: 96
Product Tutorials
User Manual - PDF
User Manual - Quick View

|
Question - by Abhijit |
This board has one DS1307 Real Time Clock with i2c interface. However the MCU on the board 89V51RD2 DOES NOT have any i2c port. So how do I interface the RTC with 89V51RD2? |
|
Question - by Abhijit |
Never mind. I think I have found the answer. Looks like I have to implement the protocol using the regular GPIO |
|
Embedded_Market_Support - Reply |
This can be done using Software I2C also known as bit-bang method. |
|
Question - by shuaib |
Sir, Sir, I wanted to know how i can connect LM-35 as external input to ADC. The program which i wrote for testing is working fine with Potentiometer(Internal Input). I think i should change some connections. Also please tell me the minimum and maximum temperature which can be measured by the sensor. Thank You. |
|
Embedded_Market_Support - Reply |
Follow these steps: 1. Shift ADC Input Jumper to Ext 2. Connect LM35 output Pin to EXTANA Pin near ADC0804 3. Connect 8 connectors from ADC Output to Port2 of 89V52RD2. 4. Write program to read P2 and use the values as you need further. |
|
Question - by shuaib |
Sir, Please tell me the minimum and maximum temperatures which can be measured by LM-35. Thankyou. |
|
Embedded_Market_Support - Reply |
Please refer LM35 datasheet. |
|
Question - by shuaib |
Is it mandatory to connect to P2 or it can be connected to any port?? I connected to P0 but cannot get any output. |
|
Question - by shuaib |
Sir, I followed all the steps given by you. But i could not get any output. The output from ADC remains 0 all the time.. |
|
Embedded_Market_Support - Reply |
Press switch provided near the ADC IC. This enables the ADC. Dont use P0, use any other port. |
|
Question - by shuaib |
i tried by changing port to P2 sir.. i presses START-ADC switch but couldn't find any change. I even tried by changing input to port pins. the output is 0 in all the cases(pin HIGH or LOW) |
|
Embedded_Market_Support - Reply |
Test this way - Shift ADC to Internal where preset acts as input. Connect ADC Output (8 lines) to 8 LEDs on the board. Press the switch and use small tip screw driver to change the preset (variable resistance pot). See the LEDs will on off. |
|
Question - by shuaib |
yes sir.. its is working with preset.. but external inputs aren't working. its not working with LM-35. |
|
Embedded_Market_Support - Reply |
I am sure there is some connection mistake at your end. Please share your connections step by step here. |
|
Question - by shuaib |
ADC data pins connected to port2. LM35 to external analog input '+' P0 to LCD data pins P1.0 - LCD RS P1.1 - LCD RW P1.2 - LCD EN The three connections which are were sent by you for ISP are intact, I did not change them. |
|
Question - by shuaib |
if i shift adc input jumper to internal input is working fine. but when i change adc input to external input it is not working. LM-35 is connected to analog input +. analog input - is not connected. should i make any ground connections?? |
|
Embedded_Market_Support - Reply |
Please re-read my reply above, the jumper change instruction is clearly mentioned in the first reply itself. Your connections are 100% ok. In case you have a sensor from out side the board (not mounted on the board) then connect the Analog input - pin to ground of external sensor. Ensure that external sensor works on 5V. |
|
Question - by shuaib |
Sir, Tried all steps still.. ADC not working with external input. |
|
Embedded_Market_Support - Reply |
Pl call 020-24228818 on Monday after 1.00 pm till 5.00pm keeping your setup ready. Will resolve it. |
|
Question - by shuaib |
Sir, I didnt see this reply as i was out of the town. I connected the ADC with external sensor and is working fine. Thank u. Can u please explain me how to interface seven segment LCD? i understood that each pin is used to enable a particular seven segment LCD. And the pins a,b..g are used to display numbers. is ther any way by which i can use all the four displays to display different numbers? |
|
Question - by PRAKASH |
I am getting a problem whenever i tries to download a .hex into the controller through flash magic tool. it showing the error "unable to connect to the device with the specified baud rate.try to reduce the baudrate and make a connection" in my PC. And my doubt is whether any connection should be made between the controller ports and serial port pins (RX,TX and DTR)for downloading operation. if it is so then where should i connect this RX,TX and DTR pins in the kit. |
|
Embedded_Market_Support - Reply |
Yes. Connections are required. When we dispatch the product, we provide it in connected format. Was that so? Connect RX to P3.0, TX to P3.1 and DTR to RST pin. RST pin is 6th pin on ISP header. |
|
Question - by bavanari |
while i was dumping code through flash magic into 89v51rd2 controller it is showing error message as "unable to connect,auto baud failed, reset the device into ISP mode" please help me to dump the code into kit.. |
|
Embedded_Market_Support - Reply |
This may be due to wrong connection or wrong jumper setting or virus infected PC. |
|
Question - by bavanari |
we didnt actually change the jumper connections which u have set after we received the kit...any extra connections to be made??will u please specify them... |
|
Embedded_Market_Support - Reply |
Have you used USB to Serial converter? Check for Virus on your system. If problem still unresolved, pl keep the setup ready and call our office number 020-24228818 during working hours so that we can help you over phone. |
|
Question - by bavanari |
Serial port is not working on our board. We have tried burning the Microcontroller from another Programmer and checked it on our board. All the pheripherals are working perfectly except serial port. We have also changed H1N232 IC (RS232 Driver) and it still didnt work!!!. We have also found that the pcb layout for the LCD was designed incorrectly for backlighting. The +ve & -ve terminals were wrongly connected. |
|
Embedded_Market_Support - Reply |
LCD circuit is perfect. You need to short the 2 pins marked for backlight to enable the backlight. For Serial port, we do check each and every part of the board individually using test jig, and also program the onboard microcontroller using on baord serial port circuit. Thus error in programming is due to some other reason. You have to connect Rx TX & DTR (RST) of serial port section to P3.0, P3.1 and RST pins of 89V51RD2. The RST pin is the 6th pin of the male header located on top side of the 89V51RD2. Also note that there should not be any pull up resistance connected on Port3. To check working of serial port, you may conduct the test as described below --- Connect power to the board, connect serial cable (it should be same what we have supplied to you which is M-F 1-1 type) between PC and the board. Short circuit the Rx & TX point of serial port section using single pin cable provided to you. Start Flashmagic on PC, open the serial monitor utility from flashmagic and connect to the COM port which you are using. Send a character A and it should eco back char A. remove the short made on Rx tx line and re-send Char A, it will not eco back. If this fails then do change the serial cable and try again. Do let us know the results. |
|
Question - by bavanari |
LCD is working fine when the 2 pins are shorted. Also, the serial port is echoing the character on the serial terminal when Rx & Tx are shorted and echo is not seen when the short is removed. But the code cannot be burnt into microcontroller. It says "Reset the device into ISP Mode Now".We tried to switch off and on the board, but it didnt work. Please suggest tips for burning the code. |
|
Question - by bavanari |
Also, could you clarify whether P3.0 should be connected to Tx/Rx of serial port section because P3.0 is Rx of microcontroller and logically it should be connected to Tx of serial port section. But according to your last reply, it is to be connected to Rx of serial port. |
|
Embedded_Market_Support - Reply |
Connect P3.0 to Rx, P3.1 to Tx and RST Pin (6th pin of the header above controller) to DTR pin. Also see that in flashmagic software, click menu Options->Advanced Options, see Hardware config Tab and ensure that "Use DTR & RTS...." is checked, otehr 2 check boxes are unchecked and T1=100, T2=50 is set, click ok when done. |
|
Question - by bavanari |
All the things were setup as instructed but still it says "Reset the Device into ISP Mode now". We have tried with different serial-cable also(USB-Serial Converter), but the problem persists. Suggestions needed. |
|
Embedded_Market_Support - Reply |
The USB to Serial converters will "not" work at all. Use direct serial cable only. Other reasons may be - 1. The 3 single pin connectors used to connect Rx, TX, Rst may be faulty. 2. The 89V51RD2 on board has program of serial communication inside it which will block the Programming actions, have you dumped the serial port program in it?. 3. Try the same setup as discussed above on other PC with XP - SP3. 4. Has anyone inverted the DTR signal on COM Port settings in Device manager? |
|
Question - by bavanari |
yes, we tried everything you suggested and still did not get it working. Please send us an user manual with step-by-step procedure to connect and program the board. |
|
Embedded_Market_Support - Reply |
There is no user manual. All above steps are documented in tutorial published on our website. What are your replies to 4 questions asked to you in last reply. 89V51RD2 programming is simple and never have troubled any user up to this extent. Pl reply to the 4 questions and then we can have phone support keeping your setup ready with Windowx XP SP3 OS machine. |
|
Question - by bavanari |
Yes we have worked out the 4 options you suggested but the problem still persists.Please provide snapshots of connections on board for burning the code and corresponding flashmagic software configuration. Can we have phone suppport today itself? Reply ASAP |
|
Embedded_Market_Support - Reply |
Pl call 020-24228818 before 5pm today. |
|
Question - by bavanari |
Hurray!!! Its working :) Now, we have checked it on a Desktop-PC running XP-SP3. Thank you for all the support. I would suggest to add this important point(OS: XP-SP3)to the user manual. |
|
Question - by Janaka |
how to connect this board to my laptop for programming? |
|
Embedded_Market_Support - Reply |
This board has on board Programmer circuit based on serial port. Use the same. If your laptop does not have serial port then you will have to use http://www.embeddedmarket.com/products/USB-Programmer-for-LPC-ARM-and-P89VXX-Microcontrollers |