Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello,
I'm using a mq6 gas sensor interfaced to a pic18f4550 to detect gas and give an alarm. I need to demonstrate this functionality in a place where its not possible to take a gas cylinder with me. Can someone please give me some idea on how to demonstrate the working of the project?
hi
i'm using pic 18f4550 to generate pwm. i'm using the ccp2 module as ccp1 is already being used to generate pwm and that is working fine. i'm using RB3 pin for the ccp2 module output. i have 4 pushbuttons for inputs at RD2,RD3,RD4 and RD5, each for 0V,10%,50%,100%. the problem is for both 50%...
it finally worked.
cristianp - thanks a lot for all your help. the lcd keeps displaying hello more than a single time. will try to figure that out. atleast its displaying something.
papunblg - the wires are connected to the high nibble.
I changed the lcd initialization function as follows but still same problem.
void lcd_ini()
{
Delay10KTCYx(10); //Delay_ms(20)
dis_cmd(0x30);
Delay10KTCYx(5); //Delay_ms(10)
dis_cmd(0x30);
Delay1KTCYx(1); //Delay_us(200)
dis_cmd(0x30);
dis_cmd(0x28); // To...
I added a delay of 100ms and tried.
void main(void)
{
unsigned char data0[]="Hello";
unsigned int i=0;
TRISB=0; // Configure Port B as output port
LATB=0;
TRISA = 0;
LATA = 0;
Delay10KTCYx(50); //Delay_ms(100);
lcd_ini(); // LCD initialization
while(data0[i]!='\0')
{...
hello,
I am trying to interface a JHD162A LCD to pic18f4550. Its only showing a row of black boxes. Can someone pls help me out with this. I have given the code below. I'm using microchip C18 compiler with MPLAB.
#include<p18f4550.h>
#include<delays.h>
#pragma config FOSC = HS
#pragma...
hi
I have a rf receiver and have to connect it to a ht12d ic. Is it necessary to connect both the Vcc pins to 5V or is it enough to connect only one to 5V?
hello,
I connected 12V---> 1k resistor---> (collector-emitter)--->gnd. I wanted to see how much Vce would change in response to light. I'm measuring the voltage using a multimeter.
The problem is Vce remains constant at about 7V. Could someone pls help me out with this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.