{"product_id":"arduino-train-compatible-with-duplo-tracks","title":"Arduino Train (compatible with Duplo tracks)","description":"\u003cp\u003eIR remote controlled train (locomotive). The locomotive is compatible with Duplo tracks, including bridges. The locomotive can pull additional Duplo train cars.\u003c\/p\u003e\u003ch4\u003e💡 Features\u003c\/h4\u003e\u003cul\u003e\n\u003cli\u003e3 speed levels\u003c\/li\u003e\n\u003cli\u003eStop button: stops; red lights\u003c\/li\u003e\n\u003cli\u003eSpeed up button: speed level +1, moves forward; white lights\u003c\/li\u003e\n\u003cli\u003eSpeed down button: speed level -1, moves forward until speed level = 0; white lights while moving, red lights is stopped\u003c\/li\u003e\n\u003cli\u003eMove backward button: moves backward at speed level 1 while the button is pressed; blue lights\u003c\/li\u003e\n\u003cli\u003eMove forward button: moves forward at speed level 1 while the button is pressed; white lights\u003c\/li\u003e\n\u003cli\u003eAuto button: moves forward with obstacle detection enabled. Stops if there is an obstacle.\u003c\/li\u003e\n\u003cli\u003eMoves forward if the obstacle is removed. Speed depends on the distance to the nearest obstacle. White lights and green light\u003c\/li\u003e\n\u003cli\u003eHorn button: horn sound effect\u003c\/li\u003e\n\u003cli\u003eSiren button: red and blue lights; siren sounds\u003c\/li\u003e\n\u003cli\u003eMusic buttons: 8 different melodies\u003c\/li\u003e\n\u003cli\u003eMute button: sound on\/off\u003c\/li\u003e\n\u003cli\u003eBattery status button: indicates battery level by sound beeps, e.g., 7 long beeps and 3 short beeps = 7.3V\u003c\/li\u003e\n\u003cli\u003eBattery status detection: warning level with red lights and sound; shutdown level\u003c\/li\u003e\n\u003cli\u003eSleep mode: powers down automatically after 5 minutes without IR remote input (can be woken up again with the remote)\u003c\/li\u003e\n\u003cli\u003eTilt sensor: stops when the train is on its side; red lights; if the train is back in a vertical position - yellow light\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cstrong\u003eThis is a remix. \u003c\/strong\u003eSee the original model for instructions (there is MANUAL_de_Construcci*.pdf file, it's in Spanish but there are images and AI can be used to translate). I want to make my own documentation, but not promising anything regarding when it will be ready.\u003c\/p\u003e\u003cp\u003e \u003c\/p\u003e\u003cp\u003eWhat I did differently:\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eI didn't build the magnetic \"toy\" on the top, so there is no second motor.\u003c\/li\u003e\n\u003cli\u003eI used two 18650 batteries with a built-in micro USB socket for charging (to allow charging without removing the batteries from the train). They are longer, but I found battery boxes (two single-battery boxes) that are long enough to hold the longer batteries. I didn't use a printed battery box.\u003c\/li\u003e\n\u003cli\u003eI used two RGB LEDs and one single-color LED (and therefore additional resistors).\u003c\/li\u003e\n\u003cli\u003eI added a cable that connects the battery to the Arduino via a voltage divider (two resistors) for battery voltage measurements.\u003c\/li\u003e\n\u003cli\u003eI also added a tilt sensor to stop the motor when the train is lying on its side.\u003c\/li\u003e\n\u003cli\u003eI removed (using negative parts in the slicer) the \"Harry Potter\" and \"Frozen\" text from the train sides.\u003c\/li\u003e\n\u003cli\u003eArduino program was rewritten from scratch and extended (see the attached .zip file, which includes duplo-train.ino and src\/melodies.h files).\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cspan style=\"color: #E14747\"\u003eThe original version was not compatible with Duplo bridges. My remix fixed this problem.\u003c\/span\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\u003cspan style=\"color: #E14747\"\u003ePlate 2: Negative parts added for bridge compatibility. If you've already printed the original model, just use a deburring tool to remove parts of the train bottom (e.g., corners) that touch the bridge when the train is on it.  \u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan style=\"color: #E14747\"\u003ePlates 10, 11: Improved (bridge-compatible) rear wheels (TPU + PLA parts) for better grip and bridge compatibility.\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003cfigure class=\"image image_resized\" style=\"width: 50.17%\"\u003e\u003cimg src=\"https:\/\/makerworld.bblmw.com\/makerworld\/model\/DSM00000001854728\/design\/2025-11-02_309120c65bea98.jpg\"\u003e\u003cfigcaption\u003eImproved wheel: black - TPU, yellow - PLA\u003c\/figcaption\u003e\u003c\/figure\u003e\u003cp\u003e \u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eNon-printable parts:\u003c\/strong\u003e\u003c\/p\u003e\u003col\u003e\n\u003cli\u003eArduino Nano 3.0 ATMEGA328 CH340 with USB-C\u003c\/li\u003e\n\u003cli\u003eDC Motor 3-6V with 1:48 gearing and double-sided shaft\u003c\/li\u003e\n\u003cli\u003eUltrasonic distance sensor HC-SR04\u003c\/li\u003e\n\u003cli\u003eHX1838 IR receiver\u003c\/li\u003e\n\u003cli\u003eL9110 \/ HG7881 Dual Channel Motor Driver\u003c\/li\u003e\n\u003cli\u003e2 x RGB LED , 1 x green LED; Resistors for the LEDs\u003c\/li\u003e\n\u003cli\u003eBuzzer\u003c\/li\u003e\n\u003cli\u003eOn\/Off button\u003c\/li\u003e\n\u003cli\u003eResistors for battery voltage measurements: 10K and 4.7K\u003c\/li\u003e\n\u003cli\u003eBox for 2 x 18650 batteries (you can use 3D printed one, I used 2 single battery boxes instead)\u003c\/li\u003e\n\u003cli\u003e2 x M3x30 screws with nuts\u003c\/li\u003e\n\u003cli\u003eMetal rods (3 mm for front wheel axle and 2 mm for top cover hinge)\u003c\/li\u003e\n\u003cli\u003eMagnets for the lid (I used D4x2 mm magnets)\u003c\/li\u003e\n\u003cli\u003eAssembly screws (I had a bunch of 2x6 mm, 2x10 mmm, 2.5x8 mm screws)\u003c\/li\u003e\n\u003cli\u003eTilt sensor (optional)\u003c\/li\u003e\n\u003c\/ol\u003e\u003cp\u003eThe attached .zip file contains Arduino code (duplo-train.ino and src\/melodies.h files are required). There is a link to the GitHub repository in the README.md file. GitHub contains the most recent version of the code. The files attached here may be slightly outdated.\u003cbr\u003e \u003c\/p\u003e\u003cp\u003eFeel free to reach out to me if you have any questions.\u003c\/p\u003e\u003cp\u003e \u003c\/p\u003e\u003cp\u003eKudos to the author of the original model.\u003c\/p\u003e\u003cp\u003e \u003c\/p\u003e\u003cp\u003e\u003ci\u003eThis model was not created by, is not sponsored by, authorized by, endorsed by or affiliated with any plastic construction toys manufacturer.\u003c\/i\u003e\u003c\/p\u003e\u003cp\u003eDesign by 3Dnaut on MakerWorld (license: BY).\u003c\/p\u003e","brand":"Mymadmanlab","offers":[{"title":"Default Title","offer_id":67391394775344,"sku":null,"price":5.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0987\/0809\/5280\/files\/0_f9a0a2f0-ccc1-47b6-9a72-175ed4354f1d.png?v=1784750191","url":"https:\/\/mymadmanlab.com\/products\/arduino-train-compatible-with-duplo-tracks","provider":"Mymadmanlab.com","version":"1.0","type":"link"}