MilCandy. Release date: 9/20/2015. Version: 1.0. Wiki:

Similar documents
Grove - Serial MP3 Player

Grove - Solid State Relay

Grove - 2-Coil Latching Relay

Grove - Thumb Joystick

Grove - 80cm Infrared Proximity Sensor User Manual

Grove - BLE. Release date: 9/20/2015. Version: 1.0. Wiki:

Grove - Single Axis Analog Gyro

Grove - Ultrasonic Ranger

Intel Galileo gen 2 Board

Grove - I2C Motor Driver

Grove - 3-Axis Digital Compass User Manual

Grove - Ear-clip Heart Rate Sensor

One Grove Base Shield board this allows you to connect various Grove units (below) to your Seeeduino board; Nine Grove Grove units, consisting of:

Insert the Bees in the proper direction. Use the Bee outline on the silk-screen. Voltage VDC

Grove - OLED Display 1.12''

Beaglebone green User Manual

Grove - OLED Display 0.96''

RB-See-217. Seeedstudio Grove XBee Carrier

Grove - Moisture Sensor

Seeeduino LoRaWAN. Description

keyestudio Keyestudio MEGA 2560 R3 Board

mi:node User Manual Element14 element14.com/minode 1 User Manual V3.1

Grove - RTC User Manual

Grove - 3-Axis Digital Accelerometer(±16g)

MAKE SURE TO TURN OFF YOUR TRS-80 BEFORE ATTACHING NEWKEY/80 KEYBOARD RIBBON CABLE AND POWER CABLE.

International Journal of Artificial Intelligence and Applications (IJAIA), Vol.9, No.3, May Bashir Ahmad

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Alessandra de Vitis. Arduino

ARDUINO MEGA ADK REV3 Code: A000069

ARDUINO BOARD LINE UP

Arduino ADK Rev.3 Board A000069

Micro:bit - an Educational & Creative Tool for Kids

BrewTroller Phoenix. Owners Manual. Updated - March 14, 2016 BREWTROLLER PHOENIX 1

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

Mi:Node Kit User Manual

Basic Electronic Toolkit for under $40

Hardware Overview and Features

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History.

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

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

Arduino Dock 2. The Hardware

THE COMPLETE ALL IN ONE ROBOT 360 NANO BOT

Home Automation using IoT

Introduction To Arduino

UPS PIco. for use with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

ARDUINO LEONARDO ETH Code: A000022

Grove - Moisture Sensor

ARDUINO MEGA 2560 REV3 Code: A000067

Product description for ED1600 generic Sigfox Module

CAM-KIT6. User Manual. Connects2Vision. Mirror with DVR & Rear Camera PRODUCT FEATURES:

ARDUINO UNO REV3 Code: A000066

IS-S0108 Single Switch Solution

User Manual Revision 1.02

LilyPad ProtoSnap Plus Hookup Guide

Manual. Specifications. Contents. Options

Quad-Relay Delay Switch (QRDS) User Manual (v1.0)

AUTOMAT. Dream, Make, Play.

Arduino Internals. Dale Wheat. Apress

UPS PIco. for use with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

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

ARDUINO MINI 05 Code: A000087

Laboratory of Sensors Engineering Sciences 9 CFU

Autonomous, Surveillance Fire Extinguisher Robotic Vehicle with Obstacle Detection and Bypass using Arduino Microcontroller

Beetle SKU:DFR0282. Contents. Introduction

uarm Conveyor User Manual V1.0.0

ADVANCED TRAINING INSTITUTE, HYDERABAD

ARDUINO PRIMO. Code: A000135

Personal Computer-less (PC-less) Microcontroller Training Kit

uarm Slider User Manual V1.0.0

I. User Guide. 1. Structure. HD Lens. Speaker USB/TV port. 360 rotating clip Video/Confirm. Photo. OK/Menu. Audio. Reset. Up/Infrared HD 2 LCD.

MANUAL PIN CODE KEYPAD February 2013

Arduino Smart Robot Car Kit User Guide

Product Datasheet: DWM1001-DEV DWM1001 Module Development Board. Key Features and Benefits

Grove - Magnetic Switch

ARDUINO LEONARDO WITH HEADERS Code: A000057

Modern Robotics Inc. Sensor Documentation

Microcontrollers for Ham Radio

TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266

Mercury System SB310

BILLING AND CONTROLLING OF INDIVIDUAL LOADS OF A COMPOSITE SYSTEM USING SIMPLE ANDROID APPLICATION

