loading

As a professional source manufacturer of industrial cables, we specialize in cable production and customization, providing factory-direct supply at competitive prices, a reliable choice for engineering projects.

Using a Digital Input to Start And Stop a Grant

Grant's Portable and Cost-Effective Monitoring Solutions

CHESTERLAND OH-March 15, 2012

Many Grant Squirrel owners want to use their logger's digital input to extend logging duration since they don't need the device to continually log data, and this also helps users who don't want to sift through a massive amount of data to get the specific information they need. In this way, the device is set to log only when a certain state is met, which is ideal for specific applications such as measuring load on a motor when the line starts, so that the logger won't record data while the motor isn't running, and only turns on when the motor pulls. This convenient function is possible using Grant's SQ20XX series of Squirrel dataloggers, including the SQ2010, SQ2020, and SQ2040 models. All you'll need is your Grant SQ20XX data logger, 1 DB25 connector, and the data logger's included Squirrelview software.

The first step is to prepare the digital input: the digital inputs for the SQ20xx series of loggers are contained in the DB25 connector on the back. You'll need to prepare a DB25 connector with a number of wires equal to the number of digital inputs you will be using, plus one. In the case of this particular tutorial, you'll only need 2 wires, one to Pin 1 and one to Pin 9. Pins 1-8 are the 8 digital inputs, and Pin 9 is the digital ground. Plug the DB25 connector into the back of the Squirrel datalogger and hook the respective wires up to the start/stop switch.

Next, you'll program the logger. Start by entering all the analog inputs that you will be using in the Logger Setup programming utility. At the bottom of the input window is the line for state input. Double-click on this and choose 'State Event'. After all these have been entered, click on the 'Actions and Triggers' tab. In this tab, there are 4 buttons on the right side.

Click on the button labeled 'Add Action'. In the window that pops up, choose 'Start Logging' either by highlighting it and clicking 'OK' or by double clicking on it. In the 'Edit Action' window that appears, choose the 'State' tab and click on the 'Add' button. Choose 'Input 1' and set 'Activate Trigger on' to 'Positive State'. Then click 'Add Selected Trigger'--this is the trigger to start logging.

Click on the button labeled 'Add Action'. In the window that pops up, choose 'Stop Logging' either by highlighting it and clicking 'OK' or by double clicking on it. In the 'Edit Action' window that appears, choose the 'State' tab and click on the 'Add' button. Choose 'Input 2' and set 'Activate Trigger on' to 'Negative State'. Then click 'Add Selected Trigger'--this is the trigger to stop logging.

When the programming is done, click either on the icon for 'Send Setup to Squirrel and Arm' or choose that same option from the 'Squirrel' menu.

GET IN TOUCH WITH Us
recommended articles
knowledge Application News
Today, technology is becoming increasingly compact and portable, and with that, the need for smaller versions of regular products is also on the rise.
Introduction

As technology advances, so does the need for faster and more versatile connection options for our devices.
Introduction:

Are you facing issues with your Android system's USB connector constantly showing the 'connected/disconnected' message? This problem can be quite frustrating, especially when you're trying to transfer data or charge your device.
How to Fix a Broken USB Connector

USB connectors are essential for connecting various devices to your computer, such as printers, keyboards, and external storage devices.
Micro USB connectors are commonly used in a wide variety of electronic devices such as smartphones, tablets, and portable speakers.
We all know the frustration of a malfunctioning USB-C connector.
USB cables are a common and essential part of our daily lives.
How to Fix USB Connector

USB connectors are a common sight in our daily lives, as they are used for a wide range of devices including smartphones, laptops, gaming consoles, and more.
USB Connector Connected Disconnected

Have you ever experienced the frustration of trying to use a USB device, only to find that the connector keeps disconnecting and reconnecting? This can be a common problem with USB connectors, and it can be caused by a variety of issues.
Have you ever encountered the frustrating issue of a USB connector constantly connecting and disconnecting on your Samsung Galaxy A70? This problem can be a real headache, especially if you rely on your phone for charging and data transfer.
www.aptekcables.com
Contact Details: Ms. Cathy Cai
Cell No. :  + 86 138 2477 7041(wechat)
Skype: cathycai125
Email: cathy@aptekcables.com
Address: No.21 TiYu Road, Shaxi Town, Zhongshan City, Guangdong Province, China (528471) 
Customer service
detect