Jan
31

Homecontrol using the basic stamp - Web or iPod controlled

lightcontrol_icon.jpgIn this article we are programming the basic stamp to trigger a remote switch for your home lights or any other power switching device, like a garage door, fireplace and so on. We are controlling it through the web or the ipod (the ipod also has a web browser)

How does it work?
After programming the basic stamp, it looks for a specific variable; when it receives this variable we are putting a current on the output pin of the basic stamp. The current switches a relay, this closes the electronic circuit of the remote “klikaan klikuit” transceiver. The variable, where it all starts with, is send through the serial / usb port by a single web page.

more…

Jan
21

iPhone and iPod touch streaming music and video - how to

ipod_touch_webapp_str3.jpgThis is a short preview of a open-source script we wrote. It allows you to acces your content, like music or video to your iphone or ipod touch, streaming. So if your 8GB or 16GB is not enough, there is hope!

Note: this is not the final code but to keep you updated i decided to post my progress.

Things that are not included.
- rating
- number of files
* and some design bugs needed to be fix.

How its done?

  • First you need a (local server) like wamp.
  • Second we add some php files and the conent to the right folders.

Folder structure:
WWW (default)
contains: php and css files.

WWW/my_dirs/albums/
contains: your albums named like: Artist - AlbumName

WWW/my_dirs/movies/
contains: your movies (.mov or .mp4)

Of course you can setup more folder and program other sites, for example like favorites.

The php files makes a listing of the folders and output them in a basic html page, witch the iphone or ipod can view.
When opening the actual files, the iphone or ipod opens the internal quicktime player, so your files can be viewed streaming.

see the screencaptures for more details:

more…

Jan
03

Iphone / Ipod touch controlling remote itunes and winamp (windows)

ipod_touch_webapp2.jpgThe next webapplication we discuss allows you to control itunes and winamp running on windows. without jailbraiking!
In the previous post we explain how you can set up a connection and how you simply launch an app.
But whats the use of that? So in this chapter we learn how to control iTunes and Winamp.

To keep the cost as low as possible we use free plugins. So everybody can follow along, although off course we like to hear other or even better solutions.

Before we start we look at Shopping list:
- Adobe director
- Director shell xtra (free)
- Itunes control trough command line (free)
- Winamp control trough command line (free)

in this quick example we use some different (easy) solutions like the “control trough the command line”. This is actually an extra step that isn’t paticular nesseccary, for example you can write directly an windows message (see next chapter) with the buddy Xtra. The buddy Xtra is a little bit more advanced and not free. So we keep on going the easy way..

There are some different approuches to interact with an program. We dont discuss all the options but two off those are basically sending keys or sendingwindows messages. Because we are now focus on Windows (see remote buddy for the mac) we want to use (the more stable) function sendmessage().

more…

top
-->
© 2007 Deziner Folio. All Rights Reserved. XHTML Theme by: Dezinerfolio