RONIN THUMB CONTROLLER

Robotics Adventure Book Scouter manual STEM 1

MEGATRONICS V3.0 QUICK START GUIDE

Laboratory 1 Introduction to the Arduino boards

LPC2148 DEV BOARD. User Manual.

FIFOTRACK MOTORCYCLE/VEHICLE GPS TRACKER

USB-to-I2C Basic. Hardware User s Manual.

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

SMS Power Controller. User Documentation. V Feb

Manual 601: : USB/RS232. Specifications. Contents. Options

Installation and operation manual ReciFlow Gas

ARDUINO MICRO WITHOUT HEADERS Code: A000093

Getting to know the Arduino IDE

USB PowerControl 0042-USBPC-DSBT / USBPCNE-DSBT

Technaxx * User Manual Power Bank 6000mAh with FullHD Camera TX-92

USBTinyMkII User manual

BIG8051. Development system. User manual

Rephone Core 2G-AtmelSAMD21

Remote Temperature Controller User s Guide

Transcription:

MilCandy Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/milcandy Bazaar: http://www.seeedstudio.com/depot/milcandy-the-easiest-grove-controller-p- 1104.html 1

Document Revision History Revision Date Author Description 1.0 Sep 21, 2015 Victor.He Create file 2

Contents Document Revision History 2 1. Introduction 2 2. Features 3 3. Specifications 4 4. Application ideas 5 5. Schematic and Hardware 6 6. Firmware-IFTTT 7 7. Download Your Own Arduino Sketch 11 8. More Application 12 9. Support 13 10. Version Tracker 14 11. Resources 15 12. Licensing 16 13. External Links 17 3

Disclaimer For physical injuries and possessions loss caused by those reasons which are not related to product quality, such as operating without following manual guide, natural disasters or force majeure, we take no responsibility for that. Under the supervision of Seeed Technology Inc., this manual has been compiled and published which covered the latest product description and specification. The content of this manual is subject to change without notice. Copyright The design of this product (including software) and its accessories is under tutelage of laws. Any action to violate relevant right of our product will be penalized through law. Please consciously observe relevant local laws in the use of this product. 1

1. Introduction The MilCandy is a tiny Arduino compatible platform based on AVR microcontroller Atmega168. It could be the easiest controller to manipulate your physical world. It.s an all-in-one design with cost and convenience in mind. It enables accomplishing simple AI tasks by plug-in sensor, actuator, and setting the triggering pattern via a few button clicks. Its Arduino based open source firmware could be updated for more complex logic. 2

2. Features Ships with Set-Trigger Firmware Arduino compatible Grove interface for sensors and actuators On-board LED indicator and light sensor All-in-one design with LiPo battery and enclosure Cost efficient Tiny and light 3

3. Specifications Weight Size Battery Capacity Current 17g 49.33 x 27.3 x 14.2(cm) 300 mah <25 ma 4

4. Application ideas Smart Home/Farming. Environment Detection. Toy development platform/arduino compatible projects. Cautions: Depending On Your Application Misuse May Cause serious Danger. 5

5. Schematic and Hardware Hardware included: 1. Atmega168 Processor and UART connector that can connect to UartSBee directly. MilCandy has Preinstalled the firmware "IFTTT", which helps you set your own logic via a few button clicks. Besides, you can also upload you own Arduino sketch to MilCandy using a UartSBee. 2. Power and Charging Circuit. There is a 300 mah battery included in the MilCandy, MilCandy use IC CN3083 to charge this battery. A Red LED will be on if CN3083 is charging battery, while the green LED will be on if the charging finished. 3. Two Grove connectors. MilCandy can be connected to seeedstudio Groves with the 2 connectors. With these various Groves, MilCandy can be easy to measure or communicate with others. If using the IFTTT firmware, the IF port acts as input while the THEN as output. Also, you can re-make your own modules Grove-compatible easily. 4. Light sensor/ Button / Power detect circuits. An on-board light sensor helps you make your project light-sensitive without extra Components. Also a Power detect circuits can be used to judge the battery state. 6

