Posts by Ibrar Ayyub:
Narrow beam angles from small LED packages
Posted on: 25 Jul 2017
Following research at Sheffield-based LED packaging firm Litecool, narrow beam angles from LED packages without secondary optics or reflectors look closer. The proof-of-concept device produced a beam with 50% of light in 36 degrees, and over 90% efficiency. “Most package manufacturers design their LED packages for maximum light extraction. This means as little manipulation of […]
A brief overview of Allegro ACS712 current sensor using PIC16F1847 (Part 1)
Posted on: 25 Jul 2017
Sensing and controlling current flow is a fundamental requirement in a wide variety of applications including, over-current protection circuits, battery chargers, switching mode power supplies, digital watt meters, programmable current sources, etc. One of the simplest techniques of sensing current is to place a small value resistance (also known as Shunt resistor) in between the […]
Tiny Remote for iRobot Roomba using PIC12F629
Posted on: 24 Jul 2017
Description The Tiny Remoteis a very compact infrared remote control with only two buttons to control an iRobot Roomba. It produces three different infrared control signals that the robot interprets as Clean, Spot and Virtual Wall/Lighthouse. The circuit is built mostly using SMD components to reduce its size, nearly to the size of a keychain […]
Using USB Type-C on hobyist projects
Posted on: 24 Jul 2017
The new Type-C USB connector is the latest addition to the USB connector standards. It offers reversible plugs, direction independent cables, USB3.1 speeds, and 3A charging in a connector only a little bigger than the USB 2.0 MicroB connector. In order to add these capabilities the plugs and connectors have additional configuration pins to allow […]
PICJazz 20PIN Learning and Development Board
Posted on: 24 Jul 2017
The PICJazz 20PIN board from ermicro is designed to be used both as the Microchip PIC microcontroller learning and development board. The PICJazz 20PIN board is stand alone microcontroller module equipped with the latest 8-bit class Microchip midrange and high performance such as PIC16F690 or PIC18F14K50 microcontroller that could be used for wide range of […]
PIC16F84A software UART (bit banging) code and Proteus simulation
Posted on: 24 Jul 2017
This post provides the software UART (Bit Banging) code for PIC16F84A microcontroller (e-g to connect PIC controller with PC using serial adapter). As we know, PIC16F84A microcontroller doesn’t have built in UART module, so we can create UART functionality in it’s software. This post provides the details of how to program software UART functionality in PIC16F84A. This code is written in […]
Programmable IR remote control using PIC16LF877
Posted on: 23 Jul 2017
NEC-SIRCS-JAPAN-RC5-SAMSUNG compatible, multiprotocol infrared remote control. Replaces up to 6 existing remote controls into one. With manual learning function, LED display and/or LCD. 2V6-3V2, low power (sleep function) More protocols will be added later if needed (DENON, DAEWOO, MOTOROLA, RECS80.) Components: PIC16LF877-04/L (4Mhz PLCC Package), 24LC256 EEPROM (low power), 74HC148 encoder (SMD), optional Nokia 3310 […]
30th Anniversary of the Chernobyl Tragedy – or – Building a PIN Diode Geiger Counter
Posted on: 23 Jul 2017
Exactly 30 years ago a great disaster struck the region of Chernobyl: a nuclear accident occurred that released a large quantity of radioactive particles into the atmosphere. And it is only five years ago that, with the Fukushima Daiichi nuclear disaster, a second similar catastrophic event has taken place. These anniversaries did not directly let me build a PIN Photodiode based Geiger Counter, […]
PIC Analog to Digital Converter C Programming
Posted on: 23 Jul 2017
The PIC16F690 microcontroller is one of Microchip midrange 8-bit microcontroller that has a build in 10-bit resolution of Analog to Digital Converter (ADC) peripheral. The ADC is one of the important features that enable us to digitize our analog world. Usually we use the electronic sensor to convert the analog value to the voltage level […]
Shift left – shift right value For CSS Compiler
Posted on: 23 Jul 2017
#include <16F877.h> #device adc=8 #FUSES NOWDT ,XT #use delay(clock=4000000) int8 x,k; void main() { setup_adc_ports(NO_ANALOGS); setup_adc(ADC_OFF); setup_psp(PSP_DISABLED); setup_spi(SPI_SS_DISABLED); setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1); setup_timer_1(T1_DISABLED); setup_timer_2(T2_DISABLED,0,1); set_tris_b(0x00); output_b(0); k=0; x=0x01; while(true) { for(k=0;k<=7;++k){ output_b (x); delay_ms(150); shift_left(&x,1,0); } x = 0x80; k = 0; for(k=0;k<=7;++k){ output_b (x); delay_ms(150); shift_right(&x,1,0); } x = 0x01; k = 0; } }