How To?

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

How To?

Post by noahsevcik »

I am terrible at engineering and i have no idea on what most of it is. I need to find out how to get a 9v battery to power LED light strips while only turning on by a weight sensor and light sensor (only turns on when someone steps on it, and in dark). PLEASE HELP. have any questions my email is [email protected]

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: How To?

Post by Franklin97355 »

get a 9v battery to power LED light strips
You will have trouble with this if you are thinking of using the rectangular style 9v because they don't have enough current to light a strip of LEDs for very long Probably minutes depending on how many LEDs, their color and brightness.

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

they seem to be working fine for me, is there any way to do the weight/light sensor thing

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: How To?

Post by adafruit_support_mike »

It's possible to combine a pressure sensor (probably a switch) and a light sensor.

There are many solutions, but the one that requires the least circuit design would be to use something like a Gemma to read the inputs and handle the logic: https://www.adafruit.com/product/2470

We have tutorials in the Learning Arduino section of the Learning System that cover button input and light sensors: https://learn.adafruit.com/category/learn-arduino

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

Thanks mike, really helpful. The only problem i have is i have no idea how to do any of that. could you give me a simple circuit design so i can solder that myself?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: How To?

Post by adafruit_support_bill »

lesson 6 covers button and switch inputs and shows how to wire them up and program them: https://learn.adafruit.com/adafruit-ard ... tal-inputs
Our photocell tutorial shows how to wire up and program a photocell: https://learn.adafruit.com/photocells

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

Thanks for the pressure sensor help, but with the weight sensor, how do i do that? Is there any way you can give me the circuit board connections, including the weight sensor, light sensor, 9v battery, and led tape?

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

Im sorry, light sensor help. Is there any way you can send me the circuit layout connecting all of the items i said above. It is very confusing to me.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: How To?

Post by adafruit_support_bill »

There is a light sensor circuit in the tutorial linked above:
https://learn.adafruit.com/photocells/using-a-photocell

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

I'm sorry, but i still don't get it. as i said, I'm not experienced. is there a way you could send me a circuit assembly for the weight and light sensors, powered by a 9v battery, lighting up led strips, on the gemma?

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

By the way bill,

how do i attach the gemma to the led light strips. I've figured out how to power it, but thats my problem. Where exactly do i attach the light and pressure sensors on the thing, by the way. thanks for your help

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: How To?

Post by adafruit_support_bill »

You need to take it one step at a time. I'd start by hooking up the neopixel strip and testing that. Then add your sensors, one at a time.

This tutorial is a good example of connecting a Gemma to a strip: https://learn.adafruit.com/neopixel-min ... p/hardware

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

On which side do the sensors go and which ports/solder areas. I need to be able to have it go out to a DC plug. like in the picture below. How would i program that though, like what code do i need to do. I still don't know where to hook everything up to, but it needs to go out into a 2.1mm dc male.
Attachments
41pwrRHV5oL._SY300_.jpg
41pwrRHV5oL._SY300_.jpg (7.1 KiB) Viewed 344 times

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

Hi, just following up. I am still confused on what holes to solder everything into on the gemma. I have another question also. Will there be enough power to heat it up AND light the LED Light Strips to some brightness. I have found a way to power it, i just don't know how to get it going out to the DC 2.1mm thing. If you could answer that, that would be great.

Thanks,

Noah

User avatar
noahsevcik
 
Posts: 16
Joined: Thu May 07, 2015 4:23 pm

Re: How To?

Post by noahsevcik »

Sorry for not mentioning this a minute ago, but what would be the code that i would write (i have no code experience).

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”