Luca Dentella
Luca Dentella
  • 154
  • 849 103
Christmas Lights with Arduino
How to control Christmas Lights with Arduino and your smartphone.
GITHUB REPOSITORY
github.com/lucadentella/ArduinoChristmasLights
LINKS
- ledc peripheral documentation: docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/ledc.html
- Gamma correction: codeinsecurity.wordpress.com/2023/07/17/the-problem-with-driving-leds-with-pwm/
Music by: Bensound
License code: CN9D8EXHFWJRKQLQ
zhlédnutí: 275

Video

Luci di Natale con Arduino
zhlédnutí 322Před 7 měsíci
Come controllare le luci di Natale con Arduino e il tuo smartphone. REPOSITORY GIHTUB github.com/lucadentella/ArduinoChristmasLights LINKS - Documentazione sulla periferica ledc: docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/ledc.html - Gamma correction: codeinsecurity.wordpress.com/2023/07/17/the-problem-with-driving-leds-with-pwm/ Music by: Bensound License cod...
Arduino DCC SoundShield
zhlédnutí 1,1KPřed 9 měsíci
Arduino Shield per realizzare un decoder accessori DCC sound. Grazie al modulo JQ6500, il decoder può riprodurre un numero illimitato di tracce audio (il limite è solo la dimensione della memoria disponibile). Super-facile da programmare: - l'indirizzo può essere programmato premendo solo un pulsante - le CV possono essere programmare usando DecoderPro di JMRI e la definizione decoder che ho pr...
Arduino DCC SoundShield
zhlédnutí 1,2KPřed 9 měsíci
Arduino Shield to build a DCC Sound accessory decoder. Thanks to a JQ6500 module, it can play an unlimited number of tracks (the limit is only the onboard memory). Super-easy to program: - addess can be programmed using only a button - CVs can be programmed using JMRI DecoderPro and the provided decoder definition If your JQ6500 module doesn't work, you can follow my recovery tutorial: czcams.c...
Arduino DCC ServoShield
zhlédnutí 1,3KPřed 10 měsíci
Shield Arduino per realizzare un decoder accessori DCC in grado di comandare fino a 16 servocomandi. Non è necessario programmare le CVs: è super-semplice configurare l'indirizzo del decoder e le posizioni dei servocomandi, grazie al display LCD e ai pulsanti a bordo dello shield! Il progetto è opensource, i files per realizzare lo shield e lo sketch per Arduino si trovano nel seguente reposito...
Arduino DCC ServoShield
zhlédnutí 1,7KPřed 10 měsíci
Arduino Shield to build a DCC accessory decoder that can control up to 16 servos. No need to program CVs: it is super-simple to configure the decoder address and the positions of the servos thanks to the onboard LCD and buttons! The project is opensource: the files to build the shield and the sketch for Arduino are available in the following Github repository: github.com/lucadentella/arduino-dc...
Impariamo Insieme - Decoder scambi per servo, #3! (Plastico ferroviario in DCC con Arduino 12)
zhlédnutí 1,7KPřed rokem
Impariamo insieme come costruire un decoder scambi con Arduino, #3. In questo dodicesimo episodio, come costruire un decoder scambi/accessori, basato su Arduino, per controllare servocomandi. PROGETTO - Repository Github: github.com/lucadentella/arduino-dcc-turnout-decoders - Sito ufficiale per i nostri prodotti: www.officinamodellismo.com/ - Progetti condivisi su PCBWay per i PCB: www.pcbway.c...
Let's learn together - Turnout decoder for servos, #3! (DCC model railway with Arduino 12)
zhlédnutí 2KPřed rokem
Let's learn together how to build a DCC Turnout Decoder with Arduino, #3. In this twelfth episode, how to build a DCC turnout/accessory decoder, based on Arduino, for controlling servos. PROJECT - Github repository: github.com/lucadentella/arduino-dcc-turnout-decoders - Official website for our products (CDU, PointMotorBoard): www.officinamodellismo.com/ - Shared projects on PCBWay for PCBs: ww...
Impariamo Insieme - Decoder scambi per motori DC, #2! (Plastico ferroviario in DCC con Arduino 11)
zhlédnutí 993Před rokem
Impariamo insieme come costruire un decoder scambi con Arduino, #2. In questo undicesimo episodio, come costruire un decoder scambi/accessori, basato su Arduino, per controllare attuatori a motori in corrente continua (motori lenti). PROGETTO - Repository Github: github.com/lucadentella/arduino-dcc-turnout-decoders - Sito ufficiale per i nostri prodotti (CDU, PointMotorBoard): www.officinamodel...
Let's learn together - Turnout decoder for DC motors, #2! (DCC model railway with Arduino 11)
zhlédnutí 1,1KPřed rokem
Let's learn together how to build a DCC Turnout Decoder with Arduino, #2. In this eleventh episode, how to build a DCC turnout/accessory decoder, based on Arduino, for controlling DC "slow" motors (point motors). PROJECT - Github repository: github.com/lucadentella/arduino-dcc-turnout-decoders - Official website for our products (CDU, PointMotorBoard): www.officinamodellismo.com/ - Shared proje...
Impariamo Insieme - Decoder scambi a solenoide, #1! (Plastico ferroviario in DCC con Arduino 10)
zhlédnutí 2,3KPřed rokem
Impariamo insieme come costruire un decoder scambi con Arduino, #1. In questo decimo episodio, come costruire un decoder scambi/accessori, basato su Arduino, per controllare attuatori a solenoide. PROGETTO - Repository Github: github.com/lucadentella/arduino-dcc-turnout-decoders - Sito ufficiale per i nostri prodotti (MosfetBoard): www.officinamodellismo.com/ - Progetti condivisi su PCBWay per ...
Let's learn together - Turnout decoder for solenoids, #1! (DCC model railway with Arduino 10)
zhlédnutí 4,3KPřed rokem
Let's learn together how to build a DCC Turnout Decoder with Arduino, #1. In this tenth episode, how to build a DCC turnout/accessory decoder, based on Arduino, for controlling solenoid motors. PROJECT - Github repository: github.com/lucadentella/arduino-dcc-turnout-decoders - Official website for our products (MosfetBoard): www.officinamodellismo.com/ - Shared projects on PCBWay for PCBs: www....
Let's learn together - USB-PD bench power supply
zhlédnutí 6KPřed 2 lety
In this video, let's learn together how to build a bench power supply using an USB-PD charger and few other components. LINKS: - PDC005 module on Aliexpress: www.aliexpress.com/wholesale?catId=0&SearchText=pdc005 usb-pd - ZK-4KX voltage regulator on Aliexpress: www.aliexpress.com/wholesale?catId=0&SearchText=zk-4kx - 3d case on Thingiverse: www.thingiverse.com/thing:4811251 - USB-PD specificati...
Impariamo Insieme - Alimentatore da banco USB-PD
zhlédnutí 1,3KPřed 2 lety
In questo video, impariamo insieme come realizzare un alimentatore variabile da banco sfruttando un carica batterie USB-PD e pochi altri componenti. LINKS: - Modulo PDC005 su Aliexpress: www.aliexpress.com/wholesale?catId=0&SearchText=pdc005 usb-pd - Regolatore di tensione ZK-4KX su Aliexpress: www.aliexpress.com/wholesale?catId=0&SearchText=zk-4kx - Case su Thingiverse: www.thingiverse.com/thi...
Let's learn together - How to validate EU Digital Green Certificates with Raspberry Pi
zhlédnutí 2,9KPřed 2 lety
In this video, let's learn together how to validate EU Digital Green Certificates with a Raspberry Pi board and a pi camera. Github Repository: github.com/lucadentella/raspberry-dgc LINKS: - JSON format for DGC: ec.europa.eu/health/sites/default/files/ehealth/docs/digital-green-certificates_dt-specifications_en.pdf - CBOR format (rfc 7049): datatracker.ietf.org/doc/html/rfc7049 - COSE protocol ...
Impariamo Insieme - Come validare un green pass con Raspberry Pi
zhlédnutí 7KPřed 2 lety
Impariamo Insieme - Come validare un green pass con Raspberry Pi
Let's learn together - LnControlPanel! (DCC model railway with Arduino 9)
zhlédnutí 2,7KPřed 3 lety
Let's learn together - LnControlPanel! (DCC model railway with Arduino 9)
Impariamo Insieme - LnControlPanel! (Plastico ferroviario in DCC con Arduino 9)
zhlédnutí 1,8KPřed 3 lety
Impariamo Insieme - LnControlPanel! (Plastico ferroviario in DCC con Arduino 9)
Let's learn together - DCC++ and Loconet control panel! (DCC model railway with Arduino 8a)
zhlédnutí 2,7KPřed 3 lety
Let's learn together - DCC and Loconet control panel! (DCC model railway with Arduino 8a)
Impariamo Insieme - DCC++ e quadro sinottico Loconet! (Plastico ferroviario in DCC con Arduino 8a)
zhlédnutí 1,3KPřed 3 lety
Impariamo Insieme - DCC e quadro sinottico Loconet! (Plastico ferroviario in DCC con Arduino 8a)
Let's learn together - Loconet Control Panel! (DCC model railway with Arduino 8)
zhlédnutí 2,6KPřed 3 lety
Let's learn together - Loconet Control Panel! (DCC model railway with Arduino 8)
Impariamo Insieme - Quadro sinottico Loconet! (Plastico ferroviario in DCC con Arduino 8)
zhlédnutí 3,2KPřed 3 lety
Impariamo Insieme - Quadro sinottico Loconet! (Plastico ferroviario in DCC con Arduino 8)
Let's learn together - Locobuffer! (DCC model railway with Arduino 7)
zhlédnutí 4,3KPřed 3 lety
Let's learn together - Locobuffer! (DCC model railway with Arduino 7)
Impariamo Insieme - Locobuffer! (Plastico ferroviario in DCC con Arduino 7)
zhlédnutí 2,4KPřed 3 lety
Impariamo Insieme - Locobuffer! (Plastico ferroviario in DCC con Arduino 7)
Impariamo Insieme - Sensori Loconet! (Plastico ferroviario in DCC con Arduino 6)
zhlédnutí 4,3KPřed 3 lety
Impariamo Insieme - Sensori Loconet! (Plastico ferroviario in DCC con Arduino 6)
Let's learn together - Loconet Sensors! (DCC model railway with Arduino 6)
zhlédnutí 4,3KPřed 3 lety
Let's learn together - Loconet Sensors! (DCC model railway with Arduino 6)
Impariamo Insieme - Loconet! (Plastico ferroviario in DCC con Arduino 5)
zhlédnutí 3,9KPřed 3 lety
Impariamo Insieme - Loconet! (Plastico ferroviario in DCC con Arduino 5)
Let's learn together - Loconet! (DCC model railway with Arduino 5)
zhlédnutí 8KPřed 3 lety
Let's learn together - Loconet! (DCC model railway with Arduino 5)
Impariamo insieme - Mappa dinamica con Arduino
zhlédnutí 537Před 3 lety
Impariamo insieme - Mappa dinamica con Arduino
Let's learn together - Dynamic map with Arduino
zhlédnutí 1,8KPřed 3 lety
Let's learn together - Dynamic map with Arduino

