Saturday, June 30, 2018

ASSEMBLY PLUGIN MAVEN by Magle

ASSEMBLY PLUGIN MAVEN by Magle


Name:Assembly Plugin Maven
File size:13 MB
Date added:May 27, 2013
Price:Free
Operating system:Windows XP/Vista/7/8
Total downloads:1753
Downloads last week:76
Product ranking:★★★☆☆










OK, here it is. I got it. I dont have time. Thousands of dead fish have been found floating in the lake. Ill come if necessary. Could you spare me a few minutes? Jack and Betty have been going steady for a month. My pulse is fast. I have an ache in my arm. This cloth feels like velvet. Anywhere with a bed will do.
Assembly Plugin Maven: - Is one thousand yen enough?
- He always says the same thing.
- I am a professor of English in University of Wisconsin.
- Tom has no manners.
- Those men are speaking English.
- How many brothers do you have?
- He pretended to be a doctor.
- I like red roses.
- One moment please.
- ASSEMBLY PLUGIN MAVEN
- For him it may be possible, but Id never pass the test.
Toms dog bit him playfully. Where was Tom born? Your dog is here. Thank you miss. He has a house of his own. How old are you? I havent been back here since the incident. Do you know when they will arrive? You can easily find the bank. I feel thirsty.






Assembly Plugin Maven charts






Assembly Plugin Maven location




Assembly Plugin Maven google search
Assembly Plugin Maven ask google support
Assembly Plugin Maven chrome extensions
Assembly Plugin Maven for android
Assembly Plugin Maven videos
Assembly Plugin Maven twitter search
Assembly Plugin Maven wiki
Assembly Plugin Maven photos


Assembly Plugin Maven world






Assembly Plugin Maven youtube videos






Assembly Plugin Maven bing photo search




Assembly Plugin Maven, Inc. 36942 Saint Paul Street, Minnesota 4009 - USA, CA 52657 Tel: 891-637-4073 - Fax 971-762-4361 E-mail:Anthony_Magle@gmail.com
Assembly Plugin Maven address




Assembly Plugin Maven


Assembly Plugin Maven world

go to link download
Read more »

Windows 7 Most Wanted Search Memory Tidak Terbaca Lebih dari 3GB

Windows 7 Most Wanted Search Memory Tidak Terbaca Lebih dari 3GB


RAM (Random Access Memory) atau popular juga dengan nama memory merupakan komponen komputer yang sering dijadikan sebagai alternatif untuk mempercepat kerja komputer. Hal ini sering dilakukan karena biaya yang terjangkau dan murah jika dibandingkan dengan mengganti perangkat lain seperti processor dan motherboard.

Upgrade memory /RAM tentu ada syarat-syarat tertentu supaya memory mampu terbaca sesuai dengan yang kita haparkan. Semisal kita ingin mengupgrade memory 2GB, 4GB, atau 8GB tentu saja harapan kita memory tersebut mampu terbaca sesuai yang dimaksud.

Apakah semua jenis windows mampu membaca jumlah Kb pada memory?
Tentu tidak. Contoh, kita ingin upgrade memory 4GB pada komputer dengan Sistem Operasi Windows 7 32Bit, yang terbaca hanya 3,2GB of memory. Mengapa tidak terbaca? karena pada sistem Windows 7 hanya teregister 32Bit of Memory Cache.  Ini berlaku pada Windows XP 32Bit, Vista 32Bit, Win 7 32Bit dan Win 8 32Bit.

Pokok intinya, semua jenis windows 32Bit tidak bisa membaca memory/RAM lebih dari 3GB.  Agar memory bisa terbaca lebih dari 3GB, Upgrade komputer atau laptop dengan Windows 64Bit. Pada Windows dengan register 64Bit mampu membaca memory jengan kapasitas tidak terbatas, selagi hardware lain seperti Motherboard support dengan memory yang akan kita Upgrade.

go to link download
Read more »

Aspire One AO751h win 7 Driver

Aspire One AO751h win 7 Driver


