Categories
8051-8052

LED blinking program in KEIL for 8051 Timers

We know we can generate delays with the help of loops and/or NOP instructions but we are talking today about 8051 timers. Although the accuracy of exact timings is compromised, yet it satisfies the needs so why are we talking about timer now specifically?There are some scenarios where we need to do more complex timings […]

Categories
Arduino Examples

Basic Arduino LCD and Keypad Example Code

This code is about basic example where we interface a 4×4 keypad with Arduino and one 20×4 LCD with Arduino. You can also use 16×2 LCD with Arduino in same code. Here is the complete working code example.

Categories
8051-8052 Assembly Language

Digital Dice using 8051 microcontroller Assembly Language

Let’s create a digital dice using 8051 microcontrollers in assembly language. This is very basic problem and will help you to learn very core concepts of 8051 microcontroller assembly language programming. By creating a digital dice using 8051 microcontroller you will get hands on experience on how to make use of most widely used instructions […]

Categories
Python

Django Bootstrap alert Closeable

In this post we are going to create a new base.html file which will handle the bootstrap and the most important django messages to display in alert div. We send error or success messages from the backend code using standard messages api and in the front end we display that messages using the bootstrap alert […]

Categories
Arduino Examples

How to Read N Number of Bytes from Serial Port in Arduino?

In this post we are going to demonstrate how to read “N” number of bytes from Serial port in Arduino. This is very common problem where we are only focusing on specific number of bytes which are being transmitted from different sensor or even from different microcontroller board. For example in my current case I […]

Categories
Microchip PIC16 PIC-CCS

PIC CCS UART Interrupt to 9 digit 7 Segment Display

We are extending our previous example where I show how to receive data from UART in PIC CCS Compiler for PIC16f887 microcontroller. We received Serial Data and then we display UART received data to 9 digit 7 segment display. In the current example we are extending that previous code by implementing the Serial Interrupt or […]

Categories
Microchip PIC16 PIC-CCS

PIC16F887 UART to 7 Segment

In this post we are going to extend our previous timer based 7 segment multiplexing code. We are going to add a UART in that code and will update the 9 digit 7 segment multiplexing. We will send the digits to be displayed on 7 segment which we send from the serial port using uart […]

Categories
Microchip PIC16 PIC-CCS

PIC CCS 7 segment Multiplexing Using Timer Interrupt

In this post we are going to do 9 digit 7 segment multiplexing using timer0 interrupt in pic16f887 microcontroller using PIC CCS Compiler. Here is the complete code

Categories
Microchip PIC16 PIC-CCS

Seven-Segment Multiplexing with RTOS on PIC16F887

Multiplexing 7 segment display is one of major problem. We try to solve this problem using RTOS in PIC CCS Compiler. In this blog post we demonstrated 9-digit seven segment multiplexing using PIC16F887 microcontroller. Required Components Here are the list of required components for driving 7 segment display with PIC16F887 microcontroller. Wiring Instructions PIC CCS […]

Categories
Examples Microcontroller

Microcontroller RESET Problem

The Unexpected reset of a microcontroller is the microcontroller reset problem which we are going to discuss in this blog post. Whenever you are dealing with some external peripheral interfacing this could be a big issue if not managed properly and could cost you a loosing your project. There are many possible reasons including hardware […]