6. Firmware-IFTTT MilCandy ships with pre-installed firmware IFTTT. It makes Milcandy perfect for you if you hate anything about programming. You can easily set your own logic project like: If there is not enough water for my rose in the flowerpot, then the LED should be on to remind me (or even open a valve to water the flower). In the IFTTT logic, MilCandy always monitor the Sig(Pin4) of the IF port, and compares with the values defined when you clicks the button. Logic among the Sig/ Output/ Work value/ Rest value can be seen on the above picture. Rest value and Work value are stored in the EEPROM of Atmega168 and are used to initialize the logic every time MilCandy powers up. To set up your logic, you just need to follow the steps below: 1. Connect the sensor or actuator you want to use in your project. You can select the Grove modules you want to use in your project at SeeedStudio. First you need an Input Grove module to measure the parameter you want. Note that only an analog or single digital output Grove can be used as a MilCandy input. Because actually the IFTTT firmware always monitor the pin 4 of Grove input to decide whether the Work State comes or not. You can select the following Grove Elements as MilCandy Input in SeeedStudio (the IF port) when using the IFTTT firmware: Module name Grove - 80cm Infrared Proximity Sensor Grove - Button Parameter to measure Distance On/Off 7

Grove - Electricity Sensor Grove - Gas Sensor(MQ2&MQ5) Grove - Light Sensor Grove - Magnetic Switch Grove - Moisture Sensor Grove - PIR Motion Sensor Grove - Rotary Angle Sensor Grove - Tilt Switch Grove - Sound Sensor Grove - Temperature Sensor Grove - Touch Sensor Grove - Water Sensor Electricity Gas Quality Light Magnetic Moisture PIR Motion Rotary Angle Object Position Sound Temperature Human touch Water If you want to use your own sensors that is not Grove-compatible, it is easy to re-make it. Just connect your signal output to pin4 of Grove connector and then the VCC and GND. Note that only sensors that output an analog or single digital can be used in the IFTTT firmware Now You can select the following Grove Elements as MilCandy actuator (the THEN port) when using the IFTTT firmware: Module name Grove - Buzzer Grove - LED Grove - Vibrator Grove - Relay Action when triggered Buzzer enabled LED On Vibrate Switch On/Off other circuits In my project, I want MilCandy following logic to help me: If the moisture in the flowerpot is too low (moisture below some values), then the led should be on to remind me; if the moisture is no longer below the values after i water the flower, the led should be off. So I would need the Grove-moisture-sensor and the Grove-led. Connect the moisture sensor to the IF port and the LED to THEN port. 2. Teach MilCandy your logic. 8

Power up the MilCandy, the led would blink green to show the heartbeat every 3 seconds. Now, You need to defined the Work state and Rest state of MilCandy. In Work state, the output ( THEN port) would outputs logic HIGH; and in Rest state, the output will be logic LOW. Define the Work state by Double Click the button, while define the Rest state by Single Click the button. The status led would blink red once or twice to show you the setting has been set correctly. In my project, I need to first define the Rest state, which means the THEN port outputs logic LOW to switch off the connected module( Grove-LED). And Then define the Work state, which means the THEN port outputs logic HIGH, to enable the Grove-LED. That is: If there's enough moisture -> Rest state -> Unable the Grove-LED If there's not enough moisture -> Work state -> Enable the Grove-LED Ok, Now I am setting my logic: First, Put the moisture sensor into soil that you defined as I think the moisture in this kind of soil is enough for my rose, and single click the button, to define the Rest state. The status led would blink red once to show you the setting has been completed correctly. Second, Put the moisture sensor into soil that you defined as I think the moisture in this kind of soil is not enough, MilCandy needs to remind me to irrigate my rose, to define the Work state, the red led would blink twice to show you the setting has been completed correctly. 3. Ready to work Reset your MilCandy and your MilCandy is ready to work now. 9

When the moisture sensor in the soil measures lower moisture than the state you defined as the Work state, then the connected Grove-LED will remind you hey, I am thirty, after water the flower the Grove- LED switch off again. 10

7. Download Your Own Arduino Sketch MilCandy is also Arduino compatible, you can download your Arduino Sketch with the seeedstudio UartSBee. Note that you need to select the Atmega168 when uploading the firmware. 11

8. More Application A Temeratuce-Contrlled USB Fan at Instructables And YouTube 12

9. Support If you have questions or other better design ideas, you can go to our forum or wish to discuss. 13

10. Version Tracker Revision Descriptions Release Date MilCandyv0.92 Initial public release 2012/3/9 14

11. Resources MilCandy Schematic MilCandy firmware v0.92b 15

12. Licensing This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details. 16

13. External Links Links to external webpages which provide more application ideas, documents/datasheet or software libraries 17