Arduino Basics Intro to ArduBlocks

Similar documents
CSE 361S Intro to Systems Software Lab #2

Model WM100. Product Manual

Municode Website Instructions

Scroll down to New and another menu will appear. Select Folder and a new

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

The Reporting Tool. An Overview of HHAeXchange s Reporting Tool

Word 2007 The Ribbon, the Mini toolbar, and the Quick Access Toolbar

INSTALLING CCRQINVOICE

Use of GIS & GPS in Trail and Land Management

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

Reading the John Muir Graphic Novel with Adobe Reader XI

Installing and using QGIS

Lab 2 Temperature Measurement System

Exercise 4: Working with tabular data Exploring infant mortality in the 1900s

Introduction to Adobe Premiere Pro for Journalists:

BANNER BASICS. What is Banner? Banner Environment. My Banner. Pages. What is it? What form do you use? Steps to create a personal menu

Center School District. SMART Board Quick Reference

AVer IFP Software Release Note Aug

Towne Information Systems, Inc. Inter-Office Correspondence

Outlook Web Application (OWA) Basic Training

Properties detailed info There are a few properties in Make Barcode to set for the output of your choice.

Copy your Course: Export and Import

TRAINING GUIDE. Lucity Mobile

Using the Swiftpage Connect List Manager

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Gmail and Google Drive for Rutherford County Master Gardeners

Student Guide. Where can I print? Charges for Printing & Copying. Top up your Print Credits Online, whenever you like

These tasks can now be performed by a special program called FTP clients.

MySqlWorkbench Tutorial: Creating Related Database Tables

Quick Start Guide. Basic Concepts. DemoPad Designer - Quick Start Guide

Cookies: enable, disable or delete cookies

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

REFWORKS: STEP-BY-STEP HURST LIBRARY NORTHWEST UNIVERSITY

Lab 0: Compiling, Running, and Debugging

Quick Start Guide. Overview:

Enabling Your Personal Web Page on the SacLink

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as:

SGL Observatory Automation. ASCOM Motor Focuser Control Getting Started Guide

ME Week 5 Project 2 ilogic Part 1

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page

Procurement Contract Portal. User Guide

Technical Bulletin, Reflashing CPU

Instructions for Accessing Online Testing Resources

What s New in Banner 9 Admin Pages: Differences from Banner 8 INB Forms

Qualtrics Instructions

Using the Swiftpage Connect List Manager

Firmware Upgrade Wizard v A Technical Guide

Reading and writing data in files

Dear Milestone Customer,

AVer IFP Software Release Note Nov

HOW TO live-stream softball on a minimal budget

Skype for Business 2016

Introduction to GRIN Global Curator Tool Interface

Laboratory Exercise 3 Using the PIC18

Using the Turnpike Materials ProjectSolveSP System (Materials & ProjectSolveSP Admin)

WebEx Web Conferencing Quick Start Guide

Online Banking for Business USER GUIDE

IMAGE/OBJECT BASED CLASSIFICATION TOOL Developed by NASA DEVELOP at BLM at ISU GIS TReC, Pocatello, Idaho

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files.

FREE UP SPACE ON YOUR C: DRIVE IN "WINDOWS.."

Banner Document Management Suite Using Application Xtender Web Access

Integrating QuickBooks with TimePro

1 Getting and Extracting the Upgrader

Graduate Application Review Process Documentation

Recommended Minimum Requirements for Cisco Meeting Application Web RTC Use

Wave IP 4.5. CRMLink Desktop User Guide

CMS and e-commerce Solutions. version 1.0. Please, visit us at: or contact directly by

Quick Tips

Quick Reference Guide User Permissions & Roles - Buyers. Table of Contents

Design Rules for PCB Layout Using Altium Designer

The following screens show some of the extra features provided by the Extended Order Entry screen:

Frequently Asked Questions

HW4 Software version 3. Device Manager and Data Logging LOG-RC Series Data Loggers

Welcome to Palm Beach State College Boca Raton Campus. Use the buttons on the left to assist you in using the Multimedia Classroom Equipment.

Using MeetingSquared as an Administrator

The Login Page Designer

CMS and e-commerce Solutions. version 1.0. Please, visit us at: or contact directly by

Using MeetingSquared on your ipad or iphone

Working With Audacity

SmartPACS/AIS Video Training Curriculum

Knowledgeware Rule-based Clash

Access 2000 Queries Tips & Techniques

BI Publisher TEMPLATE Tutorial

Dashboard Extension for Enterprise Architect

6 Ways to Streamline Your Tasks in Outlook

Marian Online 2 Instructor Manual 12

Tips For Customising Configuration Wizards

1 Getting and Extracting the Upgrader

How to Start a New Prezi & Edit It

Stealing passwords via browser refresh

Adverse Action Letters

PowerTeacher Classroom Management Tool Quick Reference Card

Xerox WorkCentre 7120/7125 Series User Instructions

Lesson 4 Advanced Transforms

OUTLOOK 2016 TIPS. Outlook 2016 Tips

Geometer s Sketchpad can do the same thing but still has the power to manipulate the unit piece after you have completed your tessellated plane.

INSERTING MEDIA AND OBJECTS

1 Getting and Extracting the Upgrader

OPERATING INSTRUCTIONS 8 BUTTON TELEPHONE

