IS-S0108 Single Switch Solution

Similar documents
OLED Engineering Kits User Manual

IS-Dev Kit-1 Users Manual

IS-Dev Kit-5 and IS-Dev Kit-6 Users Manual

IS-Dev Kit-6, 6D, 6C, 6HB User s Manual

LCD 64x32 Logic Boards User Manual

LCD 36x24 Logic Boards User Manual

OLED Logic Boards Users Manual

IS-ENG-KIT Features Revision A

IS-Dev Kit-7 & 7D User s Manual

ICP05 IBOARD LITE ICP05. - iboard lite

IS-DEV KIT-9 User Manual

IS-Dev Kit-8 User Manual

IS-Dev Kit-8 User Manual

PICado Alpha Development Board V1.0

Prototyping Module Datasheet

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

Dwarf Boards. DN001 : introduction, overview and reference

IS-CHPMP User Manual

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.

Pridgen Vermeer Robotics Xmega128 Manual

Easy Kit Board Manual

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Shack Clock kit PCB Revision: QCU Rev 1 or QCU Rev 3

Downloaded from Elcodis.com electronic components distributor

USB-to-I2C. Ultra Hardware User s Manual.

SBC65EC. Ethernet enabled Single Board Computer

PIC 28 Pin Board Documentation. Update Version 5.0

USB-to-I2C. Professional Hardware User s Manual.

Adafruit USB Power Gauge Mini-Kit

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

PVK40. User's manual. Feature Rich Development and Educational Kit for 40-pin Microchip PIC microcontrollers

DEV-1 HamStack Development Board

32 bit Micro Experimenter Board Description and Assembly manual

Breeze Board. Type A. User Manual.

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

TDSDB Features. Description

ARDUINO MEGA ADK REV3 Code: A000069

eip-10 Embedded TCP/IP 10-BaseT Network Module Features Description Applications

DEV16T. LCD Daughter board

Capacitive Touch Remote Control Reference Design User s Guide

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Pridgen Vermeer Robotics ATmega128 Revision 0

ARDUINO LEONARDO ETH Code: A000022

ARDUINO MEGA 2560 REV3 Code: A000067

Arduino ADK Rev.3 Board A000069

keyestudio Keyestudio MEGA 2560 R3 Board

MX Educational Target User Manual

Chips MV-56 and MV-56B and Module v1.0

PANDORA HACKER GUIDE

3D Magnetic Sensor 2 Go - TLE493D-A2B6

Universal Communicator User Manual

NHD-0220D3Z-FL-GBW-V3

TCP/IP Base Board Setup Instructions (JGS_ETH24_BASE)

KPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P

Atmel ATMXT143E touchscreen controller Capacitive touch ITO 320 x 240 pixel LCD display with SPI interface LED backlight

Evaluation Board User Guide UG-047

ICD Module (P/N ) Instruction Manual

ARDUINO UNO REV3 Code: A000066

GUIDE TO SP STARTER SHIELD (V3.0)

PIC KIT 2 BASIC-USERS GUIDE FEMTO ELECTRONICS

A brief user guide Universal Learning Remote Controller

LPC2148 DEV BOARD. User Manual.

VFO/Signal Generator kit PCB Revision QCU Rev 1 or QCU Rev 3

SimPLC. User Manual.

M2 OLED Temperature Monitor Instructions PN 1841

Cheap Control Systems. Cheap Six Channel (C6C) Servo Controller Version 2.3 OVERVIEW

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

EVAL-ADG2128EB. Evaluation Board I 2 C CMOS, 8 12 Analog Switch Array with Dual/Single Supplies FEATURES DESCRIPTION

Description: 4x 7 segment display module with decimals and colon

AVR Peripheral Board. Campus Component Pvt. Ltd.

