PDA

View Full Version : Freqout ? ? ?



azmax100
- 3rd March 2009, 15:12
Hi all,

can I use Freqout command as in Pbasic & Basic Stamp 2 to transmit 38khz IR pulse?

Thanks for answering.

nomad
- 4th March 2009, 00:28
Freqout in PBP has a max of 32,767hz. If using a pic you could set up hpwm registers for 38khz then toggle the output for a pulse (tris), but I'm not familiar with a stamps capabilities or the stamps basic.

b1arrk5
- 5th March 2009, 00:39
Take a look around Bruce's website, www.Rentron.com as he has a wealth of information on using Picbasic with infrared. The infrared serial communication article explains how to set up HWPM for different oscillator speeds to get 38kHz. I bought a few of his decoder chips, and he's great with sharing what he knows, as you'll see on his website. (The decoder chips work great, by the way!)

Jerry.