I have my x/y joystick control working with 8 Bit inputs for tank style control(i don't want to go through that algorithm again), but I want to use a temp sensor(LM35DT) with 10 Bit input for better...
Type: Posts; User: jrudd; Keyword(s):
I have my x/y joystick control working with 8 Bit inputs for tank style control(i don't want to go through that algorithm again), but I want to use a temp sensor(LM35DT) with 10 Bit input for better...
Ace, thanks, I've been using a Microchip A/D addendum manual I downloaded years ago and I guess it sort of worked because I never noticed severe problems....
This is strange. I've been using a MicroChip 10bit a/d manual (http://ww1.microchip.com/downloads/en/DeviceDoc/31023a.pdf) which shows a different set-up for ADCON1 than the A/D section of the...
My data sheet for the 16f877 shows the ADCON1 register to be set up as follows:
Bit 7,6 Unimplemented, set as 0
Bit 5 "1"= Right Justified, "0"=Left Justified
Bit 4 ...
Thanks but it was right justified. I've added the code below. Sorry, I've forgotten how to use a code window and can't find the thread instructions.
'* This sample program is supplied courtesy of...
I'm trying re-learn what I thought I understood 3 yrs ago.
I have a 16F877A with the A/D set-up for 10 Bits. Outputing the found value to an lcd.
For my 0-5v input, I have to do FoundValue=DEC...
aratti,
Thanks. Yes that solved the problem. Interestingly, in adding that fix, I discovered that I have to limit the duty cycle value to 254. 255 equates to 100% which means no pulses which means...
I made a board for a dual h-bridge design based on a breadboard I put together on the bench.
I noticed on the new board that I was getting jittery motors as my analog In from the joystick approached...
I think that RC2 is trying to go high but can't because the coil of the relay is pulling too much current for the output. Might have to use a transistor as a switch.
Thanks for the help guys.
After studying further, when I shut the transmitter off, I realized that some values for duty cycle were correct and would fall through to the HPWM Command. The trouble was...
I have an H-Bridge that can run under joystick control or R/C Transmitter Control.
While running under R/C Transmitter Control, I want the PWM to go to zero if the transmitter is accidentally...
I'm getting a good looking 50% duty cycle signal from the CCP1 pin but I just noticed that the amplitude is only about 120mv. I've changed freq and PR2 values and still get 120mv out. I checked the...
I want to build an Industrial device that needs to measure mass air flow in the same range as typical Automotive MAF Sensors. I have searched for actual data(i.e. Actual Mass Air Flow verses Voltage...
Actually I'm ordering some from rentron.com as well as some PIC 16F877's to go on the Proto64 board.
If I use a Resonator that has built in caps, should I still put external 22pf caps around it or none at all?
Thanks,
John
Anyone have positive experience using Micromega's floating point processor?
http://www.micromegacorp.com/
Thanks,
John
This is driving me crazy. I'm displaying an analog voltage on an LCD attached to the PIC as adval.HighByte,adval.LowByte(3 233)
I'm also sending the same values to a VB program using the same...
I wanted to look at modedefs.bas but can't find it. I'm still playing with the Demo PBP that I downloaded. Is that the problem?
Thanks,
John
Joe,
I'm interested in your board. I'm working toward a small board with 16x2 LCD,
2 or 3 a/d inputs and possibly a PWM out.
Couple of questions:
1. What size is the board
2. How does the LCD...
Darrel,
Thanks, I used 10,13 because that is the sequence I amusing to run a 16x2 LCD and displaying the same data that I wanted to capture in a text file using Hyperterminal. The next thing I want...
I'm using Hyperterminal to receive and display data using:
Hserout ["Value=",DEC adval,10,13] which works fine, I get the A/D value "adval" and I get the linefeed and carriage return using the...
Thanks Man,
It was your item 2. I wasn't setting the correct Osc Speed, in this case 20MHZ. DEFINE OSC 20
jrudd
I just realized that my 16F877 is probably running at 20MHZ.
Is there a set-up in CodeLite to set the PIC Speed or will I need the Full Version?
Thanks,
John
I downloaded PBPDEMO and Codelite and I'm trying to program a 16F877 using my FED Pic Development/Programmer Board.
I can find and load the PBP generated Hex File with the FED software and it...