04/12/11 version 1.0

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Propeller Project Board USB (#32810)

Bolt 18F2550 System Hardware Manual

CAN4VSCP - RS232. Smart CAN4VSCP serial interface. Reversion

BB-303 Manual Baseboard for TMCM-303

Contents. The USB Logic Tool... 2 Programming... 2 Using the USB Logic Tool... 6 USB Logic Tool Features... 7 Device Hardware...

PIC-32MX development board Users Manual

Two Module Development Kit Installation and User Instructions For Model No. ED-GV15/30

DMX512-4 Channel PWM Driver Board #805

MOD-ZIGBEE-PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant

MedeaWiz 8X78. Input / Output Expander. FW version 1.0. PCB version 1.0. Manual version Note that this manual may change periodically

Sidewinder Pumps Inc. AC Timer/Controller

BBDC-02R. Quick Start Guide Rev 1.2 9/29/08

BIG8051. Development system. User manual

CLCD1 Serial 1 wire RS232 LCD development board

Embedded Navigation Solutions VN 100, VN 200 & VN 300 Development Board User Manual

EZ-Bv4 Datasheet v0.7

PedalSync. 9 Switches MV-62. Chip. Module. and

ARDUINO MINI 05 Code: A000087

IFC-MD15A Interface Free Controller Brush Motor Card

2001VT Temp & CO 2. - air quality sensor/controller NOTE!!! Manual for Installation. General. SenseAir AB

629/P32 (X10/P32) PIC CHIP. On - Off Operating Instructions (Revision 2)

MC CO MODBUS ADDRESSABLE SENSOR

Mercury System SB310

EZmoto V4.1 Product description Rev. 2 30/07/2015

AXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels

Transcription:

IS-S0108 Single Switch Solution IS-S0108 Single Switch Solution Revision D NKK SWITCHES 7850 E. Gelding Drive Scottsdale, AZ 85260 Toll Free 1-877-2BUYNKK (877-228-9655) Phone 480-991-0942 Fax 480-998-1435 e-mail <engineering@nkkswitches.com> All Rights Reserved Worldwide NKK Switches makes no warranty for the use of these products and assumes no responsibility for any errors, which may appear in this document, nor does it make a commitment to update the information contained herein. Smart Switch is trademark of NKK Switches. Single Switch Solution RevD.docx Page 1 of 18

IS-S0108 Single Switch Solution TABLE OF CONTENTS Table of Contents...2 1. Overview...3 2. Applications...3 3. How to Order...4 S0108 Single Switch Solution: 1. General Features...5 2. Backlighting...6 3. Hardware...6 3. Connecting to Application...9 IS-S0108DEM Evaluation Kit User Manual: 1. Overview...10 2. General Features...10 3. Operational Overview...11 4. Hardware...12 5. Schematics...14 Programming S0108 Single Switch Solution: 1. Purpose...15 2. Preparing the IS-S0108DEM for Programming...16 3. Preparing the MPLAB Program...17 4. Programming the S0108...19 5. Testing...19 Single Switch Solution RevD.docx Page 2 of 18

IS-S0108 Single Switch Solution 1. Overview The Single Switch Solution is a compact device that can both monitor and control an industrial process independently or in conjunction with other controllers. The 36x24 pixel LCD display is capable of displaying graphics or characters while 64 backlight color options allow for status color schemes and modes of operation. In addition to the on-board flash to hold graphic images, there are two look up fonts (5x7 and 7x10) on board to create images based on characters. Up to 3 lines of 6 characters in font 5x7 or up to 2 lines of 4 characters in font 7x10 can be displayed. There are eight connections that can be digital input/output. Six of the connections can be analog input. The analog inputs can be used to check status of gauges such as temperature, pressure, voltage, amperage, oil level, gas level etc. The digital inputs can be used to check the ON/OFF statuses of a devices or count frequency of an event. The digital output can be used to signal to turn ON or OFF a device based on preset values of the inputs. The digital input/output can also be used for communication with another device. The switch presses can be used for toggling between the statuses and pressing and holding the switch can be used for setting up or selecting an option. 2. Applications The Single Switch Solution is a plug and play controller/indicator device for use in an application with little to no technical or engineering know-how needed to install and operate. The customer would list what images, labels and actions they want to see. The device would then be programmed and preloaded with the images, actions and responses ready to be used. The customer would simply need to install the device into their application. Please contact NKK Switches with your application. If the current product does not meet your application, we can design a device to meet your requirements. Examples: A Single Switch Solution is hooked up to a device that drops jellybeans into a bag and a counting sensor. When the Single Switch Solution counts out a fixed number of beans it sends signals to stop the jellybeans from dropping, move the bag out of the way, seal the bag and get the next bag. A Single Switch Solution is used to monitor two voltages and two currents. Pressing the switch steps through displaying the status of each of the four measurements. When the voltages or currents exceed a preset warning range the display blinks to warn the operator. When the voltages or currents reach a danger range not only does the display turn red it also sends signals to shut down the system. The warning and shut down values for each measurement is user defined and can be modified by pressing and holding the switch while displaying the measurement. A Single Switch Solution is hooked up to engine sensors to display fuel, water, oil, and temperature. Pressing the switch steps through and displays the four statuses. When any of the statuses are outside normal the display blinks amber to warn the operator. When any of the statuses are in the danger range the display blinks red. Single Switch Solution RevD.docx Page 3 of 18

IS-S0108 Single Switch Solution 3. How to Order Single Switch Solution is custom programmed for each application so a custom part number is assigned for each application. An evaluation kit can be ordered to get the process started. The evaluation kit part number is IS- S0108DEM and includes: 1. One Single Switch Solution. 2. A demonstration board that has 4 potentiometers for analog input, 4 switches for digital input and 4 LED s for digital output. 3. A programming connector for reprogramming the Single Switch Solution (Require a Pickit3 from Microchip for programming). 4. A power supply. The evaluation kit IS-S0108DEM comes preprogrammed for demonstrating the Single Switch Solution capabilities. The suggested retail price for evaluation kit is USD$99.00 F.O.B Arizona. The information on the evaluation kit is at the end of this document. Once the customer decides on the features required for their application the requirements are evaluated by NKK and functional features are documented and send for approval by the customer. Then the firmware is written and the custom part number is issued. The customer can place order and receive the preprogramed Single Switch Solution for their application. The cost of writing the firmware is USD$300.00. During firmware development the customer is required to get a PIC programmer PICKit 3 (cost about $49.00). The firmware is emailed to the customer. The evaluation kit IS-S0108DEM can be used to reprogram the Single Switch Solution as well as to be used for testing and verifying the new firmware. Single Switch Solution RevD.docx Page 4 of 18

IS-S0108 Single Switch Solution IS-S0108 Single Switch Solution 1. General System Features The Single Switch System is useful in many applications where complex information needs to be displayed while minimizing design and installation time and complexity. The firmware is written based on customer requirements. Contact Hassan Sajadi at 877-228-9655 or engineering@nkkswitches.com for application consultation. Features: 36x24 pixel graphic LCD. Can display 3 lines of 6 characters in Font 5x7, 2 lines of 4 characters in Font 7x10 or graphic. 15 backlight colors (RGB) for various mode of operation. Panel Mount for easy installation. Single pole momentary switch. Firmware is written based on customer requirements. The connection to application is via 2x7 header (0.1 x0.1 ). Up to 8 digital input/outputs. Up to 6 analog to digital converters. I2C, SPI, or UART configurations are available upon request. S0108 photos Part Number Attributes: IS-S0108XXX. Each application would have a unique part number. IS-S0108 Base part number XXX Unique for each application Single Switch Solution RevD.docx Page 5 of 18

IS-S0108 Single Switch Solution 2. Backlighting Options There are two backlighting states: "ON cycle" and "OFF cycle". The duration time of OFF cycle is about 500 ms. The ON cycle is two times of duration of the OFF cycle. Both the duration of the OFF cycle and the multiple of the ON cycle to the OFF cycle can be specified by the customer. Each of the ON cycle and OFF cycle have 8 color option. The 64 backlight options are achieved by combination of ON cycle and OFF cycle. Below are the options for ON and OFF cycle: Available color for ON cycle and OFF cycle Color Red Green Blue 1 OFF OFF OFF OFF 2 Red ON OFF OFF 3 Green OFF ON OFF 4 Blue OFF OFF ON 5 Amber ON ON OFF 6 Light Blue OFF ON ON 7 Magenta ON OFF ON 8 White ON ON ON 3. Hardware WARNING: These products are ESD sensitive. The ESD handling procedures must be followed. The Single Switch System incorporates an IS15BBFP4RGB in a Panel Mount Housing soldered to a small controller PCB. Power input: 7.5V to 15V at maximum of 70 ma Controls Overview: J1: Application Interface Header is a 7x2 header.1 x.1 for application connections (Table 1). Single Switch Solution RevD.docx Page 6 of 18

IS-S0108 Single Switch Solution Application Interface Header (J1) pin-outs: Table1 Pin# Pin Name Pin Function Notes 1 Power Input voltage 7.5V to 15V 2 Power Input voltage 7.5V to 15V 3 Ground Ground 4 Ground Ground 5 5V 5V output. It is generated by the onboard voltage regulator. The maximum current drawn cannot exceed 10 ma. 6 DG0 Digital I/O Analog IN 7 DG1 Digital I/O TX USART Has a 4.7 KOHM pull down resistor on the board. 8 AN1 Digital I/O Analog IN ss of SPI 9 AN0 Digital I/O Analog IN SDO of SPI 10 SWRD Switch pin connected to MC pin with a weak pull-up. The other switch pin is connected to Ground 11 DG2 Digital I/O Analog IN RX USART 12 DG3 Digital I/O SCK of SPI SCL of I2C 13 AN3 Digital I/O Analog IN SDI of SPI SDA of I2C 14 AN2 Digital I/O Analog IN Single Switch Solution RevD.docx Page 7 of 18

IS-S0108 Single Switch Solution Dimensions: 4. Connecting to applications All the I/O pins are directly connected to the microcontroller pin. There is no safety circuit due to lack of space. If the application signals are not stable appropriate safety measures should be implemented. Analog Resolution Analog Voltage Digital input Voltage Digital output Voltage Maximum output current sourced Maximum current sunk : 10 bits : 0 to 5V : Vil < 0.8V, 2V < Vih< 5V : Vol < 0.6V, 4.2V < Voh : One I/O pin 20 ma, Total for all I/O pins 50 ma : One I/O pin 20 ma, Total for all I/O pins 100 ma Some application require an interface board for converting the Analog input to proper voltage or turning on relays that require more current. NKK has interface boards for some application. We also entertain designing interface boards for new applications. Single Switch Solution RevD.docx Page 8 of 18

IS-S0108DEM User Manual IS-S0108DEM Evaluation Kit User Manual 1. General Features The IS-S0108DEM is a demonstration unit for the Single Switch Solution. Below are the current features: Four potentiometers wired to Analog In to simulate various Analog input signals. Four toggle switches and four LED s wired to Digital In/Out to simulate digital in and digital out. 9 to 15V DC 2.5mm power jack. Programming plug. Hole for easy access to the Single Switch Solution LCD contrast. 2. Preface The IS-S0108DEM is designed to demonstrate the features of the Single Switch Solution. It has four potentiometers, four toggles, and four LED s that simulate various inputs and outputs. It has been programmed to show some of the different ways to use the Single Switch Solution. However the firmware can be altered by NKK Switches as per customer requirements. This manual will go through the various aspects of the firmware written for demonstration of features. Single Switch Solution RevD.docx Page 9 of 18

IS-S0108DEM User Manual 3. Operational Overview When first turned on the IS-S0108DEM will display the NKK Switches logo. After 2 seconds it will then display the battery charge image. Pressing the button steps through each of the six simulated functions. It then loops back to the beginning. Image Function Operation NKK Logo Splash Only seen when first turned on. Stays on only for a few seconds. Screen Battery Charge * AN0 input is represented/displayed from 0% to 100% with green backlight. ---The warning level at which point in addition to the amber/green backlight blink a signal is sent to DIG0. --- The Danger level at which point in addition to the red backlight blink a signal is sent to DIG1. 10 Bits Stepper AN1 input is represented/displayed from 0 to 1023 steps indicating the 10 bits analog resolution. 0-5 Volt Meter AN2 input is represented/displayed from 0 to 5.00V. Rotary Stepper AN3 input is represented/displayed in 16 steps 1/16 to 16/16. Timer Turns on and off by Dig 2 toggle control. Green when running and amber when stopped. Counter Counts each time the Dig 3 toggle is actuated. Resets to zero when power is off. * To select warning and danger level press and hold the switch while it is displaying Batt Charge till the display show Amber. Then release the switch followed by press/releases to get to the desire choice (None, 25% to 55%). After 5 seconds of inactivity the danger setting appear when the display shows RED. Pressing and releasing the switch cycles through choices (None, 5% to (Amber choice -5%)). After 5 seconds of inactivity the chosen values are saved and status of Battery charge function accordingly. Single Switch Solution RevD.docx Page 10 of 18

IS-S0108DEM User Manual 4. Hardware Controls Overview Note: Improper installation of the Single Switch Solution could damage the units. The Analog In has four potentiometers that simulate analog input signals. Pin Analog 0 Analog 1 Analog 2 Analog 3 Function Battery 10 bit Volt Meter Stepper The Digital In/Out has four on/off toggles that simulate digital input signals and four LED s that simulate digital output signals. Note that the Digital In and Digital Out are connected so the pin can only be used for one or the other. Digital 0 and 1 are used for output. Digital 2 and 3 are used for input. Pin Input or Output Function Digital 0 Output LED lit when AN0 is below warning level and higher than danger level. Digital 1 Output LED lit when AN0 is lower than danger level. Digital 2 Input ON/OFF the timer Digital 3 Input Counter Single Switch Solution RevD.docx Page 11 of 18

IS-S0108DEM User Manual The 9-15V DC Power jack mates with a 2.5mm cylinder power connector with a center positive. The Programming Connector links the Single Switch Solution to the firmware programmer such as the PICKit 3 by Microchip. The unit must have power to program. Also the five pin programming bridge should be installed into the 5x1 female header so the unit is connected to the Single Switch Solution. It should be removed after programming to prevent stray signals. 1 2 3 4 5 6 Program MCLR VDD GND PGD PGC Single Switch Solution RevD.docx Page 12 of 18

IS-S0108DEM User Manual 5. IS-S0108DEM Schematic Single Switch Solution RevD.docx Page 13 of 18

IS-S0108DEM Programming Procedure IS-S0108DEM Programming Procedure 1. Purpose The purpose of this document is to give instructions on programming and testing the Single Switch Solution and variations using the IS-S0108DEM board. Single Switch Solution RevD.docx Page 14 of 18

IS-S0108DEM Programming Procedure 2. Preparing the IS-S0108DEM for Programming The Programming Connector links the Single Switch Solution to the firmware programmer such as the PICKit 3 by Microchip. 1. The unit must have power to program. 2. The five pin programming bridge should be installed into the 5x1 female header so the unit is connected to the Single Switch Solution. It should be removed after programming to prevent stray signals. Make sure there is contact between the connector and pads on the bottom of the S0108. 3. Pin one on the programmer must be connected to pin one on the programming connector. Plugging it in wrong may damage the unit or the programmer or both. 1 2 3 4 5 6 Program MCLR VDD GND PGD PGC Single Switch Solution with programmer attached. Single Switch Solution RevD.docx Page 15 of 18

IS-S0108DEM Programming Procedure 3. Preparing the MPLAB Program Note: The steps are based on navigating the menu bar. Configure, Programmer, File being the menu items visited. Menu Bar for the MPLAB v8.76 Note: These instructions are for MPLAB IDE v8.76. The version will change at Microchip s discretion. 1. Open MPLAB IDE program. 2. Select the Configure menu item. 3. Select the Select Device menu item. 4. With the Device drop down menu select PIC18F14K22. Select PIC18F14K22 1. Click OK button to exit out of Select Device. 2. Select the Configure menu item. 3. Select the Configuration Bits dropdown menu item. 4. Check the Configuration Bits set in code. check box. IS-S0108 Overview D.doc Page 16 of 18 www.nkkswitches.com Email engineering@nkkswitches.com 0516

IS-S0108DEM Programming Procedure 5. Close Configuration Bits window. 6. Select Programmer menu item. 7. Select Select Programmer dropdown menu item. 8. Select PICkit 3 from dropdown menu item. 9. Click OK button to exit Voltage Caution message box. 10. The Programmer will try to connect with the microchip on the S0108. 11. If the Programmer cannot find the device MPLAB IDE will give a warning message box and a message on the Output textbox. If it can find the device the Output textbox will say Target Detected. Showing a warning message and the ready to program messages. 12. Select File menu item. 13. Select Import from the dropdown menu item. 14. Search for the HEX file S08XXXX.HEX where XXXX is the specific firmware program to be installed. 15. Once it is selected the MPLAB IDE will display a message showing that it is loaded. 16. The MPLAB IDE is ready for programming. IS-S0108 Overview D.doc Page 17 of 18 www.nkkswitches.com Email engineering@nkkswitches.com 0516

IS-S0108DEM Programming Procedure 4. Programming the S0108 1. Select Programmer menu item. 2. Select Program dropdown menu item. 3. Ignore Programming warning. Click OK button. 4. MPLAB IDE will say: Programming... Programming/Verify complete 5. Programming complete. 5. Testing 1. Unplug power plug. 2. Remove PICkit 3 from unit. 3. Remove Single Switch Solution from the IS-S0108DEM board. 4. Remove programming bridge. 5. Plug in Single Switch Solution back onto IS-S0108DEM board. 6. Plug in power plug. 7. Adjust analog pots, IS pushbutton, and digital switches as necessary to verify that the unit is working as expected. Note: If any of the analog pins are used as digital output, make sure the corresponding potentiometer is in a middle position while programming. If the pins is assigned as digital OUT and the potentiometer is all the away to one side or the other it may cause damage to the unit. If the pins is assigned as digital IN the potentiometer should not be left to produce voltage between 0.6V to 2V. IS-S0108 Overview D.doc Page 18 of 18 www.nkkswitches.com Email engineering@nkkswitches.com 0516