aurdino project2 or code.docx

(1686 KB) Pobierz

Simple Labs' Induino User Guide

InduinoX - An Overview

InduinoX

 

Induino is an electronics prototyping board, developed by Simple Labs, based on the open-source Arduino platform. Induino-X, the latest version of the Induino boards, contains a few sensors, components and devices on-board for easy prototyping. The hardware is programmed using a Wiring-based language (syntax + libraries), similar to C++ with some simplifications and modifications, and a Processing-based IDE. The term Induino is a simple combination of words, India + Arduino = Induino.. ;)


http://lh5.googleusercontent.com/-OwsKMC0rGPA/TssFPa4g3pI/AAAAAAAAAaE/ooKZ1mMtTlg/s200/Induino.jpg 

Pin Mappings

http://3.bp.blogspot.com/-Uopowmls9Y8/TuY37Yw52RI/AAAAAAAAAb0/olnmtpHRzUQ/s640/Pin_Mappings4.png

 

 

 

Platform

Hardware

The Induino board consists of an 8-bit Atmel AVR micro-controller with complementary components to facilitate programming and incorporation into other circuits. An important aspect is the standard way that connectors are exposed, allowing the CPU board to be connected to any external devices and a variety of interchangeable add-on modules (known as shields). Also, the on-board components on Induino-X can be connected/disconnected to/from the i/o pins by using jumpers.

The Induino can be connected to a computer and programmed using a standard USB. A FTDI FT232 is used for USB to serial conversion. In-spite of an internal oscillator in the micro-controller, the boot-loader is configured such that it works with a 16MHz external clock oscillator.

Shields

Shields are the add-on circuits which are mounted on the Induino board, which gives extended functionality from the available functionality of the board.

               

Induino Motor Shield
Software

http://lh5.googleusercontent.com/-NKcVy4b5PKQ/TssE6l9_1jI/AAAAAAAAAYY/IsN-7sTz4aM/s400/Arduino022.png

 

Arduino IDE

The Arduino IDE is a cross-platform application written in Java, and is derived from the IDE for the Processing programming language and the Wiring project. It is designed to introduce programming to artists and other newcomers unfamiliar with software development. It includes a code editor with features such as syntax highlighting, brace matching, and automatic indentation, and is also capable of compiling and uploading programs to the board with a single click. There is typically no need to edit makefiles or run programs on the command line. The ArduinoIDE comes with a C/C++ library called "Wiring" (from the project of the same name), which makes many common input/output operations much easier. Arduino programs are written in C/C++, although users only need define two functions to make a runnable program:

·         setup() – a function run once at the start of a program that can initialize settings

·         loop() – a function called repeatedly until the board powers off

The IDE is available forWindows,MAC & Linux.

The Induino-X board description

Microcontrollers

 

http://lh5.googleusercontent.com/-1lxskJF9F2M/TssE6mW341I/AAAAAAAAAYU/VjrC_DInoA8/s320/Atmega168.jpg


ATmega 168

The Induino-X is compatible with the following micro-controllers...

Micro-controllers with their memories:

 

 

FLASH

SRAM

EEPROM

ATmega 328

32 KB

2 KB

1 KB

ATmega 168

16 KB

1 KB

512 B

ATmega 88

8 KB

512 B

256 B

2 KB of the flash memory is consumed by the bootloader. All the above controllers have 8-bit CPUs and 14 digital input/output pins, out of which 6 can be used as analog inputs and 6 as PWM outputs.

 

Power Supply

The Induino-X operates at 5V. It can be powered via the USB or with an external power supply. A 5V linear voltage regulator is employed on-board to support non-USB power supplies. The power source is selected automatically between the USB(IRF 9530) or the external supply(voltage regulator). External supply can be given via the screw terminals (7-12V DC recommended) In the screw terminals the one towards the edge of the board is negative and the other one is positive.

Hardware on-board

The following is a list of hardware on-board with their respective pin numbers on the Induino-X. Each lead of the Interface-able Hardware, which is connected to the micro-controller, is provided with a jumper to facilitate the isolation of micro-controller and the hardware when not in use.

1. RGB Tri-colour LED

Red    : Pin 5 (PWM)

Green : Pin 6 (PWM)

Blue   : Pin 3 (PWM)

2. Tactile switches

Switch 1 : Pin 7

Switch 2 : Pin 8

Switch 3 : Pin 9

3. LEDs (Colours of the LEDs may vary depending upon the version you have)

LED 1 (red)    : Pin 11 (PWM)

LED 2 (blue)   : Pin 12

LED 3 (white) : Pin 13

4. IR LED : Pin 14 (Analog 0)

5. TSOP   : Pin 15 (Analog 1)

6. LDR     : Pin 17 (Analog 3)

7. DS1307 (RTC)

SDA : Pin 18 (Analog 4)

SCL : Pin 19 (Analog 5)

LEDs

 

http://lh5.googleusercontent.com/-ZHM6gLoSDfE/TssFEC-OSVI/AAAAAAAAAZE/tWtMWfQIukQ/s200/LED.jpg

 


LED

There are three LEDs on the InduinoX (red, blue and white) connected to pins 11, 12 and 13 respectively. Every LED is connected to the micro-controller with a 470 ohm resistor in series, to limit the amount of current flowing through it.  All the LEDs have their jumpers right above them.

Tactile Switches

 

http://lh5.googleusercontent.com/-pH99ADEpft4/TssFF2_67tI/AAAAAAAAAZM/cxvtqawp1HM/s200/Push_button.jpg


