element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum need pointed in the right direction, if my project is possible
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 24 replies
  • Subscribers 31 subscribers
  • Views 2111 views
  • Users 0 members are here
  • uno
  • electronics
  • ben_heck
  • arduino
  • solar
Related

need pointed in the right direction, if my project is possible

Former Member
Former Member over 11 years ago

I am newer to arduino, but i have some programming on it. I am a firefighter and want to create a light bar.

I am hoping that this project is possible for a near future completion date.

The project includes:

 

Arduino uno for pattern design and such. looking to use up to 16 3w LED from cree. its a small bar so nothing too much.

microelectronics to supplement the arduino for power as external power, step up if you will.

Bluetooth to turn lights on/off, hi voltage (3w for day use) low (1.5 for night use), change patterns.

solar panel (to create a self contained power (no wire running anywhere)

android app to control all the bluetooth

 

i could just buy a $400 lightbar but this would def be great if this is possible.

Please point me in the right direction on what to look at or such.

 

TIA

 

Matthew

  • Sign in to reply
  • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago

    hi i think this is possible with a bunch of relays

    you can look it up on google for solar you will need batteries to run it at night

    and for bluetooth take the arduino bluetooth library

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to atharvabenheckfan

    i was thinking of having the solar panel go into a small rechargeable batter (?) to run it at night, to store the energy until use.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago in reply to Former Member

    yes then you can

    depending on your battery type you will need the solar panel

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago in reply to atharvabenheckfan

    you will need to use the battries all the time cuz the panel won't have enough amps or volts

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago

    Fullscreen contentimage_176365.html Download
    <html><head><title>Jive SBS</title></head>
    <body><font face="arial,helvetica,sans-serif">
    <b>Error</b><br><font size="-1">
    An general error occurred while processing your request.
    </font></font></body></html>
    
    image

    Since we will be receiveing the data through the module and then in turn sending it to the arduino board we only need to use the TX pin on the module. Run a wire from that pin to the RX pin on the arduino board. The Led is controlled through PIN 2 on the arduino.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago

    The important aspect here is the baud rate - make sure it matches the baud rate of your module - check the datasheet or use AT commands to do it.

     

     

     

     

     

    const int ledPin = 2;      // the pin that the LED is attached to

      byte serialA;

    void setup()

    {

      // initialize the serial communication:

      Serial.begin(19200); //baud rate - make sure it matches that of the module you got:

      // initialize the ledPin as an output:

      pinMode(ledPin, OUTPUT);

    }

     

    void loop() {

     

    if (Serial.available() > 0) {serialA = Serial.read();Serial.println(serialA);}

     

      

          switch (serialA) {

        case 1:

          digitalWrite(ledPin, HIGH);

          break;

        case 2:

          digitalWrite(ledPin, LOW);

          break;

        case 3:digitalWrite(ledPin, HIGH);

          delay(100);

          digitalWrite(ledPin, LOW);

          delay(100);

         default:

     

          break;

      }

     

    }

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago

    find the android app here

    allow your phone to install apps from outside google play

    https://drive.google.com/folderview?id=0B_PfPoEotOF8N2JwT3RSX011SjQ&usp=sharing



    hope this helps

    i'll try to post the main circuit also including the light bar design

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago

    image

    the end design this should do it

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago

    try making this neater than i did

    sorry i could not vary the wattage of the leds

    if you already have an arduino

    just buy a new atmega328p,put in in your arduino program it

    remove an put it in your project wire it all up according to the datasheet on the arduino website.

    you will need to put a 16 mhz crystal and two 22pf caps to pins 9,10

    just to be on the cheap side

    use a vreg that can regulate from 50 volts not 35 or you'll fry it

     

    if you are satisfied please mark this as a correct answer

    man! that was tiering

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • atharvabenheckfan
    0 atharvabenheckfan over 11 years ago

    image

    • 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 © 2026 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