TechNotes. Revision 5/23/2011. TS7 Features

Transcription:

Arduin Basics Intr t ArduBlcks Materials: Arduin ArduBlcks Sftware Arduin IDE Laptp Breadbard Wires Resistrs LEDs Ptentimeter Temprary Push Buttn

Get the Sftware Dwnlad Arduin IDE https://www.arduin.cc/en/main/sftware Dwnlad ArduBlcks t Arduin IDE http://surcefrge.net/prjects/ardublck/?surce=typ_redirect Hw t Cnnect ArduBlcks t Arduin IDE 1.Dwnlad ardublck-all.jar ArduBlck 2. In Arduin IDE, pen menu Arduin -> Preferences 3. Find Sketchbk lcatin: In Mac, it s by default Dcuments/Arduin under user s hme directry In Linux, it s by default sketchbk under user s hme directry In Windws, it s by default Dcuments\Arduin under user s hme directry 4. Cpy ardublck-all.jar t tls/ardublcktl/tl/ardublck-all.jar under Sketchbk lcatin,assume the user is abu, In Mac, /Users/abu/Dcuments/Arduin/tls/ArduBlckTl/tl/ardublck-all.jar In Linux, /hme/abu/sketchbk/tls/ardublcktl/tl/ardublck-all.jar In Windws, C:\Users\abu\Dcuments\Arduin\tls\ArduBlckTl\tl\ardublckall.jar * Be careful, the name f flder ArduBlckTl under tls flder is case sensitive.

5. Start the Arduin IDE and find ArduBlck under the Tl menu Materials Arduin UNO Breadbard

Circuits Resistrs Here s an example f a 4.7kΩ resistr with fur clr bands:

Ptentimeters ArduBlcks All blcks within a lp d functin, and nly ne lp per cde. Digital functins have runded edges, and Analg functins have pints (backwards chevrns). Duble click n a blck t drag it. Drag blcks ver Categries and release t remve frm screen. When blcks are clse, click n ne t make Sure Blcks snap tgether. Categries Explained Prject 1 Turn n an LED What d we want: What we want t d is t tell the Arduin that a specific pin n ur right-side rw f the Arduin bard is an utput. We want that utput t be fully pen. It des nt matter if this pin is Digital (ON r OFF, TRUE r FALSE, 1 r 0) r Analg (smth reslutin f 5 vlts, spread between integers 0 and 255). Bth will allw us t turn the LED n as an utput.

Steps: 1. Start ut with lp functin, fund in the tp cntrl categry. 2. Set Digital Pin, which writes a binary value (HIGH r LOW, 1 r 0) t a pin #(9). OR 3. Set Analg Pin, which writes a value (255, r 100% ON) t a pin # (9). Prject 2 Blink LED Hw d we make an LED turn n and ff fr a given time? We need a way t Turn the LED n, pause fr a mment f time, turn the LED ff, pause fr anther mment in time, and then repeat the cycle. Since we are putting this cde in a lp functin, the repeating part is dne fr us by the Arduin.

Steps: 1. Rebuild the cde blck frm Prject 1 2. Search fr a time delay blck. This is fund within the Generic Hardware categry. (*1000 millisecnds = 1 secnd). 3. We want t turn the light ff. Right click n yur first Set Analg/Set Digital pin. 4. Play arund with delay times! The way the cde is written, the light will blink n and ff fr as lng as we keep it pwered.

Prject 3 LED Dimmer with Ptentimeter We want t turn n an LED with a pin frm the Arduin. Then, we want t read the resistance n the ptentimeter with an analg input pin (bttm left side f Arduin). Frm here, we want t define the LED s brightness as the value f the ptentimeter. Steps: 1. Start ff with ur d lp. 2. Add the AnalgWrite functin. Define a pin # as an utput, and write a value t the utput. 3. The utput is autmatically an interger. Let s delete the interger and add ur wn value. This will be the value f the ptentimeter. 4. We want t read the ptentimeter. Fill in AnalgRead blck as the assigned value.. Did it wrk?. The Arduin has an input analgread reslutin f 0-1023, and an analgwrite reslutin f nly 0-255. The ptentimeter has a reslutin that s 4 times greater than what can be defined in the LED, s the LED runs thrugh fur cycles

f a dimmer. If we culd nly smehw change the reslutin f the ptentimeter frm 0 1023 t 0-255 5. Lk dwn at the bttm lp, and ntice the map blck. This des just what we need; change the pt reslutin dwn t 0 255, s that it matches the LED utput. Yu ll find that map blck in the bttm f the categry Math Operatrs. Prject 4 Mre with the ptentimeter Dimming might nt be fr everyne. What if we want t cntrl ur very wn light shw? What we are ging t d is use the ptentimeter t cntrl hw fast the light turns n and ff. This invlves setting up a blinking light, just as we accmplished earlier. Instead f the light blinking fr 1 secnd, let s set it t blink at the rate f ur ptentimeter! This will use a similar circuit as the last prject. Steps: 1. Start with lp. 2. Define and Write analg (r digital) utput pin t an ON value. 3. Add a delay f time 4. Redefine the pin utput t be OFF.

5. Remve time integers in delay blcks (1000). 6. Replace with ur Map functin f the ptentimeter s Analg input value.