• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Talking to external hardware
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Talking to external hardware


  • Subject: Re: Talking to external hardware
  • From: "TRELEAVEN, CRAIG" <email@hidden>
  • Date: Fri, 11 May 2001 09:16:50 -0400
  • Organization: Clearview Consulting on assignment at Bell Nexxia

You might want to check the comp.home.automation newsgroup.

http://groups.google.com/groups?hl=en&lr=&safe=off&group=comp.home.automation

The interfacing bit sounds like something that they'd jump on. Not many Mac
folk, though. In fact, I'm not sure it is a good project for a Mac
controller but that depends more on your requirements. I imagine latency
could be an issue. With a serial interface, there will be a non-trivial
delay before your system will respond to changes in conditions. X10
transmission just makes things even slower.

A leading Mac-based home automation product is XTension.

http://www.shed.com/

The developer has a lively mailing list with some seriously technical folks.
Perhaps they could give you some pointers.

BTW, my vote for most reliable Mac configuration is an SE/30 running 7.5.3 or
7.6.1. I worked in a small department where one acted as a file server,
Laserwriter bridge, fax machine and general 'extra' Mac. It would go for
months at a time without a reboot.

Craig Treleaven

Sun Real wrote:

> Greetings,
>
> I need to control the operation of some relays for a small scale power
> distribution system & I want to do the programming, err, I mean
> scripting, with AS if I can.
>
> There is a power source - a micro-hydro turbine - and 8 circuits to be
> supplied from it. The output from the turbine varies over a large range
> (50-1500W) as do the loads, which can be anywhere from nothing to more
> than the total output.
>
> My task is to distribute this power - connect and disconnect the supply
> to each house - according to certain rules. (In case anyone's wondering,
> the houses each have their own battery bank. They don't lose power,
> their battery chargers switch off until it's their turn again.)
>
> I will receive magnitude information (a continuously varying voltage,
> analogous to the power being used) from current sensors and, depending on
> this & the program logic, send on/off commands to some of the outputs
> (the relays).
>
> My limited study of the X-10 system indicates that I could probably get
> it to do some of what I want but the switch modules are prohibitively
> expensive in Australia & it doesn't look quite right for this.
>
> I figure I could use the 'Serial Port Commands' osax to get data to &
> from my script & guess I can build a box to interface between this and
> the relays if necessary, but I'm also wondering if anyone has any bright
> ideas of any kind.
>
> For example, does anyone know of any ready made chips or modules I can
> buy that do standard interface stuff for/with serial data, like taking a
> varying voltage input and converting it to serial data I can handle on
> the Mac? If not, where do I start studying so I can build such a thing?
> What chips deal with this kind of stuff? Is it a job for a micro?
>
> I also need to try to determine what my minimum Mac hardware spec & AS
> version should be. This thing will have to run 24/7 and won't be all
> that close by, so the requirements are reliability and reliability.
>
> Any help would be appreciated. I got 'volunteered' for this and am a bit
> stuck as to where to start.
>
> Cheers,
>
> Richard Morton
> -- Great Lies of the Music Business: "I'm with the band"


References: 
 >Talking to external hardware (From: Sun Real <email@hidden>)

  • Prev by Date: Re: Impossible "If"?
  • Next by Date: Re: checking values in property problem
  • Previous by thread: Talking to external hardware
  • Next by thread: Re: Talking to external hardware
  • Index(es):
    • Date
    • Thread