Thank you for your help :)
I modifies as Steve's suggestion, it works now
Actually I do not require the RX part, is there any way permanently disable the RX part ( to save 2x pause 25 ) ?
Type: Posts; User: Johan; Keyword(s):
Thank you for your help :)
I modifies as Steve's suggestion, it works now
Actually I do not require the RX part, is there any way permanently disable the RX part ( to save 2x pause 25 ) ?
I tried to display decimal value to LCD, it works.
How to display the value to LCD while sending the value with HSEROUT ?
Everytime I enable the HSEROUT command , the LCD do not display...
Yes, this is the problem, if I switchoff PWM6,7 with %01000100 , I will loose the I/O ports that occupied by PWM0,2,4
I think I have to change the LCD wiring :( ,
or alternatively, can I combine ...
Hi Bruce,
I have tested it, the problem is the PWM7. How to disable it?
I want PWM 1,3,5 only , but the PWMCON0 does not have option , the best option is %01111111 ( all odd pins enabled ,...
I am using RD2,RD3,RD4,RD5,RD6,RD7 ( cannot change these , as these are hardwired on my easypic4 )
The problem starts even before PWM channels are active
Hi Bruce,
I also got the PWM's working, but there is a problem now : LCD displays doesn't work properly, say I want to display " Welcome " , LCD displays " We$&ome" or something like that
If I...
Thanks Brian,
Yes , this is what I meant.
You said it will be about 2 ms delay from input to output, is it based on 8 Mhz oscillator ?
If I want to change the delay to 1 ms, is it as simple...
Hmmm....
Suppose I have 8 ADC running at 10 bit and then do some math with the values, then output it to 8 HPWM on a chip like 18f4431, total code around 8k byte, will 8mhz internal osc be...
Thanks Mat
Aside of those issues, is there really a " performance" differences by clocking the PIC higher ? Better processing speed ?
I am new to PIC, but I guess as it happens on PC , the...
How do you guys pickup the best oscillator frequency for your application?
The higher the better ?
Thank you Bruce,
It works :)
Hello,
I just made an experiment with 18F4431 again.
The blinky program works, and now I want to have multiple / simultanous HPWM
My code did not work, How to setup so the RB0,1,2,3 become PWM...
Thanks for your responses :)
Well , this is not a simple circuit indeed. I have found the explanation about it on Nutsvolt , February 2007,p20
Thanks again
Mack: I am welcoming any other solution :)
The circuit is to dampen sudden voltage changes of a potentiometer ( voltage divider ), what important is the linearity of the output
Jerson: could...
Thanks guys,
RussMartin: Yes , this is exactly my problem, I want the curve to be as linear as possible.
I am tring to make a ramp . Any suggestion how to flatten the curve ( from red to ...
Hi !,
I am designing simple RC circuit.
how to get most linear charge/discharge output ?
My RC circuit has a 10k resistor and 47uF capacitor, it seem the output is not linear
If I change...
Andrew,
have you looked Darrel's instant interrupt : elapsed timer ?
I think you can modify the sample code to make it work as you suggest
I have tried this instant interrupt : elapsed timer...
You can use software debounce ( with Button command ) , but if you dont want to change the code, just put the switch in parallel with a resitor and capacitor, something like this:
sw...
try this
define OSC 20
TRISB = 0
MAIN:
HIGH PORTB.0
PAUSE 1000
LOW PORTB.0
Hi Grandpa,
As you use push switch, don't forget to debounce it
Johan
Thanks Bruce & Josuetas,
I think I will try to mix both methods , Instant interrupt is simple to apply, while ME's sample program is complete with checksum
By the way, does PIC16F616 have...
Thanks for the link Raflex, but I want to write to PIC internal eeprom, so the program inside the PIC can access the value and run the program accordingly.
Is is possible to write directly to EEPROM with a PC ( serial )?
I am thinking something like bootloader routine or ICSP , but instead of downloading program, it just download values to eeprom.
...
Thanks Michael,
It works now :)
Thanks to you too, Darrel
Hi Alain, thanks for the info,
I made test program , but I got error messages :
variable wsave3 position request 416 beyond ram_end 191
variable wsave3 position request 288 beyond ram_end...