Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 26th April 2008, 11:44 AM   (permalink)
New Member
flumesoft is on a distinguished road
Default Computer Controlled Switch

Hey,

I'm knew to this forum and eletronics almost all together. But something i would really like to make is a Switch that can be turned on/off by my computer.

I'm 13 so i nothing to dangerous. I will use something that runs of like 12v at the most.

Also i have a pic programmer which i brought not sure if it would suit this project.

Also cause i'm 13 i'm kinda low on cash so as cheap as possible.
flumesoft is offline   Reply With Quote
Old 26th April 2008, 12:21 PM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

Quote:
Originally Posted by flumesoft
Hey,

I'm knew to this forum and eletronics almost all together. But something i would really like to make is a Switch that can be turned on/off by my computer.

I'm 13 so i nothing to dangerous. I will use something that runs of like 12v at the most.

Also i have a pic programmer which i brought not sure if it would suit this project.

Also cause i'm 13 i'm kinda low on cash so as cheap as possible.
hi,
Download and unzip the attached zip, read thru it and learn how to use the PC's parallel port.

Load the DLL's in your Windows/System folder, get the VB5 runtime files from the web , free.

Use the test program to operate the PC port..

Do you follow.?
Attached Files
File Type: zip Parport4.zip (49.0 KB, 22 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 26th April 2008, 10:25 PM   (permalink)
New Member
flumesoft is on a distinguished road
Default

I'm still alittle confused. So will this be the switch or will it connect to a relay or something?
flumesoft is offline   Reply With Quote
Old 27th April 2008, 12:49 AM   (permalink)
Experienced Member
 
BaCaRdi is a jewel in the roughBaCaRdi is a jewel in the rough
Default

You need to give us more information, like what it will be driving. This is important for the design because that would tell us what the power requirements for sink and source currents.

Don't be afraid to tell use your whole idea so we can better help to get it done. There are tons of very talented people here who will give you tons of ideas/advise

Cheers,
-BaC
__________________
Error: {Panic!} when trying to load: [reality shell]. kernel: "universe has been halted"...
Information Underground
BaCaRdi is offline   Reply With Quote
Old 27th April 2008, 01:45 AM   (permalink)
New Member
synthius is on a distinguished road
Default

I would suggest by starting off with a simple transistor switch. 2N3906 transistor is a simple switch. Get yourself a 9V battery, some LED's, and a transistor from radio shack. Figure out how to turn that on and off and then move onto using the computer to do that.
synthius is offline   Reply With Quote
Old 27th April 2008, 03:18 AM   (permalink)
New Member
flumesoft is on a distinguished road
Default

Quote:
Originally Posted by BaCaRdi
You need to give us more information, like what it will be driving. This is important for the design because that would tell us what the power requirements for sink and source currents.

Don't be afraid to tell use your whole idea so we can better help to get it done. There are tons of very talented people here who will give you tons of ideas/advise

Cheers,
-BaC
Well. I am a programmer mostly .NET languages and i was thinking how cool it would be if you could some how like control lights through a simple program. I want to start at low voltage so i don't kill my self. So i will have to find a powerful light for that voltage. Also i can't use radioshack cause i'm aussie and i havn't seen any over here

Thanks,
Flumesoft
flumesoft is offline   Reply With Quote
Old 27th April 2008, 03:19 AM   (permalink)
New Member
flumesoft is on a distinguished road
Default

Also ericgibbs does that mean the parrellel port will be the PSU
flumesoft is offline   Reply With Quote
Old 27th April 2008, 03:31 AM   (permalink)
Experienced Member
Super_voip is on a distinguished road
Default

Check out the Elektor DigiButler project, Ethernet, HTML relay output, at 29pound, when are they going Euro?
Super_voip is offline   Reply With Quote
Old 27th April 2008, 07:05 AM   (permalink)
New Member
flumesoft is on a distinguished road
Default

I was wanting to do it myself and i'm aussie so it cost alot for postage and i'm already in debt of around $70
flumesoft is offline   Reply With Quote
Old 27th April 2008, 07:15 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

Quote:
Originally Posted by flumesoft
Also ericgibbs does that mean the parrellel port will be the PSU
hi,
The port can supply about 12mA to 20mA, at a voltage of about +3V to +4V.
The port drive capabilty does vary a lot from PC to PC.

If you just want to light an LED, a 220R resistor in series with a RED LED will light when the port pin is High.

Its usual to use a external power supply, a simple 'wall wart' with a regulated output of +5V would drive most logic.
If you have a USB connector on the PC, you could use the +5v at the USB connector, dont draw more than say, 250mA

If you want to control 'mains' powered devices, use opto-isolators or relays.

Does this help.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 27th April 2008, 07:20 AM   (permalink)
New Member
flumesoft is on a distinguished road
Default

Yes,

Thanks everyone for your help.

I was wondering weather you had any code that could turn the usb device on/off.

-Thank again
flumesoft is offline   Reply With Quote
Old 27th April 2008, 07:36 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

Quote:
Originally Posted by flumesoft
Yes,

Thanks everyone for your help.

I was wondering weather you had any code that could turn the usb device on/off.

-Thank again
hi,
No, I dont have that USB control code, others may have.

If its a desk top PC, a source of external low voltage 'dc' which is often not considered, is using the PC's 'spare' regulated supplies.

Some/most PC's have spare disk drive connectors dangling inside the case.
A convenient connector, is the old 3inch floppy drive power connector, its got +5V and +12V on the pins.

Its a 0.1inch pitch socket, so a Molex plug could be wired to provide external power.
I would strongly recommend that the outgoing +5V and +12V be fused, at say 1Amp.

Mating male connectors can also be bought for the larger connectors used on hard/CD drives.

Do you follow.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 27th April 2008, 07:41 AM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

Quote:
Originally Posted by flumesoft
Yes,

Thanks everyone for your help.

I was wondering weather you had any code that could turn the usb device on/off.

-Thank again
What sort of USB device?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 5th May 2008, 09:31 PM   (permalink)
Experienced Member
 
BaCaRdi is a jewel in the roughBaCaRdi is a jewel in the rough
Default

Have you thought of looking at x-10 devices, specifically the TW7223: Opto-isolated from mains
http://www.automatedhome.co.uk/Revie...23-Review.html

All you will need to do is put an appliance module on what you want to control, they have ones for Inductive loads as well. You can use .Net to talk to the Tw7223 and control the device;

http://blogs.msdn.com/coding4fun/arc...31/916478.aspx

With a little coding you can create a home controller, even on the Web, and with the 2-way device you can read the current state of the appliance(2-way supported appliance modules of course).

-BaC
__________________
Error: {Panic!} when trying to load: [reality shell]. kernel: "universe has been halted"...
Information Underground

Last edited by BaCaRdi; 5th May 2008 at 09:37 PM.
BaCaRdi is offline   Reply With Quote
Old 5th May 2008, 09:44 PM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
Default

Quote:
Originally Posted by flumesoft
Yes,

Thanks everyone for your help.

I was wondering weather you had any code that could turn the usb device on/off.

-Thank again
If you want to turn things on and off with USB look at the USB bitwacker project. http://www.greta.dhs.org/UBW/

The sample code is written in BASIC but it is easy enough to use with any of the .NET languages. I have used C#.NET. The software fakes a COM port but it runs at USB speeds and is very easy to use.
__________________
search engine for electronic parts
Junebug USB PIC programmer kit. USB Bit Wacker
3v0 is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
How can i interface a controlled toy car to a computer? andales General Electronics Chat 9 12th October 2007 07:06 AM
temp controlled switch camperhead General Electronics Chat 5 26th August 2007 08:58 PM
Button Debounce Coding help Suraj143 Micro Controllers 25 4th August 2007 09:48 AM
Computer Controlled Router Monitor (switch) dannix General Electronics Chat 2 16th July 2007 07:21 PM
Computer controlled relays numptyboy General Electronics Chat 2 3rd April 2005 10:48 PM



All times are GMT. The time now is 11:03 PM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.