Posts by Ibrar Ayyub:
LED Blinking with PIC Microcontroller
Posted on: 07 May 2017
In our previous two tutorials we discussed How to Get Started with PIC using MPLABX and XC8 compiler, we have also made our First LED Blinking Program with PIC and verified it by simulation. Now it’s time for us to get our hands on to the hardware. In this tutorial we will build a small […]
What is the Graphene light bulb?
Posted on: 07 May 2017
The graphene lightbulb has been the subject of a huge amount of speculation over the past few days. What is it? The truth is, nobody outside University of Manchester spin-out Graphene Lighting knows, so ignore anything you have heard or read. “As a scientist, I would love to say more, but for commercial reasons I […]
I2c bus for ds1307 For Basic PRO Compiler
Posted on: 06 May 2017
Include “modedefs.bas” @ Device PIC16F877,XT_OSC,WDT_off,PWRT_off,PROTECT_off ,BOD_Off define adc_bits 8 define osc 4 DEFINE LCD_DREG PORTD DEFINE LCD_DBIT 4 DEFINE LCD_RSREG PORTD DEFINE LCD_RSBIT 1 DEFINE LCD_EREG PORTD DEFINE LCD_EBIT 0 S1 VAR PORTA.0 ‘set mode S2 VAR PORTA.1 ‘set hour 0-23 S3 VAR PORTA.2 ‘set minute 0-59 S4 VAR PORTA.3 ‘set second 0-59 s5 var […]
Dual DC Motor driver using two L293D
Posted on: 06 May 2017
Dual DC Motor driver using two L293D IC. The L293D device is quadruple high-current half-H driver. The 293D is designed to provide bidirectional drive current up to 600mA a voltage from 5V to 36V. It provides 600mA +600mA on each channel suitable for mini hobby robots. The board been designed mainly for small size robot, […]
LED Blinking Sequence using PIC Microcontroller
Posted on: 06 May 2017
In our previous tutorial, we learnt about Blinking a LED using PIC microcontroller and built the same circuit on Perf board. Then we used PICkit 3, ICSP and MPLAB IPE for dumping the program onto our Perf board. Now, in this tutorial we will advance our self to using more pins on the PIC microcontroller. […]
External interrupt For Basic PRO Compiler
Posted on: 06 May 2017
@ device pic16f877 define osc 4 define adc_bits 8 trisb =$0f L1 var portb.6 L2 var portb.7 i var byte on interrupt goto int intcon = %10010000 low L1 low L2 start: toggle L1 pause 500 goto start end disable int: toggle L2 pause 100 intcon.1 = 0 ‘ Clear flag resume ‘ Return to […]
pulse width moduration(PWM) for lcd 2 line For Basic PRO Compiler
Posted on: 05 May 2017
@ device pic16f877 define osc 4 define adc_bits 8 define adc_clock 3 define adc_sampleus 50 Define LCD_DREG PORTD ‘ Define LCD connections Define LCD_DBIT 4 Define LCD_RSREG PORTD Define LCD_RSBIT 1 Define LCD_EREG PORTD Define LCD_EBIT 0 RW var portd.2 low RW ‘LCD R/W low = write trisa = $ff trisd = $00 adcon1 = […]
IoT IP camera teardown and getting root password
Posted on: 05 May 2017
IP Cameras have become extremely cheap in the last couple of years. Mass production made the prices of decent quality image sensors, and very capable SoCs, drop significantly. Our victim in question is currently still available for about €43, but clones/copies/similar models are available from China for even cheaper. The cheap price is great if […]
Understanding Timers in PIC Microcontroller with LED Blinking Sequence
Posted on: 05 May 2017
This will be the fifth tutorial in our PIC Tutorial Series, which will help you to learn and use Timers in PIC16F877A. In our previous tutorials, we had started with Introduction to PIC and MPLABX IDE, then we wrote our first PIC program to blink the LED using PIC and then made a LED Blinking […]
Analog to dugital 8 bits For Basic PRO Compiler
Posted on: 05 May 2017
@ device pic16f877 define osc 4 define adc_bits 8 Define LCD_DREG PORTD ‘ Define LCD connections Define LCD_DBIT 4 Define LCD_RSREG PORTD Define LCD_RSBIT 1 Define LCD_EREG PORTD Define LCD_EBIT 0 RW var portd.2 low RW ‘LCD R/W low = write trisa = $ff trisd = $00 adcon1 = 0 num var byte LCDOUT $FE,1,”lcd_read” […]