DFRobot 4Drawing User Manual

Interactive electronics frame

Advertisement

Quick Links

[
]
4Drawing - Interactive Electronics Frame User
Manual
LeoYan @ DFRobot
6/18/2014
DFRobot All Rights Reserved CC BY-NC 3.0 CN

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 4Drawing and is the answer not in the manual?

Questions and answers

Summary of Contents for DFRobot 4Drawing

  • Page 1 4Drawing - Interactive Electronics Frame User Manual LeoYan @ DFRobot 6/18/2014 DFRobot All Rights Reserved CC BY-NC 3.0 CN...
  • Page 2: Table Of Contents

    Table of Contents Preliminary Assembling ......................3 Preparation ........................3 Making the Frame ......................4 Hanging the Frame ......................5 Choosing hanging position: ....................5 Electronic Setup ......................... 6 Installing SMT Modules ..................... 7 Further Steps ........................... 11 Audio Interactions ......................11 Ambient Light Interaction....................
  • Page 3: Preliminary Assembling

    Preliminary Assembling 1 Preparation 4DrawingKit Parts List You’ll be able to get this kit via DFRobot Online Store or resellers. In this kit you’ll find: Parts/Compon Introduction Image ents “Palette” Based Atmega32U4, Controller compatible with Arduino LED Module LED: Redx2, Greenx2, Orangex2, Bluex2, Whitex2;...
  • Page 4: Making The Frame

    Drawing  Frame Dimension:352x274x30mm  Canvas Dimension:A4 (210 x 297mm)or 12 x 9inch(228.6 x 304.8mm)  Frame Window Dimension:287 x 200mm(smaller than A4)  Frame Material:Paperboard, corrugated paperboard  Power Supply:3xAA or micro-USB  Battery Life:30 days with AA batteries(In standby mode, all modules will shut down automatically except zone W.)...
  • Page 5: Hanging The Frame

    3) Making the Front Frame: remove the dentate cover, separate carefully with knife or tear apart Now you should have a paper frame ready! 3 Hanging the Frame Choosing hanging position: 4drawing can be hanged vertically or laterally. Locate the nails with hollow area in the back of frame box, as shown in figure DFRobotAll Rights Reserved CC BY-NC 3.0 CN...
  • Page 6: Electronic Setup

    Hammer the Traceless Wall Hook and hang the frame onto wall. Now you have a way of showing off your paintings! 4 Electronic Setup Wiring the Modules 1) Insert batteries into battery box 2) Connect battery box with micro USB port on Palette 3)...
  • Page 7: Installing Smt Modules

    5 Installing LED Modules 1.1 Installing LEDs 1) Fix the aluminum foil, if too large use scissors to cut to paper size (aluminum foil for circuit "GND") 2) Fixing painting to Frame Holder: It support A4 and 9 "x 12" two paper specifications of the installation;...
  • Page 8 4) Stick the LEDs with Aluminum Foil Sticker onto the foil 1.2 Connecting LED Modules DFRobotAll Rights Reserved CC BY-NC 3.0 CN P a g e...
  • Page 9 1) Switch to “MAKE” on the Palette Controller, place the Frame Holder into frame box 2) Connect “-” in Zone Y with GND module, and place them in properly. This will connects the foil with “GND” on the Palette controller. 3)...
  • Page 10 4) Put wires in order and reinforce with sticky tape. 5) After testing, switch to “RUN” on Palette controller. Now you will have a blinking drawing! DFRobotAll Rights Reserved CC BY-NC 3.0 CN P a g e | 10...
  • Page 11: Further Steps

    Further Steps 4-Drawing kit is more than a frame: it can be a platform on which you can unleash your creativity with adding more interaction modules. This chapter demonstrates some examples with audio and light interactions. 1 Audio Interactions 1.1 Preparation Image Module Description...
  • Page 12: Ambient Light Interaction

    3) Fix the speaker and DFPlayer Mini at the bottom of frame box with sticky stape. Note: Random play of audio files in format (mp3,WAV,etc) are supported in Palette Controller. 2 Ambient Light Interaction Preparation Image Module Description DFRobotAll Rights Reserved CC BY-NC 3.0 CN P a g e | 12...
  • Page 13 Analog This sensor can capture even the slightest Ambient change of light. Light Sensor Wiring 1) According to the wiring map below, connect the ambient light sensor to A0 in Zone S on the Palette Controller. 2) Place the ambient light sensor on the edge of frame, where light comes in. DFRobotAll Rights Reserved CC BY-NC 3.0 CN P a g e...
  • Page 14: Controlling & Programing

    Note:When the analog input A0 is smaller than 1/100 of its peak value, the Palette Controller will automatically switch to sleep mode, thus saving energy.Controlling & Programing 4Drawing supports three modes of controlling: Mode Description Scenario Difficulty Plug and Play...
  • Page 15: Graphical Programming

    Install ArduBlock:download ZIP file from 4Drawing product page and get ardublock-all.jar. Install it by http://blog.ardublock.com/engetting-started-ardublockzhardublock/ Install 4Drawing Library : get library from ZIP file or get latest version from https://github.com/DFRobot/4Drawing Copy libray to sketchbook location of Arduino IDE Note:ArduBlock and library file location...
  • Page 16 Graphical Programming Module Description:Open Ardublock, find“ findock” findockscriptioningTool\ there are several modules as explained below Module Description Parameter  condition : the 4Drawing Wake parameter, the modules condition that wakes need to be placed in system, for example high main...
  • Page 17  Trigger : Digital input Pin Name:Trigger binding interface port, can be taken as 9,10, A5Status:input state value -high pulse low pulse  Trigger : analog input Pin Name:Trigger binding interface port, can be taken as A0, A1, A2, A3, A4, A5 ...
  • Page 18 front of the four numbers can be, for example the 0001dog.mp3 input 0001 and 0101.wav input 0101  Pin Name : The Trigger Actuator: Digital output interface binding port, can be taken as 5,6,9,10,11, A0, A1, A2, A3, A4, A5 ...
  • Page 19 Uploading Sketch Open Arduino IDE, choose board as:LilyPadArduoino USB Switch the Palette board to“oard” Connect PC with Palette board via micro-USB Check in Arduino IDE for the corresponding serial port connection, if there is no corresponding serial, you need to manually install the driver, please refer to http://arduino.cc/en/Guide/Windows#toc4 DFRobotAll Rights Reserved CC BY-NC 3.0 CN...
  • Page 20: Freestyle

    In the Arduino IDE showed no error message Done uploading and the output window, then uploaded is successful 3 Freestyle You can find source codes at https://github.com/DFRobot/4Drawing, modify or add your own codes in Trigger(Sensor.cpp,Sensor.h)and Actuator(Actuator.cpp,Actuator.h)Enjoy! DFRobotAll Rights Reserved CC BY-NC 3.0 CN...

Table of Contents