[SOLVED] PIC complete discussion for all

Status
Not open for further replies.
Romel if you say so then i can delete the topic of discussion that started with the triac and zero crossing , as they deviate the topic heading.

you can start a new topic for this discussion as there may be many other people other than a few hands ful of people who can really contribute and help you in your projects.
 


PLs. dont close it..
I promised not to ask anymore not related to PIC peripherals... I thought i'ts okay to ask here if it's related to PIC application...

---------- Post added at 08:58 ---------- Previous post was at 08:56 ----------


okay.. for the better..pls delete it...
it's started since I just learned about pwm and I want to add application of it using triac..
 

I have moved all the AC load related messages to a new thread located

https://www.edaboard.com/threads/219109/

because there were some useful info in the deleted messages, the conversation about that topic can be continued there if you want.

Alex
 
hi all,



250Khz pwm output is fast ...my estimated value of PR2 is between 1 - 2 according to my previous calculations..

the above project is using AVR micro.. Im planning to make the same project but using PIC18f4550 my question is, is the speed of my device can handle two 250Khz because I want Stereo output of my player....I knew my device can run up to 48Mhz but Im just asking... hehe

---------- Post added at 05:27 ---------- Previous post was at 05:26 ----------

@alexan_e, thanks you so much for moving my thread,,, thanks
 

Found free pic18 timer calculator :-D

**broken link removed**
 

I think this link is already posted twice in this discussion.
Will you still count it, if the thread continues next year?
Maybe it is time to close this thread as this is deviating the topic as romel had asked me to keep it in single thread..
I thought it would be restricted only to PIC18f4550 and its peripherals..
If I was a moderator, I had thought about it before. I already told my opinion before the thread changed it's name to "PIC complete discussion".
Altough I appreciate the profound contributions to this thread, I would prefer a theme-centred discussion.
 

How did you come to this conclusion that you should use PIC 18F4550. Did someone suggested you or you decided it with the product selector tool.
 

How did you come to this conclusion that you should use PIC 18F4550. Did someone suggested you or you decided it with the product selector tool.

hi,

Im planning to make a project in the future that I think the feature and speed of PIC18 can able to supply it..
 

I recon, The project that you have just altered code within will allways be out of date. If you do a clean build it'll always build everything, but notmal build will only compile the projects it has to so if there are library source files that haven't been altered since last full build it wont bother to re-compile them to save time!! (Not a lot of time!)

If I click build when nothings changed withn a project I get
Make: The target "C:\MPLab2\DisplayDemo723a\delay.p1" is up to date.
Make: The target "C:\MPLab2\DisplayDemo723a\LEDDriver723.p1" is up to date.

if I alter something in LEDDRiverr723 it then says
Make: The target "C:\MPLab2\DisplayDemo723a\LEDDriver723.p1" is out of date.


as long as it says its been a success, dont worry... Its a long-standing complier way of doing things,
Regards
NEal
 
hi, i m studying pic currently. i am using __CONFIG(0x1932); after initializing all my preprocessors.
What will happen if i didnt include this configuration bit file.?

Also, i heard that, PORT B of 16f877a has internal pull up resistance. Is it true.?
 

If you don't include that, you are not specifying the settings you are using, such as the type of oscillator, code protection, watchdog timer, etc.

Yes PORTB has internal pull-up resistors that can be manually enabled/disabled.

Hope this helps.
Tahmid.
 

using __CONFIG(0x1932);
This is configuration bit values and it should be set well..

What will happen if i didnt include this configuration bit file.?
most cases it shouldn't work just like my experienced.
e.g. your circuit is using internal oscillator and the setting of your config bits is external clock source then it should not work that way..


below are the configuration bits for your device and set it according to your application



 
You can set the confiuration bits separately in the MPLAB IDE, to override the _Config until the next build... Once you've got the config how you want it in the GUI bit, it gives you the Hex Value so you can fix it in code....

Neal
 
Hello people, I've got a full H-bridge involving only NPN transistors and use PIC18F4331. I put two PWM signals to the diagonal transistors. If I send PWM (from PWM0) just to the one half bridge , having kept diconnected the other signal , the motor turns clockwise. If I do the same to the other half bridge, with PWM1 , the motor turns counter clockwise. The problem is that I can't make it turn to both sides, using a full-bridge. It must be the software. I use OVDCOND and OVDCONS to change the port and RD4 and RD0, but it is not clear to me how I'll do it. Has somenosy else done it before? Please enlighten me , I'm stuck here for three weeks !
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…