Continue to Site

Welcome to EDAboard.com

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.

Temperature control by using PIC28f452

Status
Not open for further replies.

mpe_10

Newbie level 6
Newbie level 6
Joined
Oct 12, 2006
Messages
12
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,362
hi...

I have two question to the pic18f452 experts..

1- I'm working on a project about temperature PID controller using PIC18f452 and I'm asking if anybody work on a such project to give some tips and if possible the c algorithm for the pid controller?


2- my second question is about the microcontroller analog output .How can I generate an analog signal from the microcontroller to control the proportional valve?

before I end this post, i want ask you about a book which is "Embedded Design with the PIC18F452". Could I get this book free online
 

mpe_10 said:
How can I generate an analog signal from the microcontroller to control the proportional valve?
You can use a DAC (digital to analog converter).

Also, if the automation loop time is sufficiently long you can use a pwm output from the microcontroller, followed by a low pass filter, to generate an analog signal.
 

Thanks lambtron for your response ..

after my search for a dac i found mcp4921 from microchip..

do you have any idea how to program the PIC with the dac in order to get analog signal??

in addition..

could you give a C algorithm for PID controller..

thanks again
 

mpe_10 said:
... i found mcp4921 from microchip.. do you have any idea how to program the PIC with the dac in order to get analog signal?
Have a look at this **broken link removed**.

mpe_10 said:
could you give a C algorithm for PID controller.
There are numerous examples of this on the Internet. For example, see Appendix C of this article.
 

Dear lambtron...

thank you very much for your help...I really benefit from your posts...


thanks again
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top