<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Lesson_45--Microduino_Electric_Guitar</id>
		<title>Lesson 45--Microduino Electric Guitar - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Lesson_45--Microduino_Electric_Guitar"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_45--Microduino_Electric_Guitar&amp;action=history"/>
		<updated>2026-04-29T18:15:06Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Lesson_45--Microduino_Electric_Guitar&amp;diff=8302&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{| style=&quot;width: 800px;&quot; |- | ==Objective== This tutorial will show you how to use ultrasonic sensor to make an electric guitar.   ==Equipment== *'''Microduino-Core''' *''...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_45--Microduino_Electric_Guitar&amp;diff=8302&amp;oldid=prev"/>
				<updated>2015-05-07T08:30:24Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== This tutorial will show you how to use ultrasonic sensor to make an electric guitar.   ==Equipment== *&amp;#039;&amp;#039;&amp;#039;&lt;a href=&quot;/index.php/Microduino-Core&quot; title=&quot;Microduino-Core&quot;&gt;Microduino-Core&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039; *&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Objective==&lt;br /&gt;
This tutorial will show you how to use ultrasonic sensor to make an electric guitar. &lt;br /&gt;
&lt;br /&gt;
==Equipment==&lt;br /&gt;
*'''[[Microduino-Core]]'''&lt;br /&gt;
*'''[[Microduino-USBTTL]]'''&lt;br /&gt;
&lt;br /&gt;
*Other harware equipment  &lt;br /&gt;
**USB cable   One  &lt;br /&gt;
**Ultrasonic sensor           One &lt;br /&gt;
**Loudspeaker           One &lt;br /&gt;
**10KΩ resistor           One &lt;br /&gt;
**Breadboard jumpers           several&lt;br /&gt;
**Battern           One &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Note Frequency==&lt;br /&gt;
We all know that the notes Do - Re - Mi - Fa - Sol - La - Si/Te have their correspsonding frequencies, seeing at the two tables below:&lt;br /&gt;
&lt;br /&gt;
[[File:NoteFrequency1.jpg|600px|center|thumb]]&lt;br /&gt;
[[File:NoteFrequency2.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:ElectricGuitarSchematics.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Advanced/guitar guitar]&lt;br /&gt;
&lt;br /&gt;
In the program,int toneFrequency[]={415,440,466,494,523,554,587,622};&lt;br /&gt;
&lt;br /&gt;
It is used to define the range and number that can generate notes. You can adjust the note frequency range according to individual needs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&lt;br /&gt;
1. Download Tone library: [https://github.com/johnmccombs/arduino-libraries/tree/master/Tone Tone], and put it into libraries of IDE and then restart IDE. Compared with the built-in Tone, this Tone library can output waves with different frequency at the same time.   &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
'''Caution: Decompress and change #include &amp;lt;wiring.h&amp;gt; in Tone.cpp to #include &amp;lt;Arduino.h&amp;gt;, or it'll cause errors. &lt;br /&gt;
&lt;br /&gt;
2. Build the circuit according to schematic:  &lt;br /&gt;
&lt;br /&gt;
[[File:ElectricGuitarConnect.jpg|600px|center|thumb]]&lt;br /&gt;
You can mark the location of notes accordin to note frequency on the battern.&lt;br /&gt;
&lt;br /&gt;
3. Download and run the code  &lt;br /&gt;
&lt;br /&gt;
4. move the obstruction in front of ultrasonic and pay attention to the loudspeaker.    &lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
&lt;br /&gt;
The loudspeaker will generate different notes according to different locations of the obstruction, which is basically the same with the note on the battern.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>