Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'kscholte'@'localhost' (using password: YES) in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/php/opendb.php on line 3

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'www-data'@'localhost' (using password: NO) in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/php/opendb.php on line 4

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/php/opendb.php on line 4

Error encountered... Please try again.

Project LinuxGURU - An Open Source Home Automation System
Tutorials
  Lights
  Switches
  Temp Meters
  Lights Meters
  Infra Red
  Voice Feedback
  Light Dimmer
  Alarm
  Motion Detect
  LCD's


Forum
  Software
  Hardware
  Circuits
  Components
  Ideas
  General


Software
  Light on/off/sw
  Wake-up
  Sleep-mode
  Alarm
  Wall Switch
  LIRC examples
  WinAmp Control


Personal
  Preferences
  Inbox
  Add diary event
  Add news event


Thanks to i-Vision
for the free hosting
SiteMeter


Warning: include() [function.include]: URL file-access is disabled in the server configuration in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/index.php on line 31

Warning: include(http://www.linuxguru.be/banners/banner.php) [function.include]: failed to open stream: no suitable wrapper could be found in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/index.php on line 31

Warning: include() [function.include]: Failed opening 'http://www.linuxguru.be/banners/banner.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/index.php on line 31

 

The temperature/light sensor:

Pc joystick port can be used very easily for simple measurement of light and temperature values. All you need for light measurements is to connect a LDR resistor between +5V and potentiometer input. For temperature measurements substitute the LDR with suitable NTC-resistor. If you use only one input, put a 0..100 kOhm resistor to other input so that the computer won't think that there is no joystick available (this is for those that use BIOS routines or some other ready-made library).

pin 1  +5      ________________
                               |
                  NTC or LDR   |
pin 3  stick 1x ____/\/\/\_____|
                               |
                     100 k     |
pin 6  stick 1y ____/\/\/\_____|

Select the variable resistor (NTC or LDR) type so that is will give resistor values are in 0..100 kOhm area in your measurement situations. The larger difference between smallest and largest resistor value, more accurate the system will be. The problem is that the system will never be very accurate, because the joystick interface is not degigned to be very accurate instrument. The value given you get can vary from component temperature drift, large differences between diffrenet joystick interface cards, computer clock speed differences and some other things.


Login
Login:
Pass:
New user   Lost password


News

Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/inc/news_menu.php on line 11

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/inc/news_menu.php on line 11

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/inc/news_menu.php on line 14




Diary

Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/inc/diary_menu.php on line 10

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/inc/diary_menu.php on line 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /data/webroot/hosting/kscholte/linuxguru.be/httpdocs/inc/diary_menu.php on line 13