Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Accelerometer controlled LED strip - basic questions

led strip accelerometer led battery netduino plus 2 bike beginner

  • Please log in to reply
1 reply to this topic

#1 Esben

Esben

    Member

  • Members
  • PipPip
  • 13 posts

Posted 01 May 2014 - 07:42 AM

Hi Netduino folks!

 

I'm a hobby programmer who have just ordered a Netduino Plus 2 for my first electronics project in 15-20 years.

So please bear with me if too many of my questions are really basic knowledge, and as a non-native English speaker I'll try my best with the technical terms :)

 

Here's a quick resume of my project:

  • I want to control two LED strip using the Netduino.
  • One of the strips will light up differently based on input from a accelerometer (the top one in the image bellow).
  • All the components will be powered by batteries.

The whole project is for my cargo bike, having the rear light respond to braking/stopping the bike.

 

That is pretty much it, I have made i crude drawing off the components here:

Attached File  layout.png   671.44KB   1 downloads

 

I know the accelerometer can be powered by the 3.3V output from the Netduino, but the connection guide most refer to is at "www.loveelectronics.co.uk" which seem to be closed down.

Further I know that the LED strips need a transistor to be controlled by the Netduinos PWM ports. But again I'm not sure how it should be wired up and which components to use.

 

So to sum it up, I hope for some guidance with the following:

  • Is the 8 D cell batteries suitable for my setup, i.e. will they be able to power the LEDs?
  • From what I have read the Netduino is able to handle up to 18V on the Vin. Will it cause any issues using 8 x 1.5 batteries as a power supply?
  • Should I use a MOSFET, PNP or NPN transistor for the LEDs? And which model would be most suitable?
  • How do I wire up the accelerometer to the Netduino? Are any resistors needed?
  • Anything else I'm missing?

Please ask away if you have any questions!



#2 Esben

Esben

    Member

  • Members
  • PipPip
  • 13 posts

Posted 01 May 2014 - 07:06 PM

I have found this blog post about connecting a 12V LED strip to a Arduino:

http://blog.dcxn.com...ith-an-arduino/

 

It's seems like a TIP120 NPN Darlington transistor will do the job, but is it he best choice?

 

I also finally found a setup using the ADXL345 with I2C, describing the connections:

http://bildr.org/201...dxl345-arduino/

 

Now I just want to be sure the batteries is okay to power the Netduino and the LED strips?

 

Lastly, should this post be moved to the "General Discussion" is it might now be very N+2 specific?







Also tagged with one or more of these keywords: led strip, accelerometer, led, battery, netduino plus 2, bike, beginner

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.