Technische Beschreibung technical description ... - myAVR

Technische Beschreibung technical description ... - myAVR Technische Beschreibung technical description ... - myAVR

<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 2/13Die Informationen in diesem Produkt werden ohne Rücksichtauf einen eventuellen Patentschutz veröffentlicht.Warennamen werden ohne Gewährleistung der freienVerwendbarkeit benutzt.Bei der Zusammenstellung von Texten und Abbildungenwurde mit größter Sorgfalt vorgegangen.Trotzdem können Fehler nicht vollständig ausgeschlossenwerden.Die Autoren können für fehlerhafte Angaben und derenFolgen weder eine juristische Verantwortung noch irgendeineHaftung übernehmen.Für Verbesserungsvorschläge und Hinweise auf Fehlersind die Autoren dankbar.Alle Rechte vorbehalten, auch die der fotomechanischenWiedergabe und der Speicherung in elektronischen Medien.Die gewerbliche Nutzung der in diesem Produkt gezeigtenModelle und Arbeiten ist nicht zulässig.Fast alle Hardware- und Softwarebezeichnungen, die indiesem Dokument erwähnt werden, sind gleichzeitig aucheingetragene Warenzeichen und sollten als solche betrachtetwerden.© Laser & Co. Solutions GmbHPromenadenring 802708 LöbauDeutschlandwww.<strong>myAVR</strong>.dehotline@myavr.deTel: ++49 (0) 358 470 222Fax: ++49 (0) 358 470 233In spite of the great care taken while writing this documentthe author is not responsible for the topicality, correctness,completeness or quality of the information provided.Liability claims regarding damage caused by theuse of any information provided, including any kind ofinformation which is incomplete or incorrect, will thereforebe rejected.All rights reserved. Unless otherwise specified, no part ofthis publication may be reproduced or utilized in any formor by any means, electronic or mechanical, includingphotocopying and microfilm, without permission in writingfrom the publisher.All trademarks and registered trademarks appearing inthis document are the property of their respective owners.© Laser & Co. Solutions GmbHPromenadenring 802708 LöbauGermanywww.<strong>myAVR</strong>.comhotline@myavr.comTel: ++49 (0) 358 470 222Fax: ++49 (0) 358 470 233www.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 3/13Allgemeine <strong>Beschreibung</strong>mySmartControl MK2 ist ein kompaktes Prozessorboardmit einem AVR RISC Mikrocontroller von Atmel und standardisiertemUSB-Interface. Die Programmierung erfolgtüber einen vorinstallierten Bootloader oder per ISP. Es istmit einem ATmega8 (8 KB FLASH und 3,6864 MHz), einemATmega168 (16 KB FLASH und 20 MHz), oder einemATmega328 (32 KB FLASH und 20 MHz) erhältlich. DieSpannungsversorgung erfolgt per USB oder optional überein PowerKit V5. Es kann in 5 V oder in 3,3 V Zielumgebungeneingebettet werden und kleine Schaltungenkönnen auf dem integrierten Lochrasterfeld direkt aufgebautwerden. Für die Steuerungsaufgaben verfügt dasModul über eine 20polige Buchsenleiste nach dem <strong>myAVR</strong>Standard. Eine Kommunikation mit dem PC kann völligtransparent über einen virtuellen COM-Port geschehen.Das Board wird über die USB-Schnittstelle mit dem PCverbunden und mit Spannung versorgt. Es ist kein ParalleloderCOM-Port nötig, was vor allem für Notebookbesitzervon Vorteil ist.Die Versorgungsspannung kann wahlweise 3,3 V oder5 V betragen (Datenblatt zum Controller beachten).Das Board stellt eine kompakte Alternative zu dem LernundExperimentiersystem <strong>myAVR</strong> Board MK2 dar.Eigenschaften• AVR RISC Prozessor-Board mitATmega8 / ATmega168 / ATmega328• einfache Kommunikation des Mikrocontrollers mitdem PC oder Notebook über die USB-Schnittstelle,stellt einen virtuellen COM-Port im PC zur Verfügung• Spannungsversorgung über USB oder einem separatenPowerKit V5, mit 3,3V oder 5V einstellbar• schnelle Programmierung „in System“ wahlweise perUSB und Bootloader oder ISP• Quarz für exaktes Timing• Reset-Taster• Power-LED• Lochrasterfeld mit RM 2,54 mm und 8 x 11 Lötaugen• 20 poliger Standard <strong>myAVR</strong>-Boardverbinder• betriebsbereit bestückt• optionaler ISP-Anschluss mit 10 PIN Atmel Standardbelegung• Industriestandard-Controller (CP2102) USB 2.0 zuseriell Konverter• vorbereitete spezielle Anschlüsse (Port D0, D1, B6,B7, C6, C7)• Leiterplatte gebohrt, verzinnt, Industriefertigung, robust,bedrucktGeneral <strong>description</strong>mySmartControl MK2 is a compact microcontroller-boardwith an AVR RISC controller from Atmel and a standardizedUSB interface. The programming is possible via apre-installed Boot loader or over ISP. MySmartControlMK2 is available with an ATmega8 (8 KB FLASH and3.6864 MHz), an ATmega168 (16 KB FLASH and20 MHz), or an ATmega328 (32 KB FLASH and 20 MHz).The power supply takes place over USB or with aPowerKit V5. MySmartControl MK2 can be embedded intarget-systems with 5 V or 3.3 V and small circuits can bebuilt directly on the integrated prototype area. In order toperform control tasks the module uses a 20-pin femaleheader as <strong>myAVR</strong> standard connection. The communicationwith the PC runs completely transparent over a virtualCOM-Port.The board is connected with the PC over an USB interfacewhich is also responsible for the power supply. Aparallel port is not necessary, what is particularly an advantagefor notebook owners.For power supply you can choose between 3.3 V or 5 V(attend the controller datasheet).The board is an alternative solution to our educationalboard <strong>myAVR</strong> Board MK2.Properties• AVR RISC controller board withATmega8 / ATmega168 / ATmega328• simple communication between microcontroller andPC or notebook over the USB interface, which providesa virtual COM-Port to the PC• power supply via USB or a separate PowerKit V5,with 3.3V or 5V selectable• fast "in system"-programming, alternatively over USBand bootloader or ISP• quarz for accurate timing• reset button,• power LED• prototype area with a grid of 2.54 mm and 8 x 11 pads• 20 pin female header as standard <strong>myAVR</strong> boardconnector• fully equipped• optional equipped with standard Atmel ISP connector• industrial standard-controller (CP2102) USB 2.0 toserial bridge from SiLabs• special connections prepared (Port D0, D1, B6, B7,C6, C7)• Printed circuit board pre-drilled, tin-plated, industrialproduction, solid, printedUSB-AnschlussUSB InterfaceRESETISP-AnschlussISP-InterfacePower LEDSpannungskonfigurationvoltage selectionLochrasterfeldprototype areaQuarz<strong>myAVR</strong>-Boardverbinder<strong>myAVR</strong> Board connectorwww.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 4/13<strong>Technische</strong> DatenTechnical DataBetriebsdatenOperating DataVersorgungsspannung5 V von USB oder5 V from USB orSupply Voltageextern mit PowerKit V5external with PowerKit V5Betriebsstrom 10 mA - 20 mA Operating Current 10 mA - 20 mABetriebsspannung typisch 4,7 V - 5,3 V Operating Voltage typical 4.7 V – 5.3 VBetriebstemperatur 10 °C bis 50 °C Operating Temperature 10 °C to 50 °CSpezifikationen ATmega8 ATmega168 ATmega328 Specifications ATmega168 ATmega8 ATmega328Flash 8 KByte 16 KByte 32 KByte Flash 8 Kbytes 16 Kbytes 32 KbytesSRAM 1 KByte 1 KByte 2 KByte SRAM 1 Kbyte 1 Kbyte 2 KbytesEEPROM 512 Byte 512 Byte 1024 Byte EEPROM 512 Byte 512 Byte 1024 Bytemax. Frequenz 16 MHz 20 MHz 20 MHz max. frequenz 16 MHz 20 MHz 20 MHzMaximalwerteMaximum ValuesVersorgungsspannung 12 V extern mit PowerKit V5 Supply Voltage 12 V external with PowerKit V5Maximalstrom80 mA über USB,80 mA from USB,Maximum Current300 mA über <strong>myAVR</strong> Netzteil300 mA with ext. PSUMaximalspannung 5,8 V Maximum Voltage 5.8 VLagertemperatur -20 °C bis 70 °C Storage Temperature -20 °C to 70 °CSchnittstellendatenInterface DataSchnittstellenInterfaceProgrammierung USB 2.0, Bootloader oder ISP programming USB 2.0, bootloader or ISPKommunikation USB 2.0, virtualer COM-Port communication USB 2.0, virtual COM-PortUSB-Controller CP2102, SiliconLabs USB controller CP2102, SiliconLabsProgrammierkabel Flachbandkabel, 10 polig 1:1,Buchse-Buchse, 10 poligerStandard Atmel-ISP AnschlussProgramming cableflat cable, 10 pin 1:1, jack-jack,10 pin standard Atmel-ISP connectorErweiterungsport 20 polig <strong>myAVR</strong> Standard Extension port 20 pin <strong>myAVR</strong> standardPinbelegung ISPStandard-ISP 10polig, WannensteckerPin ConfigurationStandard-ISP 10 pin, print plugPin 1 MOSI Pin 6 GND Pin 1 MOSI Pin 6 GNDPin 2 VCC Pin 7 SCK Pin 2 VCC Pin 7 SCKPin 3 GND Pin 8 GND Pin 3 GND Pin 8 GNDPin 4 GND Pin 9 MISO Pin 4 GND Pin 9 MISOPin 5 RESET Pin 10 GND Pin 5 RESET Pin 10 GNDErweiterungsportExtension Port1 20Buchsenleiste für denAnschluss von <strong>myAVR</strong> Add-OnsPort D.0Port D.11= Port D.22 = Port D.33 = Port D.44 = Port D.55 = Port D.66 = Port D.77 = Port B.08 = Port B.19 = Port B.210 = Port B.311 = Port B.412 = Port B.513 = 5 V14 = Masse /ground15 = Port C.016 = Port C.117 = Port C.218 = Port C.3female pin header to connect<strong>myAVR</strong> Add-Ons1 20www.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 5/13Mechanische DatenMechanical DataAbmaße (L x B x H) ca. 90 mm x 30 mm x 13 mm Dimensions (L X B X H) ca. 90 mm x 30 mm x 13 mmGewicht ohne Erweiterung ca. 20 g Weight, without extensions ca. 20 gRastermaß2,54 mm,für Komponenten in PrintmontageGrid dimensionsRM 2,54 mm, 8 x 11 Lötaugen,LochrasterfeldBohrdurchmesser 1 mm, DurchmesserPrototype area1,8mmLeiterplattenmaterial:FR8, 1,5 mm Dicke, 0,35 µm CuAuflage, zweiseitig, Lötstoppmaske,verzinnt, durchkontaktiertPrinted Circuit BoardMaterial:2.54 mm,for components in print assemblygrid of 2.54 mm, 8 x 11 pads, drilldiameter 1 mm, diameter 1.8 mmFR8, thickness 1.5 mm, Cu layer0.35 µm, two-sided, solderingresist mask, tin-plated, platedthroughWeitere Daten zum CP2102, ATmega8, ATmega168 undATmega328 finden Sie in den jeweiligen technischen Datenblätternder Hersteller.At the particular <strong>technical</strong> datasheets from the producer youcan find more Data to CP2102, ATmega8, Atmega168 andAtmega328.Layout OberseiteLayout topLayout UnterseiteLayout bottomwww.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 6/13Schaltplan / circuit diagramStandard / standardmit Erweiterungen / with extensionswww.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 7/13Bestückungsplan /layout diagrammySmartControl MK2 / mySmartControl MK2mySmartControl MK2 mit ISP-Stiftleiste / mySmartControl MK2 with ISP Pin ConnectormySmartControl MK2 mit PowerKit V5 / mySmartControl MK2 with PowerKit V5mySmartControl MK2 mit externPowerKit / mySmartControl MK2 with externPowerKitzusätzliche Anschlüsse / additional connectionsAnschlüsse für:connections for:- RESET- VCC- GNDAnschlüsse für:connections for:- ADC 6- ADC 7Anschlüsse für:connections for:- PORT D.0 (RxD)- PORT D.1 (TxD)Anschlüsse für:connections for:- PORT B.6 (XTAL/TOSC1)- PORT B.7 (XTAL/TOSC2)Weitere Informationen zu den jeweiligen Ports finden Sie inden Datenblätter des ATmega8, ATmega168 und ATmega328.At the datasheets of ATmega8, ATmega168 and ATmega328you can find more information to the ports.www.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 8/13Bestückungsbeispiel mit externPowerKit / mounting example with externPowerKitSchaltplan externPowerKit / circuit diagramLayout Oberseite / Layout topLayout Unterseite / Layout bottomwww.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 9/13Spannungsversorgung (Varianten) / power supply (variants)Quelle / SourceUSB Netzteil externUSB PSU externalBildPictureSpannungVoltagePowerKit V5PowerKit V5SchaltungswahlConfigurationXStandard5 VX5 VR4 entfernenremove SMD R4X3,3 VR4 entfernenremove SMD R4X 5 V XX3...5 VR4 entfernenremove SMD R4X X 5 V XR4 entfernenremove SMD R4www.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 10/13Funktionsschema / functional schematicSiSy AVRPC/Notebook<strong>myAVR</strong>WorkpadAndereProgrammeotherprogramsUSBPortUSB A/BUSB InterfaceCP210xUSART5 V /3,3 VmySmartUSBATmega8 3,6MHz /ATmega168 20 MHz /ATmega328 20 MHz18 IO-LinesUSBPortUSB A/BmySmartControl MK2ISP<strong>myAVR</strong>Netzteilpower supply unit9 - 12 VSpannungs -versorgungsupply voltage5 V<strong>myAVR</strong> Standard InterfaceEigene Schaltungown circuitEinsatzvariante / application variantsUpdate viaBootl o aderUSB InterfaceCP210xUSARTmySmartControl MK2ATmega168 20 Mhz18 IO - Lines<strong>myAVR</strong> Standard InterfaceEigene Schaltungown circuit<strong>myAVR</strong>Netzteilpower supply unit9 -12 VSpannungs -ve r sorgu ngsupply voltage5 Vwww.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 11/13USB Treiberinstallation / USB driver installationDer USB Controller von mySmartControl MK2Der mySmartControl MK2 verfügt über einen CP2102 USBController der Firma Silicon Labs (www.silabs.com). Dabeihandelt es sich um eine USB UART Bridge, die einen virtuellenCOM-Port im System zur Verfügung stellt. Dieserkann wie ein normaler, physischer COM-Port benutzt werden.Beachte:Der mySmartControl MK2 darf vor der Installation der Treibernicht angeschlossen werden.Für die Installation benötigen Sie Administratorrechte.Download des TreibersUm den USB Treiber herunterzuladen,besuchen Sie unsereWebsite unter www.myavr.de.Dort folgen Sie dem Link „Downloads“.Als Suchbegriff geben sie„Treiber“ oder „DL46“ ein.Speichern Sie sich das Archiv inein Verzeichnis auf Ihrer Festplatte.Alternativ können die aktuellstenTreiber für andere Betriebssystemeauch unter www.silabs.comherunter geladen werden.The USB Controller of mySmartControl MK2The mySmartControl MK2 uses a CP2102 USB-controllerform Silicon Labs (www.silabs.com). This controller is aUSB UART bridge and provides a virtual COM-port for yourSystem, which can be used like any other normal COMport.Please note:MySmartControl MK2 must not be connected to your computerwhile installing the driver.For installation you need administration rights.Download the driverYou can download the driverfrom our website(www.myavr.com).Go into the download area andsearch for „driver“ or „DL46“.Safe the corresponding file onyour computer.Alternatively you can downloadthe latest version of the driveralso for other operation systemsdirectly at www.silabs.com.Deinstallieren des alten TreibersSollten Sie bereits eine alte Version des USB Treibersinstalliert haben, muss diese entfernt werden, bevor derneue Treiber installiert werden kann. Dies geschieht überdie Systemsteuerung, Software.Der alte Treiber könnte unter diesem Eintrag in der Listestehen:Uninstall the old driverIf you have installed an older version of the driver, youshould remove it from your system before installing thenew one. In case you are using Microsoft Windows pleaseuse the Control Panel to uninstall the driver.The old driver could stand under this entry in the listSollte er nicht genau unter diesem Eintrag aufgelistet sein,suchen Sie nach ähnlichen Einträgen mit der Basis„CP210x USB to UART“Nach dem Entfernen der alten Treiberdateien kann derneue Treiber installiert werden.The driver should have the name "CP210x USB to UARTBridge Controller" or something alike.After the old driver has been removed, you can proceed toinstall the new driver.Installation des neuen TreibersEntpacken Sie die heruntergeladene Datei in ein Verzeichnisauf Ihrer Festplatte.Für eine reibungslose Installation starten Sie aus demTreiberverzeichnis das Programm:„CP210xVCPInstaller.exe“Installation of the new driverUnzip the downloaded file in a directory on your hard disk.To install the driver start the program"CP210xVCPInstaller.exe".www.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 12/13Dieses Programm bereitet den eigentlichen Installationsvorgangbeim Erkennen des USB Gerätes vor. Ist derVorgang erfolgreich verlaufen, kann das USB-Gerät angeschlossenwerden.Anschließen des mySmartControl MK2Nach dem Anschließen des mySmartControl MK2 wird derUSB Controller automatisch gefunden und die Treiberinstalliert. Im Gerätemanager wird ein virtueller COM Portangelegt und der nächsten freien Portnummer zugewiesen.Wait till the installation has been finished successfully, thenyou can connect the USB device to your computer.Connect the mySmartControl MK2This will finish the installation process and a new virtualCOM-port will be provided with the next available port number.Das USB-Gerät kann jetzt benutzt werden.Benutzen des mySmartControl MK2Der mySmartControl MK2 kann jetzt als USB to UARTBridge über den zugewiesenen virtuellen COM Port genutztwerden. Der virtuelle COM Port kann über den Gerätemanagereingesehen und auch eingestellt werden.Now you can use the USB device.Use of mySmartControl MK2MySmartControl MK2 can now be used as a USB to UARTbridge with the assigned COM-port. On Microsoft Windowsvirtual COM-port can be viewed and adjusted in the devicemanager.AufräumenSie können nach erfolgreicher Installation der Treiber denkomprimierten ZIP-Ordner und das extrahierte Verzeichnislöschen. Alle nötigen Treiber wurden beim Installationsvorgangin die entsprechenden Windowsverzeichnisse kopiert.Clean upAfter installation you can delete the ZIP-file and the extracteddirectory. All needed files have been copied to thecorresponding system folders.www.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com


