Forum Replies Created
-
AuthorPosts
-
Ligo GeorgeKeymaster
Use Separate Power Supplies for PIC and PUMP.
Ligo GeorgeKeymasterHope the following link will help you.
Generating PWM with PIC MicrocontrollerLigo GeorgeKeymasterDifferences are :
- Peak Repetitive Reverse Voltage of 1N4001 is 50V while that of 1N4007 is 1000V.
- RMS Reverse Voltage of 1N4001 is 35V while that of 1N4007 is 700V.
- Typical Junction Capacitance of 1N4001 is 15pF while that of 1N4007 is 8pF.
Ligo GeorgeKeymasterCrystal Oscillators will provide the necessary clock for the operation of microcontrollers.
Microcontrollers works on the basis of clock. Microcontrollers use common data bus for data transmission between different parts. Each peripherals and registers communicate each other by time division multiplexing. This is achieved though clock.
For example, to store data from a particular memory location to register A,
Clock 1 : Provides Location Address To Memory
Clock 2 : Provides Read Control Signal to Memory, which places data in the data bus
Clock 3 : Provides Clock to Register A, to store data available in the data bus.
This is only an example for understanding the working, actual process may differ for different microcontrollers.Ligo GeorgeKeymasterHello,
Still your question is unclear.
What is your exact application ?
Are you trying to use PIC’s comparator or ADC ?Ligo GeorgeKeymasterI don’t understand what you are talking about. Please explain in detail.
Ligo GeorgeKeymasterHello,
Please elaborate your requirements.Ligo GeorgeKeymasterYou need to make some changes as given below.
void myADC_Init() { ADCON0 = 0x41; //ADC Module Turned ON and Clock is selected ADCON1 = 0xC0; //All pins as Analog Input //With reference voltages VDD and VSS } unsigned int myADC_Read(unsigned char channel) { if(channel > 7) //If Invalid channel selected return 0; //Return 0 ADCON0 &= 0xC5; //Clearing the Channel Selection Bits ADCON0 |= channel<<3; //Setting the required Bits Delay_ms(2); //Acquisition time to charge hold capacitor ADCON0.F2 = 1; //Initializes A/D Conversion while(ADCON0.F2); //Wait for A/D Conversion to complete return ((ADRESH<<8)+ADRESL); //Returns Result }
Ligo GeorgeKeymasterYou can transmit 4 bits of binary data wirelessly using HT12E and HT12D. Connect the data lines from the sensing section that you want to transmit to DATA LINES of HT12E and connect the received data lines (DATA LINES of HT12D) to the microcontroller.
Ligo GeorgeKeymasterHello, you can use ASK RF Transmitter and Receiver… Try the following link :
ASK RF Transmitter and ReceiverLigo GeorgeKeymasterThen you should write your own ADC Codes.
Try the following link, it uses PIC 16F877A and Hi-Tech C.
Using ADC with PIC Microcontroller with Hi-Tech CLigo GeorgeKeymasterMCP23017 will not work with MikroC Port Expanding Library.. You need to develop your own library functions..
This link might help you :http://www.mikroe.com/forum/viewtopic.php?f=97&t=56536
You can connect SCL and SDA to PIN 34 and 33 respectively. Please refer the datasheet of 18F4550.
Ligo GeorgeKeymaster1NXXXX is an American Standard numbering system used for Semiconductor Devices which in now adopted globally.
1N means Single Junction semiconductor.
2N means Double Junction semiconductor.4007 is the part number.
Ligo GeorgeKeymasterI haven’t yet used all of these… Try reading datasheets..
https://www.sparkfun.com/datasheets/IC/cp2102.pdf
http://www.stkaiser.de/anleitung/files/PL2303.pdf
http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232R.pdfLigo GeorgeKeymasterSorry, I don’t get what you are saying…
Try this link, it might help you..
Using Push Button Switch with PIC Microcontroller – MikroC
Using Push Button Switch with PIC Microcontroller – Hi Tech C -
AuthorPosts