Tag - Microcontroller

7-Segment 0-9 Counter - CloudX Sample Codes

CloudX Sample Codes – Part 2

This tutorial deals with the execution of Traffic and button interfacing with microcontroller. Traffic Light In this project, we create a simple Traffic light. when the RED light is on, the GREEN light will be off and vice versa. When the RED and GREEN Lights are about to change status then the YELLOW will come on. Traffic Light – CloudX Sample Codes #include <CloudX/M633.h>#define RED 1             // digital pin 1 to the Red LED #define YELLOW 2   [...]

Read more...
LED On-Off Control by Push Button - CloudX Sample Codes

CloudX Sample Codes – Part 1

This tutorial deals with the execution of LED Blink and button interfacing with microcontroller. Led Blink For our first project, we will blink an LED. That is, turn the Light Emitting Diode(LED) on and off successively for a period of time. Blink LED – CloudX Sample Codes   #include <CloudX\M633.h> // load in the text in this header file to your code #define LED 1 // anytime the compiler sees the text LED replace it with 1setup() { //setup here pinMode(LED , OUTPUT); // setup [...]

Read more...
Interfacing LCD with CloudX - Experiment

Interfacing LCD with CloudX Board

To have a good relationship between human world and machine world, display units plays a vital part. Displays allows us to know what’s happening in a device like the voltage, temperature, present status of the device and even device fault detection etc. LCD’s have a very wide application in embedded systems and it is more preferred than seven segment displays. Alphanumeric LCDs are most commonly used in embedded projects since it is commonly available and easy to use.16×2 LCD [...]

Read more...
CloudX PIC Microcontroller Board - LED Blinking

Getting Started with CloudX Development Board

CloudX M633 is one of the popular PIC based microcontroller development board designed by ByteHub Embedded, it comes with over 500 library functions which makes it very easy for beginners to start with embedded systems. In this tutorial we will see how to write our first “Hello World” program to blink an LED using the popular CloudX M633 (PIC16F877A chip) development board. CloudX – PIC Microcontroller Development Board and SoftCard Components RequiredCloudX Microcontroller Board and SoftCard Light Emitting Diode (LED) Resistor 220Ω 2 male [...]

Read more...
Home Automation using Bluetooth and Mobile App

Home Automation using Bluetooth and Mobile App

Technology is a never ending process. To be able to design a product using the current technology that will be beneficial to the lives of others is a huge contribution to the community. Generally in today’s modern world human beings are addicted to using modern equipment. So here we can perform home automation by using an Android App and Bluetooth as a wireless communication medium. Home automation not only refers to reduce human efforts but also energy efficiency and time [...]

Read more...
Analog to Digital Converter

Using ADC of PIC Microcontroller – MPLAB XC8

In this tutorial we will learn, how to use the ADC module of a PIC Microcontroller using MPLAB XC8 compiler. For demonstration we will use the commonly available PIC 16F877A microcontroller. Every physical quantity found in nature like temperature, humidity, pressure, force is analog. We need to convert these analog quantities to digital to process it using a digital computer or a microcontroller. This is done by using Analog to Digital Converters. An Analog to Digital Converter or ADC is a [...]

Read more...
PWM - Pulse Width Modulation

Generating PWM with PIC Microcontroller – MPLAB XC8

Pulse Width Modulation (PWM) is the one of the simple and most commonly used technique to produce analog voltages from digital signals. It has a wide variety of applications such as Digital to Analog Converter (DAC), DC Motor Speed Control, Sine Wave Inverters, Brightness control etc. PWM signals are ON – OFF signals (HIGH or LOW) (hence the name Pulse) whose HIGH or ON duration is changed (hence Width Modulation) in accordance with our requirements. The fraction of time period [...]

Read more...
LCD Custom Characters

Custom Characters on LCD using PIC – MikroC

I hope that you already go through our tutorial, Interfacing Character LCD with PIC Microcontroller – MicroC Pro. These character based LCDs are commonly made using HD44780 compatible controllers. It allows us to define 8 custom characters in addition to the standard pre-programmed characters. In this tutorial we will learn to define our own custom characters using MikroC compiler. DDRAM, CGROM and CGRAM CGROM – Character Generator ROM This is the memory which holds 5×8 or 5×10 dot patterns of predefined characters [...]

Read more...