Acer Aspire One AO751h has specification :
- Intel Atom Z520 1.33 GHz processor
- 11.6-inch HD WXGA CrystalBrite LED-backlit TFT LCD display (1366x768)
- 1 GB DDR2 RAM (easily upgradeable to 2 GB)
- 160 GB hard drive
- Intel Graphics Media Accelerator 500 (GMA500)
- 3 USB 2.0 ports
- Built-in webcam and microphone
- Integrated audio with built-in speakers
- Integrated 10/100 Fast Ethernet
- 802.11b/g wireless LAN (Atheros)
- Full size keyboard, Synaptics touchpad
- 4-in-one card reader
- 15-pin VGA
- 1.0 x 11.25 x 7.75-inches (H x W x D, approximate
- Microphone jack
- RJ-45 Ethernet jack
- Headphone jack
- 2.75 lbs. with 3-Cell battery pack (approximate)
- System weight / Weight with AC adapter     3.0/3.6 pounds

Cara menginstal driver Acer Aspire One AO751h controller:
1. Download driver yang diperlukan , lihat di bawah untuk daftar driver
2. Buka file yang telah didownload , klik dua kali pada file tersebut
3. Ikuti petunjuk yang muncul selama instalasi
4. Setelah selesai cek device manager, jika perangkat keras yang kita instal bekerja dengan benar , maka         proses instalasi driver telah berhasil .

Aspire One Happy Series for Win 7 32bit Driver Download
NAMA DRIVER VERSIDOWNLOAD
SATA AHCI8.9.4.1004Download
Intel Chipset9.1.1.1025Download
Intel VGA8.14.10.2117Download
Realtek Audio6.0.1.6141Download
Atheros Bluetooth6.18.0624.0302Download
Broadcom Bluetooth6.3.0.5450Download
Card Reader5.89.0.70Download
Atheros Ethernet LAN1.0.0.31Download
Atheros Wireless LAN9.0.0.173Download
Broadcom Wireless LAN5.60.350.6Download
Intel Wireless LAN5.20.1002.3Download
Realtek Wireless LAN2015.2.0430.2010Download
Synaptics Touchpad15.0.7.0Download
Modem2.2.99Download
Liteon Camera Application Software4.0.2.1Download
Suyin Web Camera Application2.2.14.3Download
Chicony Camera Driver Application1.1.184.610Download



go to link download
Read more »

Asus F3 F3T Driver Download

Asus F3 F3T Driver Download


ASUS ATK0100 UTILITY driver for WinXP Audio Driver Graphics Driver for WinXP


Modem driver TOUCHPAD driver nVIDIA Inf Update

Game Face Driver and Application TPM driver RICOH card reader driver


Wireless Lan Driver BlueTooth driver Camera Driver

"Asus F3 F3T notebook drivers download for Windows Vista"

Inf Update for Vista Audio Driver Vista 32bit/64bit

Graphics Driver SATA IDE driver NV Lan Driver

MDC Modem driver Vista 32bit/64bit TOUCHPAD driver

TPM driver Wireless Lan Driver and Application Vista 32bit/64bit

BlueTooth driver D-Max CL Camera Driver

Chicony Camera Driver Vista 32bit/64bit

go to link download
Read more »

Aspire V5 571 LapAtop Free Driver Download

Aspire V5 571 LapAtop Free Driver Download


Download free driver of Acer Laptop Aspire V5-571 instantly without advertisement with the following links. This driver for Windows 7 32bit
Chipset Driver
AHCI Driver
AMT Driver
Realtek Audio Driver
Bluetooth Driver atheros
Card reader Driver
Lan Driver
Touchpad Driver
USB 3.0
Intel VGA Driver
Wireless Lan















I hope this links can help you all,,,

go to link download
Read more »

ASTM material dimension

ASTM material dimension


Nih buat temen-temen yang membutuhkan ukuran spesimen untuk pembuatan komposit serat yang menggunakan standar amerika atau yang lebih akrab dengan kata ASTM,, semoga ini bisa membantu
download disini bro

sumber klik aja

go to link download
Read more »

Windows Xp Network Controller

Windows Xp Network Controller


Info about windows xp network controller!!!

File: win_network_controller.zip
File size: 3.47 kB
Driver version: 2.4.3

File is secure, passed Kaspersky scan!

Works with all Windows OS!



go to link download
Read more »

Asus F80Q Driver WinXp

Asus F80Q Driver WinXp


Asus F80 F80Q Driver download for notebook and Windows Xp

BT-253 Bluetooth Driver Driver and Utility

Chicony Camera Webcam Driver

D-Max_GD-8Axx Camera Driver 

Asus F80Q BIOS 216

Asus F80Q Chipset Inf Update Driver

Asus F80Q Sound Audio Driver

Asus F80Q Graphics Video VGA Driver

Asus F80Q Ethernet Lan Driver

Asus F80Q LSI Modem driver

ALCOR Card Reader Driver

Asus F80Q TOUCHPAD driver

AW-NE771 Wireless Lan Driver and Application 

Intel WiFi Wireless LAN WLAN Driver

AW-GE780_NE770 Wireless Lan Driver and Application

go to link download
Read more »

Why not having kids!

Why not having kids!




go to link download
Read more »

Asus 1215B Driver WIndows 7 Windows 8

Asus 1215B Driver WIndows 7 Windows 8


Specification Asus 1215B
Prosesor AMD E450 1.65 GHz L2 Cache 1MB
Memory DDR3 2 GB
Hard disk 320 GB SATA
GraphicsAMD Radeon HD6320
Layar 12? 1366�768
Wireless, LAN, Camera, Bluetooth


Driver Support

  • Windows 7 32 Bit
  • Windows 7 64Bit
  • Windows 8 64Bit
Asus 1215B Driver:


Windows 7 32 Bit Windows 7 64 Bit Windows 8 64 Bit

Windows 7 32 bit

Audio
Audio Driver. 115Mb. Download

VGA Graphic Driver
Graphics Driver For Asus Brazos (WHQL) V8.871. 161Mb. Download
Graphics Driver. 243Mb. Download

Lan
Atheros LAN Driver. 5Mb. Download
Lan Driver for WIN 7. Mb. Download

TouchPad
Synaptics touchpad. 48Mb. Download
Touchpad Driver. 39Mb. Download

USB
Intel USB3.0 Driver. 5Mb. Download

Wireless
Atheros Wireless Lan Driver and Application. 50Mb. Download
AW-NE762H Wireless Lan Driver. 7Mb. Download.
NE785H Wireless Lan Driver. 63Mb. Download
NB047 Wireless Lan Driver. 24Mb. Download

Bluetooth
AW-NB047 Bluetooth Driverr. 72Mb. Download


Windows 7 64 bit

Audio
Audio Driver. 115Mb. Download

VGA Graphic Driver
Graphics Driver For Asus Brazos (WHQL) V8.871. 161Mb. Download
Graphics Driver. 243Mb. Download

Lan
Realtek LAN Driver. 5Mb. Download
LAN Driver. 5Mb. Download

TouchPad
Synaptics Touchpad driver. 48Mb. Download
Touchpad driver. 39Mb. Download

USB
USB3.0 Driver. 4Mb. Download

Wireless
Atheros Wireless Lan Driver. 50Mb. Download
AW-NE762H Wireless Lan Driver. 7Mb. Download
NE785H Wireless Lan Driver.7Mb. Download
NB047 Wireless Lan Drive. 24Mb. Download

Bluetooth
AW-NB047 Bluetooth Driver V6.3.0.5500. 72Mb. Download


Windows 8 64 bit

Audio
Realtek Audio Driver. 106Mb. Download

VGA Graphic Driver
AMD Graphic Driver V8.982.7. 212Mb. Download

Lan
Atheros LAN Driver. 6Mb. Download

Card Reader
Multi-Card Reader Driver. 9Mb. Download

TouchPad
Synaptics Taouchpad Driver. 114Mb. Download

USB
USB3.0 Driver. 3Mb. Download

Wireless
Intel WiFi Wireless Lan Driver and Application. 76Mb. Download
Wimax Wireless Lan Driver and Application. 10Mb. Download
Azurewave Wireless Network Adapter Driver. 38Mb. Download

Bluetooth
Intel BlueTooth driver. 38Mb. Download

Atheros BlueTooth driver. 186Mb. Download




go to link download
Read more »

Asus K55VS Drivers for Windows 7

Asus K55VS Drivers for Windows 7


Download Driver Asus K55VS for Windows 7 64-bit, hi guys, here I will share to you about the Asus K55VS Drivers for Windows 7 driver free, you can download it at the bottom of my post is, if you can not find the Asus K55VS Drivers for Windows 7 driver that you want it, be searching using the button on the side. you can share with colleagues about this Asus K55VS Drivers for Windows 7 via social media. I hope you liked my post, may be useful friend

Driver Name : Keyboard Device Filter Utility
Version : V1.0.0.3
File Size : 171,26 Kb
OS : Windows 7 64bit
Download

Driver Name : ASUS USB Charger Plus
Version : V2.1.1
File Size : 4,99 Mb
OS : Windows 7 64bit
Download

Driver Name : Intel Management Engine Interface
Version : V8.1.0.1263
File Size : 121,54 Mb
OS : Windows 7 64bit
Download

Driver Name : Intel Rapid Storage Technology Driver
Version : V11.0.0.1032
File Size : 485,38 Kb
OS : Windows 7 64bit
Download

Driver Name : LifeFrame3 WebCam Utility
Version : V3.1.1
File Size : 25,88 Mb
OS : Windows 7 64bit
Download

Driver Name : Card Reader Driver
Version : V6.1.7601.27015
File Size : 11,13 Mb
OS : Windows 7 64bit
Download

Driver Name : Atheros BlueTooth Driver
Version : V7.4.0.115
File Size : 176,63 Mb
OS : Windows 7 64bit
Download

Driver Name : Intel Bluetooth Driver
Version : V2.0.15.30150
File Size : 46,76 Mb
OS : Windows 7 64bit
Download

Driver Name : Ethernet LAN Driver
Version : V7.48.823.2011
File Size : 5,67 Mb
OS : Windows 7 64bit
Download

Driver Name : Wireless Switch Utility
Version : V3.0.30
File Size : 4,17 Mb
OS : Windows 7 64bit
Download

Driver Name : Atheros WLAN Driver & Application
Version : V9.2.0.458
File Size : 16,25 Mb
OS : Windows 7 64bit
Download

Driver Name : Intel WiFi Wireless LAN Driver
Version : V15.0.1.1
File Size : 78,64 Mb
OS : Windows 7 64bit
Download

Driver Name : Chipset Intel INF Update Driver
Version : V9.3.0.1020
File Size : 2,94 Mb
OS : Windows 7 64bit
Download

Driver Name : Realtek Audio Driver
Version : V6.0.1.6685
File Size : 104,47 Mb
OS : Windows 7 64bit
Download

Driver Name : Intel Graphics Driver
Version : V8.15.10.2653
File Size : 158,55 Mb
OS : Windows 7 64bit
Download

Driver Name : NVIDIA Graphics Driver
Version : V8.17.12.9616
File Size : 199,16 Mb
OS : Windows 7 64bit
Download

Driver Name : Intel Wireless Display Application
Version : V3.0.12.0
File Size : 136,22 Mb
OS : Windows 7 64bit
Download

Driver Name : ATKACPI Driver Utility
Version : V1.0.0020
File Size : 10,37 Mb
OS : Windows 7 64bit
Download

Driver Name : Touchpad Driver
Version : V1.0.32
File Size : 12,93 Mb
OS : Windows 7 64bit
Download

Driver Name : Elantech Touchpad Driver
Version : V10.5.9.0
File Size : 146,62 Mb
OS : Windows 7 64bit
Download



go to link download
Read more »

Work Drivers ASUS VivoBook Flip TP301UJ Windows 10 64bit Drivers Free Driver Download

Work Drivers ASUS VivoBook Flip TP301UJ Windows 10 64bit Drivers Free Driver Download


This article documents an technique to interfacing digital sensors such as the Sensirion SHT21 to an XBee Series 2 radio module running ZigBee end device firmware without using any additional hardware components. The same technique should apply to similar digital sensors.

The XBee Series 2 radio modules from Digi are ideal for developing prototype and low production run wireless sensors. The modules are pre-certified in US, Europe and other regions eliminating the requirement to under go RF certification. In addition to a UART port for communications the XBee module also provides  several IO lines which can be configured in digital input, digital output, ADC and PWM modes.

Digi provide several protocol options including DigiMesh (their own proprietary protocol) and ZigBee. For interoperability with other vendors equipment and security I use ZigBee. Each protocol family has several firmware options which can be loaded on the module: usually Coordinator, Router and End Device.  For battery powered applications the End Device firmware must be used to achieve reasonable battery life. In this mode the module spends most of its time asleep using less than 1�A current. Periodically it will wake (briefly consuming 15 - 40mA), query its parent router to see if there are any waiting packets. If there are none it will go back to sleep. In this mode a set of AAA batteries can last a year or more.

Analog sensors can be coupled to XBee IO lines in ADC mode (10 bits resolution ranging from 0 - 1.2V) and read remotely using Digis remote sampling API. However analog sensors will probably require signal conditioning circuitry (op amps, filters etc) to make the best use of the ADC voltage range. This conditioning circuitry is likely to require individual calibration to achieve good results.
The headache of analog design can be conveniently side-stepped by using a sensor with a digital IO interface. Sensirion produce a range of temperature / humidity sensors with an impressive resolution (14 bit temperature, 12 bit humidity) and accuracy (less than �0.3�C for some versions). These sensors talk I2C protocol (or a variant of I2C). But there is a catch: the XBee firmware from Digi does not directly support I2C.

A common solution is to use a low cost MCU as a bridge between the sensor and the XBees UART. The MCU waits for a command from the network (via the XBees UART), queries the sensor and relays the result back to the UART for transmission on the ZigBee network. By monitoring the XBees SLEEP pin the MCU can also spend most of its time in a low power sleep, waking only when the XBee wakes.
There is an alternative... a common solution in a situation where there is no direct hardware support for a serial protocol: "bit banging". Each of the XBees IO lines can be set high, low or in high impedance (input) state by remote control: everything needed to realize the I2C and SPI protocols. But there is a catch: unlike a MCU bit banging its own IO lines which can happen at clock speeds exceeding 100kHz, remotely bit banging XBee IO lines is a very slow process. Fortunately the Sensirion sensor datasheets do not place any lower bound on the protocol clock speed. So a clocking speed of just 1Hz will work just as well as 100kHz... its just going to take a while to complete a query.
This is what the test setup looks like. A SHT75 sensor is at the bottom of the photo. A XBee board (the Grove XBee Carrier board from SeeedStudio) with DIO1 and DIO2 connected to the SHT75 clock and data pins respectively. The 3.3V power supply from the board powers the sensor.




Implemenation details:

The details of how to communicate with an XBee module are beyond the scope of this article. A good introduction to the topic is the book Building Wireless Sensor Networks from O�Reilly.

It�s important to note that the I2C protocol requires pull-up resistors on the clock and data lines. Fortunately the XBee has configurable 30k internal pull-up resistors for digital inputs which are configured with the ATPR command. They are enabled by default.

A sensor query begins by first issuing a remote ATIR command to the XBee to initiate frequent IO sampling. I found 100ms sampling period gave good results. ATIR must be followed by ATAC (commit) for the change to take effect. The sampling will keep the (normally sleeping) XBee awake. Also each time a sample packet is transmitted the acknowledgement will let the XBee know if there are incoming packets waiting for it. So it helps keep packet latency relatively low. Samples packets comprise the high/low state of any digital input pins and the ADC value of any pins configured as ADC.

Before proceeding to the next step wait until the first sample arrives. This may take several seconds depending on where the XBee is in its sleep cycle. When it starts to transmit samples you know it is awake and will stay awake.

Now issue ATD commands to set the clock and data lines into the necessary state. For example, ATD13 sets DIO1 into input (or high impedance) state, ATD14 sets DIO1 into a output low (0V) and ATD15 sets DIO1 into output high (3.3V). Any ATD command will need to be followed by an ATAC before the change will take effect.

To read a data line during the read phase of an I2C conversation, wait for a IO sample to arrive after the low-to-high transition of the clock.

Finally when the I2C conversation is complete set ATIR=0 to stop automatic sampling, followed by ATAC. On reception the XBee should go back to sleep.

I found that a short delay (about 100ms) between each AT command was required for acceptable results.

This is an oscilloscope trace of a temperature query of a SHT75 sensor. The SHT7x and SHT1x range use a protocol similar to, but not compatible with I2C. Note the time base is 3.7 seconds per division! The clock is in green, the data in yellow. The blue trace is connected to a third pin which was used for debugging (to help separate out parts of the conversation). Here it is set high while writing out the command (0x03, read temperature) .


The SHT21 and SHT25 are more recent temperature / humidity sensors from Sensirion. These sensors use standard I2C protocol. This trace is a I2C read temperature query to a SHT21 sensor:



Some results:

This is a chart of a few hours of data from a SHT21 and SHT75 connected to an XBee using this technique. For comparison a third wireless sensor, a Digi XS-Z16-CB2R sensor is included. All three sensors were enclosed in an insulated polystyrene box to ensure that all sensors were reading the same temperature and humidity. Ive also included the supply voltage (a handy feature of the XBee modules).


One slightly disappointing result is that there are quite a few failed queries (compare the number of  CB2R samples in blue to those in red and green). It seems that with my current implementation of this bit banging technique the success rate is about 66%. I believe this can be significantly improved with some changes to the implementation.

Conclusion:

Bit banging serial IO protocols such as I2C, SPI with the XBee IO lines under remote control is feasible. A battery powered sensor unit can be constructed with nothing more than a XBee, a digital sensor (and some means to physically link the sensor to the XBee), a battery holder and suitable housing.  No other components are required.

However there are some down sides: it takes a long time to make a measurement (10 - 30 seconds). During this period the XBee is awake (consuming 15 - 30mA). This is not a problem if  AA or AAA cells are used and the measurements are infrequent (eg once per hour). As currently implemented, reliability is far from perfect (2 out of 3 queries succeed) however I believe this can be improved with some tweaks to the implementation. Also over 100 ZigBee packets are required to complete one measurement: this could be a problem on a congested network.

Code:

Unfortunately the test setup is too complex to package up a simple self contained ZIP file to implement this technique. However here is the source code of the main Java class file which implements the necessary XBee AT commands.

/** * Implement temperature and humidity queries to a SHT71 and SHT75 sensor by bit banging * XBee IO lines. * * @author Joe Desbonnet, jdesbonnet@gmail.com * */ public class SHT7x { public static final int CMD_TEMPERATURE_READ = 0x03; public static final int CMD_HUMIDITY_READ = 0x05; private XBeeSeries2 xbee; private int clockPin; private int dataPin; // delay=100, sampleRate=250 does not work // delay=150, sampleRate=250 does not work (reliably) // delay=200, sampleRate=250 works // delay=180, sampleRate=50 works // delay=180, sampleRate=100 works // delay between sending each packet to the NIC for transmission private int delay = 180; // ms between each sample private int sampleRate = 100; /** * * @param xbee XBee proxy object * @param clockPin XBee pin used to implement SCK (0 = DIO0, 1 = DIO1 etc) * @param dataPin XBee pin used to implement SDA (0 = DIO0 .. etc) */ public SHT7x(XBeeSeries2 xbee, int clockPin, int dataPin) { this.xbee = xbee; this.clockPin = clockPin; this.dataPin = dataPin; } /** * Implement short delay. Usually used to space ZigBee packets apart. */ private void delay() { try { Thread.sleep(delay); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } private void clockHigh() throws IOException { byte[] param = new byte[1]; param[0] = XBeeSeries2.HIGH; xbee.atCommand("D" + clockPin, param); xbee.atCommand("AC"); delay(); } private void clockLow() throws IOException { byte[] param = new byte[1]; param[0] = XBeeSeries2.LOW; xbee.atCommand("D" + clockPin, param); xbee.atCommand("AC"); delay(); } private void dataHigh() throws IOException { byte[] param = new byte[1]; // Data high is achieved by high impedance state (HIGH_Z) ie digital // input mode param[0] = XBeeSeries2.HIGH_Z; xbee.atCommand("D" + dataPin, param); xbee.atCommand("AC"); delay(); } private void dataLow() throws IOException { byte[] param = new byte[1]; param[0] = XBeeSeries2.LOW; xbee.atCommand("D" + dataPin, param); xbee.atCommand("AC"); delay(); } /** * Reset communications with sensor. Required if the previous query did not complete. * * @param xbee */ public void resetComms() throws IOException { int i; dataHigh(); // Pulse clock 9+ times while data high for (i = 0; i < 10; i++) { clockHigh(); clockLow(); } } /** * Start sequence. * * @throws IOException * */ private void startSequence() throws IOException { clockHigh(); dataLow(); clockLow(); clockHigh(); dataHigh(); clockLow(); } /** * A command is 8 bits (MSB first) followed reading an ack bit from the device. * In this implementation I ignore the result of the ack bit (but there * still must be a 9th clock pulse). Bits are written by setting the * data pin to either 0V (logic 0) or high impedance (logic 1). The data is * read by the sensor during a low to high transition of the clock signal. * * @param command * @throws IOException */ private void sendCommand (int command) throws IOException { int i; boolean lastBit = true; boolean currentBit = false; // MSB first for (i = 0; i < 8; i++) { currentBit = ((command & 0x80) != 0); // Only change data pin if there is a change. This reduces the number // of ZigBee packets transmitted. if (currentBit != lastBit) { if (currentBit) { dataHigh(); } else { dataLow(); } lastBit = currentBit; } // Pulse clock clockHigh(); clockLow(); command <<= 1; } // If data currenly low bring to high_z/input mode if (currentBit == false) { dataHigh(); } // I dont bother to read the ACK bit, but the clock // must still be pulsed for it. clockHigh(); // dont bother sampling data pin -- will assume all ok clockLow(); } /** * Reference datasheet �4.3. * @return Temperature in �C * @throws IOException */ public float readTemperature() throws IOException { int v = makeReading(CMD_TEMPERATURE_READ); return -39.7f + 0.01f * (float) v; } /** * Reference datasheet �4.1. * * @return Humidity as RH% * @throws IOException */ public float readHumidity() throws IOException { int v = makeReading(CMD_HUMIDITY_READ); return (float)(-2.0468 + 0.0367*(double)v - 1.5955e-6*(double)v*(double)v); } /** * Reset comms, send start sequence, command and read 16 bits of data. * * @param what One of SHT7x.CMD_TEMPERATURE_READ or SHT7x.CMD_HUMIDITY_READ * @return * @throws IOException */ private int makeReading (int what) throws IOException { int i; // // Configure XBee to send frequent IO samples. This has two important functions. // First it keeps the XBee end device awake. Also an end device transmitting a // packet (which must go via its parent) has the side effect of polling the // parent for any incoming packets. So frequent transmission also means low // latency in receiving packets. byte[] params2 = new byte[2]; params2[0] = (byte) (sampleRate >> 8); params2[1] = (byte) (sampleRate & 0xff); xbee.atCommand("IR", params2); xbee.atCommand("AC"); // Now wait for the first sample to arrive before proceeding. At this point well // know the end device awake. long t0 = System.currentTimeMillis(); while (xbee.getLastIOSampleTime() < t0) { delay(); } // XBee End Device should now be awake and responsive // The last query may not have completed leaving the communications in an undefined // state. Reset communications to a known state. resetComms(); delay(); delay(); // Start sequence ref �3.2. startSequence(); delay(); delay(); // Send 8 bit command (and read ack bit) sendCommand(what); // Wait for measurement to complete. We could poll the DATA line. It will be pulled // low by the sensor when the reading is complete. However the overhead of doing // this makes it not worth the effort. try { Thread.sleep(200); } catch (InterruptedException e1) { // ignore } // // Read 16 bits // int v = 0, sample; for (i = 0; i < 16; i++) { v <<= 1; clockHigh(); // wait for IO sample t0 = System.currentTimeMillis(); while (xbee.getLastIOSampleTime() < t0) { try { Thread.sleep(100); } catch (InterruptedException e) { // ignore } } // sample = xbee.getIOSample(); sample = xbee.getLastIOSample(); if ((sample & 0x04) != 0) { v |= 1; } clockLow(); // write ack bit if (i == 7 || i == 15) { // write ack bit (0) dataLow(); clockHigh(); clockLow(); dataHigh(); } } // // Return end device to normal sleep pattern by disabling sampling (ie by // setting sample period to 0). // params2 = new byte[2]; params2[0] = 0; params2[1] = 0; xbee.atCommand("IR", params2); xbee.atCommand("AC"); return v; } } 


go to link download
Read more »