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.
Thank you for your good suggestion.The prog needed to confg ADC and set RB0/AN12 inorder to take i/p but haven't used PORTx to store value still it worked.
ADCON1=0x03; // Make RB0/AN12 pin as analog pin (Other pins remain to be digital I/O)
ADCON0=0x0C...
ud23 : Thanks for your kind help,but still not working. :(
Algorithm which i used is mentioned in prog according to which PORTD o/p should toggle but not quite getting it but when i reset ckt it starts toggling in infinite loop.
Re: why kernel assigns 250 as a major number in device driver
If you have not specified the Major number in register char device command while creating node it is set by default option in kernel.
Re: Current filter , Can u help ?
You can use shunt resistor in feedback path and apply that signal to LM324.By Feed this signal to Microcontroller it may be possible to read the value.
Hello everyone,I am learning PIC uc interrupts in which LEDs should glow as output on reception of each falling edge signal on INT0(pin RB0 of PIC18F4550) but LEDs are not toggling when button is pressed.My code and sim is attached below hope you can help me out.
Hello friends,I am currently working on my final year project 'SENSORLESS DRIVE FOR BLDC MOTOR'.But facing trouble in BEMF detection,I've tried comparator ckt but not getting proper output....Any help from you guys would be appreciated.
Thank you friends :-)
Thanx for your valuable suggesion but as i said i am totally new to programming in PIC and i tried many things from changing delays,adding functions,using libs etc but its still not working properly :-(
- - - Updated - - -
@mathespbe : actually i am looking for code of PWM for switching...
This is the code i m using to get 6 pulse PWM output using PIC18F4520 with 20MHz Fosc,50Hz PWM freq and 50% duty cycle bt m nt getting these values please help....!
thank u !
void main()
{
TRISA = 0xFF ;
TRISB = 0 ; // set PORTC as output...
hi i m a newbie at PIC programming but i m doing a project on 3ph BLDC sensorless drive for which i need to generate PWM code for 3ph bridge ie. 6 PULSE PWM code.I m using PIC18f4520,PWM freq is 50HZ,crystal is of 20MHz...can you please give me an algorithm or code for this..!!
Thank u !
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.