In this example we are using a PIC16F877 to generate a PWM signal, this particular chip has 2 Capture/Compare/PWM Peripherals The following MikroC Pro for Pic functions will be used PWMx_Init Initializes the PWM module with duty ratio 0. Parameter …
Code
-
-
This is an example that shows how to use UART module of PIC16F877 microcontroller using mikroC compiler. In this case we use the mikroC Pro for PIC UART library. Pins RC6 and RC7 are used for the UART (serial) communication …
-
A force-sensing resistor is a material whose resistance changes when a force or pressure is applied. Force-sensing resistors consist of a conductive polymer, which changes resistance in a predictable manner following application of force to its surface.They are normally supplied …
-
Gas Sensor(MQ2) module is useful for gas leakage detection. This particular version is suitable for detecting H2, LPG, CH4, CO, Alcohol, Smoke or Propane. Due to its high sensitivity and fast response time, measurements can be taken as soon as …
-
In this example, we will use the chipKIT Uno32 board and connect this to a MAX7219-driven 8-digit seven segment LED display. The MAX7219/MAX7221 are compact, serial input/output common-cathode display drivers that interface microprocessors (µPs) to 7-segment numeric LED displays of …
-
In this example we connected a 4X4 Key-pad shield with display interface from http://store.iteadstudio.com/index.php?main_page=product_info&products_id=308 Here is a picture of the shield minus the LCD5100 display, as you can see it provides you with a number of keys that could be use …
