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 1654 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
  • mcb1
    0 mcb1 over 8 years ago

    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 is quite right ... build it in stages.

     

    Your diagram is a great start ... much better than a lot of other ones we see.

     

    Mark

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

    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 is quite right ... build it in stages.

     

    Your diagram is a great start ... much better than a lot of other ones we see.

     

    Mark

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