Summary of d.i.y. Handheld Multichannel Analyzer (MCA) based on 16F877 PIC Microcontroller and LCD
The author rebuilt a handheld Multichannel Analyzer (MCA) for medical instruments using a PIC 16F877 microcontroller. The system utilizes variable RAM to create a 95-channel histogram, stopping when a channel hits 240 counts. It displays the resulting spectrum as a 30-pixel high bar graph on an LCD screen.Parts used in the Handheld Multichannel Analyzer:
- PIC 16F877 Microcontroller
- Variable RAM
- LCD Screen
I used the variable RAM in the microcontroller (16F877), so I limited the number of channels to 95 and let the histogram run until some channel reaches 240 counts (the highest 8-bit number that yields an integer when divided by 8 which is also divisible by the 30 pixel height of the LCD).
The firmware then displays the spectrum as a bar with a maximum height of 30 pixels for each one of the 95 channels.
Click here for complete how-to construction instructions in pdf format.
Click here for a pdf of the schematic diagram for the front-end of the MCA
For more detail: d.i.y. Handheld Multichannel Analyzer (MCA) based on 16F877 PIC Microcontroller and LCD
- What microcontroller was used in the project?
The project uses a PIC 16F877 microcontroller. - How many channels does the histogram support?
The system limits the number of channels to 95 due to available variable RAM. - What is the maximum count value before the histogram stops running?
The histogram runs until some channel reaches 240 counts. - What is the display height for each channel bar?
The spectrum is displayed with a maximum height of 30 pixels per channel. - Why was the number 240 chosen as the limit?
It is the highest 8-bit number that yields an integer when divided by 8 and is divisible by the 30 pixel height of the LCD. - Can I view the construction instructions online?
Yes, complete how-to construction instructions are available in PDF format. - Is a schematic diagram provided for the front-end?
A PDF schematic diagram for the front-end of the MCA is provided.
Related projects
Leveraging Blockout Banners for Effective Electronics and Tech Product Displays
Blockout banners have become a popular and effective tool for displaying electronics and tech products in various settings, from trade shows and...
LCD & Display Projects · PIC18F4520Interfacing PIC18F4520 microcontroller with an HD44780 LCD
Introduction Being able to display data from a microcontroller visually has many advantages. It allows for menus, status indicators, and instructions to...
LCD & Display ProjectsVideo Project Development in the Midst of an Impromptu Online Semester
Receiving robot parts in the mail was an unexpected conclusion to the Winter 2020 semester for students. However, when faced with a...
LCD & Display Projects · PIC16F628AFrequency Counter by PIC16F628
In this project we are building a basic and low cost frequency counter circuit . It can measure from 16Hz to 100Hz...
LCD & Display ProjectsWHAT IS A PIC MICROCONTROLLER? WHAT CAN IT DO?
PIC microcontrollers ( Programmable Interface Controllers), are electronic circuits that can be programmed to carry out a vast range of tasks. They...
LCD & Display Projects · PIC16F877ASerial Data Received from PC and Displayed on 16×2 Using USART of Pic16f877 Microcontroller
Here is a simple tutorial on how to receive serial data from PC(Personal Computer) Hyperterminal and display it on 16x2 lcd using...

