element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino DMX receiver design - improvements
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 14 replies
  • Answers 6 answers
  • Subscribers 395 subscribers
  • Views 5224 views
  • Users 0 members are here
  • wifi
  • dmx512
  • led strip
  • dmx
  • Arduino Pro Mini
Related

Arduino DMX receiver design - improvements

bytebitten
bytebitten over 8 years ago

I am trying to design an Arduino based DMX receiver for use in a show where we have some custom builds.

In this case; we want to control a LED strip over DMX.

The design has 2 options for control: over DMX or WiFi. The toggle switches between DMX, WiFi or none.

The WiFi will be for debugging/testing of when using at home.

 

For what I found as seen in the image, I have some questions / doubts about some elements:

  • Are the resistors correct? Especially the 68, 22 and 120 Ohms.(one 120 ohm at the end)
  • Will this wiring work for the MAX485?
  • Is it needed to disconnect Rx/Tx prior to flashing new programming on the Arduino?
  • Is the ESP-01 done correct? (improved again in v3)
  • Will the dip-switch work this way? (Arduino sets pinmode input_pullup)
  • Is the 470 Ohm resistor advised for controlling the LED strip? (Seems advised for pin protection with power-on current)

 

Old design v.1:

image

Design v.4:

image

Notes:

  • The Arduino is the 5v version
  • The 470 Ohm resistor goes to the LED strip
  • The LED strip has its own power
  • The toggle2P3T slide switch has the states [Rx+Tx > ESP], [Rx > MAX485, Tx > none], [Rx+Tx > none]
  • The build will be done in phases (LEDs>red>green>blue>yellow) to keep it all working

 

If someone has remarks, improvements or questions; keep 'm coming image

I am still not very experienced in this stuff, but you learn best by doing image

 

Message was edited with v2, v3 and v4 in bold.

v1 replaced for search engines.

  • Sign in to reply
  • Cancel

Top Replies

  • WarrenW
    WarrenW over 8 years ago in reply to bytebitten +1
    The issue with this is that lets assume the internals of the arduino has a resistance to pull up the SINGLE pins. When you connect a SINGLE resistor to MULTIPLE pins how will that interact with the other…
  • c4m4ch0
    c4m4ch0 over 8 years ago +1 suggested
    Ruben, see the following image to see how the voltage divider it is done (1k and 2k resistors).
  • c4m4ch0
    0 c4m4ch0 over 8 years ago

    Ruben, see the following image to see how the voltage divider it is done (1k and 2k resistors).

     

    Arduino-to-ESP8266.jpg

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • COMPACT
    0 COMPACT over 8 years ago in reply to COMPACT

    The 120 Termination resistors are only used as required - at the ends of the DMX connection bus only.  A jumper should be used to connect or disconnect it.

    Why have you lost the 22 ohm and 68 ohm resistors?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • COMPACT
    0 COMPACT over 8 years ago in reply to COMPACT

    If use the 3v3 version of the Arduino Mini Pro then you done need the AMS1117 regulator or the two resistor divider network (but you may (or may not) need some additional interfacing.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bytebitten
    0 bytebitten over 8 years ago in reply to COMPACT

    I have not found yet if they are recommended for safe usage.

    I will do some more research on that today.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube