ROBOTICS CONNECTION IOWizard

Description
ROBOTICS CONNECTION IOWizard I/O Module - can be used when additional I/O capabilities are needed. It features 10 digital Inputs/Outputs, and 5 10-bit analog inputs, which are available via an I2C interface.
Part Number
IOWizard
Price
Request Quote
Manufacturer
ROBOTICS CONNECTION
Lead Time
Request Quote
Category
PRODUCTS - I
Specifications
Ambient temperature under bias
-55 to +125°C
Input clamp current, IIK (VI VDD)
20 mA
Maximum current into VDD pin
250 mA
Maximum current out of VSS pin
300 mA
Maximum output current sourced by any I/O pin
25 mA
Maximum output current sunk by any I/O
25 mA
Output clamp current, IOK (VO VDD
20 mA
Storage Temperature
-65°C to +150°C
Voltage on any pin with respect to VSS
-0.3V to 5.3V
Voltage on VDD with respect to VSS
-0.3 to +5.3V
Datasheet
Extracted Text
IOWizard User Guide v1.0
IOWizard
User Guide
v1.0
Summerour Robotics Corp (www.roboticsconnection.com)
1
IOWizard™ Copyright 2004‐2009 | 1‐888‐731‐4035
IOWizard User Guide v1.0
Introduction:
The IOWizard can be used when additional I/O capabilities are needed. It features 10 digital
Inputs/Outputs, and 5 10‐bit analog inputs, which are available via an I2C interface.
The 5 analog lines can be used for any 5V analog sensors, such as the Sharp line of infrared distance
sensors. The 10 GPIO lines can be used for push buttons, LEDs, and other types of 0‐5V general purpose
I/O peripherals. All GPIO lines are set as inputs by default.
The IOWizard acts as an I2C slave device, and can be connected to, and queried from, any I2C Master,
including our Serializer Robot Controller. The default I2C address for the IOWizard is 0x64(100d).
However, the address can be changed to any value between 100d and 110d.
IOWizard Pinout
The diagram below shows the various ports on the IOWizard.
The I2C header contains Vcc Sda, Scl, and Gnd pins, and requires no pull‐up resistors since it acts as a slave
device.
The GPIO header (GPIO0‐GPIO9) contains 10 individual ports, where each port features a Gnd, Vcc, and
Sig pin.
The Analog header (AN0‐AN4) contains 5 individual, 10‐bit ports, where each port features a Sig, Vcc, and
Gnd pin. Any 3‐5V analog sensor can be connected to this port, and queried via the protocol. The ‘Sig’ (or
Signal) pin is the output voltage pin coming from the analog sensor into the RangeWizard.
Make sure you don’t swap polarity (Vcc and Gnd) when connecting the sensors/peripherals/I2C bus!
We do not warranty against such misuse.
Figure 1 – IOWizard Pinout
Summerour Robotics Corp (www.roboticsconnection.com)
2
IOWizard™ Copyright 2004‐2009 | 1‐888‐731‐4035
IOWizard User Guide v1.0
Power/Status LEDs:
One of the two onboard status LEDs is used to indicate power, while the other flashes when commands
are received and processed successfully by the board.
I2C Communication Protocol:
Querying ADC and GPIO Values:
The board returns 20 bytes when it’s read. The first 10 bytes are 10 bit analog readings, and the last 10
are the status of the digital pins. If a digital pin is set as in input, its current state is returned. If a digital
pin is set as an output the last state it was set to is returned.
Before you attempt to read a GPIO pin as an input, make sure you issue a command to set it as an input
(see commands below), otherwise, you will receive the state of the pin output.
To query the ADC and GPIO values, you write its address, and then read back 20 bytes from its address +1.
Below is sample code on how to read the device using a PIC and the CCS compiler. If you use another
chip/compiler you will do something very similar.
i2c_start(); // start condition
i2c_write(ADDRESS + 1); // 101
value0 = i2c_read(1);
value1 = i2c_read(1);
… do this 19 times. // See NOTE below
Value19 = i2c_read(0); // the last read has a 0 for a parameter.
i2c_stop();
NOTE: Each 10‐bit analog value is returned in two bytes. So, you will have to shift the first (upper) byte by
8, and then add the subsequent (lower) byte to that shifted value to arrive at a 10‐bit integer value. See
the pseudo code below for an example:
Pseudo code:
Int adc;
int value;
…
adc = i2c_read(1) ;
value = adc << 8;
value += i2c_read(1);
…
Summerour Robotics Corp (www.roboticsconnection.com)
3
IOWizard™ Copyright 2004‐2009 | 1‐888‐731‐4035
IOWizard User Guide v1.0
Setting a GPIO pin state:
To set the state of a digital IO line (pin id range = 0‐9) you must write the pin number, followed by the
state. Below is the proper sequence of bytes to send:
0x64, 0x01,
Frequently asked questions
What makes Elite.Parts unique?

What kind of warranty will the IOWizard have?

Which carriers does Elite.Parts work with?

Will Elite.Parts sell to me even though I live outside the USA?

I have a preferred payment method. Will Elite.Parts accept it?

Why buy from GID?

Quality
We are industry veterans who take pride in our work

Protection
Avoid the dangers of risky trading in the gray market

Access
Our network of suppliers is ready and at your disposal

Savings
Maintain legacy systems to prevent costly downtime

Speed
Time is of the essence, and we are respectful of yours
What they say about us
FANTASTIC RESOURCE
One of our top priorities is maintaining our business with precision, and we are constantly looking for affiliates that can help us achieve our goal. With the aid of GID Industrial, our obsolete product management has never been more efficient. They have been a great resource to our company, and have quickly become a go-to supplier on our list!
Bucher Emhart Glass
EXCELLENT SERVICE
With our strict fundamentals and high expectations, we were surprised when we came across GID Industrial and their competitive pricing. When we approached them with our issue, they were incredibly confident in being able to provide us with a seamless solution at the best price for us. GID Industrial quickly understood our needs and provided us with excellent service, as well as fully tested product to ensure what we received would be the right fit for our company.
Fuji
HARD TO FIND A BETTER PROVIDER
Our company provides services to aid in the manufacture of technological products, such as semiconductors and flat panel displays, and often searching for distributors of obsolete product we require can waste time and money. Finding GID Industrial proved to be a great asset to our company, with cost effective solutions and superior knowledge on all of their materials, it’d be hard to find a better provider of obsolete or hard to find products.
Applied Materials
CONSISTENTLY DELIVERS QUALITY SOLUTIONS
Over the years, the equipment used in our company becomes discontinued, but they’re still of great use to us and our customers. Once these products are no longer available through the manufacturer, finding a reliable, quick supplier is a necessity, and luckily for us, GID Industrial has provided the most trustworthy, quality solutions to our obsolete component needs.
Nidec Vamco
TERRIFIC RESOURCE
This company has been a terrific help to us (I work for Trican Well Service) in sourcing the Micron Ram Memory we needed for our Siemens computers. Great service! And great pricing! I know when the product is shipping and when it will arrive, all the way through the ordering process.
Trican Well Service
GO TO SOURCE
When I can't find an obsolete part, I first call GID and they'll come up with my parts every time. Great customer service and follow up as well. Scott emails me from time to time to touch base and see if we're having trouble finding something.....which is often with our 25 yr old equipment.
ConAgra Foods