49 research outputs found
Development of Real Time Operating Systen for PIC18F Microcontrollers for Educational Purposes
Real Time Operating System (RTOS) is a small operating system designed to manage the peripherals of Microcontrollers and exhibit a low level layer to enhance the parallel execution of multiple programs. In addition to that, RTOSes are most of concern about guarantee the processing at real time.
This project aims to implement and develop RTOS on PIC18Fxxx family. This RTOS is to be developed under MPLAB IDE integrated development environment. The kernel of this RTOS is written in Assembly language while the users may use both assembly and C to develop their applications. A previous RTOS project called PICos18 developed by Pragamtec inc. is being considered. The selection of this system is due to its free license and the availability of its documentations. PICos18 is based on OSEK/VDX (German/French industrial standards for operating systems).
The main contribution in this project is first, by developing RTOS to review and demonstrate the concept of RTOS and secondly, by developing drivers and application compatible with the developed RTOS and finally presenting the developed RTOS in educational form for future use as a teaching tool in microcontroller-based courses
PIC BASED CONTROLLER AREA NETWORK (CAN)
The field of automation and control is constantly expanding and with that the
complexity in automation and control system has also been increasing. The
complexity ofcontrol systems and the need toexchange data between them mean that
moreand morehard-wired, dedicated signal lineshaveto be provided. The challenges
faced in automation and control system is thecomplexity of wiring, thecomplexity of
the system itself and its reliability in harsh environment. Controller Area Network
(CAN) provides solution in dealing with complexity of networking. CAN is also
growing in popularity due to its ease of use and low costs in implementing them.
CAN is as simple to use as a serial UART, and currently the cost ofCAN controllers
is still decreasing. The implementation of CAN not only covers the car and
automation industries, but also into fields such as medical instrumentation and
domestic appliances. One ofthe CAN microcontrollers available inthe market isthe
Microchip's PIC18 family. The project's goal is to set up Controller Area Network
(CAN) by utilizing the Microchip's PIC18. Microchip's MCP2551 CAN transceivers
are used to interface the CAN controllers with the CANbus. C language program is
writtento controlthe microcontrollers. TheC program is translated to HEXfile using
CCS compiler. The HEX files are downloaded onto the microcontrollers. The traffic
of the transmission of the messages is monitored using HyperTerminal. The
microcontrollers are able to send messages among them using the CANmodule. The
ID ofthe message transmitted from one microcontroller matches the ID received from
the receiving microcontroller. This work demonstrates a CAN network built using
PIC microcontrollers
Music quartet based on a PSoC
This report details the migration process of the Quartet code from a Microchip PIC24 microcontroller, which was previously migrated by Pau Mendieta from a Microchip PIC18 microcontroller, to a CY8CKIT-042-BLE PSoC 4 microcontroller manufactured by Cypress Semiconductor. It also explains how several improvements, both in sound quality and program functionality, have been implemented into the final program once the migration was completed.
The original Quartet code, developed by Victor Timofeev, synthesized 4 different voices (two guitars, a violin and a bass) coordinated by a conductor task, each of which played from its own music sheet, which was stored in ROM. The sound samples were generated using amplitude modulation: the characteristic waveform of the instrument (also stored in ROM) and its amplitude envelope (generated through software) were multiplied, and later exported through an 8-bit PWM running at 78 kHz. These could later be played on speakers with the help of an RC filter.
The project was carried out by continuously testing the software on the actual microcontroller. Moreover, data was extracted from these tests and compared with the simulation of Pere Domenech’s PIC18 code. A great use of the example projects provided by Cypress Semiconductor, which demonstrate the features of the PSoC 4 through simple applications, has also been made. It was also essential to analyze different signals with an oscilloscope at the laboratory.
The program obtained after completing the project exports the audio signal through a 16-bit PWM running at 92 kHz and includes an extra voice (a second violin), more accurate characteristic waveforms and improved amplitude envelopes, as well as added functionality, such as an extra octave and a wider note frequency range.
The report first presents the basic operation of the original code, which was carefully studied at the beginning of the project. Then, it explains how the OS (FreeRTOS) and the program were migrated, along with the extensive troubleshooting process that followed. Moreover, it details the improvements that were made once the code worked correctly. Finally, suggestions are made for future improvements
Extensive SEU impact analysis of a PIC microprocessor for selective hardening
In order to increase the robustness of a circuit against SEUs, fault injection is commonly used to locate weak areas. autonomous emulation is a very powerful tool to locate these areas by executing huge fault injection campaigns. In this work, fault injection has been extensively applied to a PIC18 microprocessor, while executing three different workloads. A 80 million fault campaign has been performed, and results show that a failure rate lower than 1% can be obtained by hardening a 24% of the circuit flip-flops, for the given applications
Smart Helmet
This report is written for the purpose of highlighting the background of the research
project for the SMART HELMET, the scope of the study, research method and the
literature review.
SMART HELMET is a system which aims to make all motorcyclists in Malaysia aware
and compulsory to wear helmet whether the travel distance is in I 00 meter radius or long
distance. The system will use ~ee technology which will connect from the
transmitter at helmet to the receiver at motorcycle. Many type of switches being used
such as temperature heat switch, clipped switch, and signal as a switch to make sure the
motorcyclist not cheating to their self. If the system identified that the riders or user not
wearing their helmet properly (clipped), the signal won't be send to the receiver at
motorcycle which will cause the motorcycle can not start and being ride by motorcyclist.
The scope of the study will be using others studies and statistics from Malaysia
government agencies in term of Road Safety; fatal motorcyclist accident causes and focus
on the helmet wearing attitude and behavior. The scope also will cover on research of
overview XJ3~e_ l Technology applications, behavior, characteristics as well as
advantages and disadvantages of X.Bee_ . Technology. Then will cover on
implementation of the system in real daily life
YUSOF @GHANI
PIC16 small prototyping board is the microcontroller development board that
holding a microcontroller and other required circuitry used for application or
embedded system development. The board is directly useful to an application
developer, without require spending time and effort in developing the controller
board.
The purpose of this project is to develop a working prototype, PIC16 small
prototyping board that used for rapid prototyping. The board is based on
PIC16F628A microcontroller. The board design is similar to Arduino Uno board.
ExpressPCB and ExpressSCH are used to design the board before it is fabricated.
After that, the prototype is fabricated and the testing is carried out to observe the
performance of the device. The switches and LEDs are placed on the board to test
each input output of the board. The result of the tested board is summarized in the
end of this project
PIC BASED CONTROLLER AREA NETWORK (CAN)
The field of automation and control is constantly expanding and with that the
complexity in automation and control system has also been increasing. The
complexity ofcontrol systems and the need toexchange data between them mean that
moreand morehard-wired, dedicated signal lineshaveto be provided. The challenges
faced in automation and control system is thecomplexity of wiring, thecomplexity of
the system itself and its reliability in harsh environment. Controller Area Network
(CAN) provides solution in dealing with complexity of networking. CAN is also
growing in popularity due to its ease of use and low costs in implementing them.
CAN is as simple to use as a serial UART, and currently the cost ofCAN controllers
is still decreasing. The implementation of CAN not only covers the car and
automation industries, but also into fields such as medical instrumentation and
domestic appliances. One ofthe CAN microcontrollers available inthe market isthe
Microchip's PIC18 family. The project's goal is to set up Controller Area Network
(CAN) by utilizing the Microchip's PIC18. Microchip's MCP2551 CAN transceivers
are used to interface the CAN controllers with the CANbus. C language program is
writtento controlthe microcontrollers. TheC program is translated to HEXfile using
CCS compiler. The HEX files are downloaded onto the microcontrollers. The traffic
of the transmission of the messages is monitored using HyperTerminal. The
microcontrollers are able to send messages among them using the CANmodule. The
ID ofthe message transmitted from one microcontroller matches the ID received from
the receiving microcontroller. This work demonstrates a CAN network built using
PIC microcontrollers
PIC® MICROCONTROLLER BASED TRAINING MODULE: DESIGN & IMPLEMENTATION
This paper describes the design and implementation of a PIC microcontroller based training module, whose main purpose is to develop a system, which allow the implementation of process control and data monitoring applications based in a microcontroller (MCU), so that it provides the user a powerful, flexible and easy to use tool to develop MCU based control applications.This system was conceived so the user develops skills in design and implementation of control units for application in problems which require a system capable of monitoring environmental variables and processes, helping in this way in the quick understanding of the technology and reducing time and cost of development
Twitter-Controlled Microcontroller System For Home Automation
This project is significance in a sense that it can improve the lifestyle of the targeted group in having an alternative control over their premise without the physical
presence in that particular premise. It is implemented by making use of the existing platform available in the Twitter infrastructure and wide audience, as a unique means
of transmitting information and instruction
