The_development_of_Auto_generated_code_for_Programming_PIC16F877_Microcontroller-1
The_development_of_Auto_generated_code_for_Programming_PIC16F877_Microcontroller-1
1-3
Bulacan State Univesit Brgy. Guinhawa City of Malolos, Bulacan, Philippines 3000
Abstract
Developing an embedded system using the PIC16F877 microcontroller requires
a combination of software programming and hardware development skills, making it
a complex undertaking. In the field of Electronics Engineering, Microprocessor Sys-
tems is a subject that specifically focuses on embedded system development. This study
aimed to create the Auto-Generated Code for Programming PIC16F877 (AGCPIC) sys-
tem, which encompasses both software and hardware components, to assist students in
building embedded systems with the PIC16F877 microcontroller. The software com-
ponent was developed using the Visual Basic 2010 programming platform and utilized
a combination of textual and visual programming techniques for the microcontroller.
To facilitate real-time response testing of the generated source code, an AGCPIC hard-
ware development board was constructed. Thorough testing was conducted to ensure
the reliability of the system, including the successful completion of unit testing (100%
passed), integration testing (100% passed), and dependable systems testing. The over-
all testing results confirm the system’s reliability. Moreover, based on the assessment
summary, the AGCPIC system achieved an overall acceptability rating of 4.72, indi-
cating a high level of acceptability. The statistical t-test results demonstrate the signif-
icance of the AGCPIC system’s functionality, usability, efficiency, and subject matter
content with a 95% confidence level.
1 Introduction
The process of building an embedded system project is an essential
requirement in the field of electronics engineering. Embedded systems
involve a combination of hardware and software that enables the process-
ing of input signals to perform specific tasks. In this course, students
are tasked with creating programs that can be run on microcontrollers or
microprocessors using low-level and high-level programming languages
with cross-compilation techniques (CHED, 2018). Based on data gath-
ered from electronics engineering students at Bulacan State University
during the 2013-2014 school year, it was found that 76% of 124 stu-
dents utilized microcontroller-based projects, with 60% of them using
1
University Journal Publication Volume II, Issue I Bulacan State University
will facilitate the process of building embedded system projects for stu-
dents. It will simplify programming tasks by allowing the creation of
flowcharts to represent program flow, aid in visualizing device interface
configurations, and validate program responses using real-world scenar-
ios with the help of hardware components.
To test and simulate the source code generated using the AGCPIC
software, a specialized development board called the Development Board
for PIC16F877 is utilized. This board is specifically designed to work
with the AGCPIC software, mirroring the input and output devices present
in the software. Figure 5 showcases the physical hardware that can be
used to verify the accuracy of the generated code.
There are also 8 faculty 152 members and 2 industry personnel who have
knowledge of programming who participated to 153 determine the ac-
ceptability of the AGCPIC system. Table 1 shows the tabulated respon-
dents 154 of the study. The evaluation is used to check the acceptability
of the system through its 155 functionality, usability, efficiency, and sub-
ject matter content of the AGCPIC system.
Ho2: The usability of the AGCPIC system does not significantly con-
tribute to the development of an embedded system project.
Ho4: The subject matter of the AGCPIC system does not significantly
contribute to the development of an embedded system project.
Table 3.Results of unit testing and the integration testing of the develop-
ment board.
University Journal Publication Volume II, Issue I Bulacan State University
The system testing follows the processes listed on the figure 6 when
using the AGCPIC system. The sample schematic diagram and program
flowchart made by using the AGCPIC system graphical user interface
(GUI) is shown in figure 7.
the software; (d) The created machine language was successfully burned
in the PIC16F877 microcontroller using MicroChip PICkit2 hardware
programmer.
The one sample t-test result to evaluate the hypothesis of the study are
shown in table 9 and table 10. These results indicate that for all variables
(Functionality, Usability, Efficiency, and Subject Matter), the t-values are
significantly higher than the test value of 3.5. The p-values are all 0.000,
which is less than the typical significance level of 0.05, suggesting strong
evidence to reject the null hypothesis. The mean differences are all pos-
itive, indicating that the mean scores for each variable are significantly
higher than the test value. The 95% confidence intervals of the differ-
ence for each variable do not include the test value, further supporting
the conclusion of statistical significance of the test variables. Overall,
these results suggest that the respondents’ perceptions of functionality,
usability, efficiency, and subject matter are statistically significant in the
development of an embedded system project.
4 Conclusion
The primary goal of this study is achieved through the creation of au-
togenerated code for programming the PIC16F877 microcontroller, en-
compassing both the hardware and software components of the system.
The development of the AGCPIC system simplifies the programming and
testing processes involved in working with embedded systems. The study
University Journal Publication Volume II, Issue I Bulacan State University
5 Acknowledgement
The authors would like to acknowledge the ECE students, ECE fac-
ulty, industry personnel, and support from Bulacan State University.
University Journal Publication Volume II, Issue I Bulacan State University
References
[1] Alciatore, D. (2018). Loose Leaf for Introduction to Mechatronics
and Measurement Systems (5th edition). McGraw Hill.
[2] Al-kassab, M. (2022). The Use of One Sample t-Test in the Real Data.
JOURNAL OF ADVANCES IN MATHEMATICS, 21, 134–138.
https://doi.org/10.24297/jam.v21i.9279
[3] Al-Tahat, K. (2019). The Impact of a 3D Visual Programming Tool
on Students’ Performance and Attitude in Computer Programming:
A Case Study in Jordan. Journal of Cases on Information Technology
(JCIT), 21(1), 52–64. https://doi.org/10.4018/JCIT.2019010104