Archives for MikroC Pro for PIC

Interfacing GSM/GPRS Modem with PIC Microcontroller – MikroC

image-84
A GSM modem is a wireless modem that works with a GSM wireless network. GSM stands for Global System for Mobile communications, this architecture is used for mobile communication in most of the countries in the world. A wireless modem acts basically like the traditional dial-up modem, the main difference is that a dial-up modem sends and receives data through a fixed telephone line while a wireless modem sends and receives data through radio waves. Besides the dial-up connection, GSM modem can also be used for sending and receiving SMS which is also one of the key features of GSM modem. A GSM modem can be used in many applications including: Remote System Monitoring, Remote Controlling System, Prepaid Electricity, Home Alarm System, Home Automation, Data loggers, Vehicle tracking, etc. In this article we are going to learn the basics commands to control a GSM modem with a PIC Microcontroller, including sending and receiving an SMS using MikroC Pro for PIC.

Interfacing ENC28J60 Ethernet Controller with PIC Microcontroller – MikroC

image-253
Ethernet is the leading wired standard for networking as it enables to connect a very large number of computers, microcontrollers and other computer-based equipment to one another. With just a network switch, many different devices can easily communicate with one another with Ethernet, allowing different devices and equipment to be accessed remotely and this also provides a cost-effective and reliable means of remote control and monitoring, home automation, Internet of Things applications and many more. For microcontrollers which don't have a built-in Ethernet peripheral, The ENC28J60 serial Ethernet chip can easily be used by any microcontroller with an SPI interface to provide Ethernet capability to the application.

Getting Started with ENC28J60 Ethernet Controller with Microcontrollers

image-153
Ethernet is the leading wired standard for networking as it enables to connect a very large number of computers, microcontrollers and other computer-based equipment to one another. With just a network switch, many different devices can easily communicate with one another with Ethernet, allowing different devices and equipment to be accessed remotely and this also provides a cost-effective and reliable means of remote control and monitoring, home automation, Internet of Things applications and many more. If you are using a microcontroller which does not have an integrated Ethernet peripheral, Microchip offers a serial Ethernet chip that can easily be used by any microcontroller with an SPI interface to provide Ethernet capability to the application. many compilers offer peripheral libraries to get you started in minutes.

Ethernet Communication with PIC Microcontroller

image-158
In this series of PIC Microcontroller Communication, after learning on how PIC Microcontroller Communication with I2C, SPI, RS232 and USB can be achieved, in this article we are going to discuss the concepts of Ethernet Communication with PIC Microcontroller. When it comes to communication involving wires, Ethernet is the leading wired standard for networking as it enables to connect a very large number of computers, microcontrollers and other computer-based equipment to each other. With just a switch, many different devices can easily communicate with one another with Ethernet, allowing devices and equipment to be accessed remotely and provides a cost-effective and reliable means of monitoring or controlling such equipment, for example a person could monitor several vending machines located in different places which can be several kilometers apart from the PC at the conform of your desk. A simple online interface to the vending machines can allow you to monitor everything from the internet.

Interfacing SD Card (FAT32 System) With PIC Microcontroller – MikroC

image-234
A memory card (also called a flash memory card) is a solid-state electronic data storage device used for storing digital information. They are commonly used in many electronic devices, including digital cameras, mobile phones, laptop computers, MP3 players and they are also widely used in data logging devices. The FAT32 library can be used for SD cards with more than 2GB of size, it lifts many constraints imposed by FAT16 file system. The key benefits is more addressable space(>2GB) and less wasted space due to smaller cluster size. This library is designed to simplify handling of the underlying hardware (SD/MMC cards), but also to be hardware independent. This library should work on any microcontroller with more than 1.5kB of RAM

Interfacing SD Card With PIC Microcontroller – MikroC

image-82
A memory card (also called a flash memory card) is a solid-state electronic data storage device used for storing digital information. They are commonly used in many electronic devices, including digital cameras, mobile phones, laptop computers, MP3 players and also in many applications where a large amount of data has to be stored either once or continuously like in data loggers. Memory cards are small, rewritable and are able to retain data without power. In this article we will use the SPI bus to write and read from an SD card using mikroC SD Card libraries

DC Motor Speed Control using PWM of PIC Microcontroller – mikroC

image-699
DC motors are used in many industrial, commercial, and domestic applications. We have DC motors in toys, irrigation pumps, robotics, Drills and in many applications. In real life applications turning a motor ON in clockwise or anticlockwise directions or turning it OFF is not always all that is required. The speed of rotation has to be controlled as well. In this article, we are going to learn how to control the speed of a DC motor using the Pulse Width Modulation of a PIC Microcontroller using mikroC Pro for PIC.

Interfacing DC Motor with PIC Microcontroller – MikroC

image-230
DC motors are used in many industrial, commercial, and domestic applications. We have DC motors in toys, irrigation pumps, robotics, Drills and in many applications. In this article, we are going to learn how to interface a DC motor with a PIC Microcontroller, rotating it in either the clockwise or anticlockwise direction using mikroC Pro for PIC Compiler

Microcontroller Interfacing – Sensors

image-476
Microcontrollers have become very useful in embedded design as they can easily communicate with other devices, such as sensors, switches, displays, keypads, motors and even other microcontrollers. A microcontroller is basically used as the brain or intelligent processing unit to control other devices connected (interfaced) to it in embedded systems just like a PLC is in industrial automation. Interfacing a device with a microcontroller in simplest terms simply means to connect a device to a microcontroller. This article will make it easier to anybody with very limited experience in electronics to learn how to interface different sensors widely with a PIC Microcontroller.
1 2 4