Revision3.com Shows Schedule Inside Revision3 Store


Go Back   Revision3 Forums > Archived Shows > Systm

Reply
 
Thread Tools Search this Thread Display Modes

  #191  
Old 03-17-2009, 07:02 AM
kiwifrog's Avatar
kiwifrog
Member
 
Join Date: Dec 2008
Location: New Zealand
Posts: 100
Status: Offline
Default

Quote:
Originally Posted by davmoo View Post
Funny you should say that. I'm waiting for a package of pic axes to be delivered this week for toying with that very idea.
Picaxe I love them, so quick and easy to do what ever you want. and best thing is no programmer necessary. I've played with a similar dimmer project recently. Below is the code I wrote for it. I know its not very elegant but I was in a real hurry.

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
Mike.
Reply With Quote
  #192  
Old 03-17-2009, 01:22 PM
haku's Avatar
haku
Member
 
Join Date: Oct 2005
Location: UK
Posts: 216
Status: Offline
Default

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.
Reply With Quote
  #193  
Old 03-17-2009, 03:51 PM
xfuuey's Avatar
xfuuey
Elite Member
 
Join Date: Oct 2007
Location: Nashville, TN
Posts: 1,124
Status: Offline
Default

Wish this thread was integrated with the other show ideas in here.
Reply With Quote
  #194  
Old 03-17-2009, 08:59 PM
kiwifrog's Avatar
kiwifrog
Member
 
Join Date: Dec 2008
Location: New Zealand
Posts: 100
Status: Offline
Default

Quote:
Originally Posted by haku View Post
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.
I'm Talking about PICAXE's, not PIC's, PICAXE is a pic with a boot-loader installed. The code is written in pbasic, and is uploaded via serial through just 3 pins. And they're cheap as chips . 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!!).
Reply With Quote
  #195  
Old 03-18-2009, 01:03 AM
haku's Avatar
haku
Member
 
Join Date: Oct 2005
Location: UK
Posts: 216
Status: Offline
Default

Quote:
Originally Posted by kiwifrog View Post
The code is written in pbasic,





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.
Reply With Quote
  #196  
Old 03-19-2009, 05:31 AM
melmaks
Newbie
 
Join Date: Mar 2009
Posts: 2
Status: Offline
Default Show Idea: DIY Rail Gun

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
Reply With Quote
  #197  
Old 03-19-2009, 05:34 AM
melmaks
Newbie
 
Join Date: Mar 2009
Posts: 2
Status: Offline
Default Show Idea: Rail Gun

Rail guns are becoming more comin to hobiestest and they can fire a veriety of objects at various speeds and distances varieing on parts
Reply With Quote
  #198  
Old 03-19-2009, 06:27 AM
exodusfx
Newbie
 
Join Date: Jul 2008
Posts: 7
Status: Offline
Default

Quote:
Originally Posted by afclark View Post
Guys,
I have build sub boxes for cars and installed many of Amplifiers into cars. I have had the idea of making a home subwoofer with some of my spare car subwoofers and amplifiers. The one problem car amplifiers run on DC and houses run on AC power. A great hitting home subwoofer cost big bank where car woofers and amps and some plywood is a much better db per dollar. How can I get car amplifers to run on AC?

Austin of http://www.therealaustin.net/
It's really easy. You buy a plate amplifier, mount on your enclosure, plug into AC and connect to your reciever. Done.

http://www.parts-express.com/wizards...TOKEN=66757495
Reply With Quote
  #199  
Old 03-20-2009, 10:14 AM
tinhead
Newbie
 
Join Date: Jan 2009
Posts: 16
Status: Offline
Default Show Ideas

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....
Reply With Quote
  #200  
Old 03-20-2009, 02:38 PM
xcorvis
Senior Member
 
Join Date: Oct 2008
Posts: 461
Status: Offline
Default

Quote:
Originally Posted by melmaks View Post
Rail guns are becoming more comin to hobiestest and they can fire a veriety of objects at various speeds and distances varieing on parts
A railgun from scrap parts would be pretty cool. You can get capacitors from old disposable cameras and I'm sure there are designs all over the place.

To expand on it, you could set up a shooting gallery too.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 09:53 PM.

Rev3 Forum RSS


© 2005-2010 Revision3 Corporation