How To?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
How To?
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]
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: How To?
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.get a 9v battery to power LED light strips
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
they seem to be working fine for me, is there any way to do the weight/light sensor thing
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: How To?
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
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
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
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?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: How To?
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
Our photocell tutorial shows how to wire up and program a photocell: https://learn.adafruit.com/photocells
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
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?
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
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.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: How To?
There is a light sensor circuit in the tutorial linked above:
https://learn.adafruit.com/photocells/using-a-photocell
https://learn.adafruit.com/photocells/using-a-photocell
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
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?
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
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
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
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: How To?
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
This tutorial is a good example of connecting a Gemma to a strip: https://learn.adafruit.com/neopixel-min ... p/hardware
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
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 (7.1 KiB) Viewed 344 times
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
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
Thanks,
Noah
- noahsevcik
- Posts: 16
- Joined: Thu May 07, 2015 4:23 pm
Re: How To?
Sorry for not mentioning this a minute ago, but what would be the code that i would write (i have no code experience).
Please be positive and constructive with your questions and comments.