PDA

View Full Version : Want to make an infred switch.



Tech-Man
04-27-2007, 03:57 AM
So iv had my·BS1 now for a week or two and have been doing lots of just rather boring things with it.

But i had a brilint idea of a project that may take me some time since im new to PBASIC but i think it can be done with some parts i have laying around or could get cheap. And some help from others whom may have more experience.

Ok so i made these floaing shelves like what they have at Ikea only i intigrated 32 white LED's into the bottum of mine. Now my idea was to huck up my BS1 so that when i aim my remote at it i can use my voulme keys to turn them on or off or maybe even add in some PWM comands if i can figure them out so that i can use the voulume controls to also ajust the brightnis (that would be frecking alsom).

As for driving·my·array of LED's i was just thinking of using a swittching transister, since i use a 3.7v wall wort to power them.

This may be a lot to ask but how do i go about doing this, and dose my BS1 even have the ability. Im new to all this, but im also always egaer to learn new things. Thats why i bought a BS in the first place.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are no Undo buttons in life.

Franklin
04-27-2007, 09:40 AM
Tech-Man, I don't mean to be rude but could you take a little more time and check your spelling before posting? It's not the easiest thing to try reading your posts and figuring out what you are actually saying. Thanks.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen

Tech-Man
04-27-2007, 10:10 AM
Shure ill definitly try to be more conceis about it. I do happen to know its bad and try to spell best i can.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are no Undo buttons in life.

hitsware
04-27-2007, 10:49 AM
That should be "concies" ........... <|:^))

RDL2004
04-27-2007, 11:31 AM
Actually, it's spelled concise :)

Maybe you guys should switch to Firefox (http://www.mozilla.com/en-US/firefox/), it has a built in spell checker http://forums.parallax.com/images/smilies/smilewinkgrin.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick

Tech-Man
04-28-2007, 03:33 AM
ya i do use that sometimes, but im not asking what to do about my spelling. im just trying to figure out how to build a remote controled LED array.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are no Undo buttons in life.

PJ Allen
04-28-2007, 04:33 AM
Here's some info that you may find of interest -- http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv76.pdf

Update -- http://www.parallax.com/dl/docs/prod/sic/WebIR-%20v1.1.pdf

Post Edited (PJ Allen) : 4/27/2007 9:41:22 PM GMT

Tech-Man
04-28-2007, 07:05 AM
All this code is riten for a BS2 and i only have a BS1 si i cant get it to run. Also i dint think its a sony remote so ill have to have a way to figur out its singnal.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are no Undo buttons in life.

PJ Allen
04-28-2007, 09:12 PM
Tech-Man wrote,
All this code is riten for a BS2 and i only have a BS1 si i cant get it to run.
· The article that I made the link to has lots of information on using the 38-kHz·IR detectors and so on, but you're rejecting it out of hand because it doesn't exactly conform to·your conceptual construct.· I think that if you familiarise yourself·(howbeit superficially) with BS2 PBASIC and read the article thoroughly, it'll give you a starting point, some good ideas that you could import for use with a BS-1.· If you're looking to find your idea all wrapped-up and ready-to-go (Introducing! -- the Parallax BS-1 Remote-controlled LEDs·AppMod) or a list of parts and a map of how to stuff them into some "breadboard" along with some pre-written program, then, mate,·you're out of luck.
· If I was going to make an IR-based remote-control project, I'd make my own and not tie myself down to using some TV/VCR remote.· It's that sort of artificial barrier (self-imposed) that snuffs out projects.
· The goals you wrote of are modest and achievable, using a BS-1, definitely.· You're going to have to do a lot more to achieve them.
· ["Fill your boots, man."]

RDL2004
04-29-2007, 07:48 PM
Read chapter 11 in the Basic Stamp 1 application notes (http://www.parallax.com/dl/appnt/stamps/bs1Appnotes.pdf).

It's about sending data by ir, but that's pretty much what you want to do. I don't know if the ir module used is still available but for your purposes any ir detector (http://www.parallax.com/detail.asp?product_id=350-00014) should be adaptable.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick