<div dir="ltr"><div>Ho trovato un modo elegante per gestire la selezione dei pulsanti con la rete di resistenze, tenendo in conto dell'incertezza di misura</div><div><br></div><div><span style="color:rgb(0,0,255)"><i>switch (keyState) {<br> case 95 ... 105 :</i></span></div><div><br></div><div>E' possibile usare la funzione "case" passando un range di valori interi separati da 3 puntini</div><div><span style="color:rgb(0,0,255)"><i>case min ... max</i></span></div><div><br></div><div>Di seguito la teoria:</div><div><a href="https://www.geeksforgeeks.org/using-range-switch-case-cc/">https://www.geeksforgeeks.org/using-range-switch-case-cc/</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 22 mag 2019 alle ore 19:57 carlo b via Arduino <<a href="mailto:arduino@liszt.softwareliberopinerolo.org">arduino@liszt.softwareliberopinerolo.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Grazie Marco<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 22 mag 2019 alle ore 19:28 Spazza Tura via Arduino <<a href="mailto:arduino@liszt.softwareliberopinerolo.org" target="_blank">arduino@liszt.softwareliberopinerolo.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ciao a tutti da Marco! Ho provato a inviare in allegato skatch e datasheet del progetto radio fm, ma la mail è stata respinta dal moderatore perchè occupa troppa memoria, so che qualcuno era interessato, quindi vi copio il link dove ho preso spunto per il ricevitore: <br>
<br>
<a href="https://hackaday.io/project/9009-arduino-radio-with-rds--" rel="noreferrer" target="_blank">https://hackaday.io/project/9009-arduino-radio-with-rds--</a><br>
<br>
<br>
-----------------------------------------<br>
Dom 19/5/19, carlo b via Arduino <<a href="mailto:arduino@liszt.softwareliberopinerolo.org" target="_blank">arduino@liszt.softwareliberopinerolo.org</a>> ha scritto:<br>
<br>
Oggetto: Re: [Arduino] Progetto Radio FM per Linux Day 2019<br>
A: <a href="mailto:arduino@liszt.softwareliberopinerolo.org" target="_blank">arduino@liszt.softwareliberopinerolo.org</a><br>
Cc: "carlo b" <<a href="mailto:carlobusco@gmail.com" target="_blank">carlobusco@gmail.com</a>><br>
Data: Domenica 19 maggio 2019, 13:34<br>
<br>
OK, grazie<br>
<br>
<br>
Il giorno dom 19<br>
mag 2019 alle ore 09:49 giorgio boiero via Arduino <<a href="mailto:arduino@liszt.softwareliberopinerolo.org" target="_blank">arduino@liszt.softwareliberopinerolo.org</a>><br>
ha scritto:<br>
Di seguito ho<br>
raccolto un pò di informazioni per sviluppare il progetto<br>
della Radio FM che potremmo portare al Linux Day 2019<br>
<br>
Modulo Radio RDA5807M<br>
(RRD-102)<br>
<a href="https://www.aliexpress.com/item/FM-Radio-Module-RDA5807M-RRD-102-V2-0-Stereo-Radio-Module/1869334855.html" rel="noreferrer" target="_blank">https://www.aliexpress.com/item/FM-Radio-Module-RDA5807M-RRD-102-V2-0-Stereo-Radio-Module/1869334855.html</a><br>
Librerie per RDA5807M<br>
<a href="http://www.mathertel.de/Arduino/RadioLibrary.aspx" rel="noreferrer" target="_blank">http://www.mathertel.de/Arduino/RadioLibrary.aspx</a><br>
<a href="http://mathertel.github.io/Radio/" rel="noreferrer" target="_blank">http://mathertel.github.io/Radio/</a><br>
<a href="https://github.com/csdexter/RDA5807M" rel="noreferrer" target="_blank">https://github.com/csdexter/RDA5807M</a><br>
<br>
Altre radio FM<br>
<a href="https://www.aliexpress.com/item/TEA5767-FM-Stereo-Radio-Module-for-Arduino-76-108MHZ-With-Free-Cable-Antenna/2038553847.html" rel="noreferrer" target="_blank">https://www.aliexpress.com/item/TEA5767-FM-Stereo-Radio-Module-for-Arduino-76-108MHZ-With-Free-Cable-Antenna/2038553847.html</a><br>
<a href="https://www.aliexpress.com/item/Si4703-FM-Tuner-Evaluation-Board-radio-tuner-board/32411198705.html" rel="noreferrer" target="_blank">https://www.aliexpress.com/item/Si4703-FM-Tuner-Evaluation-Board-radio-tuner-board/32411198705.html</a><br>
<br>
Per il LCD userei il modulo<br>
PCF8574 che converte da parallelo a I2C (solo 2 fili)<br>
<a href="https://www.aliexpress.com/item/Serial-IIC-I2C-TWI-Module-for-1602-162-1604-164-2004-204-Character-LCD-Module-Display/32918983761.html" rel="noreferrer" target="_blank">https://www.aliexpress.com/item/Serial-IIC-I2C-TWI-Module-for-1602-162-1604-164-2004-204-Character-LCD-Module-Display/32918983761.html</a><br>
<a href="https://github.com/mathertel/LiquidCrystal_PCF8574" rel="noreferrer" target="_blank">https://github.com/mathertel/LiquidCrystal_PCF8574</a><br>
<a href="https://github.com/jmparatte/jm_PCF8574" rel="noreferrer" target="_blank">https://github.com/jmparatte/jm_PCF8574</a><br>
<br>
Per far scorrere le stazioni<br>
radio registrate userei un encoder (potenziometro<br>
digitale)<br>
<a href="https://www.aliexpress.com/item/5PCS-KY-040-360-Degrees-Rotary-Encoder-Module-Brick-Sensor-Switch-Development-Board-For-Arduino-With/32991511891.html" rel="noreferrer" target="_blank">https://www.aliexpress.com/item/5PCS-KY-040-360-Degrees-Rotary-Encoder-Module-Brick-Sensor-Switch-Development-Board-For-Arduino-With/32991511891.html</a><br>
<a href="https://github.com/roboticboyer/Arduino-Rotary-Encoder" rel="noreferrer" target="_blank">https://github.com/roboticboyer/Arduino-Rotary-Encoder</a><br>
<br>
Alcune librerie per la<br>
gestione avanzata della EEPROM di Arduino<br>
<a href="https://github.com/charlesbaynham/OSFS" rel="noreferrer" target="_blank">https://github.com/charlesbaynham/OSFS</a><br>
<a href="https://github.com/amirchev/EZPROM" rel="noreferrer" target="_blank">https://github.com/amirchev/EZPROM</a><br>
<a href="https://github.com/Chris--A/EEWrap" rel="noreferrer" target="_blank">https://github.com/Chris--A/EEWrap</a><br>
<a href="https://github.com/thijse/Arduino-EEPROMEx" rel="noreferrer" target="_blank">https://github.com/thijse/Arduino-EEPROMEx</a><br>
<br>
Qualche esempio di Radio <br>
<a href="https://youtu.be/RqyhvlMKt14" rel="noreferrer" target="_blank">https://youtu.be/RqyhvlMKt14</a><br>
<a href="https://youtu.be/XB4dnGz5ID4" rel="noreferrer" target="_blank">https://youtu.be/XB4dnGz5ID4</a><br>
<a href="https://youtu.be/yp0HVGjakMs" rel="noreferrer" target="_blank">https://youtu.be/yp0HVGjakMs</a><br>
<br>
Amplificatore<br>
PAM8403 3W<br>
<a href="https://www.aliexpress.com/item/Mini-PAM8403-5V-2Channel-USB-Power-Audio-Amplifier-Board-3Wx2W-Volume-Control/32665327705.htm" rel="noreferrer" target="_blank">https://www.aliexpress.com/item/Mini-PAM8403-5V-2Channel-USB-Power-Audio-Amplifier-Board-3Wx2W-Volume-Control/32665327705.htm</a><br>
Giorgio <br>
<br>
-- <br>
<br>
Arduino mailing list<br>
<br>
<a href="mailto:Arduino@liszt.softwareliberopinerolo.org" target="_blank">Arduino@liszt.softwareliberopinerolo.org</a><br>
<br>
<a href="https://liszt.softwareliberopinerolo.org/listinfo/arduino" rel="noreferrer" target="_blank">https://liszt.softwareliberopinerolo.org/listinfo/arduino</a><br>
<br>
-- <br>
Arduino mailing list<br>
<a href="mailto:Arduino@liszt.softwareliberopinerolo.org" target="_blank">Arduino@liszt.softwareliberopinerolo.org</a><br>
<a href="https://liszt.softwareliberopinerolo.org/listinfo/arduino" rel="noreferrer" target="_blank">https://liszt.softwareliberopinerolo.org/listinfo/arduino</a><br>
-----Segue allegato-----<br>
<br>
<br>
-- <br>
Arduino mailing list<br>
<a href="mailto:Arduino@liszt.softwareliberopinerolo.org" target="_blank">Arduino@liszt.softwareliberopinerolo.org</a><br>
<a href="https://liszt.softwareliberopinerolo.org/listinfo/arduino" rel="noreferrer" target="_blank">https://liszt.softwareliberopinerolo.org/listinfo/arduino</a><br>
</blockquote></div>
-- <br>
Arduino mailing list<br>
<a href="mailto:Arduino@liszt.softwareliberopinerolo.org" target="_blank">Arduino@liszt.softwareliberopinerolo.org</a><br>
<a href="https://liszt.softwareliberopinerolo.org/listinfo/arduino" rel="noreferrer" target="_blank">https://liszt.softwareliberopinerolo.org/listinfo/arduino</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Giorgio Boiero</div>