![]() |
|
#191
|
||||
|
||||
|
Quote:
This turns off at 0 volts to almost fully on at 5 volts. Code:
let dirs = %00000101
SYMBOL TADC = b2
High 2
pwmout 2 off
Main:
readadc 1, TADC
Select case TADC
case 0 to 33
pwmout 2 off
Case 33 to 90
pwmout 2,99,360
case 91 to 189
pwmout 2,99,340
case 140 to 195
pwmout 2,99,300
case 195 to 199
pwmout 2,99,250
case 199 to 201
pwmout 2,99,200
case 201 to 202
pwmout 2,99,100
case 203 to 210
pwmout 2,99,45
endselect
goto main
|
|
#192
|
||||
|
||||
|
David, you reading this? can we do an episode on PICs pleeeeeease! a "Build your own dimmable, programmable portable bright light" episode using a PIC as the main controller would be ideal, just think, you get to play with LEDs and PICs!
![]() I would like a flashing function for my future bike lighting setup, so using a PIC for the control box on the handlebars with some FETs or something (for the up to 2A @12v power requirement of 300 LEDs) could be the way to go, right now I've kept it simple by using switches for different light levels because there's not really much to go wrong.
__________________
Gadget hoarder & solder monkey. |
|
#194
|
||||
|
||||
|
Quote:
. http://www.rev-ed.co.uk/The code from above was driving a large 100amp fet through a mosfet driver, I could dim a large car lamp, driven from a car battery to a very fine amount. In the end it was used for controlling a hho tank in a car, drawing 20amps. Your flashing idea could be achieved in around 5 lines of code(it's that easy, really!!). ![]() |
|
#195
|
||||
|
||||
![]() ![]() Looks like PICAXE is the ideal way to get into chip programming, I taught myself Basic on the ZX Spectrum & BBC Micro back in the 80s and even wrote a simple programming language within that language on the BBC. Bit rusty now in the ole programming stakes but I can learn fairly quickly.
__________________
Gadget hoarder & solder monkey. |
|
#196
|
|||
|
|||
|
In the March 2008 issue of Nuts and Volts they show how to make a rail gun. and there have been many shown on You Tube
These gun are able fire menetic objects varius distances varing on many aspects of parts i think i would be a great project to show how to make one |
|
#197
|
|||
|
|||
|
Rail guns are becoming more comin to hobiestest and they can fire a veriety of objects at various speeds and distances varieing on parts
|
|
#198
|
|||
|
|||
|
Quote:
http://www.parts-express.com/wizards...TOKEN=66757495 |
|
#199
|
|||
|
|||
|
Well here is some thing i have been thinking of...
Home VPN. Through "Site-to-Site" VPN or roaming VPN clients like OpenVPN. Difference with static/dynamic IP, NAT-T and more.. Timer activated blinder lifter. In the morning, the blinders automatically lifts and let in the sun. So you dont have to buy a Philips wakeup light.... |
|
#200
|
|||
|
|||
|
Quote:
To expand on it, you could set up a shooting gallery too. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
|||||