Home

MODULE ET-MINI SMCC-547 ETT CO.,LTD -1-

image

Contents

1. EO 5955 Ineta lye evervyEhing 15 amy ater downloaded completely when we press RESET and connect with headphone or amplifier of computer PC we will hear the 21 140 10 ciel aie wal repeated continuously ETT CO LTD 4 WWW ETT CO TH An Example Connection ET MINI by LPC2138 LPC2148 The connection signal between boards Board CP JR LPC2138 CP JR ARM USB LPC2148 Board ET MINI MP3 VS1002D 3 3 DREQ RES LOCEK GPIOO Output Shows directions and signal of connection between ARM7 and MINI MP3 XCS ETT CO LTD 5 WWW ETT CO TH
2. gt o Epes 4 m S Set Jumper when not interface with R Pull Up Z I2C RTC DS1307 gt 32 768KHz 5 2 0 G ts ZO 2 lt 02000 Set Jumper when interface with Pull Up ET MIN 55 2 ET gt O DS1307 Mini IO O O O O Picture displays structure of ET MINI 051307 and Port PIN position VN3 SIQ VCC 5V 32 68KHz Picture displays circuit of ET MINI 051307 ETT CO LTD WWW ETT CO TH MODULE ET MINI PCF8583 ET MINI 8583 Module ET MINI PCF8583 which is Real Time Clock RTC displays Time Base such as Clock Timer and Calendar Moreover it can adapt to be Counter for external Clock There s 2 Modes that are Mode RTC and Mode Counter When using Mode RTC there s C adjustment for Frequency Crystal It makes Crystal create frequency correctly and get accurate Time Base There s battery box to back up because it makes Time Base can run continuously otherwise there s no power supply into Module When using Mode Counter CNT there s pulse Connector that can input Pulse signal from external generator into Moreover there s SW COUNT that can create pulse signal by self Control Byte of Module is assigned as 101000 1 Interface SDA Connector and SCL Connector with SDA PIN and SCL PIN of MCU respectively In case of not use INT Connector it is not necessary to interface its but in case of using this connector must int
3. Beane ee i GND ON OFF WE 5 FR106 3 0 1 100 5 560 100uF 1 ai Picture displays circuit of ET MINI PWRS ETT CO LTD WWW ETT CO TH MODULE ET MINI SEG A ET MINI SEG A Module ET MINI SEG A which is Common Anode 7 SEGMENT is interfaced with Resistor completely So user can interface signal from I O Pin of MCU with Connector below of MCU and pin position s arrangement on Module is shown in the picture below Using this Module must interface Common Pin with Vdd and must interface a dp Pin with 8 Pin Port I o of MCU If sending Logic 0 to which Segment that Segment will be in status ON and if displaying number must decode and decide to send Logic 0 to which Bit It 1s easier to decode if user interfaces I O of MCU as same as 7 Segment s pin arrangement 55161 10 COMMON ANODE m T lt Q gt Picture above Picture below not use 10 Pin Picture displays structure of ET MINI SEG A and Port Pin position 560 X 8 DPY 7 Seg DP Vad gflab DPY d g LJ Ji dp Vdd ed Vdd 9 Vdd Pin Position of 7 Segment Picture displays circuit of ET MINI SEG A ETT CO LTD WWW ETT CO TH MODULE ET MINI SEG K ET MINI SEG K Module ET MINI SEG K which is Common Cathode 7 SEGMENT 15 interfaced with Resistor completely So user can interface signal from I O Pin of MCU with Connector bel
4. User Manual For LOGIC LEVEL SHIFTER 3 3 DIR A TO B B ET MINI LOGIC LEVEL MCU 5V 2 1 ET MINI SD MMC 3 3V N IN gt gt J 99 AS 40 F 5 www ett co th User Manual For ET MINI SD MMC ET MINI SD MMC The connection SD MMC MEMORY CARD ET MINI SD MMC is a device for connection components with SD MMC memory Card for example the connection between Microcontroller and Memory Card SD MMC This set contains Socket for inserting Memory Card such as SD and MMC and it provides external signal Pin at Connector Pin so it is quite convenient to apply Moreover there are many circuits such as Circuit Card Detect Circuit Pull Up and etc Specifications of ET MINI SD MMC e Support Memory Card as SD type and MMC type e Can select Enable Disable for Circuit Pull Up e Can display status of inserting Card or CARD DETECT by using LED and send signal OUTPUT through Pin signal CD There is specification as follows CD 1 It means that there is no Card CD 0 It means that there is Card e Can display status of Switch Write Protection on SD MMC Card and send signal OUTPUT through signal Pin WP as follows WP 1 It is OFF position of Switch Write Protection WR 0 It is ON position of Switch Write Protection www ett co th User Manual For ET MINI SD MMC SD MMC 10k 10k 10k 10k 10
5. Ox0O7FFF 16KB Voice Zero Of wav 0x08000 OxOBFFF 16KB Volce One lf wav 0x0OCOQO OxOFFEEFE 16KB Voice Two 2f wav 0x10000 Ox13FFF 16KB 0x14000 Ox1l7FFF 16KB Four Af wav Ox19000 OxlBEEE 16KB Voice Five 5f wav Ox1C000 OxlFFFF 16KB 6f wav 0x20000 0Ox23FFF 16KB Moroe Seven 7f wav 024000 0x2 kFEE 416 8f wav 0x28000 Ox2BFFF 16KB Voice Nine 9f wav 0x2C000 Ox2FFFF 16KB Were lOf wav Table shows the memory management for LPC2138 LPC2148 There are many proceedings to convert audio file into HEX cor example Using program Utility or EPROM programmer to open audio file as Binary File type and save in the Buffer of program Next we must save file that is converted into Hex ETT CO LTD 1 WWW ETT CO TH An Example Connection MP3 LPC2138 LPC2148 file completely and we must configure Offset position value for storing data as 0 4000 up as shown in the table above In this case we will mention about using program Utility named BIN2HEX that is downloaded from Website of Keil and we can download this program free without any charge Program BIN2HEX is a program that runs as Command Line and user can study User s Manual of program from HELP of program While we running Program on Dos Prompt program will display the proceeding However we create Batch File
6. makes RS422 and RS485 Communication can send receive signal a longer distance The feature of Set Jumper 1 in the picture below ETT CO LTD WWW ETT CO TH MODULE ET MINI 422 485 JJ 2 2 I IN Picture displays Set Jumper to interface R Pull Up because it makes communication a longer distance Cp CD DP T Connector on Output side QOA H dic gt 75176 2 4 Oy Xd DONO RS422 e e 5485 HALF e e FULL SZRR ET MINI 2 C 422 485 e Connector on Input side Q Benne Picture displays structure of 422 485 and Port Pin position 1K 1K VCC Cis 120 17 9219435 Picture displays circuit of ET MINI 422 485 ETT CO LTD o WWW ETT CO TH MODULE 3705 TTL ET MINI 3T05 TTL Module ET MINI 3T05 TTL which is OPTO to transform level of Logic from 3V into 5V or from 5 V into 3V has 8 channels It uses with MCU that uses 3 3V power supply to drive or load with 5V power supply All 8 channels of this Module can use as 2 types only Input or only Output but can not use as both Input Output in the same time Its proceedings are 1 It is external INPUT for receiving signal Logic 5V into MCU that can receive Logic 3 3V interface 5V power supply with VIN Connector and Ground with GND of Module respectively and then interface Input 0 7 with connector for sending signal into MCU In Output
7. picture below Set Jumper when using to be RTC Set Jumper when using to be to be Counter VCC 3V 5V 6 9 79S je 095 VN3 SIQ 2 1 60 2 lt 101000 1 x O Opes PULSE Vcc 3V 5V 32 768KHz 0 30pF 10K RTC e e 0 1u SW Counter Picture displays circuit of ET MINI 8583 ETT CO LTD o WWW ETT CO TH MODULE ET MINI PCF8574 ET MINI PCF8574 Module ET MINI PCF8574 is 8 Bit Port I O expansion for Microcontroller There s 2 Module No and both Module No PCF8574 and Module No PCF8574A are replaceable Both of them have the same specifications but some Control Byte are only differently Using this Module interface SDA Connector and SCL Connector of Module with SDA PIN and SCL PIN of MCU respectively In part of VCC and GND can interface with power supply of MCU instantly This No uses 2 6V 6 0V power supply It is not necessary to interface INT PIN in case of not using its Port on Output side of must interface with 10 PIN Connector and feature of PIN arrangement 15 displayed in picture below It can interface to control I O device that uses less power supply such as LED I SOAN 9I9O1 Z 9 eC 1 JIDOT LAdLNO ID PCF8574 ID 0100 A X PCF8574A ID 0111 A X 10 PIN Connector arrangement on Output side PCF8574 Ep I2C INPUT OUTPUT C ET MIN
8. 0 Out P4 1 In 3V3 P4 2 MISO RES P4 3 SCK DREQ P4 4 MOSI P3 4 Out P3 5 Out SVCXX lv Board ET MINI LOGIC DIR A TO B ET BASE51 AC3 MCS51 P4 0 Out P4 1 In VS1002D ST show the directions and signal to connect MCS51 and MINI MP3 A3 gt B3 4 B4 5 5 A6 B6 GND GND lt GND ETT CO LTD 2 WWW ETT CO TH An example Connection ET MINI MP3 AVR ET BASE AVR ATMEGA64 An example Connection ET MINI MP3 by AVR This example displays using Port SPI of AVR No ATMEGA64 to connect and command IC VS1002D that is a MP3 Decoder The sample program will mention about proceeding to connect and command VS1002D to play music and voice only We do not mention about the File systems management so user must learn more how to read file data and send it into MP3 decoder to convert into voice by self for example the proceeding to use Memory s types as SD MMC memory or others In this case we use Board Microcontroller AVR version ET BASE AVR ATMEGA64 to control operation of MP3 Decoder and use Board ET MINI MP3 Remember Board Microcontroller version ET BASE AVR ATMEGA64 runs with Voltage 5V on the other hand ET MINI MP3 runs with Voltage 3V3 so IC VS1002D that is a MP3 Decoder in Board ET MINI MP3 can not connect with signal Logic TTL with 5V signal level So we can not conn
9. 2 Use Baud Hate Upload to Flash 384000 Start Sector Erase End Sect Compare Flash ur Time Out sec m Device Use DTR RTS Device 2148 Part for Reset and Boot Loader ATAL Freg kHz 18660 Device ID Boot Loader selection ETT CO LTD 3 WWW ETT CO TH An Example Connection MP3 LPC2138 LPC2148 2 Must combine both 2 Hex Files into only one file and then command to download only one time as follows Open Hex file of Source Code that is interpreted by Keil CARM of Program Text Editor such as Notepad Then command to delete the last line that is the end of file Intel HEX End of HEX Record The feature of the last line is shown as in the picture below 00000001FF b Open HEX File of audio file that is interpreted by Batch File VOIC BAT Next copy all data in HEX file to place the end of or Source Code then save HEX File of Source Code that is combined together c Command to download HEX File that is combined together Into boatd NOTE For HEX File named that is combined together is LPC2148 PLAY WAVE HEX 1 2138 PLAY WAVE HEX Tigh DNI S puso ES overlapped internal Folder of C Language Source Code and Hex File that 15 in the same Folder of Source Code is Hex File of ode thar OC S ole Iis ceo c ice Me EIS
10. Manual For AUDIO OUT ET MINI AUDIO OUT It is a mini amplifier with speaker that receives Input as Analog audio signal type and sends audio signal out through Speaker Moreover there is Stereo Jack that can be interfaced with headphone or external amplifier Specifications of Board ET MINI AUDIO OUT e Mini Speaker Model PB 2015 e Receive signal as Analog Input e Auto cut audio of speaker PB 2015 on board when Stereo Jack is inserted e IC LM386 is designed to be circuit amplifier SPK PB e015 z 3 VCC VCC 4 7uF AIN GND sti ON OFF arj Loudspeaker PB2015 10 Stereo Jack ak 0 1uF 0 047 www ett co th User Manual For LOGIC LEVEL SHIFTER ET MINI LOGIC LEVEL SHIFTER The connection Logic Voltage between 3 3V and 5V ET MINI LOGIC LEVEL SHIFTER is a circuit for connection signal Logic between 5V device and 3 3V device or 3V by using IC Buffer 74LXX245 Specifications of this IC run with Voltage 3 3V but it can support Voltage Input up to 5V so we can use it to be Buffer of Voltage from 3 3V to 5V Specifications of ET MINI LOGIC LEVEL SHIFTER e Can send signal Logic 5V to be signal Logic 3 3V e 8 Channels for connection e Can configure directions of signal e IC Regulator 3 3V 500mA for supplying power into 3 3V device 3V3 E 5 1 4 5 6 GND y a a g y g
11. basic circuit VS1002D because it is not applied to be processed MP3 Player or connect with any version of Board Microcontroller but Board ET MINI MP3 can apply with other project works independently Concept of circuit is designed to connect VS1002D with necessary components such as circuit amplifier with Jack Stereo it is quite convenient to connect with headphone or amplifier and circuit Pre Amplifier to receive signal from Microphone as Condenser type and including to circuit Crystal Oscillator Generator Circuit VS1002D is arranged to be ready to active but there is signal controller only In the part of signal controller there is Connector to connect with external microcontroller easily ETT CO LTD 1 WWW ETT CO TH AM User Manual For ET MINI MP3 Specifications of Board ET MINI MP3 e IC Decoder of VLSI No VS1002D e Be able to decode File MPEG that accesses decoder as MPEG 1 0 amp 2 0 Audio layer III CBR VBR and including of WAV and PCM e Be able to access decode audio signal from Microphone to be standard ADPCM data e Support Streaming Data for File MP3 or WAVE e Be able adjust Bass Control e Active with signal Clock 12 288 MHz and can use X2 Mode internal PLL e There is circuit to convert data into high quality of DAC voice with stereo Amplifier We can connect Audio Out with amplifier or standard stereo headphone that has Impedance value about 300 instantly Connector Audio Out of Bo
12. named VOIC BAT to Convert duro file into HEX File follow by the position address that is configured as in the table above so it is quite convenient for user to apply It is saved in Folder named AudioData that is overlapped internal Folder of Language Source Code Details of Batch File are described as follows ECHO OFF ECHO Generating VOICE HEX with Wave Files DEL VOICE HEX BIN2HEX L16384 O16384 4 Of wav VOICE HEX 2 L16384 O32768 4 Q 1f wav VOICE HEX BIN2HEX L16384 O49152 4 A Q 2f wav VOICE HEX 2 L16384 065536 4 A Q 3f wav VOICE HEX BIN2HEX L16384 O81920 4 A Q 4f wav VOICE HEX BIN2HEX L16384 098304 4 Q 5f wav VOICE HEX BIN2HEX L16384 O114688 4 A Q 6f wav VOICE HEX BIN2HEX L16384 O131072 4 A Q rf wav VOICE HEX BIN2HEX L16384 14 7456 4 A T Q 8f wav VOICE HEX BIN2HEX L16384 0163840 4 A Q 9f wav VOICE HEX BIN2HEX L16384 O180224 4 Q 10f wav VOICE HEX Figure displays commands in Batch File to interpret audio file HEX When we open Batch File we will get file named VOICE HEX that is a part of 11 audio files and each file is arranged in memory as 16 respectively as shown in the table above ETT CO LTD 2 WWW ETT CO TH An Example Connection ET MINI MP3 by LPC2138 LPC2148 When we get both HEX files Code Program it is interpreted by Keil CARM and HEX File that is
13. on B side Signal Logic 3 3V on B side is sent through Buffer to be Logic of device on A side Voltage that 1S sent into A device is 3 3V and it is enough for A device to know Logic 1 and 3V3 3V3 Device 5V A 5 1 20 3V3 tS 2 19 Y Device 3 3V B 3V3 el gt 6 2____ ee BS e 5 4 a PEA a 22 dd BE 10 um 3 WWW ett co th User Manual For LOGIC LEVEL SHIFTER EI 3 Connection as bi direction type between 3 3V device and 5V device 3V3 E Device 5V A Device 3 3V B O 171 Input Output iml iml igi gl gl gl gl gl lg From the circuit above it is the connection signal Logic between 5V device and 3V device We must interface signal Pin Output of A device with signal Pin Input of B device and then interface signal Pin Output of B device with signal Pin Input Of A device To configure directions of IC 74LXX245 must n be configured all 8 bit and we can configure in each bit so if we must connect signal of both sender and receptor both 3 3V device and 5V device we must configure DIR to be A TO B as in the example circuit above Example The connection signal between Microcontroller 5V device and SD MMC CARD 3V device by using ET MINI SD MMC in SPI MODE 4 www ett co th
14. part of Module interface 3 3V power supply with VOUT Connector and Ground with GND of Module respectively and then interface Output 0 7 Connector with I O Pin of MCU 2 It is OUTPUT for sending signal Logic 3 3V from MCU to control external device that can receive Logic 5 interface 3 3V power supply with VIN Connector and Ground of MCU with GND of Module respectively and then interface Input 0 7 with I O Pin of MCU In Output part of Module interface external 5V power supply with VOUT Connector and external Ground with GND of Module respectively and then interface Output 0 7 Connector with controller device E E E S O O T5 4 01234567 EBEEBPEPBEES DS Sa SS Connector in side of OUTPUT VIN INO T s OF Z2222 2 22 IN3 IN5 IN7 GND ET MINI 3105 TTL O INO IN2 IN4 6 VIN Connector in size of INPUT Picture displays structure of ET MINI 3TO5 TTL and Port PIN position ETT CO LTD WWW ETT CO TH MODULE 3705 TTL VIN PC817 1k x8 e Pd gt lt it 2 E E C Z Z gt gt O O1 I NI Picture displays circuit of ET MINI 3TO5 TTL ETT CO LTD 95 VOUT O O B 8 DA 5 C O O1 C WWW ETT CO TH User
15. I PCF8574 _ 92A CJ INI NO CJ CJ CJ LJ vas Pin Connector arrangement on Input side Picture displays structure of ET MINI PCF8574 and Port PIN position Using this Module there s 2 points to Set Jumper Firstly it is at Jumper ENA DIS point must Set Jumper SDA SCL and INT on END side It interfaces R Pull Up with PIN of SDA SCL and INT In case of interface R Pull Up from external or other Module in Line of SDA and SCL it 15 not necessary to interface Pull Up once User only Set Jumper all 3 of them on DIS side and Pull Up will be taken off as the picture below 2 02 0 gt C d IT lt 2 T gt Set Jumper when interface with R Pull Up Set Jumper when not interface with R Pull Up ETT CO LTD lt gt WWW ETT CO TH MODULE ET MINI PCF8574 Secondly it is at LO HI point It chooses position address for and user can Set Jumper as required Then combine default value of position address and Control Byte of together because it can control No correctly If Set Jumper Lo side Address PIN 15 0 and if Set Jumper on HI side Address PIN is 1 as an example in the picture lt lt s I gt 2 gt gt gt gt Set Jumper A0 A1 A2 000 Set Jumper A0 A1 A2 111 z nn gt IA D m Z gt PCF8574 PCF8574A 2 l
16. MODULE ET MINI SMCC 547 ET MINI SMCC 547 Module ET MINI SMCC 547 which is STEPPING MOTOR uses fine STEPPING about 18 per each step This Module uses Transistor BC547 to be driver and uses LED to display operation of sending Logic 1 when Logic 17 is controlling each phase LED will be status ON to display which phase 15 running User must continuously send Logic one phase by one phase and can start sending at any phase There s Pin INA INB INC and IND in this Module for interfacing with I O Pin of MCU and it makes MCU can send Logic 1 to control Step of phase rotation as one phase by one phase Its pin position s arrangement is shown as in the picture below In the Vcc part it uses 5V power supply and if using 3 3V MCU must have OPTO to transform Logic from 3V into 5V Connector STEPPING MOTOR U UO NU 52 a 22852762 2 8 8 Q O Z Z Z Z O gt O Z Q Z 1 Back 1N4001 INA F 47K gt Phase2 Yellow 1N4001 3 3 5 D YOLOW ONIdd3 LS 990009 amp 47K 4 Phase3 Brown INC 1N4001 Phase4 Gray IND 1N4001 Picture displays circuit of ET MINI SMCC 547 ETT CO LTD sls WWNW ETT CO TH MODULE ET MINI DC MOTOR ET MINI DC MOTOR Module ET MINI DC MOTOR which is DC Motor 5V can control left and right rotate directions and can read rotate cy
17. ard uses high quality Jack Stereo that can be interfaced with headphone or amplifier of computer PC instantly e Active with DC Voltage from 2 5V to 3 6V with LED to display status of Power and Zener Diode to protect over voltage e Support connection between signal and Microcontroller through SPI Serial Port e Be able to modify operation of board to be MP3 player as Standalone type without using the any controller from Microcontroller see more information from Application Note of VLSI e Board size 4 4 x 5 6 cm Applications for Board ET MINI MP3 We can apply Board ET MINI MP3 for many types especially the connection with Microcontroller We can configure preferred conditions by self from program controller that is developed We can apply it by using memories components such as SD MMC or others to save File data for sending into VS1002D to decode and convert into voice In this case we do not mention about the memory management and File systems so user must study and learn more information by self The well known and easiest proceeding to connect Board ET MINI MP3 with Microcontroller is connecting with SPI Serial Port If Microcontroller is active with power supply from 2 5V to 4 3 3V can connect signal between Microcontroller ETT CO LTD 2 WWW ETT CO TH cl AM User Manual For ET MINI MP3 and VS10002D of Board ET MINI instantly on the other hand if Board Microcontroller is active with power su
18. cle by using Opto as Sensor The feature of using connectors and sending Logic to control rotation are shown in the picture below Function of INI connector and IN2 connector are directional controller and function of EN connector is Enable It runs with Logic 1 OPA and OPB Connector send Signal Logic 1 into MCU when fan blade of DC Motor touches Opto Sensor If nothing touches Sensor of OPA and OPB connector it will display as 0 It 1s suitable for reading Motor s rotate cycle and user can select to read default values of OPA connector or OPB connector Table of Control DC MOTOR Control MOTOR RIGHT R LEFT L STOP r ols fol Io e DC MOTOR DRIVE 9 lt 2 gt D 5 Con DC Motor MIR 7 _ 2 5 gt c Mini Picture displays structure of DC MOTOR and Port Pin position DC Motor 1N4001 Picture displays circuit of ET MINI DC MOTOR ETT CO LTD WWW ETT CO TH MODULE ET MINI KEY 4 4 ET MINI KEY 4x4 Module ET MINI KEY 4x4 which is Matrix Keyboard 4x4 has 8 PIN to interface with Microcontroller PIN1 PIN4 Column is INPUT and MCU reads codes through key pressing and PINS PIN8 ROW is OUTPUT and MCU sends Logic 0 to scan key in each row MCU operation 15 reading status Logic of Key in each unit through PINI PINA If any key is not pressed sta
19. e as byte by byte respectively until it is completely In this example it converts File into data as Byte type and it is arranged as Table type in Flash memory If it is C Language it declares variable as Array type and saves it in Flash memory of CPU because it is more convenient to open file This sample is written by C Language and uses Keil C51 to interpret commands Remember C Language Program Keil C51 is used for Complier if it just Demo Version it can not interpret Source Code in this sample program because there is some restriction for using Program Keil C51 Demo version that is not able to Complier Source Code higher than 2KByte However ETT provides Hex File that has already interpreted completely so user can download MCS51 MP3 PLAY WAVE HEX into CPU instantly This file is saved in Folder named FINAL HEX TEST to download ETT CO LTD 1 WWW ETT CO TH AM An Example Connection ET MINI MP3 with 51 ET BASE51 into CPU of Board ET BASE51 and can test it instantly everything is correct without any error after downloaded completely when we press RESET and connect headphone or amplifier of computer PC with Board ET MINI MP3 completely we will hear counting number from 0 to 2 in English version and it will be repeated continuously The connection signal between boards 3V3 e ET MINI LOGIC LEVEL DIR A TO B ET BASES1 MCS51 ET MINI MP3 VS1002D P4
20. ect signal from both boards directly we must find device to convert signal 5V into 3V3 In this case we use ET MINI LOGIC LEVEL SHIFTER for connection both boards Additionally it 1s necessary to use these devices as follows Board Microcontroller AVR version ET BASE AVR ATMEGA64 Board to convert signal Logic 5V into 3 3V Board MP3 Decoder version ET MINI 5V Adapter to supply power into Board ET BASE AVR gt WN gt In this case we use 3 small File Wave that are not higher than 48 Kbytes totally For this example we use File Wave Format that we can hear it counting number from 0 to 2 in English version to store in Flash memory of ATMEGA64 as Table type Next we must refer to memory position that stores the file and we must send it to MP3 Decoder to convert into voice as byte by byte respectively until it is completely In this example it converts File into data as Byte type and it is arranged as table type in Flash memory If it is C Language it declares variable as Array type and saves it in Flash memory of CPU because it is more convenient to open file This sample is written by Language and uses Code Vision AVR to interpret commands Remember C Language Program Code Vision AVR is used for Complier if it just Demo Version it can not interpret Source Code in this sample program because there is some restriction for using Program Code Vision AVR version Demo that is not able to Complier Source Code h
21. erface INT connector with PIN of MCU that is assigned to receive INT signal In part of VCC PIN and GND PIN interface with power supply of MCU instantly Oz C2 Dess 2s gt 30 VyN3 SIG Sr 105 ES U E LOOOLOL EXT PULSE RTC 8 CNT Q do 10K 12C RTC PCF8583 SW COUNT e C ty ET MINI 2 Picture displays structure of ET MINI PCF8583 and Port PIN position Using this Module there s 2 points to Set Jumper Firstly it is at Jumper DIS ENA point must Set Jumper SDA SCL and INT on ENA side It interfaces R Pull Up with PIN of SDA SCL and INT In case of interface R Pull Up from external or other Module in Line of SDA and SCL it 15 not necessary to interface Pull Up once User only Set Jumper all 3 of them on DIS side and R Pull Up will be taken off as in the picture below ETT CO LTD WWW ETT CO TH MODULE ET MINI PCF8583 INI 135 Vds INI TOS VIS VN3 SIG VN3 SIQ Set Jumper when interface with R Pull Up Set Jumper when not interface with R Pull Up Secondly it is at RTC CNT point It chooses mode operation of I C In case of using Mode RTC must Set Jumper on RTC side It interfaces Crystal Pin with OSCI Pin In case of using Mode Counter must Set Jumper on CNT side It interfaces Pin that receives Pulse signal from external and from SW Counter with OSCI Pin of as in the
22. g y GVCXX 1 WWW ett co th User Manual For LOGIC LEVEL SHIFTER LOGIC L O EG a prae 0 THATI DDOI INIM IM LOGIC Lo IIT NOTE Regulator 3 3V 500mA is provided internal circuit so we only supply power into Connector 5 5V and Voltage 3 3V at Connector 3V3 can supply power into external devices If external device has already had 3 3V power supply we must interface GND only and should not interface external Voltage with 3V3 internal board because circuit maybe damaged Applications We can divide it into groups of application as follows 1 Connection as only one direction type from 5V device into 3 3V device We must set Jumper DIR on the position A TO B Logic 5V must be interfaced on A side and Logic 3 3V must be interfaced on B side Signal Logic 5V on A side is sent through Buffer to be Logic 3 3V on B side 2 WWW ett co th User Manual For LOGIC LEVEL SHIFTER 3V3 O 3 3 Device 5 20 3V 3 5V nia O Device 3 3V B _ 3V3 A2 18 Spo N a 2 _ S BA z 48728505 mwa Edi i 4 m GND 2 as only one direction type from 3 3V device into 5V device We must set Jumper DIR on the position B TO A Logic 5V must be interfaced on A side and Logic 3 3V must be interfaced
23. icate device Finally interfaces GND PIN with GND PIN of communicate device but in the part of VCC does not interface its o zezsy 0 Ze zSH L C cSH LEX EY 9 888 6552 US 5 SN E gt MAX232 Connector on side of Output OOOO 5 20 5 TTL 5V RS232 LINE DRIVER OF EL UO LI Connector on Input side Mini Picture displays structure of ET MINI 232 TTL2 and Port PIN position VCC 5V 10uF 10uF JU X MAX232 s VCC RXD1 NO RO A GND Picture displays circuit of ET MINI 232 TTL2 ETT CO LTD WWW ETT CO TH MODULE ET MINI 232 TTL3 ET MINI 232 TTL3 Module ET MINI 232 TTL3 which 1s RS232 Communication Line Driver uses 3V 5V power supply It transforms TTL signal of MCU into RS232CE12V There s 2 channels for using Firstly Connector on Input side must interface Tx PIN and Rx PIN with Tx PIN and Rx PIN of MCU respectively User must interface Tx PIN and Rx PIN in the same channel 0 0 Tx1 Rx1 In the part of VCC PIN and GND PIN must interface with power supply of MCU Secondly Connector on Output side uses the same channel as Input side and then interfaces Rx PIN with Tx PIN and interfaces Tx PIN with Rx PIN of communicate device Finally interfaces GND PIN with GND PIN of communicate device but in the part of VCC does not interface its ozezsy Leeesu 0 ZEZSH l c amp oSuY EEDS ee ee g
24. igher than 2KByte However ETT provides Hex File that has already interpreted completely so user can download into CPU instantly ATMEGA64 MP3 PLAY WAVE HEX This file is ETT CO LTD 1 WWW ETT CO TH An example Connection ET MINI by AVR AVR 64 saved in Folder named FINAL TEST to download into CPU of Board AVR ATMEGA64 and can test it instantly If everything is correct without any error after downloaded completely when we press RESET and connect headphone or amplifier of computer PC with Board ET MINI MP3 completely we will hear counting number in English version from 0 to 2 and it will be repeated continuously The connection signal between boards 3V3 DIR B TO A aa A TO B ET MINI LOGIC LEVEL DIR A TO B ET BASE AVR ATMEGA 64 5V PB5 Out 4 In PB3 MISO PB1 SCK PB2 MOSI PBO SS PB6 Out 3V3 RES DREQ GVCXX lv ET MINI LOGIC LEVEL DIR A TO B 64 ET MINI MP3 VS1002D ST PB2 MOSI GND lt gt GND l PBO SS PB6 Out GND show the directions and signal to connect MEGA64 and MINI MP3 171 ETT CO LTD 2 WWW ETT CO TH An Example Connection MP3 LPC2138 LPC2148 An Example Connection ET MINI MP3 by ARM7 We will mention about an examp
25. isplays Set Jumper when it interfaces with R Pull Up Picture displays position of Module Connection Picture displays structure of ET MINI 24xx Port Pin position and Set Jumper ETT CO LTD WWW ETT CO TH MODULE ET MINI 24 10K ENA DIS 5V VCC 5 E m SDA 10K 5 Vcc 5V ID 1010101x ID 1010100x M ID 1010111x ID 1010110x Picture displays circuit of ET MINI 24xx ETT CO LTD 505 WWW ETT CO TH MODULE ET MINI 422 485 ET MINI 422 485 Module ET MINI 422 485 which is Line Driver transform TTL Signal of CPU into Balance Line for sending receiving signal in the same Balance Line This Module can use as RS232 and RS485 communication In case of using RS232 communication it uses 2 Line Drivers and in case of using RS485 Communication it uses 1 IC Line Driver It usually communicate in Network type and method for using Module is 1 Using RS422 Communication Connector on Input side of Module must interface RX Connector and TX connector with RX PIN and TX PIN of MCU respectively and then interface 5V power supply Then Set Jumper near Line Driver and place on RS422 side and FULL side as in the picture In this case we do not use DIR Connector RS422 e 65485 HALF e FULL Picture displays Set Jumper when using RS422 Communication For Connector on Output side of Module must interface with RS422 communicative device It uses 4 cab
26. k Power PWR SIQ VN3 MOS SIQ VN3 ISOIN Fem SIQ VN3 OSIIN NN 3 3 4 es w pi mice pog SS ooo guo ong A ure DAT1 8 amp WP G ond t Example The connection signal between Microcontroller 5V device and SD MMC CARD 3V device by using ET MINI LOGIC LEVEL and ET MINI SD MMC in SPI Mode 2 www ett co th User Manual For SD MMC 3V3 D DIR A TO B B ET MINI LOGIC LEVEL ET MINI SD MMC 3 3V GVCXX IV 99 AS 40 Details of Signal Pin SD CARD There are 2 proceedings to connect SD CARD SD MODE type and SPI MODE type as the details in the table below Details of signal Pin when it is connected as SD MODE type PinNo Name Type Description _ SD Mode CD DAT3 Card detect Data line Bit 3 po ex C os _ 3 www ett co th User Manual For SD MMC FIT Details of signal Pin when it is connected as SPI MODE type Details of Signal Pin CARD There are 2 proceedings to connect MMC CARD MultiMediaCard MODE and SPI MODE as the details in the table below Details of signal Pin when it is connected as Multimedia Card Mode type MultiMediaCard Pad Definition MultiMediaCard Description Not Connected o
27. le using Port SPI of LPC2138 LPC2148 for connection VS1002D that is MP3 Decoder The sample program will mention about proceeding to connect and command IC VS1002D to play music and voice only We do not mention about the File systems management so user must learn more how to read file data and send it into MP3 decoder to convert into voice by self for example the proceeding to use Memory s types as SD MMC memory or others For this example we use 11 small Wave File type and the memory of each file is not higher than 16 KB We can hear it counting number from 0 to 10 and is saved in Flash memory of LPC2138 LPC2148 Next we must refer to memory position that stores the file and we must send it to MP3 Decoder to convert into voice In the first time we intend to arrange File as Array table type and include them together in Code program because it 15 quite convenient to open file Remember Language Program 11 51 that is used for Complier is just Demo Version so there is some restriction that does not Compiler Source Code is higher than l6KByte Therefore we should solve this problem by dividing Code program and Audio file first so each file is not higher than loKByte After Files are interpreted into HEX completely we must combine Code program and Audio File together Structure of Memory Space for saving Code program and code of Audio file are configured as follows Memory Position Code Application 0 04000
28. les and then interface T PIN and T PIN of Module with R PIN and R PIN of communicative device respectively After that interface R PIN and R PIN of Module with T PIN and PIN of communicative device respectively 2 Using RS485 Communication Connector on Input side of Module must interface RX Connector and TX connector with RX PIN and TX PIN of MCU respectively and then interface 5V power supply In this case we use DIR Connector by interfacing its with I O PIN of MCU after that MCU sends Logic to control sending receiving interval of IC Line Driver If DIR Pin is Logic 1 IC Line Driver will be sender and if DIR Pin 15 Logic 0 IC Line Driver will be recipient Then Set Jumper near IC Line Driver and place on RS485 side and HALF side as in the picture below RS422 e 65485 e FULL Picture displays Set Jumper when using RS485 Communication For Connector on Output side of Module must interface with RS485 communicative device It uses 2 cables and then interface T PIN and T PIN of Module with T PIN and T PIN of communicative device Using this method must control one communication is sender and other one communication is recipient but one communication can not be both sender and recipient in the same time In this case we do not use R PIN and R PIN of Module Jumper RZ RH RL and TZ TH TL we Set them for interfacing R Pull UP with Line on Output side It
29. ntion about the File systems management so user must learn more how to read file data and send it into MP3 Decoder to convert into voice by self for example the proceeding to use Memory s types as SD MMC memory or others In this case we use Board Microcontroller MCS51 version ET BASE51 to control operation of Decoder and use Board ET MINI MP3 Remember Board Microcontroller version ET BASE51 actives with Voltage 5V on the other hand ET MINI MP3 actives with Voltage 3V3 so VS1002D that is a MP3 Decoder in Board ET MINI MP3 can not connect with signal Logic TTL with 5V signal level So we can not connect signal from both boards directly we must find device to convert signal 5V into 3V3 In this case we use ET MINI LOGIC LEVEL SHIFTER for connection both boards Additionally it 15 necessary to use these devices as follows 1 Board Microcontroller MCS51 version ET BASE51 AC3 2 Board ET MINI LOGIC LEVEL SHIFTER to convert signal Logic 5V into 3 3V 3 Board MP3 Decoder version ET MINI 4 5V Adapter to supply power into Board ET BASE51 AC3 In this case we use 3 small File Wave that are not higher than 48 Kbytes totally and we use File Wave Format that we can hear it counting number from 0 to 2 English version to store in Flash memory of AT89C51AC3 as Table type Next we must refer to memory position that stores the file and we must send it to MP3 Decoder to convert into voic
30. ow of Module and pin position s arrangement on Module is shown the picture below Using this Module must interface Common Pin with Ground and interface a dp Pin with 8 Pin Port I O of MCU If sending Logic 1 to which Segment that Segment will be in status ON and if displaying number must decode and decide to send Logic 1 to which Bit It 1s easier to decode if user interfaces I O of MCU as same as 7 Segment s pin arrangement TOS5161A 1 2 O o eoo 560 COMMON CATHODE 1 Picture above Picture below not use 9 Pin Picture displays structure of ET MINI SEG K and Port Pin position 560 X 8 DPY 7 Seg DP GND 10 GND Pin position of 7 Segment Picture displays circuit of ET MINI SEG K ETT CO LTD lt gt WWW ETT CO TH MODULE ET MINI 232 TTL2 ET MINI 232 TTL2 Module ET MINI 232 TTL2 which is RS232 Communication Line Driver uses 5V power supply It transforms TTL signal of MCU into RS232 12V There s 2 channels for using Firstly Connector on Input side must interface Tx PIN and Rx PIN with Tx PIN and Rx PIN of MCU respectively User must interface Tx PIN and Rx PIN in the same channel Tx0 Rx0 Tx1 Rx1 In the part of VCC PIN and GND PIN must interface with power supply of MCU Secondly Connector on Output side uses the same channel as Input side and then interfaces Rx PIN with Tx PIN and interfaces Tx PIN with Rx PIN of commun
31. pply 5V we must find circuit to convert Logic 5V into Logic 3 3V first ETT designs Board LOGIC LEVEL SHIFTER to support this application as shown in the diagram below ET MINI LOGIC LEVEL DIR A TO B ET BASES1 ET MINI MP3 VS1002D P4 0 Out P4 1 In P4 2 MISO P4 3 SCK P4 4 MOSI P3 4 Out P3 5 Out 3V3 RES DREQ SO Q N lvZ XCS BSYNC Figure displays the connection between board ET MINI MP3 and Microcontroller that uses 5V Power Supply ETT CO LTD 3 WWW ETT CO TH CAE 3V3 3V3 3V3 47uF 1 1 C 3001 E ce i 3V3 VS1002D 12 288 MHz 10nF 10nF 10nF zr 21 27 ZN 3V3 INO OIdNV S 1 uF MICROPHONE 1 uF 0 1uF Title ET MINI MP3 Size Number Revision WWW ETT CO TH 1 0 Date 21 Jun 2006 Sheet1 of 1 File D My Circuit MINI MP3 MINI MP3 Ddb Drawn By Eakachai Makarn 4 An Example Connection ET MINI MP3 with MCS51 ET BASE51 An Example Connection ET MINI MP3 with MCS51 This example displays using Port SPI of MCS51 No AT89C51AC3 to connect and command IC VS1002D that is a MP3 Decoder The sample program will mention about proceeding to connect and command IC VS1002D to play music and voice only We do not me
32. r Always 41 lw Command Response fs Supply voltage ground oa w s os ax 6 s supply vottage ground Note S power supply O output PP push pull OD open drain NC not connected Details of signal Pin when it is connected as SPI Mode type 4 WWW ett co th User Manual For SD MMC SPI Pad Definition Pme Name SPI Description La ec or Chip Select Active low 2 Hostto Card Commands and Data VSSI Eu Supply Voltage Ground NEN os vp s 1 5 6 s SupyVolgeOrmd 7 wow Cardo HostDamandstatus Note S power supply O output 5 www ett co th User Manual For ET MINI MP3 ET MINI MP3 idet 3 Board ET MINI MP3 is MP3 Decoder to convert signal into voice ETT uses IC VLSI No VS1002D to decode file MP3 and to be the permanent IC on board VS1002D is the IC MP3 Decoder that of the highest quality the easiest application It can decode File MP3 and File WAVE instantly and there is Analog OUTPUT to be Stereo audio type so we can connect ae with headphone OE amplifier instantly Additionally we can connect with Microcontroller easily by using SPI Serial Port standard So we can apply ET MINI MP3 with Microcontrollers as desired Ihe structural feature of Board ET MINI MP3 is just a part of
33. rallel Output Connector SPI Serial to Parallel 8 BIT r 1 5 QOAt D NIQ ET MINI foes O HOLV D 3001 0j LNO Connectoron Input Side Picture displays structure of ET MINI 74HC595 and Port Pin position 4 VCC 5V OUT ns OUTPUT LOGIC gt m Picture displays circuit of ET MINI 74H C595 ETT CO LTD WWW ETT CO TH MODULE ET MINI 051307 ET MINI DS1307 Module ET MINI DS1307 which is Real Time Clock RTC displays Time Base such as Clock Timer and Calendar There s SDA Connector and SCL Connecter for interfacing with SDA PIN and SCL PIN of MCU respectively and for external INT Connector interfaces with MCU when uses Interrupt It uses VDC 3V 5V power supply and this No has Control Byte 1101000 Moreover there s battery box to back UP Time Base correctly when Module is not supplied power Using this Module firstly Set Jumper SDA SCL and INT and place on ENA side as in the picture It interfaces Pull Up with all 3 PIN of I C If interface R Pull Up with 3 PIN of I C If Pull Up is interfaced in Line SDA and SCL from external or is interfaced from other Module must Set Jumper of all 3 PIN and place on DIS side because it does not interface R Pull Up once 222 Zz O O OU If gt 2 gt gt 2 OD gt 12 3V m
34. t lt J 66 ce l ADM3232 ADM3232 i ol lol lal lo c TTL 3V 5V RS232 LINE DRIVER B 2 ET MINI 232 TTL3 DJ LJ LJ LJ Li ETT Mini IO Connector on Input side Picture displays structure of ET MINI 232 TTL3 and Port PIN position VCC 3V 5V 0 1UF 0 1UF JJ x TXO VCC ADM3232 5 RXDO RS amp GND Picture displays circuit of ET MINI 232 TTL3 ETT CO LTD WWW ETT CO TH MODULE ET MINI 74HCS95 ET MINI 74HC595 Module ET MINI 74HC595 is 8 Bit Serial IN Serial or Parallel OUT Shift Register It can test MCU s SPI communication and its features of Module and Connector display in picture below When using SPI communication we use DIN Connector to receive Serial data from MCU interfaced with MOSI of MCU LATCH Connector is interfaced with I O PIN of MCU It runs at edge rising time of Clock from 0 to it delivers Parallel data through 10 PIN Connector in Output Logic side of Module CLOCK Connector runs at edge rising time and interfaces with SCLK PIN of MCU SPI Signal CLOCK that is received from MCU we use its for Shift 8 Bit data that is entered per time DOUT Connector is Output PIN for sending Serial data and 10 PIN Connector is Output PIN for sending Parallel data A 9 V c 0 A 9 V c 0 210071 LNAdLNO 5 1 9 1 91901 LAdLNO E S 9 S gt 74HC595 Data Pa
35. t lt OUT6 c OUT5 F QUT 2g OUT4 gt oum Q O C XMOL 22 ov e oy e e IH O 1 Picture displays circuit of ET MINI PCF8574 AP ETT CO LTD se WWNW ETT CO TH MODULE ET MINI 24 ET MINI 24xx Module ET MINI 24xx which is E PROM 24xx family collects data There s 4 Modules so user can communicate which Module Each Module has different address and shows on board so user must select correct address for using Module Using this Module must select Set Jumper SDA and SCL to place in ENA side and then interface R Pull UP with SDA PIN and SCL of I C If R Pull UP is interfaced from external in Line of SDA and SCL or from other Module it is not necessary to interface Pull Up once In this case only interface both Set Jumper to place in DIS side for taking off R Pull Up from SDA PIN and SCL of in Module In part of Module Connector interface SDA Connector with SDA PIN of MCU and also interface SCL Connector with SCL PIN of MCU and then user can read and write this E Prom No In this case user must have knowledge of using this E Prom No because can control its writing and reading correctly DIS O gt DIS 1010100 uS B 5 1010110x 1010111x Picture displays Set Jumper when it does not interface with Pull Up 2 5 EEPROM ENA DIS ET MINI E mm m o oCL Picture d
36. tus Logic is 1 but if any key is pressed status Logic is 0 Before reading status Logic in each unit MCU always sends Logic 0 into each key s ROW PINS PINS Picture below displays PIN position and circuit C 90 91 N d 0 c 6 O7O oc loo ee Je gt Picture displays structure of ET MINI KEY 4x4 and Port PIN position 3V 5V 10K x 4 1 5 6 7 8 7 9 0 7 PING ING D E F 5 Picture displays circuit of ET MINI KEY 4 4 ETT CO LTD lt gt WWW ETT CO TH MODULE ET MINI PWRS5 ET MINI 5 Module ET MINI PWRS which is 1A Switching Regulate 5V has LED display status operation of Module Using this Module must interface 7V 12V DC Output adapter with Jack connector as the picture below If Module runs as normally LED will displays as red color and then user can interface cable with OUTPUT 10 PIN Connector at position of VCC 5V and GND 0 It uses 5V OUTPUT power supply O Ol 5 MA Es VCC 5V LM2575 2 Ga E lt E 100 2 lt Ground Connector 0V ET MINI PWR5 5V Connector SWITCHING REGuLATE 5V 1A 7 12VDC E WO4 M Mini lO Q VIN 7 12VDC Picture displays structure of ET MINI PWRS5 and OUTPUT Connector LM2575 2 9 VCC 5V FEEDBACK 22 7 12VDC e
37. voice that is interpreted by Batch file VOICE BAT Next step is downloading both Hex files into CPU by using program LPC2000 from Philips In this case there are two proceedings to do as follows 1 Command to download Hex file as file by file When we open Hex File that is audio file must select type of delete memory as Enter Device that command to delete all memory and then command to download audio file first Next open HEX File of Source Code but we must select type of delete memory as Select Sectors type and must configure position Sector to be 0 3 and then command to download as in the picture below LPC2000 Flash Utility File Buffer Help PHILIPS LPC2000 Flash Utility V2 2 3 Flash Pragramming Erase Blank Communication Filename Connected Port 1 2148 21 2n eee fe Entire Device 2 Selected Sectors Use Baud Hate Upload to Flash ry 384000 Start Sector Erase End Sect Compare Flash Time Out sec E Device Use DTR RTS Device LPC2148 m Part m for Reset and Boot Loader Freg kHz 18660 Device ID Boot Loader selection LPC2000 Flash Utility Buffer Help PHILIPS LPC2000 Flash Utility V2 2 3 Flash Pragramming Erase Blank Communication Filename Connected Port 1 2148 21 E SER EE Ene Device

Download Pdf Manuals

image

Related Search

Related Contents

OpenStage 60/80  10-268型 取扱説明書 保証書付 ガステーブルコンロ  Benutzerhandbuch iGuard IP- Kamera Modelle IP-390E, IP-310E  Samsung 40" LED-skärm PE40C Bruksanvisning  Full Manual (PDF Version)  Kondator LB15  Instrucciones SMARTCAM    Blueair 500/600 Series - National Allergy Supply  MANUAL DE USUARIO  

Copyright © All rights reserved.
Failed to retrieve file