Home
User Manual
Contents
1. fg MBM eg OneWite dig PB e fe SPIM g Double Click on UART wait a few ae SPS l ta Tao moments until the user module 1s placed Am Zu Ka w Filters n the Interconnect Window H E Generic Legacy Hj Mise Digital E MUs 9 Protocols Puls Hg Random Seq i RF 9 Temperature User Modules l User Modules h Repeat same for Digital Buffer Cy ADCS H Amplifiers H Analog Comm H Counters H DACs H Digital Comm C Filters H Generic Legacy a E2PROM aig LED gt LED AEG yi OneShot oats PWD Xa SHADOWREGS Au LCD fg SleepTimer Hj Muss 3 Protocals Hg Pas Random Seq Workspace Explorer User Modules Page Port 0 0 Pool RIO i ee RIO Port 0 1 RIO Port 0 2 BCO Pott 0 pesii T boc CEE Panda iil z z Por tz 1 When you are done the screen should look like this HIE Pot Pert 6 Port 1 0 B Poi 12 Par 13 Pol 14 h D Port Per T a ET rer RIO Pa Rift Fr Fol 17 Po P TS i mg mu 2 5 ah i R el 2 i BCI Pon 2 Poi 2 1 a Port 2 4 rl WERL 7 se Pori 2 2 uma Por Po 2 3 uom4 Po 2 _ u aa Por 2 dan Por 2 4 Pol 2 2 iima Port 2 Pui 6a NN Pon 2 FA ROW L p Bol 2 Pot i 7 i Por ROIN E S d Pot 30 j ROI Port 30 ea E N j Configure Global Global Resources gsm2_a Power Setting Woe SysClk freq e ka CPU_ Clock Syellk 8 2K Select Internal Resources PLL_Mode
2. Disable Sleep Timer Fle Hz VE1 SysClkh 16 YEz YET N 16 VCS Source Spsclk1 VES Divider 156 Syellk Source Internal Speck Disable Ho Analog Power SC On Ref Low Ref Mus Mdd 2 BandGap AGndEppass Disable Op 4mp Bias Low A Butt Power Low Srutchhloderump OFF Trip Voltage LYD SMP 4 07 5 00 LYDT hrottleB ack Disable Watchdog Enable Disable Power Setting Yee SysClk freq Selects the nominal operation voltage and System Clock SysClk source from which many internal clocks W1 Ve Ya and CPU clocks are denved IR egisters Affected ICPU_ SCRE Page 8 Parameters UART_1 k Configure User Modules Eu RL Clock WOS Aes Input Rom 0 Input 3 Ts Output Row 0 Output 0 TS Interrupt Mode T ARegEmpty Clock Syne Syne to SysClk AeCmdb utter Enable AxBufferSize Je Command erminator 13 Param Delimiter Je IgnorelharsBelow 32 Enable BackSpace Disable Ae Output Row 0 Output 1 Ras Clock Out None Ts Clock Out None lnvertAe Input Normal 1 Create Application Code located to the left of application window Workspace Explorer Workspace GSM 4 17 project 3 G5M _A CY8C29666 24P 21 GSM2_4 Chip H Loadable Configurations EE GSM2_A Pinout GSM2 A B Source Files AR boot asm H Header Files H lib H E flashsecurity bat H Output Files H External Headers Page 9 m You can find the code in the CD called Main C n Co
3. User Manual Table of Contents l Introduction cccceeccccseeeeceeeeeceeeeseeeeeseeeees 3 PED NV E E NE 4 2 1 Functional Desenplion ass 4 2 2 Cautions and Warnings ccccccccsseeeeeeeseeeeeeeees 4 3 Instruction Sections ccccceecccceseeeeeeeeeseees 5 3 Sonwa TNS ta MATION un nennen ae 5 32 DES ONIN G Syste 02 ace ansassintecacieesae wawwinn steeds eeeasenies 5 3 3 Hardware Installation cccceeeccceeeeeeeeeeeeeees 12 4 Running the Project ccccceeccccseeceeeeeees 15 5 Error amp Solution 0 ccccececececsceeseeeeee LD Page 2 1 Introduction The user manual is to guide you to install the GSM Home Security and Automation in steps However the reader must be an engineer to be able to understand the setup The device package contains e 2x Power supply e PSoC Kit e PSoC Burner e GSM module Enfora e Relay circuit e Lamp e 2x Alarm e Switch e User Manual e Software CD e 12 V converter card Page 3 2 Overview 2 1 Functional Description This installation will allow you to secure your house from burglars by trigging alarms and indicating to you there is a burglar in the house As well it allows you to control any appliance in your house 2 2 Cautions and Warnings This project deals with AC electricity which is dangerous You must treat electricity with caution There are many books and websites about electrical safety procedures
4. and if you re not sure how to be safe you should read that any book first Be careful when using PSoC kit with power supply Avoid changing connection in the kit with power supply on Page 4 3 Instruction 3 1 Software Installation a Open Package b Install Software CD c Restart your computer 3 2 Designing system a Open PSoC Designer b Select Start New Project amp Thermistor_2 PSoC Designer 5 0 _ Be Project Interconnect Build New Project Ctrl Shift N Newe Ciri N Open Project Workspace Cirl shift 0 O Open File Ctrl 0 Close Workspace Close seve coe Page 5 c Select Project Type New Project Project types LY Chipdevel Systemdavel Project Project This is a classic v4x PSoC Designer project selecting and placing user modules Name PWMLab Locatiorr Documents and Settings ploc My Documents P SoC CY32145B Browse Workspace name PW Mab A Create directory for workspace d Name the Pr Oj ect Workspace Create new Workspace e Select Device and Coding Method e CY8SC29666 24PXI e C Select Project Type Clone project Path NSE Usethe same target device f Select target device e OK Generate Main file using Ec C Assembler x oa Page 6 User Modules f Select UART from User Module Pages 121 Analog Comm 3 Counters fy DACs i Digital Comm fg CRCIE aie Ezl2Cs cog 2CHW git 120m eg DARK DAT
5. ice set to CYac24394 23LFXl at 4 41 27 EM Device Family set to 242949 ac 9 41 27 PM Session Started at 4 41 77 FH Results MINI Version 1 MINI veraion Ex MINIProg1 3T8A3 Documents an 32708 FLASH byt ta Select Port in C Documents an 15334 FLASH byt PPSOM Version 1 Page 11 3 3 Hardware Installation a Connect PSoC and GSM module as shown below Vcc on GSM with Vcc on PSoC Gnd on GSM with Gnd on PSoC Port 14 P14 with Rx pin Port 17 P17 with Tx pin Port 16 P16 with Ring pin 3 i ee 51011 TTS ti E j b TETT 1 L Page 12 b Connect relay circuit to components as shown To ports in microcontroll i lieht Bulb 12 V Connect IN1 to port 04 Light Bulb IN2 to port 05 Alarm 1 IN3 to port 06 Alarm 2 Page 13 c Connect switches to ports in microcontroller Vcc in microcontroller Switch To port 10 11 Gnd in microcontroller d Connect Audrino Proximeter to microcontroller Red 5V to Vcc in microcontroller Yellow wire to port 12 in microcontroller Green wire to ground in microcontroller Page 14 4 Running the Project a Insert Sim Card inside the GSM module b Turn on the power supply c Send a message to the number of Sim Card d Body of message a 111 To turn light on b 000 To turn light off c 333 To turn alarm on d 222 To turn alarm off 5 Error amp Solution If there is no response when any action is
6. mpile main c PSoC Designer 5 0 Wew Project Interconnect Build Debug Program Tools Window Help agfiguration Files for All Projects N eae Rebuild P vMLab Project Clean FWMLab Project include lt m amp c h gt include PSoCAPI Co oh a ho La Pd 9 void main LOIS L1 PWM16_ 1 Start L2 PWM16 2 Start L3 while 1 La f Insert your main routine code here o Build project Generate Build All Projects Shift F6 Hl EP Generate Configuration Files for PWMLab Project Generate Configuration Files for All Projects SSE a Compile Ciri4 F7 l pm E Build PwmLab Project F7 Rebuild PWMLab Project Clean PWMLab Project Show Last Build Report for FWMLab Project F lt MELL FEAET rT EAE p Program the device by selecting MINIProg in port window Select Connect Select Program When program is complete toggle Device Power PSoC Programmer Software Ver 3 0 0 91 might be out of date check Web i n EE ET C Reset amp Pme Surresefully Connected to MINIErogl 872233460E0A at 4 42 01 IM Cpening Port at 4 42 01 FH Port Oorned with Warnings at 4 41 59 EM pening Port atc 4 41 55 FH Connected at 4 41 55 PM Software Ver 3 0 0 91 might be out of date check Web Active HEX file set at 4 41 25 PH Device set to Cracz9466 at 4 41 29 EM Device Family set to 70866 at 9 91 79 PH Retive HEX file aet at 4 41 27 FH Dev
7. taken press the reset button found on the PSoC Page 15
Download Pdf Manuals
Related Search
Related Contents
RF-Link ABM-4161 “IRRIGADOR” - Transcom SL Samsung DG25 Инструкция по использованию Mode d`emploi - Mutualité chrétienne M0S10127_I - Servizio Assistenza Tecnica Polti DOWN LOAD HERE! Manual doProduto Pentax Optio WG-1 GPS Copyright © All rights reserved.
Failed to retrieve file