Komentáře

  • @andreazanzotto2754
    @andreazanzotto2754 Před 28 dny

    ciao, bel video e buona spiegazione ma, io sono troppo ignorante per poter imparare; vorrei semplicemente poter comprare il tuo dec per servo

  • @pigeonramier6898
    @pigeonramier6898 Před měsícem

    ok but how do you do to set the wifi password and name ? i mean, i want to give prototype to friends of mine and do ota to update the firmware, but they need to put their own wifi etc ... explain to me please

    • @lucadentella
      @lucadentella Před měsícem

      @pigeonramier6898 you probably need to include a wifi manager in your program, so that your friends can configure their wifi settings by their own... like tasmota or other firmwares normally do

    • @pigeonramier6898
      @pigeonramier6898 Před měsícem

      @@lucadentella what I don't technically understand is the programme , it's like, we can put several program into the esp ? I use Arduino ide but when I put something inside it erase the past program, for exemple when load blink exemple then an other exemple program, it keep the new one and remove the other one so how can I load a wifi manager + a OTA program ?

    • @lucadentella
      @lucadentella Před měsícem

      @pigeonramier6898 you have to include the wifi manager in your program... if you're using arduino, it's very easy (include the library, add the required code in your setup). This is not a tutorial about esp32 and arduino but on CZcams you can find several videos about that

  • @mariocosta6290
    @mariocosta6290 Před měsícem

    Ciao Luca nel video usi un alimentatore da 5v per alimentare la scheda servo driver board. Ti chiedo è obbligatorio avere 5v oppure si può usare un alimentatore a 8v per es. Grazie Mario

    • @lucadentella
      @lucadentella Před měsícem

      Ciao Mario, dipende dai servo che utilizzi... quelli (microservo) che normalmente uso richiedono al massimo 6V.

    • @mariocosta6290
      @mariocosta6290 Před měsícem

      @@lucadentella ok grazie

    • @mariocosta6290
      @mariocosta6290 Před měsícem

      Ciao Luca non mi è chiaro se devo caricare i dati su Arduino dal tuo sito dato che ho provato il reset ma non lampeggia il led.

    • @lucadentella
      @lucadentella Před měsícem

      @@mariocosta6290 devi scaricare su arduino lo sketch che trovi su github, nel link riportato in descrizione

    • @mariocosta6290
      @mariocosta6290 Před měsícem

      Ok caricato. Ma non riesco a fare il reset non si accende il led. Ho collegato l'alimentazione a 5v, ho collegato la centralina, collegato al pc Arduino e si accende il led rosso della scheda ma non riesco a resettare. Cosa può essere?

  • @wimbletrain
    @wimbletrain Před měsícem

    Hi Luca, great stuff once again. Thanks for sharing. Is it possible for Rocrail to send a turnout switch request from DCC++ to the Loconet device? I have the circuit working as per the video where I push a button on my arduino based control panel, which is using your loconet interface, and that works. I also have 2 leds on the control panel to indicate the turnout position. I would like to click on the turnout in Rocrail and then have it send a loconet command so that the leds change. I have tested my control panel with my other setup using iTrain and connecting it to my Digikeijs DR5000 via its loconet interface, and it works in both directions. So when I switch the turnout in iTrain, my control panel LEDs change, and when I push the button on the control panel, the iTrain display changes.Regards, John

  • @Gummylongtail
    @Gummylongtail Před měsícem

    Grazie mille per il tuo aiuto dal Regno Unito.

  • @dice5821
    @dice5821 Před měsícem

    Ciao Luca! Stavo pensando di usare RocRail per il plastico, non ho idea di come poter fare.. sarebbe interessante se fai vedere come poter interfacciare sensori, deviatoi, segnali con RocRail.. Sei bravo a spiegare e molto preciso, sarebbe bello vedere qualcosa su questo argomento

  • @mariocosta6290
    @mariocosta6290 Před 2 měsíci

    Bravo Luca era quello che stavo cercando una cosa da programmare molto semplice.

  • @gopalpatnaik4781
    @gopalpatnaik4781 Před 3 měsíci

    Is there a parts list for the PCB? I could only find a schematic on your GitHub. Thanks!

    • @gopalpatnaik4781
      @gopalpatnaik4781 Před 2 měsíci

      I just built the interface as you described. However nothing works. I am using the Loconet monitor sketch to test. I see no messages at all, even if I turn on/off the track power (JMRI shows lots of activity in its Loconet monitor. How do I debug the circuit? Thanks!

  • @FilippoDominici
    @FilippoDominici Před 3 měsíci

    Buongiorno Luca ottimo video avrei alcune domande. Con questo progetto si possono utilizzare sensori ad assorbimento ? (nds sensori sono autocostruiti con accoppiatore ottico e hanno tre pin di uscita +5volt segnale e GND da come ho capito basta configurare i pin della scheda come sensor e input, senza modificare il codice che hai scritto per ATmega. Corretto? un cordiale saluto

    • @lucadentella
      @lucadentella Před 3 měsíci

      Ciao Filippo, non ho mai provato ma direi di si, se configuri un PIN come INPUT SENSOR, quando quel PIN si attiva (va a livello logico basso), LnControlPanel invia sul bus loconet un segnale di sensore attivo quindi direi che può essere usato per il tuo scopo (l'ho provato con pulsanti per attivare "contatti virtuali", utile a volte come trigger per macro...) e funziona

    • @FilippoDominici
      @FilippoDominici Před 3 měsíci

      @@lucadentellaOk Grazie faro delle prove su un prototipo. Nel caso vedrò se è necessario fare delle modifiche al SW e ti faro sapere. Inoltre visto che ho alcuni Arduino nano provo anche a usarlo al posto del ATmega328P. modificando il PCB a tale scopo per ospitare il nano. un cordiale Saluto PS i tuoi video sono molto sempre interessanti

  • @alexsumo2159
    @alexsumo2159 Před 3 měsíci

    With that, can we make decoders for locomotives?

    • @lucadentella
      @lucadentella Před 3 měsíci

      No, this decoder is not able to control a DC motor, it can only play sounds. I didn't design a loco decoder ("multi-function decoder in DCC terminology) because, at least for H0 or N gauges, it must be small to fit inside the loco and the production cost (multi-layer PCB, SMT components...) will be probably higher than a commercial one

  • @loddie9
    @loddie9 Před 3 měsíci

    You tutorials are excellent! Thank-you for sharing your knowledge and projects. Liked and subscribed. As I understand it, this decoder only takes DCC signals while your Loconet control panel does not directly control servos. As the DCC bus has limited capacity, have you considered a Loconet decoder for controlling servos?

    • @lucadentella
      @lucadentella Před 3 měsíci

      Hi! I usually develop DCC accessory decoders because they work with any DCC-compatible command station... on the other hand, Loconet is a proprietary bus and some stations don't support it. I may develop an accessory decoder that could work both with DCC and Loconet in the future!

    • @loddie9
      @loddie9 Před 3 měsíci

      @@lucadentella That would be great! I'll stay tuned. 🙂 For smaller layouts, it is not a problem to have accessories on the DCC bus, but it can be a problem on larger layouts - hence the need for LCC, Loconet, or BiDiB, etc. For example, I have a throttle that if I use its advanced braking features, it clogs the DCC bus as it sends too many commands and other operators cannot control their trains. So now I only send DCC commands for controlling locomotives on the DCC bus and everything else on a separate bus (in my case, Loconet). Even though some command stations don't support Loconet, there are many adapters available or Loconet can be operated stand-alone. While Loconet is proprietary, it is free to use for personal use and is probably the most common accessory bus - at least in some markets.

    • @lucadentella
      @lucadentella Před 3 měsíci

      @@loddie9 you made the point! I normally use Loconet for throttles and sensors, but I think a loconet accessory decoder would be useful too, I'll work on it!

    • @loddie9
      @loddie9 Před 3 měsíci

      @@lucadentella Nice! Thank-you for considering. No rush. Will stay tuned and enjoy all of your other amazing projects as wel🙂

  • @roberto5152
    @roberto5152 Před 3 měsíci

    Excellent. I was searching for this. Thanks friend.

  • @stefanomirabella-gu3hs
    @stefanomirabella-gu3hs Před 3 měsíci

    Ciao Luca sto seguendo con molto interesse i tuoi video e i relativi progetti Loconet che reputo interessanti e spiegati in modo eccellente, sarei interessato alla realizzazione di quest'ultimo progetto, una cosa non mi è chiara quale scketch si deve caricare nel micro

  • @stefanomirabella-gu3hs
    @stefanomirabella-gu3hs Před 3 měsíci

    ciao Luca

  • @stefanomirabella-gu3hs
    @stefanomirabella-gu3hs Před 3 měsíci

    Ciao Luca sto seguendo con molta attenzione i tuoi video che trovo interessanti e spiegati in modo eccellente , sarei molto interessato alla realizzazione di questo progetto , ma una cosa non mi è chiara, quale sketch caricare sul micro

    • @lucadentella
      @lucadentella Před 3 měsíci

      Ciao Stefano, trovi lo sketch nel repository Github, in particolare qui: github.com/lucadentella/LnControlPanel/tree/main/Arduino/LnControlPanel

    • @videomaker03
      @videomaker03 Před 3 měsíci

      @@lucadentella nella compilazione dello scketch da questi errori: C:\Users\PC Stefano\Desktop\LnControlPanel\LnControlPanel.ino: In function 'void setup()': C:\Users\PC Stefano\Desktop\LnControlPanel\LnControlPanel.ino:49:55: error: 'readConfigFromEEPROM' was not declared in this scope if(EEPROM.read(EEPROM.length() - 1) == CONFIGVALID) readConfigFromEEPROM(); ^~~~~~~~~~~~~~~~~~~~ C:\Users\PC Stefano\Desktop\LnControlPanel\LnControlPanel.ino:52:5: error: 'resetConfiguration' was not declared in this scope resetConfiguration(); ^~~~~~~~~~~~~~~~~~ C:\Users\PC Stefano\Desktop\LnControlPanel\LnControlPanel.ino:52:5: note: suggested alternative: 'setPinDirection' resetConfiguration(); ^~~~~~~~~~~~~~~~~~ setPinDirection C:\Users\PC Stefano\Desktop\LnControlPanel\LnControlPanel.ino:53:5: error: 'saveConfigToEEPROM' was not declared in this scope saveConfigToEEPROM(); ^~~~~~~~~~~~~~~~~~ C:\Users\PC Stefano\Desktop\LnControlPanel\LnControlPanel.ino: In function 'void loop()': C:\Users\PC Stefano\Desktop\LnControlPanel\LnControlPanel.ino:90:7: error: 'parseCmdLine' was not declared in this scope parseCmdLine(); ^~~~~~~~~~~~ exit status 1 Compilation error: 'readConfigFromEEPROM' was not declared in this scope

    • @lucadentella
      @lucadentella Před 3 měsíci

      Dall'errore sembra che non stia caricando qualche file, sei sicuro di averli scaricati tutti da github? Devi prendere l'intera cartella

    • @videomaker03
      @videomaker03 Před 3 měsíci

      @@lucadentella lanciavo solo il file LnControlPanel senza gli altri due ora è ok , grazie mille Luca

  • @augustoduccio
    @augustoduccio Před 3 měsíci

    complimenti, peccato essere anziano altrimenti mi cimenterei 😍

    • @lucadentella
      @lucadentella Před 3 měsíci

      Grazie! Prova comunque, ti stupirai! Ci sono tanti amici di diverse età che mi scrivono!

  • @RichardFrenchRacing
    @RichardFrenchRacing Před 3 měsíci

    Luca, This is a great sketch and very easy to follow. I am implementing this on my layout. My only problem is that I have 9 turnouts. I'm using a Mega so the number of pins should not be an issue. My only issue is how to convert the sketch to include 9 turnouts (1-9). Do you have an example of 2 or 3 turnouts and LEDs where you've changed the sketch to use functions and just pass repetitive info to the function.

    • @lucadentella
      @lucadentella Před 3 měsíci

      Hi Richard, give a look to my "LNControlPanel" project, it can control up to 32 turnouts / LEDs via Loconet...

  • @sanchezcoronadoangelerubie8191

    Hello! good protect. Can i use de Espressif extensión from visual studio to code the esp?

    • @lucadentella
      @lucadentella Před 3 měsíci

      Hi! Sure, it works fine! You may also consider PlatformIO (platformio.org/) if you like VSCode

  • @alfonsomachloof9737
    @alfonsomachloof9737 Před 4 měsíci

    I listened to the video 3 times, I love the Italian accent.

  • @mattoxyokoyama1065
    @mattoxyokoyama1065 Před 4 měsíci

    I have a motor that I am trying to calibrate with the esc. When I connect the esc, it makes the correct beep, however when I try and calibrate the lowest setting, it begins to beep constantly until set to highest again. Can someone explain this?

  • @valterdellacasa5428
    @valterdellacasa5428 Před 5 měsíci

    Ciao Luca, ho contattato Davide per il kit Booster dcc completo (quello da 43A), via telefono, Wa, e mail, senza ricevere riscontro. Come devo fare per acquistare il kit completo? Grazie.

  • @dariosermasi3660
    @dariosermasi3660 Před 5 měsíci

    ci sono arrivato solo da poco: come sempre, bravissimo come schema, ma, prima di tutto, come lezione !! Ancora GRAZIE

  • @ChhannooVerma
    @ChhannooVerma Před 5 měsíci

    I am getting this message inside the Linux VM "Cannot identify a JQ6500 device". The device is connected and identified by the VM. The device name is GD3800B V1.0. Appreciate any suggestion.

    • @lucadentella
      @lucadentella Před 5 měsíci

      Your module is not supported, sorry

  • @wilvdwee5711
    @wilvdwee5711 Před 5 měsíci

    Great videos. I want to use these current sensors and Arduino but without Loconet. Is this possible for example with the optocoupler circuit board between Arduino and command station? If so can you let me know how to do that. Change the sketch? Thanks in advance. William

  • @absabs6481
    @absabs6481 Před 5 měsíci

    Brother Luca, I have an esp 32 wroom card. I want to broadcast a beacon advertisement and see the advertisement broadcast on all phones within the coverage area that have Bluetooth turned on. In the nRF connect application, I see the device, but I cannot see the advertisement. But I see the device on my mobile phone. I would be glad if you can help me. I wish you success.

    • @lucadentella
      @lucadentella Před 5 měsíci

      Hi, are you running my example? I'm sure it works (as you can see in the video), unfortunately I cannot tell you why your phone is not displaying it

    • @absabs6481
      @absabs6481 Před 5 měsíci

      Dear Luca, Thank you for your reply, I'm really sorry for the late reply, I was a little uncomfortable. I'm following you. Maybe I'm reading the topic wrong. All I want to know is, Does your mobile have BLE feature? I guess this will solve the problem.@@lucadentella

  • @girolimoni1
    @girolimoni1 Před 5 měsíci

    buongiorno caro ingegniere ho realizzato il soundshield ma con la centralina non riceve i comandi x gli mp3 tramite arduino e jmri non si attivano i vari sound il modulo jq6500 funziona perchè testato singolarmente con dei pulsanti grazie volevo sapere se anche ad altri e capitato lo stesso problema saluti Ciro da Napoli

    • @lucadentella
      @lucadentella Před 5 měsíci

      Buongiorno Ciro, potrebbe essere un problema di indirizzi o ricezione comandi DCC... collegando arduino al computer sul serial monitor cosa appare?

  • @valterdellacasa5428
    @valterdellacasa5428 Před 5 měsíci

    Ottima spiegazione, bravo Luca!

  • @olimonero60mappin72
    @olimonero60mappin72 Před 6 měsíci

    Buongiorno ho realizzato il progetto e funziona alla grande avrei bisogno di portare le uscite a 32 servo mettendo in cascata 2 pca 9685 ma non riesco a modificare lo sketch servoshield ci ho provato ma la scheda non funzionava più c'è qualcuno che ci ha provato e funziona? Mi rivolgo a lei caro ingegnere la saluto e grazie

    • @lucadentella
      @lucadentella Před 6 měsíci

      Buongiorno, le modifiche da fare non sono banali e al momento sono impegnato su altri progetti / tutorial. Un altro appassionato (Andrea) sta lavorando alla medesima modifica, magari condividerà la sua versione dello sketch... è il bello dei progetti opensource, ognuno può contribuire!

  • @mystuff3548
    @mystuff3548 Před 6 měsíci

    I'm new to DCC. Thanks for great presentation!

  • @valterdellacasa5428
    @valterdellacasa5428 Před 6 měsíci

    Finalmente cio' che cercavo!

  • @GGarcia67
    @GGarcia67 Před 6 měsíci

    Luca, Do you have a bill of materials we need to build this decoder? Grazie.

    • @lucadentella
      @lucadentella Před 5 měsíci

      Hi! Most of my projects are available on Github... in particular the documentation for all my DCC decoders is here: github.com/lucadentella/arduino-dcc-turnout-decoders

  • @randomdamian
    @randomdamian Před 6 měsíci

    1:30 Also the ESP32 S3 has both USB controllers, OTG and the D+ D- ones. So get the S3 :)

  • @gocslaszlo
    @gocslaszlo Před 6 měsíci

    Hello! Very good video!!! I can turn on the lights on the locomotive, the locomotive runs and suddenly everything seems to stop... At JMRI, the main switch remains green and changes to yellow with the inscription "Unknown" after clicking on it. 🤷🏻‍♂️🤷🏻‍♂️ USB off and on and it gets fixed, then the above error again. Locomotive and decoder tested with Multimouse, the control is perfect... Thank you very much!

    • @lucadentella
      @lucadentella Před 6 měsíci

      Hi, it seems you're facing some issues with the connection between Arduino and your computer... or the Arduino board is resetting (which could explain why the locos suddenly stop. You can test the same setup with a different arduino board or a different shield to check if it's an hardware failure.

  • @andreairato7674
    @andreairato7674 Před 6 měsíci

    Bel progetto, ma volendo potrei mettere in cascata varie schede adafruit PWM Driver, cambiando ovviamente indirizzo e rivedendo lo sketch, giusto ?

    • @lucadentella
      @lucadentella Před 6 měsíci

      Si assolutamente! Va rivisto lo sketch per indirizzare le varie schede e le relative uscite

    • @andreairato7674
      @andreairato7674 Před 6 měsíci

      mi puoi dare qualche dritta ? @@lucadentella

  • @GGGMotovlog
    @GGGMotovlog Před 6 měsíci

    i've tried following your tutorial, but somehow my jq6500 is not detected in the VMware. i wonder if i need to format it first, because when i tried to connect the jq6500 windows want to format it. but then again my device is JQ6500 HW-896 V1.2 i don't know if it make any difference lol. i'll ask my seller and maybe tried it again tommorow. but thanks for the video, it is clear enough for the dumb me to understand it 😂. edit. i think i've seen some other sites, this is HW board, different to JQ6500. and some chinese manual says just copy paste it to the drive, it was .WAV file. i did not use this for arduino but for some kind of greeting card. i'll update after i tried it again.

    • @lucadentella
      @lucadentella Před 6 měsíci

      Hi, it's a different chip (see github.com/NikolaiRadke/JQ6500-rescue-tool/issues/6) and not supported by this rescue tool, sorry

    • @GGGMotovlog
      @GGGMotovlog Před 6 měsíci

      @@lucadentella yeah i just found out, turns out it was easier to me to use this board, this is like a flash disk, with 4 megabyte size. I just need to format it and then copy paste to it. For what i used it for, this board is the best for me. Lucky i guess.

  • @danielhendleman3339
    @danielhendleman3339 Před 6 měsíci

    I Have a HW-896 and it connects to Windows and displays as JQ6500 but the uploader and rescue tool say JQ6500 not found. Any ideas?

    • @lucadentella
      @lucadentella Před 6 měsíci

      Hi, see this issue... your module is not supported by the rescue tool: even if they label it "JQ6500", it's based on a different chip: github.com/NikolaiRadke/JQ6500-rescue-tool/issues/6

  • @piccilore
    @piccilore Před 7 měsíci

    Ciao, bel video! Mi vorrei cimentare nella costruzione di tutto il sistema DCC. Quello che vedo è sempre attuale come sviluppo o negli ultimi anni ci sono nuovi componenti e nuove modalità per mettere su una centrale con booster, motorshield etc etc ? Grazie ancora

    • @lucadentella
      @lucadentella Před 7 měsíci

      Grazie! La centralina è ancora sicuramente attuale, se vuoi qualcosa in più aspetta un paio di settimane, sto ultimando un video su una sua evoluzione ;) il resto del progetti (booster, decoder, loconet...) invece è assolutamente realizzabile da subito!

    • @piccilore
      @piccilore Před 7 měsíci

      Ottimo, aspetterò sicuramente, ho tutto in progettazione ancora, preferisco partire con strumenti più aggiornati possibile! Grazie ancora, un bel canale!

    • @piccilore
      @piccilore Před 5 měsíci

      Qualche novità sul nuovo video che doveva uscire? @@lucadentella

  • @egemonslot
    @egemonslot Před 7 měsíci

    Arrivati i PCB da PCBWay e gli altri componenti da varie fonti, ne ho montato uno e FUNZIONA! Non perchè dubitassi della bonta del progetto, ma semmai dellle mie capacità di mettere insieme correttamente il tutto. Qualche domanda: - Dopo aver provato alcune programmazioni, volevo riportare il decoder ai valori di default. Fatto il reset come indicato, dopo i 5 lampeggi del led, i valori che avevo inserito sono rimasti intatti. - La programmazione da display è fantastica ma, visto che il decoder accetta la programmazione delle CV, sarebe possibile avere la lista delle CV e dei valori inseribili? - Vengo dai Digikeijs DR4024 (non più prodotti) che hanno le uscite 0-12V su ciascun canale, che possono commutano dei relè per la polarizzazione dei cuori (esistevano anche le schedine relè dello stesso produttore). Sarebbe possibile anche qui collegare una scheda relè generica per ottenere la stessa commutazione? Ovviamente, integrando lo sketch, semprecchè vi sia ancora memoria disponibile. - Lo sketch ed i 2 moduli sono compatibili con la R4 per avere più memoria e performance? Complimenti ancora.

  • @maurocervoni3632
    @maurocervoni3632 Před 7 měsíci

    Ci sarebbe la possibilità di avere un tuo contatto per chiederti alcuni chiarimenti? Grasie

    • @lucadentella
      @lucadentella Před 7 měsíci

      sul mio sito c'è una form per i contatti

    • @maurocervoni3632
      @maurocervoni3632 Před 7 měsíci

      Salve ho provato a mandare una mail sul form.ma non ho ricevuto risposta 😅

    • @maurocervoni3632
      @maurocervoni3632 Před 7 měsíci

      ​@@lucadentellain realtà ho fatto anche un po di stolkeraggio....ho provato a contattarla anche su messanger 😅

    • @maurocervoni3632
      @maurocervoni3632 Před 7 měsíci

      Grazie ho visto ora la tua risposta, sì trovava nella cartella spam

  • @maurocervoni3632
    @maurocervoni3632 Před 7 měsíci

    Fantastico!!! Sono 2 anni che volevo realizzare questo progetto ma una mia inesperienza non sono mai riuscito!!!

  • @user-jr5pr9qn5n
    @user-jr5pr9qn5n Před 7 měsíci

    Great explanation !! Question, I have tried to use the NmraDCC library before, but have been hampered by lack of documentation on the library itself. Even in the GitHub repository I couldn't seem to find anything useful/clear. Do you have some document you use as reference that you could point me to ?

    • @lucadentella
      @lucadentella Před 7 měsíci

      Hi! Unfortunately you're right: the library lacks a proper documentation. I usually inspect the source code (from github) that is quite readable and with useful comments

  • @ECOS1983
    @ECOS1983 Před 7 měsíci

    Hi! Great designs, work well and are very fun to watch. Can the braking generator do this now? Not ABC, just a device that sends a stop signal to the locomotive. Regards

    • @lucadentella
      @lucadentella Před 7 měsíci

      Hi, not sure about your question: are you thinking of a device that continuously sends, on a specific track, the "broadcast STOP" command so that every loco that enters the track stops?

    • @ECOS1983
      @ECOS1983 Před 7 měsíci

      @@lucadentella Hi. This is exactly the device we are talking about. Just like multimouse, it generates a stop in position 0 for all locomotives. The principle of operation is that once the relay gives a stop signal from the generator, and in the second case the relay gives a signal as it was before the stop... i.e. from the Roco control unit. Both "stop" and "go" signals are given to the designated section with the semaphore.

  • @BARRY77fullgas
    @BARRY77fullgas Před 7 měsíci

    Ciao, anziché arduino per caso sai come si fa a programmare il servo decoder (55274) della PIKO? Tramite la pulsantiera della PIKO non riesco a regolare la corsa del servomotore.

    • @lucadentella
      @lucadentella Před 7 měsíci

      mi spiace non possiedo quel decoder...

    • @BARRY77fullgas
      @BARRY77fullgas Před 7 měsíci

      @@lucadentella grazie lo stesso 👍😉

  • @elettromotrice
    @elettromotrice Před 7 měsíci

    Ciao, no il problema è relativo solo con la soundshield. Credo che sia da imputare al TX e RX dati tra Arduino ed il modulo JQ6500

    • @lucadentella
      @lucadentella Před 7 měsíci

      non capisco... l'indirizzo DCC viene memorizzato nella EEPROM di Arduino, non nel modulo. Strano che se lo perda quindi...

  • @egemonslot
    @egemonslot Před 7 měsíci

    Buonasera e complimenti! E' possibile modificare l'indirizzo di default di partenza? Nel mio caso andrebbe in coda ad una catena di altri decoders per scambi con indirizzi già programmati, e dovrai partire da 21.

    • @lucadentella
      @lucadentella Před 7 měsíci

      Grazie! Assolutamente si, il decoder supporta la programmazione delle CV quindi si può cambiare l'indirizzo in tal modo oppure usando il display.

  • @elettromotrice
    @elettromotrice Před 7 měsíci

    Buonasera, ho completato il montaggio di questa altra shield. Dopo aver dato l'indirizzo, utilizzo il multiMAUS, dando i comandi mi richiama i file memorizzati nel JQ6500. Se spengo il tutto, poi lo rialimento, non "ricorda" più l'indirizzo, devo ridarlo e poi rifunziona nuovamente. Ho sbagliato qualcosa? grazie e complimenti per il progetto

    • @lucadentella
      @lucadentella Před 7 měsíci

      Ciao! Molto strano... l'indirizzo dovrebbe essere memorizzato nella EEPROM di Arduino e quindi "resistere" rispetto a un riavvio. Il problema lo hai con entrambi i progetti? Usando lo stesso Arduino Uno?

  • @latdom4105
    @latdom4105 Před 7 měsíci

    Buon giorno Luca ottimo video come gli altri pubblicati complimenti. Con l'occasione vorrei chiederti se sai dove è possibile reperire informazioni sul protocollo utilizzato per la connessione R-bus (forse xPressNet con variazioni ?) sulle stazioni z21 della Roco/fleischmann un saluto.

    • @lucadentella
      @lucadentella Před 7 měsíci

      Ciao! Si è un xPressNet di base con però dei comandi aggiunti da Roco per supportare i propri accessori. Non credo che sia mai stato reso pubblico...

  • @yashizuko
    @yashizuko Před 7 měsíci

    Grande! molto chiaro ed utile

  • @alexeinalekso1395
    @alexeinalekso1395 Před 7 měsíci

    Ciao Luca ho visto che parlavi di sensori rid, io avevo intenzione di collegare al mio plastico dei sensori rfid in modo da tenere traccia anche Dell id del treno che sta passa do per un certo settore, ho riscontrato un problema però nell implementazione in quanto la libreria dccpp non supporta i lettori rfid. Sapresti come implementarli? Io ho provato a modificare la libreria ma non sono riuscito ad ottenere ottimi risultati..

    • @lucadentella
      @lucadentella Před 7 měsíci

      Ciao! Passare da DCC++ oltre a richiedere una modifica al firmware (molto complesso) richiederebbe anche qualche intervento sul protocollo (al momento anche se riuscissi a leggere l'ID non avresti modo di passarlo al software). Se vuoi provare l'identificazione treni con RFID ti consiglio di seguire qualche strada già "nota", es JMRI ha qualche indicazione su come fare. Ho pochissima esperienza in merito perché normalmente identificare i treni sul plastico "non serve" (il software è in grado di seguirli) o se dovesse essere necessario il protocollo DCC ha un suo "modo" standard (Railcom).

  • @elettromotrice
    @elettromotrice Před 7 měsíci

    Bel progetto, ho ordinato il PCB, complimenti