<strong>Technische</strong> <strong>Beschreibung</strong> mySmartControl MK2 V1.11 Seite: 13/13Programmereinstellungen / programmer settingsBeachte:Die konkreten Porteinstellungen sind von der Rechnerkonfigurationabhängig. Besonders der USB ProgrammermySmartControl MK2 kann auf unterschiedlichen virtuellenCOM Ports angemeldet werden. Es ist zu empfehlen,die COM Einstellung des mySmartControl MK2 auf COM3oder COM4 zu legen, da manche Werkzeuge wie dasAVR Studio maximal COM4 zulassen. Die Zuweisung desCOM Port erfolgt über den Gerätemanager.Notice:The precise port settings depend on the configuration ofyour PC. Especially the USB programmermySmartControl MK2 might be assigned to different virtualcom ports. We recommend using mySmartControlMK2 with COM3 or COM4, as some tools (like AVRStudio) only support a com port up to COM4. You canchange the com port settings in windows device manager.Allgemeine SicherheitshinweiseGrundsätzlich ist mySmartControl MK2 für den Einsatzunter Lern- und Laborbedingungen konzipiert. Er ist nichtspeziell für die Steuerung einer konkreten Anlage dimensioniert.Für die Verwendung in einer spezifischen Anlagesind ggf. fachgerechte Anpassungen vorzunehmen. Für dieAuslegung einer konkreten Anwendung des mySmart-Control MK2 ist der Anwender verantwortlich. Bei vorschriftsmäßigemAnschluss und Betrieb treten keine lebensgefährlichenSpannungen auf. Beachten Sie trotzdemdie Vorschriften, die beim Betrieb elektrischer Geräte undAnlagen Gültigkeit haben. Wir versichern, dass die Leiterplattedurch den Hersteller getestet wurde. Für fehlerhaftenund/oder vorschriftswidrigen Einsatz des Board übernehmenwir keine Garantie.Safety GuidelinesMySmartControl MK2 is designed for educational and experimentaluse only. It is not intended and not dimensionedto be used in a real industrial system. In order to usemySmartControl MK2 in such a specific system, theremight be only changes necessary, which should be performedonly by professionals. For these modifications theuser is fully responsible. There will not occur extremelydangerous voltages at correct use. Nevertheless, be awareof general guidelines for using electronic devices. We assurethat the PCB has been tested by the producer. Forincorrect use and/ or application contrary to <strong>technical</strong> regulations,we are not liable.Hersteller / ProducerLaser & Co. Solutions GmbH · Promenadenring 8 · 02708 Löbau, Deutschland/GermanyInternet: www.<strong>myAVR</strong>.de / www.<strong>myAVR</strong>.com Email: hotline@<strong>myAVR</strong>.deIn unserem Downloadbereich unter www.<strong>myAVR</strong>.de finden Sie stets aktuelle Dokumente.On our homepage www.<strong>myAVR</strong>.com under „Download“ you find the latest documents.www.<strong>myAVR</strong>.de © Laser & Co. Solutions GmbH - 06/2012 www.<strong>myAVR</strong>.com

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!