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).
Parents
  • WarrenW
    0 WarrenW over 8 years ago

    I would have thought that the dip switch would require individual pull down resistors for each leg of the switch. It may be the drawing has been simplified and it should have read 10K x 8 array.

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

    As to what I can find, resistors per pin;

    - is used with LEDs

    - is used with 5v for single pin read

     

    Even https://arduino.cc/en/Tutorial/InputPullupSerial shows a schematic without resistors at all.

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

    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 pins?

    I cannot confirm that this is the case as my arduinos are at home at the moment.

    Based on past experience with multi dip switched inputs it is always a good practice to individually apply resistors so not interaction can occur.

    Cheers

    Warren.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • WarrenW
    0 WarrenW over 8 years ago in reply to bytebitten

    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 pins?

    I cannot confirm that this is the case as my arduinos are at home at the moment.

    Based on past experience with multi dip switched inputs it is always a good practice to individually apply resistors so not interaction can occur.

    Cheers

    Warren.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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