PIC16F877 and UART mikroC example
In this example we will show a basic example of reading and writing text to the UART (serial) using a PIC. We will use this in later examples when we look at sensors and we will output via a serial…
In this example we will show a basic example of reading and writing text to the UART (serial) using a PIC. We will use this in later examples when we look at sensors and we will output via a serial…
These are interesting modules that you can buy from various online sources. They comprise of 2 4×7 7 Segment displays, 8 push buttons and 8 LEDs. The chip that performs all the magic is a TM1638. The module I bought…
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…
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…
The TMP35, TMP36, and TMP37 are low voltage, precision centigrade temperature sensors. They provide a voltage output that is linearly proportional to the Celsius (Centigrade) temperature. The TMP35/TMP36/TMP37 do not require any external calibration to provide typical accuracies of ±1°C…
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 again use the MAX7219 but this time we will be driving an 8×8 LED matrix like the following module The MAX7219/MAX7221 are compact, serial input/output common-cathode display drivers that interface microprocessors (µPs) to 7-segment numeric LED…
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…
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More