A Hacker s Introduction to the Nokia N900

Similar documents
Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

Basic Electronic Toolkit for under $40

Alessandra de Vitis. Arduino

Lab 8. Communications between Arduino and Android via Bluetooth

Create your own wireless motion sensor with

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

Thumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011

This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno.

Laboratory of Sensors Engineering Sciences 9 CFU

User Guide v1.0. v1.0 Oct 1, This guide is only available in English Ce manuel est seulement disponible en Anglais

Sten-SLATE ESP Kit. Description and Programming

MigaOne-Arduino Tutorial: Position/Limit Sensing and Cycling with the Arduino Platform

Si4703 FM Radio Receiver Hookup Guide

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Wireless Bluetooth USB Dongle User s Guide

Lab 2.2 Ohm s Law and Introduction to Arduinos

USB Type A Female Breakout Hookup Guide

Lab 1: Introductory Project to Breadware

QUICK START GUIDE. LGmobilephones.com/Tritan

HughesFlex Cloud PBX Quick Start Guide

Wireless Bluetooth USB Dongle User s Guide

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

ZX Distance and Gesture Sensor SMD Hookup Guide

Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) User Manual

Halloween Pumpkinusing. Wednesday, October 17, 12

Using the BlueSMiRF. Introduction. Materials and Tools

LinkIt ONE. Introduction. Specifications

Digital Pins and Constants

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail

T-Scratch Basics. Coding with IDE (Software)

Arduino Programming. Arduino UNO & Innoesys Educational Shield

Electronic Brick Starter Kit

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

Introduction to Arduino

Web Site: Forums: forums.parallax.com Sales: Technical:

Efficient Mechanisms using ARDUINO to Control Robots

SMiRF v1 Serial Miniature RF Link 8/25/2004

4Serial SIK BINDER //77

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

ARDUINO MEGA ADK REV3 Code: A000069

VKey Voltage Keypad Hookup Guide

Prototyping & Engineering Electronics Kits Basic Kit Guide

Serial Communication

An overview of mobile and embedded platforms

Programming Manual of MYOSA

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers IR Rangefinder Sensor LED Resistors Breadboard Multimeter (if needed)

Adafruit Optical Fingerprint Sensor

HUZZAH ESP8266 WiFi Modem Setup 2017 Chris Schneider (SHIFT838) Version 1.0

Bill of Materials: Turn Off the Lights Reminder PART NO

Chapter 1 Preparing Your ipads for Q-interactive

Arduino IDE The Developer Kit library The JeeLib library for RFM12 transceivers

Quickstart CHAPTER 1. Powering Up. Installing the Software

Layad Circuits Arduino Basic Kit B. Content Summary

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

AT42QT101X Capacitive Touch Breakout Hookup Guide

Lecture 7. Processing Development Environment (or PDE)

Introduction Video Camera Support Option TREQ Platform Datasheet. January Rev. 2 A-317 Video Getting Started Guide 1 / 6

RS422/RS485 Shield. Application Note: Multiple RS485 busses. 1 Introduction

QUICK START GUIDE. U.S. Cellular Customer Care:

How to use Arduino Uno

Arduino ADK Rev.3 Board A000069

BV4615. Dual Interface Zero Keypad. Product specification. Dec 2009 V0.a. ByVac Page 1 of 11

Thursday, September 15, electronic components

RedBoard Hookup Guide

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

QUICK START GUIDE NTS HOSTED PBX CALL MANAGER. Welcome. Getting Oriented

acknowledgments...xiii foreword...xiv

A-307. Mobile Data Terminal. Android OS Platform Datasheet

An open-source hardware+software project. For design files and additional documentation, please visit:

Quick Start Guide. Hs CUSTOMIZABLE. lgusa.com/apex HOME SCREEN THEMES QWERTY SOCIAL NETWORKING PHONE SETUP KEYBOARD WIRELESS SETTINGS NAVIGATION

TA0013 ARDUINO RFID UNO STARTER KIT

NEO 4.5. User Manual

keyestudio Keyestudio MEGA 2560 R3 Board

Arduino Prof. Dr. Magdy M. Abdelhameed

