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 A beginner needs help with electronics for a friend | 5 NeoPixel, 1Fan and a Arduino
  • 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 18 replies
  • Answers 10 answers
  • Subscribers 393 subscribers
  • Views 1665 views
  • Users 0 members are here
  • arduio
  • force sensitive resistors
  • 12v
  • buttons
  • help
  • fan
  • new
  • led
  • neopixel
  • fsr
  • 5v
  • beginner
Related

A beginner needs help with electronics for a friend | 5 NeoPixel, 1Fan and a Arduino

soxx
soxx over 8 years ago

Hello Element14 Comunity,

 

If you guys can help me, and I don't mean that you should give my a compleat circuit or code, I mean good practises or ideas and say what I have done wrong.

I am pretty mutch a beginner and I want to learn.

 

I'm building a costume for a friend and he wants LEDs and a Fan, this shouldn't be hard but I thought wrong.

(I don't know if this is even possible with an Arduino....)

 

 

So here is my idea.

 

I have an Arduino that controls 5 NeoPixel LED strips and a fan, the LEDs should change colour or in the case of the fan the speed when he presses on of the 4 Buttons, in this case, FSRs (Force Sensitive Resistors).

 

The first 3 controls the Colour with an effect of some sort.

The last one has 2 modes to manage

1. when he holds the Button down the Fan should speed up, when he presses it and holds it down again in a very short amount of time the fan should slow down to a specific speed.

2. When he just press the button all LEDs should go off or on again.

 

 

I have done the first idea in Fritzing and I don't know if this is good or the worst thing you guys have ever seen.

 

I hope you guys can help me.

 

image

Attachments:
image
  • Sign in to reply
  • Cancel

Top Replies

  • gadget.iom
    gadget.iom over 8 years ago +3 suggested
    I would start by building the circuit in stages. Start with a single neo-pixel and add some code to just flat some colour etc. Then add the rest of the pixels and check functionality. Then the motor. Keep…
  • mcb1
    mcb1 over 8 years ago +2 suggested
    The neopixels come with some very good examples in the Adafruit library. You should be able to drive all 5 from a single regulator. https://learn.adafruit.com/adafruit-neopixel-uberguide/power gadget.iom…
  • mcb1
    mcb1 over 8 years ago in reply to niteowl12 +1 suggested
    niteowl12 Good spotting. The Sensing pin A0-A3 need to connect between the FSR and the pulldown resistor. Also PWM is only available on some pins. https://www.arduino.cc/en/Main/ArduinoBoardProMini You…
Parents
  • soxx
    0 soxx over 8 years ago

    Sooo update,

     

    mcb1:

    You could use one of those 5v power banks, and a small 12v battery just for the fan.

    It might be an easier option than trying to regulate the neopixels.

    I decided to exactly what mcb1, I will use a 5V 3A PowerBank to run theNeoPixel and Arduino and the 12Vone to run the fan.

    This is way easier to make for me right now.

     

     

    David

    PS: you can click on all pictures to get to my OneDrive with all the files.

     

    Suit%20NeoPixel%20v5_Steckplatine.png?psid=1Suit%20NeoPixel%20v5_Schaltplan.png?psid=1Suit%20NeoPixel%20v5_Leiterplatte.png?psid=1

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

    I will use a 5V 3A PowerBank to run theNeoPixel and Arduino and the 12Vone to run the fan.

    Sounds a much simplier way.

     

    Your board layout has an error with Din and 5v swapped on the bottom left Neopixel, and obviously the track size needs to be much larger (never done a layout in Fritzing before)

     

    Mark

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

    Your board layout has an error with Din and 5v swapped on the bottom left Neopixel

    I fixed that now, thanks.

     

     

    and obviously the track size needs to be much larger (never done a layout in Fritzing before)

     

    Oh okay, I never did a board layout bevor so thanks image

    In Fritzing I have these options for the thickness:

     

    Superthin8mil
    Extra thin12mil
    Thin2mil
    Standard24mil
    Thick32mil
    Extra thick48mil

     

    I think I need to use thick for the power and for the signals and stuff the Standart one, right?

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

    Your board layout has an error with Din and 5v swapped on the bottom left Neopixel

    I fixed that now, thanks.

     

     

    and obviously the track size needs to be much larger (never done a layout in Fritzing before)

     

    Oh okay, I never did a board layout bevor so thanks image

    In Fritzing I have these options for the thickness:

     

    Superthin8mil
    Extra thin12mil
    Thin2mil
    Standard24mil
    Thick32mil
    Extra thick48mil

     

    I think I need to use thick for the power and for the signals and stuff the Standart one, right?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • mcb1
    0 mcb1 over 8 years ago in reply to soxx

    I think I need to use thick for the power and for the signals and stuff the Standart one, right?

    Yes that is correct.

     

    Mark

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

    Here is a tool to help you calculate trace width. Very nice to have and its free.

     

     

    Saturn PCB Toolkit - Saturn PCB Design

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject 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