Pages: [1]   Go Down
Author Topic: 38khz???????????  (Read 423 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how to generate 38khz of frequency from arduino???
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 150
Posts: 5744
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

According to the arduino reference pages there's a function called "tone()".

http://arduino.cc/en/Reference/HomePage

You might also like to read the post called "How to use this forum - please read" at the top of the forum page.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i have tried that but a maximum of 20khz was generated!!
Logged

Dubuque, Iowa, USA
Offline Offline
Faraday Member
**
Karma: 49
Posts: 2551
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

See http://www.righto.com/2010/03/detecting-ir-beam-break-with-arduino-ir.html
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4094
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Should be able to come pretty close by setting up one of the timers to output a fixed frequency. Lots of info at:
http://www.gammon.com.au/forum/?id=11504
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Pages: [1]   Go Up
Jump to: