Electronics > Electronics

Help for PIC

<< < (2/2)

ed1380:
Just a side question on this topic. Is is better to have the pic do the pwm and hook that up to a mosfet/h-bridge configuration or to a motor control ic. How much diference in code will there be, between the 2 options.

JonHylands:
Depending on why you want the 40 KHz signal, you might be able to not do it at all on the PIC.

The Sharp IS471F is an IR receiver which generates a 38 KHz square wave on its output pin. I used one for the close-IR sensor on Seeker 2 (http://www.huv.com/miniSumo/seeker2/index.html) and it works really well. You provide it with +5 and ground. It provides you with a digital signal on its output pin to say whether it sees an IR signal, and the other output is the 38 KHz output.

- Jon

Navigation

[0] Message Index

[*] Previous page

Go to full version