Description: The project involves creating an LCD digital watch with an alarm and thermometer functionality. The C source code has been downloaded and converted to a HEX file using the KEIL software. The intention is to program this HEX file into a microcontroller using a Universal Programmer BEE PROG+. However, upon selecting the chip and loading the HEX file into the programming software, data is written without issue. Upon reading the data back from the chip, it is observed that the software writes to the middle of the chip's memory, resulting in altered HEX characters. A comparison with HEX Workshop reveals numerous discrepancies, and consequently, the project fails to operate as intended. The PCB is confirmed to be functioning correctly, as evidenced by the backlight being operational on the 16x2 LCD screen.
This project entails the development of an LCD digital watch, which integrates alarm and thermometer functionalities. The core of this project is built around a microcontroller programmed with C language, whose source code has been converted into a HEX file using KEIL, a widely used integrated development environment (IDE) for embedded systems. The HEX file is intended for programming into the microcontroller using the BEE PROG+ universal programmer, which is capable of interfacing with various chip types.
During the programming process, the initial loading of the HEX file into the programming software is successful. However, a critical issue arises when reading data back from the microcontroller. Instead of the expected data structure, it is noted that the software writes to an unexpected section of the chip's memory. This anomaly leads to corrupted HEX characters, which can be indicative of a few potential issues, such as incorrect chip selection, improper configuration settings within the programming software, or even potential hardware faults.
To troubleshoot this problem, it is recommended to verify the following: ensure that the correct microcontroller model is selected in the programming software, check the power supply and connections to the microcontroller, and confirm that the programming voltage levels are appropriate. Additionally, it may be beneficial to examine the integrity of the HEX file generated by KEIL, ensuring that it has not been corrupted during the conversion process.
The operation of the PCB has been verified, as the backlight of the 16x2 LCD screen functions correctly, indicating that the power and basic connections are intact. However, without the proper programming of the microcontroller, the full functionality of the digital watch, alarm, and thermometer cannot be realized. Further analysis and debugging of the programming process are essential to achieve a successful implementation of the project.Making an lcd digital watch alarm and thermometer. C source code downloaded converted that C file to Hex using KEIL and now I want to program it in chip. I have Universal programmer BEE PROG +. When I select chip and load. hex file in software, I write data without problem. When I read data in chip I see that Software Write that in mdle of chip memory and. hex characters are changed. When I compare it with hex workshop I see that there are a lot changes and my project don`t work. My pcb is ok 100% onlay what I have is backlight on my 16X2 lcd screen.
The thermometer meter slinger circuit consists of a power supply circuit and a meter slinger timing control circuit. The power supply circuit includes a fuse (FU), a power supply switch (S1), a power transformer (T), bridge rectifiers (UR), filter capacitors...
The EN line is referred to as 'Enable'. This control line is utilized to indicate to the LCD that data is being sent. To transmit data to the LCD, the program must ensure that this line is low (0), then...
The moving message will be displayed on the LCD, which will be controlled through a microcontroller. The message will be sent by a computer using RS232. The circuit diagram of the moving message display is shown in this post, and...
Liquid-crystal displays (LCDs) are available in various sizes and configurations, including their pinouts. Many of these displays require the manufacturer's documentation for proper usage, which is often difficult to locate when needed. Consequently, a small tester designed to identify the...
Each part of the LCD has an individual counter, latch, decoder, and driver. The pumping signal is fed back to the motherboard of the LCD. When the display section is disconnected, the phase and amplitude of the motherboard and display...
The resistor between basis and collector (around 47k) is to be individually set according to transistor characteristics. Without PIC in socket at the collector should be 2.5 V.
The circuit described involves a transistor configuration where a resistor, typically valued at...
To prevent the failure of electric contact pressure thermometer contacts due to singeing, it is advisable to enhance the contacts, as illustrated in Fig. 11-60. Specifically, the output termination table for DC control utilizes two two-way thyristors or a triac...
The LCD in question has more pins than the microcontroller. It was not possible to expand the image for a better view. Unless there is a strong preference for using this display, it is recommended to obtain a Hitachi-compliant alphanumeric...
I have not transitioned from the Z80 camp to the CNC/Fabber camp. Although there have not been any updates on the Z80 for a considerable time, updates will be forthcoming. The construction of the CNC machine is still some time...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more