<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[forum.rcl-radio.ru &mdash; MP3 плеер +arduino+oled1.3"]]></title>
	<link rel="self" href="http://forum.rcl-radio.ru/extern.php?action=feed&amp;tid=599&amp;type=atom" />
	<updated>2024-04-29T12:10:55Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.rcl-radio.ru/viewtopic.php?id=599</id>
		<entry>
			<title type="html"><![CDATA[Re: MP3 плеер +arduino+oled1.3"]]></title>
			<link rel="alternate" href="http://forum.rcl-radio.ru/viewtopic.php?pid=10323#p10323" />
			<content type="html"><![CDATA[<p>MP3 уходит в историю. Есть ли возможность использовать формат с контейнерами M4A или AAC? Они меньше по размеру, а качество звучания намного приятнее.</p>]]></content>
			<author>
				<name><![CDATA[aqtar]]></name>
				<uri>http://forum.rcl-radio.ru/profile.php?id=2400</uri>
			</author>
			<updated>2024-04-29T12:10:55Z</updated>
			<id>http://forum.rcl-radio.ru/viewtopic.php?pid=10323#p10323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MP3 плеер +arduino+oled1.3"]]></title>
			<link rel="alternate" href="http://forum.rcl-radio.ru/viewtopic.php?pid=9110#p9110" />
			<content type="html"><![CDATA[<p>Удалось скомпилировать (Ctrl+R) в arduino 1.8.19 файлик soundpod.ino ,<br />но с предупреждением &quot;Недостаточно памяти, программа может работать нестабильно.&quot;</p><p>Скачать все файлы с исходниками ino и один jpg в папку для скетча.<a href="https://github.com/DKARDU/MP3/tree/main)">https://github.com/DKARDU/MP3/tree/main)</a><br />Скачивать лучше целиком файлами. Когда делаете копию части текста с веб странички - бывает копируется куча управляющих символов, которые в Arduino Ide не видно глазом. Потом вываливаются непонятные ощибки.</p><p>Выбрать плату Arduino Nano, процессор Atmega 328P (Old BootLoader)</p><p>Установить билиотеки “DFRobotDFPlayerMini” и ”U8g2”.</p><p>После этого должно скомпилироваться.</p><p>Но программка конечно не простая.</p>]]></content>
			<author>
				<name><![CDATA[Nesco]]></name>
				<uri>http://forum.rcl-radio.ru/profile.php?id=2243</uri>
			</author>
			<updated>2024-01-03T12:01:30Z</updated>
			<id>http://forum.rcl-radio.ru/viewtopic.php?pid=9110#p9110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MP3 плеер +arduino+oled1.3"]]></title>
			<link rel="alternate" href="http://forum.rcl-radio.ru/viewtopic.php?pid=9109#p9109" />
			<content type="html"><![CDATA[<p>Спасибо большое за отклик.<br />Но к сожалению скетч не компилируется. А так все бы устраивало. выдает очень много ошибок.</p><p>C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino: In function &#039;void setup()&#039;:<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:48:5: error: &#039;flashPage&#039; was not declared in this scope<br />&nbsp; &nbsp; &nbsp;flashPage();<br />&nbsp; &nbsp; &nbsp;^~~~~~~~~<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:57:53: error: &#039;leftButtonISR&#039; was not declared in this scope<br />&nbsp; &nbsp;attachInterrupt(digitalPinToInterrupt(leftButton),leftButtonISR, FALLING);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:57:53: note: suggested alternative: &#039;leftButton&#039;<br />&nbsp; &nbsp;attachInterrupt(digitalPinToInterrupt(leftButton),leftButtonISR, FALLING);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;leftButton<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:58:54: error: &#039;rightButtonISR&#039; was not declared in this scope<br />&nbsp; &nbsp;attachInterrupt(digitalPinToInterrupt(rightButton),rightButtonISR, FALLING);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~~~~~~~~<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:58:54: note: suggested alternative: &#039;rightButton&#039;<br />&nbsp; &nbsp;attachInterrupt(digitalPinToInterrupt(rightButton),rightButtonISR, FALLING);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~~~~~~~~<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rightButton<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:84:3: error: &#039;startFolderPlay&#039; was not declared in this scope<br />&nbsp; &nbsp;startFolderPlay();<br />&nbsp; &nbsp;^~~~~~~~~~~~~~~<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino: In function &#039;void loop()&#039;:<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:100:3: error: &#039;batteryReader&#039; was not declared in this scope<br />&nbsp; &nbsp;batteryReader();<br />&nbsp; &nbsp;^~~~~~~~~~~~~<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:100:3: note: suggested alternative: &#039;batteryLevel&#039;<br />&nbsp; &nbsp;batteryReader();<br />&nbsp; &nbsp;^~~~~~~~~~~~~<br />&nbsp; &nbsp;batteryLevel<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:184:13: error: &#039;player&#039; was not declared in this scope<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;player();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:184:13: note: suggested alternative: &#039;playing&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;player();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;playing<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:187:13: error: &#039;settings&#039; was not declared in this scope<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;settings();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~<br />C:\Users\Vlad Rudakov\Downloads\soundpod (1)\soundpod (1).ino:187:13: note: suggested alternative: &#039;String&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;settings();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;String</p><p>exit status 1</p><p>Compilation error: &#039;flashPage&#039; was not declared in this scope</p>]]></content>
			<author>
				<name><![CDATA[rudakov2002@mail.ru]]></name>
				<uri>http://forum.rcl-radio.ru/profile.php?id=2033</uri>
			</author>
			<updated>2024-01-02T04:59:11Z</updated>
			<id>http://forum.rcl-radio.ru/viewtopic.php?pid=9109#p9109</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MP3 плеер +arduino+oled1.3"]]></title>
			<link rel="alternate" href="http://forum.rcl-radio.ru/viewtopic.php?pid=9088#p9088" />
			<content type="html"><![CDATA[<p>Что-то типа такого? <a href="https://www.instructables.com/How-to-Make-a-MP3-Player-With-LCD-Using-Arduino-an/">https://www.instructables.com/How-to-Ma … rduino-an/</a></p>]]></content>
			<author>
				<name><![CDATA[Nesco]]></name>
				<uri>http://forum.rcl-radio.ru/profile.php?id=2243</uri>
			</author>
			<updated>2023-12-29T05:30:25Z</updated>
			<id>http://forum.rcl-radio.ru/viewtopic.php?pid=9088#p9088</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[MP3 плеер +arduino+oled1.3"]]></title>
			<link rel="alternate" href="http://forum.rcl-radio.ru/viewtopic.php?pid=9069#p9069" />
			<content type="html"><![CDATA[<p>Доброго Всем времени суток.<br />Пытаюсь найти схему и скетч MP3 плеера для установки в корпус самодельного усилителя.Китайские декодеры не интересны (эстетически). Есть такой вот проект:</p><p>///&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MP3 PLAYER PROJECT<br />/// <a href="http://educ8s.tv/arduino-mp3-player/">http://educ8s.tv/arduino-mp3-player/</a><br />//////////////////////////////////////////</p><br /><p>#include &quot;SoftwareSerial.h&quot;<br />SoftwareSerial mySerial(10, 11);<br /># define Start_Byte 0x7E<br /># define Version_Byte 0xFF<br /># define Command_Length 0x06<br /># define End_Byte 0xEF<br /># define Acknowledge 0x00 //Returns info with command 0x41 [0x01: info, 0x00: no info]</p><p># define ACTIVATED LOW</p><p>int buttonNext = 2;<br />int buttonPause = 3;<br />int buttonPrevious = 4;<br />boolean isPlaying = false;</p><br /><br /><p>void setup () {</p><p>pinMode(buttonPause, INPUT);<br />digitalWrite(buttonPause,HIGH);<br />pinMode(buttonNext, INPUT);<br />digitalWrite(buttonNext,HIGH);<br />pinMode(buttonPrevious, INPUT);<br />digitalWrite(buttonPrevious,HIGH);</p><p>mySerial.begin (9600);<br />delay(1000);<br />playFirst();<br />isPlaying = true;</p><br /><p>}</p><br /><br /><p>void loop () { </p><p> if (digitalRead(buttonPause) == ACTIVATED)<br />&nbsp; {<br />&nbsp; &nbsp; if(isPlaying)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; pause();<br />&nbsp; &nbsp; &nbsp; isPlaying = false;<br />&nbsp; &nbsp; }else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; isPlaying = true;<br />&nbsp; &nbsp; &nbsp; play();<br />&nbsp; &nbsp; }<br />&nbsp; }</p><br /><p> if (digitalRead(buttonNext) == ACTIVATED)<br />&nbsp; {<br />&nbsp; &nbsp; if(isPlaying)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; playNext();<br />&nbsp; &nbsp; }<br />&nbsp; }</p><p>&nbsp; &nbsp;if (digitalRead(buttonPrevious) == ACTIVATED)<br />&nbsp; {<br />&nbsp; &nbsp; if(isPlaying)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; playPrevious();<br />&nbsp; &nbsp; }<br />&nbsp; }<br />}</p><p>void playFirst()<br />{<br />&nbsp; execute_CMD(0x3F, 0, 0);<br />&nbsp; delay(500);<br />&nbsp; setVolume(20);<br />&nbsp; delay(500);<br />&nbsp; execute_CMD(0x11,0,1); <br />&nbsp; delay(500);<br />}</p><p>void pause()<br />{<br />&nbsp; execute_CMD(0x0E,0,0);<br />&nbsp; delay(500);<br />}</p><p>void play()<br />{<br />&nbsp; execute_CMD(0x0D,0,1); <br />&nbsp; delay(500);<br />}</p><p>void playNext()<br />{<br />&nbsp; execute_CMD(0x01,0,1);<br />&nbsp; delay(500);<br />}</p><p>void playPrevious()<br />{<br />&nbsp; execute_CMD(0x02,0,1);<br />&nbsp; delay(500);<br />}</p><p>void setVolume(int volume)<br />{<br />&nbsp; execute_CMD(0x06, 0, volume); // Set the volume (0x00~0x30)<br />&nbsp; delay(2000);<br />}</p><p>void execute_CMD(byte CMD, byte Par1, byte Par2)<br />// Excecute the command and parameters<br />{<br />// Calculate the checksum (2 bytes)<br />word checksum = -(Version_Byte + Command_Length + CMD + Acknowledge + Par1 + Par2);<br />// Build the command line<br />byte Command_line[10] = { Start_Byte, Version_Byte, Command_Length, CMD, Acknowledge,<br />Par1, Par2, highByte(checksum), lowByte(checksum), End_Byte};<br />//Send the command line to the module<br />for (byte k=0; k&lt;10; k++)<br />{<br />mySerial.write( Command_line[k]);<br />}<br />}</p><p>но в нем не подцеплен экран и функционал у DFplayer Mini намного больше, регулирование громкости, работа с плей листом и т.д.<br />В общем очень бы хотелось чтобы знающий человек посмотрел на это.<br />Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[rudakov2002@mail.ru]]></name>
				<uri>http://forum.rcl-radio.ru/profile.php?id=2033</uri>
			</author>
			<updated>2023-12-23T07:15:07Z</updated>
			<id>http://forum.rcl-radio.ru/viewtopic.php?pid=9069#p9069</id>
		</entry>
</feed>
