Help With Electronic Circuit - Page 2 - Techist - Tech Forum

Go Back   Techist - Tech Forum > Techist Forum Information > New Member Introductions
Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 02-14-2016, 11:51 PM   #11 (permalink)
Lord Techie
 
S0ULphIRE's Avatar
 
Join Date: Mar 2007
Location: Australia
Posts: 8,659
Send a message via MSN to S0ULphIRE
Default Re: Help With Electronic Circuit

Yeah you'd need 8 battery holders, 1 was just included in the "dev kit" option I linked already (as was 1 picaxe)
And yeah the button you linked is fine

You can check their distributors here: Distributors - PICAXE

US options from SparkFun:
Proto board (which you'll use to program them): https://www.sparkfun.com/products/8321
USB to Serial cable: https://www.sparkfun.com/products/8312
Picaxe: https://www.sparkfun.com/products/10803
Battery holder: https://www.sparkfun.com/products/10891
10K resistor pack: https://www.sparkfun.com/products/11508
Mosfet: https://www.sparkfun.com/products/10213 (I think this'll be ok, double check values)

MOSFET symbol: https://www.google.com.au/search?q=m...w=1920&bih=955

edit: I should add a quick explanation for the circuit too.

You've essentially just got 2 strings of LEDs, each string is hooked up to 1 output on your PIC. This'd be fine for normal power LEDs, but since you need it to be visible in daylight we'll need LEDs with higher power
The PIC can only supply 20mA of current from each output, which is pretty small. So instead of using the PIC to power the LEDs, we'll use the PIC to power a MOSFET

A MOSFET is basically an electrical switch that can handle lots of power going through it. It has 3 pins, Gate, Drain, and Source.

You connect one side of your circuit to the "Source" pin, and the other side to the "Drain" pin. The "Gate" pin is what turns it off/on.
In our case, we connect the picaxe output to the "Gate" pin - when we set the pin "low" the switch is off, when we set the pin "high" then the gate will turn on and allow current to flow from Drain to Source, completing our circuit and turning your LEDs on (yay!)
__________________

__________________
"As a result of all this hardship, dirt, thirst, and wombats, you would expect Australians to be a sour lot. Instead, they are genial, jolly, cheerful, and always willing to share a kind word with a stranger, unless they are an American." -- Douglas Adams
S0ULphIRE is offline   Reply With Quote
Old 02-15-2016, 12:59 AM   #12 (permalink)
Virgin Techie
 
Join Date: Feb 2016
Location: Arizona, USA
Posts: 0
Default Re: Help With Electronic Circuit

Thank you so much for all of your help!!!
__________________

Aineejames is offline   Reply With Quote
Reply

Tags
animal shelter, circuit design, help needed, led, timer

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I guess this goes here? - building a circuit, need help. Gothch1ck Off Topic Discussion 3 12-08-2009 01:39 AM
circuit help saltynay Overclocking and Modding 9 06-03-2008 04:03 PM
Cleaning circuit boards? Raphael Argus Monitors, Printers and Peripherals 1 07-30-2005 04:36 PM
Kingston Ram at Circuit City! Zeeg Buy/Sell/Trade and Hot Deals 6 07-19-2005 02:20 PM
!Name Circuit City's Tech crew! mrserv0n Off Topic Discussion 26 06-30-2005 01:53 AM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:40 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.