These instructions were adapted from Arduino: Installing Standard Firmata which is licensed under Attribution- NonCommercial-ShareAlike 2.

IDUINO for maker s life. User Manual. For IDUINO development Board.

USR5500 Wireless Bluetooth Keyboard User Guide

Test Procedure for the NCV7748GEVB Evaluation Board

Internet and Phone in One Quick Start Guide

ARDUINO MEGA 2560 REV3 Code: A000067

Schedule. Sanford Bernhardt, Sangster, Kumfer, Michalaka. 3:10-5:00 Workshop: Build a speedometer 5:15-7:30 Dinner and Symposium: Group 2

Goal: We want to build an autonomous vehicle (robot)

Fall Harris & Harris

Micro:bit - an Educational & Creative Tool for Kids

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

Help Guide. Getting started

BLE Wireless Gamepad V2 SKU: DFR0304

Device: PLT This document Version: 3.0. For hardware Version: 4. For firmware Version: Date: April 2014

EXPERIMENT 7 Please visit to learn all features of arduino before you start the experiments

GYNEO6MV2 GPS Module with Arduino

<Table of content> <Parts and description> <Circuit board Guide> <Pins> <Basics of Coding> <Intro to Arduino> <Intro> <Downloading Arduino IDO>

LW2730 & LW2930 LIVE SD+ Series - Frequently Asked Questions

Get. Started. All you need to know to get going.

Robotics II. Module 4: Bluetooth Communication

Serial.begin ( ); Serial.println( ); analogread ( ); map ( );

IR Communication a learn.sparkfun.com tutorial

User Manual. ESP8266 Wifi Shield

How Computer Mice Work

Transcription:

A Hacker s Introduction to the Nokia N900

Introduction Welcome to the Hacker s Introduction to the Nokia N900. This guide is intended to help you begin connecting the N900 s builtin capabilities to information and actions in the physical world. The following pages contain a step-by-step tutorial for connecting an Arduino to a BlueSMiRF Bluetooth Modem, and for configuring the modem to communicate with your computer and with the Nokia N900. With this connection established, you can receive and send serial data over Bluetooth. You can then use languages such as Python or Flash on the phone to respond to or affect physical devices connected to your Arduino. This guide is primarily intended for people with some experience with Arduino and/or with programming in Linux environments. Push N900 SDK > Page 2 > Intro

Introduction to the Phone The Nokia N900 is the newest generation of Nokia s Internet Tablets. The N900 is running on the new Maemo 5.0 software, and it includes cellular telephony in addition to the many features included in previous generations of tablets. Sensors and input devices include a tactile QWERTY keyboard, resistive touch screen, 5-megapixel camera, GPS, microphone, accelerometer, light sensor, proximity sensor, and IR port. Displays and output devices include a 3.5- inch 800X480 screen, speakers, vibrating motor, TV out, and FM transmitter. The N900 supports connectivity over cell phone, wireless network, Bluetooth, and USB. Because the Maemo operating system is based on Linux, you can use standard communication protocols such as Bluetooth and standard languages such as Python or Flash to develop your interfaces and applications. Maemo 5.0 includes a number of libraries and services, such as GStreamer for managing media playback and D-Bus for sending messages between applications, and you can import third party applications and libraries to create exactly the results you want. For more information on the N900 visit http://maemo.nokia.com/n900/ For more information on developing in the Maemo environment visit http://www.maemo.org Push N900 SDK > Page 3 > Phone

Introduction to Arduino Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It is intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. The microcontroller on the board is programmed using the Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software running on a computer, such as Flash, Processing, or MaxMSP, to name but a few. For more information visit http://arduino.cc/ Push N900 SDK > Page 4 > Arduino

Getting started with Arduino Installing Arduino This tutorial is aimed at people with a basic knowledge of Arduino. If you are new to it, examples and documentation can be found in the Learning section of the Arduino site, here http://arduino.cc/en/ Tutorial/HomePage. Arduino Board The board pictured here is an Arduino Diecimila, but there are a number of boards available. Visit www.arduino.cc for where to find them in your area, or, if you re feeling bold, design your own (all the plans are available to download online). Programming Environment The current version of the Arduino software is 0017. You can download it for free from the Arduino website. Installing the Arduino software is quite straightforward, but the method will differ depending on your operating system. Go to http://arduino.cc/en/guide/homepage for up to date installation instructions. Push N900 SDK > Page 6 > Starting

Connecting BlueSMIRF to Arduino What you will need. i. Components Arduino Duemilanove USB cable BlueSMiRF Bluetooth Modem (available in the US from www.sparkfun.com and in the UK from www. coolcomponents.co.uk) Bluetooth Module ii. Tools Soldering iron iii. Equipment Breadboard Jump wires Header pins Solder Solder Wire USB Cable Arduino Jumper Cables Pin Extenders Breadboard Soldering Iron Push N900 SDK > Page 5 > Tools

Connecting BlueSMiRF to Arduino First you must upload your sketch to the Arduino. The sketch opposite will will repeatedy send a brief message ( I m alive! ) over Bluetooth to any listening application. Note that Bluetooth requires a Serial baud rate of 115200. After you upload your software, you need to physically connect the BlueSMiRF module to the Arduino board. void setup() { Serial.begin(115200); // Start serial communication at 115200 bps } void loop() { Serial.print( I m alive! ); // Send this message } delay(1000); // Wait 1 second for next reading } Steps 1-3 Snap off a row of 6 pin headers and solder them to the BlueSMiRF. Breadboard Breadboard Push N900 SDK > Page 7 > Soldering

Connecting BlueSMiRF to Arduino Step 5 Step 4 Press the BlueSMiRF into the breadboard, with each pin in a separate row. Then connect the following wires to your Arduino using the jump wires. CST 1 RTS 0 VCC 5v GND GND TX RX (digital pin 0) RX TX (digital pin 1) Bear in mind that while RX and TX are connected to the Bluetooth module you cannot upload a new sketch. Step 6 This is your basic hardware setup for communicating via Bluetooth. You can communicate directly from your computer once you are paired with the device. Push N900 SDK > Page 8 > Breadboard

Connecting the Bluetooth to your Computer Mac Step.4 Step.1 a) Open Bluetooth Preferences from System Preferences or the Menu Bar. Step.2 Click + to add a new device. Step.3 Click continue. Select Any device, click continue. A list of Bluetooth devices in range will be populated. Search for your devices serial number, which should be on a sticker on your device. Step.5 This should refresh after a time to FireFly-XXXX, where XXXX is the last last four digits of the serial number. Select and click continue. Step.7 Step.6 Once information has been gathered about the device click continue. You ll be prompted for your device passkey. The (new) blue-antenna version s passkey is 1234 and the (old) white-antenna version s passkey is default. Step.8 Follow the prompts and your device should now be paired with your computer. Push N900 SDK > Page 9 > Mac

Connecting the Bluetooth to Your Computer PC Step.1 Open Bluetooth Preferences from System Preferences or the Menu Bar. Step.2 Click + to add a new device. Step.3 Click continue. Step.4 Select Any device, click continue. Step.5 A list of Bluetooth devices will be populated. Search for your device s serial number, which should be on a sticker on your device. This should refresh after a time to FireFly-XXXX, where XXXX is the last last four digits of the serial number. Select and click continue. Step.6 Once information has been gathered about the device click continue. Step.7 You ll be prompted for your device passkey. The (new) blue-antenna version s passkey is 1234 and the (old) white-antenna version s passkey is default. Push N900 SDK > Page 10 > Windows

Connecting the Bluetooth to Your Phone Step.4 Step.1 From the the desktop, click the Menu tab in the top left corner. Step.2 In the menu click on Settings. Step.3 Scroll down and click on Bluetooth. If you have never used Bluetooth before on the phone, you will need to click Bluetooth on and Visible, then click Devices to begin pairing. Step.6 There should be a blank list, click the New button next to it. Step.6 Wait for a moment while the N900 searches for Bluetooth devices and update device names. Yours should be FireFly-XXXX, where XXXX is the last 4 digits of your Bluetooth devices address. Select your device, then continue. Step.7 Enter the Passcode 1234 and press pair. Step.8 You should receive a confirmation and your device will be listed. You should now be able to receive incoming Serial data in a properly configured application. Push N900 SDK > Page 11 > Phone