Tactile Switch

There are three switches on the InduinoX, connected to pins 7, 8 and 9. The tactile switches are connected in active-low mode[They give a HIGH logic when not being pressed and a LOW logic when pressed]. The Internal Pull-up resistors of the micro-controller should be enabled to use the switches. In the  To enable the internal pull-up resistors, first set a pin input mode and write a digital HIGH to that particular pin. 

RGB LED

http://lh5.googleusercontent.com/-TArMtUTeMhA/TssFKjBEgII/AAAAAAAAAZc/AG6BChECBVg/s1600/RGB_LED.jpg


RGB LED

The RGB LED on the Induino-X is of common-cathode type. It has one common cathode and 3 anodes - one each for blue , red and green connected to pins 3, 5 and 6 respectively on the Induino-X. the Pins 3,5 & 6 are PWM pins and can be controlled from the program by giving 8-bit values. The RGB led is equivalent to one pixel of an LED TV.. ;)

 

LDR

http://lh5.googleusercontent.com/-FRlcooywOl4/TssE_0E-IfI/AAAAAAAAAY8/QZruLP1uOBY/s200/LDR.jpg


LDR

The LDR is a light dependent resistor. The resistance of the LDR is inversely proportional to the intensity of light incident on it. The LDR on the InduinoX board is to help you learn to work with Analog Inputs from Sensors. the LDR is connected to the lower half of a potential divider configuration with a 10K ohm resistor, the output of the potential divider is connected on analog pin 3. The jumper for the LDR is on the right side of the LDR.


TSOP

 

http://lh5.googleusercontent.com/-2qr-q6jMk9I/TssFNcb2YBI/AAAAAAAAAZ4/WXGGt1hizRY/s200/TSOP.jpg


TSOP

The TSOP SM0038 is an IR receiver on the InduinoX. The TSOP will help you to interface your TV remote with the InduinoX and in the Process learn the basics of Wireless Communication. The TSOP is connected to pin digital 15(Analog 1). The Jumper for the TSOP is right above it.


IR LED

http://lh5.googleusercontent.com/-fj2U3kt1s08/TssE9A3MU7I/AAAAAAAAAY0/bItHOkTc2SA/s200/IRLED.jpg

 

 

IR LED

The InduinoX has an IR LED connected to pin 14 (Analog 0). Using this, you can simulate remote control signals for various devices. [You can build universal remotes using the InduinoX!] You can also use this along with the TSOP and build a simple low-cost wireless communication system. An NPN transistor(IN2222A) switches the IR LED through a 10 ohm resistor. The jumper of the IR LED is right below it.

 

DS1307 (RTC)

http://lh5.googleusercontent.com/-Qp1fcihlOhE/TssE7IXyIlI/AAAAAAAAAYc/4ywYyCk5JYw/s200/Ds1307.jpg

 

 

DS1307

The DS1307 is a Real Time Clock IC [An IC dedicated to the task of keeping track of Time]. This IC helps learn and work with I2C Communication using the Arduino. The IC is connected to the I2C pins of the Arduino (SDA - Analog 4 & SCL - Analog 5). You can program this IC using eith Wire.H or using the DS1307 Library.

Getting started

We have a separate post on this. Check it here => InduinoX - Getting Started Guide

Overview of the Blink Program...

We hope you are reading this after having gone through the InduinoX - Getting Started Guide In the program we use pin 13 to blink LED. As blinking an LED is an output operation pin 13 is set as an output pin. The LED is then turned ON and OFF at an interval of 1000 milliseconds (or 1 second)

//A program to Blink the LED connected to the pin number 13

void setup()

{

pinMode(13,OUTPUT);

//Now we are initializing the pin13 as output pin.

}

// a function which executes again and again

void loop()

{

digitalWrite(13,HIGH);

// now we are turning the LED ON

delay(1000);

//delay in Milli seconds 1000 will produce a delay of one second

digitalWrite(13,LOW);

//Turning the LED OFF

delay(1000);

//Delay again

}

Note: Arduino is case sensitive so the upper case is not equal to the lower case. And the "//" provided here are called the comments that means the compiler ignores the text after it encounters "//".

Click Here to Download InduinoX Sample Codes & Required Libraries[Right Click & use Save As]

 

 

 

Simple Labs' InduinoX and Arduino Uno Comparison

 

What is InduinoX?

 

InduinoX is an indian made Arduino clone board. InduinoX is a clone of the popluar Arduino Duemilanove, the predecessor of the current Arduino UNO. It is functionally and mechanically very similar to the Arduino Duemilanove and will work with all types of Shields made for the Arduino Uno / Duemilanove.

 

About 3 years back, we designed our first Arduino Clone the Induino. We named it Induino to add to our pride of having made it in India. The Induino was an affordable arduino clone that was priced at 800/- [The cheapest to be sold on some scale at that time!] however the Induino evolved over a period of time to include many on-board peripherals increasing the experimentation capabilities and became the InduinoX.

 

Comparison Table

Parameter                                     

InduinoX

Arduino UNO

 

Microcontroller


Atmega328


Atmega328

USB Serial Converter

FT232RL

Atmega8u2

ICSP Programming Headers

Yes

Yes

 

Arduino As a Programmer

Yes

Yes

 

On-Board Rx Tx LEDs  

Yes

Yes

...
Zgłoś jeśli naruszono regulamin