Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Archives for January, 2014

PIC Microcontroller Interrupts – MikroC

image-334
Interrupts are one of the most powerful features of PIC Microcontrollers, interrupts make it possible to create applications that can respond to external stimulus in real time. An interrupt is basically an event that requires the microcontroller to stop normal program execution and then to jump to execute a program code related to the event causing the interrupt. An interrupt requires immediate attention, only once the microcontroller will finish executing the interrupt code, then it can go back to continue with the main program. The interrupt code is called Interrupt Service Routine (ISR) or Interrupt Handler. In this article we're gonna learn how to implement Interrupts using MikroC Pro for PIC compiler.
');

USB Communication with PIC Microcontroller

image-266
Many computers especially portable ones do not have a serial port (COM Port) anymore. When a connection to a Personal Computer (PC) is required, a USB is the choice. The Universal Serial Bus (USB) is the widely used interface in electronic consumer products today. Most of electronic devices have at least one USB port on them, this include PCs, cameras, GPS devices, printers and so on. Some PIC18 microcontrollers support USB interface directly. 16bits (PIC24) and 32-bits (PIC32) pic microcontrollers have also an embedded USB interface. In this article we will learn how a communication between a host PC and a microcontroller can be achieved with a USB bus.
');

USB Human Interface Device Communication with PIC Microcontroller – MikroC

image-332
The HID device class code is "0x03, this class is used for devices operated by human, devices like keyboard, mouse, joystick and so forth. The advantage of HID devices is that, they don't require to install drivers, in most modern operating systems, the device will be detected without any problem. The USB HID protocol allows a personal computer to recognize a USB HID connected to it without the need to create a device driver, this is the same like when you connect a USB optical mouse or a USB keyboard you don't need to install drivers for that. Windows operating system will load the required drivers, all that is needed is to to supply the PC with a descriptor file containing some information from the device like Vendor ID (VID), Product ID (PID), Manufacture name and so forth. MikroC Pro for PIC provides USB HID library that make it easy for a host device to communicate with a slave device on a USB bus.

USB Serial Communication with PIC Microcontroller – Flowcode

image-369
Many computers especially portable ones do not have a serial port (COM Port) anymore. When a connection to a Personal Computer (PC) is required, a USB is the choice. The Universal Serial Bus (USB) is the widely used interface in electronic consumer products today. Most of electronic devices have at least one USB port on them, this include PCs, cameras, GPS devices, printers and so on. In this article we are going to learn how to set up a serial communication between a microcontroller and a PC using a USB port by creating a virtual COM Port. Some PIC18 microcontrollers support USB interface directly. For example, the PIC18F25K50, PIC18F4450 and PIC18F4550 microcontrollers just to name a few all have a full-speed compatible USB interface that allows communication between a host PC and the microcontroller. The USB bus is a very complex protocol. Flowcode provides a component for USB Serial ,The USB Serial device is used to stream data between a microcontroller and a PC.

The Number 1 Law of Wealth Creation

image-231
Give and it will be given to you in a like manner. Even more. You can have everything in life you want if you'll just help enough other people to get what they want (Zig Ziglar). As a young entrepreneur who’s hungry for success, it’s easier to think of yourself as a go-getter. Somebody that walks through fires to acquire more. More money, especially. But the whole equation is totally messed up. An entrepreneur who gets rich in the long run is one who has mastered the principle of sharing. This principle has governed the human race for ages. Nothing scientific about it. Just the ability to open up your heart and give

How to Handle Rejection in Sales

image-228
Are you so afraid of the word ‘NO?’ How high you go in your sales career will be determined by your ability, or lack thereof, to handle rejection. Nothing is as sweet as making a sale. Because as a sales person you want to make more money. You want to increase your profits. You want to have more customers buying from you so that your businesses can gain the edge it needs to compete and win in today's marketplace.

The Number 1 Obstacle to Starting a Business

image-225
Procrastination Is Not For Entrepreneurs, It's the number 1 reason many great plans don't come to past. Many people go to their graves with their business ideas with them. CONQUERING THE TIME - KILLER: Is putting of tasks holding you back? Here’s how you can kill that habit today, now. Only put off until tomorrow what you are willing to die having left undone.