ts-7000
[Top] [All Lists]

Re: [ts-7000] Direct ADC access?

To:
Subject: Re: [ts-7000] Direct ADC access?
From: Mike Dodd <>
Date: Sat, 22 Oct 2011 20:11:46 -0400
Let me try again with a correctly-typed subject line....

I'm booting a TS-7250 into Debian over NFS, and everything is sweet.

I can compile my HVAC-monitoring program using GCC, and it runs just 
fine. It reads DIO port B with hvac_in = *PBDR' and flashes the LEDs 
with '*PEDR = (1 << RED_LED_BIT)', etc.

My application writes HTML pages that are updated each hour with the 
HVAC compressor and/or fan run-time for that hour. It would be nice if 
each hour could include the outdoor temperature, and I think I can wire 
a thermistor to an ADC input.

But I'd like to read/control the ADC directly via the memory-mapped I/O, 
like the DIO and LED ports, instead of installing the ADC driver in the 
Files section, and opening the ADC like a file.

Is this possible, or an I stuck with installing the driver?

Thanks for any insights.

--- Mike


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU