This will not work because if you read the datasheet of the microcontroller.. it specifically mentions that you must have 10 microsecond delay when switching from channels. This is an absolute must,...
Type: Posts; User: Srigopal007; Keyword(s):
This will not work because if you read the datasheet of the microcontroller.. it specifically mentions that you must have 10 microsecond delay when switching from channels. This is an absolute must,...
I have a project that has a sensor connected to the analog pins of the microcontroller.
PIC18F6520 is the controller part number which I am using The sensor is sending a
train of pulses at a...
Ioannis,
The problem here is not with getting accuracy with using one sensor, the problem here is using multiple sensors and obtaining accurate data. but I think I will looking into the parallax...
If I am going to be using an External ADC for each sensor, then I guess do not have to connect a voltage to Vref for the PIC18F6520.
For example, If I choose the LM34 and connect this device...
Thanks for the reply everyone.
I am not very concerned about using extra hardware as much as I am about the accurate readings from the sensor. If I use separate external A/D chip for each...
Hi, I have a simple question regarding the On Board ADC for the PIC18F6520. This device has 10 bit, 16 channel ADC. I want to control several sensors such as a temperature sensor, light sensor...
Hi Steve,
With the code that you have posted, Will this be able to recognize if the user presses more than one button at a time, or is it limited to only one button pushed at a time. If the later...
First off you need to have a 10K resistor going from VCC(+5V) to the MCLR pin. Also if you are doing ICSP by using a PICSTART, you might want to supply your own 5V power instead of letting the...
I deleted this because it was resolved. thanks everyone
The code which I gave you, should work for any of the PIC16F737/767/777 product of family.
I would love to help you out, but I cannot do all the work for you, or else you will not learn. Why...
CDC is using the Virtual COM Port Similar to a serial COM port. not the USB Port. Make sure you know the difference. CDC uses a serial communication Protocol, while the USB uses it's own...
I suggest you do it the way BRUCE suggested. set them manually, by setting the registers yourself. here is an example for the 5khz case for the pic16f737 that I made, just for you: you may...
PJALM,
Can you please send me the file also, I would not mind learning this. I tried learning the USB interfacing once, but was unsuccessful at it. maybe the second time is a charm,
thanks,...
I have successfully used the serial communication from the VB.NET 2003 (not VB6) and have the data be downloaded, onto a PIC. And it worked. I do not know how different VB6 is from VB.net. Here...
All the terminology is very well defined in the manual for each chip. You should look at the appropriate chapters for the CCP module under the PWM section. This should help you configure the CCP...
Depending on what device you are using, and what version of the pbp compiler you are using, you can support 3 pwm channels. Look at the manual for more info. If all else fails, then you can always...
Hi!
I am using PBP v2.46 and I would like to know how I can create a data/lookup table that I can continuously update (change the contents of the table). Is there something in PBP that will allow...
Hi all, I have a dot programmable display that I am using with my PIC16F877A, I am communicating with this display serially(SPI) with a synchronous clock and data signals. My intentions are to have...
Hi All, I want to store more than 256 values into a lookup table. I have browsed through the PBP manual and found that there is a command for storing values into a lookup table called (Lookup ...
Hi Forum. I have a slight problem interfacing a few leds that are connected to the CCP modules. and the Duty cycle is determined by the input Switch that I have connected to various PortB, PortC...
Hi Forum,
I have a series of LEDs connected to several ports in the PIC18F6620. My program is very simple in that I am only turning the LEDs On and Off one at a time. I have set the correct...
hi, thanks for the reply, but code space is the least of my worries. the main this is making sure that the portD is set up correctly before the ALE! and WR! signals are made LOW. At least that is...
I have been working and trying to get this 5x7 display
going for the past week but have not made it work. I
know that my programming is correct, at least I
assume it is. But since my outputs...
Well, this is exactly what I thought was the answer to my own question and now that someone has clarified my thinking a little more. This is exactly what I have been trying out for the past two plus...
For anyone who is knowledgible about picbasicprr, I would like to ask a simple question. I am a little uncertain about my syntax from my code. here is what I have done and I presume that it is...