Highlights

Showing posts with label Week 2. Show all posts

UPDATE - Week 2

By : x
This week activities mostly involved researching and experimenting with the Arduino Uno board. The team also discussed on the type of ECG monitor to be used. We stumbled on the possibility of creating our own ECG monitor. We also looked for other components that would be required for making the hardware - the bluetooth shield and battery.

The following activities were conducted to get familiar with Arduino:

  1. Researching on Arudino -->(Basic Insight by Ho Wang Lam)
  2. Setting up the development environment --> (Tutorial by Ashish Shrestha)
  3. Writing up some fun script --> (SOS signal by Xingyu Huang)

Arduino !!

By : Lam Ho Wang
Arduino official website:
“ARDUINO IS AN OPEN-SOURCE ELECTRONICS PROTOTYPING PLATFORM BASED ON FLEXIBLE, EASY-TO-USE HARDWARE AND SOFTWARE. IT'S INTENDED FOR ARTISTS, DESIGNERS, HOBBYISTS AND ANYONE INTERESTED IN CREATING INTERACTIVE OBJECTS OR ENVIRONMENTS.“

Feature:
1 It is a circuit design platform base on CC open source
2 The software is free to download, and open to everyone
3 Arduino allow to use ICSP to load bootloader on the IC chip
4 Provide USB hub and DC 5V
5 Support a lot of program such as: Adobe Flash, Max/MSP, VVVV, Pure Data, C, ect….

Why Arduino?
Arduino simplify a lot of process of working with microcontroller, the advantage of it are:
1.       Inexpensive – Arduino is relatively inexpensive compared to other circuit. The cost can be lower than 50$
2.       Cross platform – Arduino support Window, Mac OSX and Linux
3.       Extensible software

Extensible hardware-Arduino is based on Amel’s ATMEGA8 and ATMEGA168 microcontrollers. 

Making a SOS signal

By : Noctis King

Making a SOS signal

     The Arduino program is basic on C++, so it is to learn and program. I make a SOS signal program by using the LED which on the Arduino board. 



int led = 13; //set the LED connected to pin 13

void setup() {                
  pinMode(led, OUTPUT); //set the pin as output     
}

//The signal of SOS is  three short, three long, 
//and three more short flashes of light, so that is
//the LED action. Using loop to loop this process.
void loop() {
  digitalWrite(led, HIGH);   
  delay(1000);  
  digitalWrite(led, LOW);   
  delay(1000);
  digitalWrite(led, HIGH);   
  delay(1000);  
  digitalWrite(led, LOW);   
  delay(1000);
  digitalWrite(led, HIGH);   
  delay(1000);  
  digitalWrite(led, LOW);   
  delay(1000);
  digitalWrite(led, HIGH);   
  delay(3000);  
  digitalWrite(led, LOW);   
  delay(1000); 
  digitalWrite(led, HIGH);   
  delay(3000);  
  digitalWrite(led, LOW);   
  delay(1000); 
  digitalWrite(led, HIGH);   
  delay(3000);  
  digitalWrite(led, LOW);   
  delay(1000);
  digitalWrite(led, HIGH);   
  delay(500);  
  digitalWrite(led, LOW);   
  delay(1000);
  digitalWrite(led, HIGH);   
  delay(500);  
  digitalWrite(led, LOW);   
  delay(1000);
  digitalWrite(led, HIGH);   
  delay(500);  
  digitalWrite(led, LOW);   
  delay(1000);  
}

Getting Started with Arduino

By : x
This tutorial is a beginners guide to setting up Arduino development environment. We will be using Arduino Uno for this project. To follow the official getting started with Arduino tutorial click here.

  1. Getting the hardware: You can obtain the Arduino board from the official store or through Amazon, and also other vendors.
  2. Getting the software: Download the required software (development environment) to program the Arduino board. The supported operating system as of now are Windows, Linux and MacOS.
  3. Connecting to Arduino: After installing the software,  
    1. Connect the Arduino board to the computer with the provided USB cable.
    2. Now go to Tools>Board and select Arduino Uno.
    3. In the Tools>Serial Port select the associated COM port.(You can find this by unplugging the USB cable. The COM port that disappeared is the one.)
  4. Uploading your first program: Several example scripts are provided. For this tutorial we will be using a simple script that makes the LED 13 on the board blink.
    1. Go to File>Examples>1.Basics and open ‘Blink’. This will load the Blink script.
    2. Now click ‘Upload’ button on the development environment.
    3. If uploading is successful than you should see LED 13 blinking. If it failed make sure that the Arduino is connected and associated COM port is selected.

- Copyright © 2013 Group 106-11 - Date A Live - Powered by Blogger - Designed by Johanes Djogan -