Controlling the Humidity with an Embedded Linux System
Listing 8. Perl Script setTargetHumidity
use CGI;
$query = new CGI;
$targetH = $query->param('targetH');
$SNMP_SET_CMD = "snmpset -v 1 -c private";
$SNMP_TARGET = "localhost";
$SNMP_TARGETHUM_OID = "targetHumidity .0";
$SNMP_TYPE = "i";
chomp($retVal = `${SNMP_SET_CMD} ${SNMP_TARGET}
↪$SNMP_TARGETHUM_OID $SNMP_TYPE $targetH`);
The humidity controller (Figure 6) has been keeping my music room within a humidity range that makes my Carlos Pina classical guitar quite happy (Figure 7). The work involved to build the system was a real pleasure. But the best part is sitting down to play the opening arpeggios in Bach's Prelude and hearing the notes ring true without retuning my guitar. It not only makes me smile, but I think it would make Bach smile as well.
Resources
Listing 7 (the Complete User-Mode Application): ftp.linuxjournal.com/pub/lj/listings/issue188/10534.tgz
TS-7200 Main Board (from Technologic Systems): www.embeddedarm.com/products/board-detail.php?product=TS-7200
TS-RELAY8 Daughter Card (from Technologic Systems): www.embeddedarm.com/products/board-detail.php?product=TS-RELAY8
TS-ENC720 Enclosure (from Technologic Systems): www.embeddedarm.com/products/board-detail.php?product=TS-ENC720
Jeffrey Ramsey has been an embedded developer his entire career, and when not pouring through Linux kernel and driver source code, he can be found plucking a guitar. Jeffrey can be contacted at jeffreyramsey@e2atechnology.com.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Linux Systems Administrator
- New Products
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Have you tried Boxen? It's a
4 hours 24 min ago - seo services in india
8 hours 55 min ago - For KDE install kio-mtp
8 hours 56 min ago - Evernote is much more...
10 hours 56 min ago - Reply to comment | Linux Journal
19 hours 42 min ago - Dynamic DNS
20 hours 16 min ago - Reply to comment | Linux Journal
21 hours 14 min ago - Reply to comment | Linux Journal
22 hours 4 min ago - Not free anymore
1 day 2 hours ago - Great
1 day 5 hours ago






Comments
I really couldn't understand
I really couldn't understand what a amancaes is?? what does if do anyways?? i could only understand that it indicates a very much greater degree of humidity, than at a corresponding height at Iquique, but how does it do that. Is an Amancaes also similar to Humidifier Filters. If this is so then why not keep a humidifier instead of a Amancaes. doesn't the both work same way.
explanation
Yes an amancaes is an ingenious device that can automatically control humidity - not only local humidity, but humidity in any other part of the world, remotely. It does this using the Iquique height factor to convert local humidity control (i.e. Linux kernel version/distribution) into remote humidifier filter command words. It is frankly one of the keys to Darwin's entire theory of natural selection, based on humidity and moss observation.