TL16234+-+MegaPi详细说明+-+V1.0+-+0412

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

MegaPi说明书(初稿)MegaPiUserManual(FirstDraft)1、简介IntroductionMegaPi是一款基于ATmega2560的微主控板。它基于ArduinoMEGE2560,能实现ArduinoIDE编程,采用16MHz晶振、USB连接方便下载程序。它引出了43个输入/输出管脚,15个模拟输入口、3个串口,分成6个功能区域,配合各种功能小模块,可以方便快速的实现多种无线通讯和电机驱动功能,配合多种转接模块可以兼容多种平台电子产品。并配有2个大功率输出端口,提供最大10A的电流。MegaPi可以应用于3D打印机、CNC和各种搭建机器人等复杂功能用途。可以应用于教育、比赛、娱乐等众多方面。MegaPi的具有几乎和树莓派一样的大小,3个M4的安装孔方便安装在树莓派上,并通过串口连接,配合相应的程序能快速实现树莓派控制电机、传感器等电子模块等。MegaPiismicrocontrollerboardbasedontheATmega2560.BasedonArduinoMEGE2560,MegaPialsosupportprogrammingwithArduinoIDE.Itcomeswitha16MHzcrystaloscillatorandaUSBconnectorfordownloadingprograms.MegaPihas43input/outputpins,15analoginputsand3serialports.Itcanbedividedinto6areasaccordingtofunction.Variousfunctionmodulescanbeaddedtothisboardtorealizewirelesscommunicationortodrivemotors.Withthesupportofswitchmodules,MegaPiisalsocompatiblewithvariouselectronicproducts.Ithastwohigh-poweroutputinterfaceswhichhaveamaximumoutputcurrentof10A.Itistherecommendedboardforvariousapplicationscenes,suchas3Dprinter,CNCandotherroboticprojects.Moreover,itcanalsobeappliedtoeducation,gameandentertainmentfield.MegaPihasthesamesizeasRaspberryPi.ThreemountingholesallowthisboardtobeconnectedwithRaspberryPieasily.Withthesupportofserialportsandprograms,RaspberryPithenwillbecapableofdrivingmotorsandsensorseasily.————小白简介:IntroductionMegaPi是一款针对创客、教育、比赛而推出的高度自由化的开发板,采用Arduino编程,相当于ArduinoMEGE2560,非常容易上手和使用。本开发板体积小巧但功能强大,有6个功能区域,每个功能区域都配套有不同接插小模块,可以轻松实现电机驱动、无线通讯、功率器件驱动、树莓派通讯、RJ传感器驱动等功能,同时用户也可以不用这些小模块,自己DIY设计。MegaPi可以同时带动10个舵机和8个DC马达,强大的电机驱动能力是它的一大特色,能为想搭建机器人、智能小车、3D打印机等复杂形态的爱好者提供一个良好的平台。MegaPiisamaincontrolboardspeciallydesignedformakersandalsoanidealoptionforbeingappliedtoeducationfieldandallkindsofmatches.ItisbasedonArduinoMEGE2560andsupportsprogrammingwithArduinoIDEperfectly.MegaPicanbedividedinto6functionarea,allowingyoutoconnectwithvariousplug-inmodulestodrivemotorsandsensorandtorealizewirelesscommunication.MegaPihasstrongmotor-drivingabilitywhichiscapableofdriving10servosor8DCmotorssimultaneously.Itistheidealoptionforvariousroboticprojects,suchassmartrobotcarand3Dprinter.————2、技术参数TechnicalSpecifications主控芯片:ATMEGA2560-16AU输入电压:DC6V-12V工作电压:DC5V通用I/O管脚:43个串口:3个I2C口:1个SPI口:1个模拟输入口:15个DCCurrentperI/OPin:20mAFlash:256KBSRAM:8KBEEPROM:4KBClockspeed:16MHz尺寸:85*63mmMicrocontroller:ATMEGA2560-16AUInputVoltage:DC6V-12VOperatingVoltage:DC5VI/OPins:43SerialPorts:3I2CInterface:1SPIInterface:1AnalogInputPins:15DCCurrentperI/OPin:20mAFlashMemory:256KBSRAM:8KBEEPROM:4KBClockSpeed:16MHzDimension:85*63mm3、功能特性Features4个电机驱动接口,可以方便插取编码电机驱动模块、步进电机驱动等模块,从而实现直流电机、编码电机、步进电机的驱动。1个无线通讯模块接口,可以方便插取蓝牙模块、2.4G模块等。10个舵机接口,可以同时驱动10个舵机。2个大功率MOS管驱动端口,可以控制最大电流10A的设备。可以输出最大DC5V3A的工作电流。1个树莓派转接端口(需要手动焊接),实现5V转3.3V串口通讯。3个M4安装孔,空位置和树莓派一致。拨动开关用于控制主板供电。USB-B型接口,用于下载程序和通讯。并采用CH340GUSB转串口芯片,能轻松稳定的实现电脑和MegaPi的通讯。大功能DC输入接口,并配有2A过流保护,反接保护1个复位按键、1个电源指示灯(红色)、1个I/O控制灯(蓝色)Fourmotordriverinterfacesforaddingencodermotordriverandsteppermotordriver,andthustodriveDCmotors,encodermotorsandsteppermotorsOnewirelesscommunicationinterfaceforaddingBluetoothmoduleor2.4GmoduleTenservointerfaceswhichenabletheboardtodriveupto10servosatthesametimeTwohigh-powerMOSdriverinterfacewhichisabletodrivedeviceswithamaximumcurrentof10A.Maximumoutput:DC5V3AOneRaspberryPiswitchinterface(requiresmanualsoldering)torealize5Vto3.3VserialcommunicationThreeM4mountingholeswhichallowtheboardtobeconnectedwithRaspberryPiSlideswitchforcontrollingthepowersupplyB-typeUSBinterfacefordownloadingprogramsandcommunications.ItusestheCH340GUSBtoserialchipwhichcanrealizecommunicationbetweenthecomputerandMegaPieasilyandstablyHigh-powerDCinputinterfacewithanover-currentprotectionof2Aandanti-reversemeasurementOneresetkey,onepowerindicator(red)andoneI/Oindicator(blue)4、端口及接插模块介绍IntroducingInterfacesofMegaPiandOtherPlug-inModulesMegaPi具有较丰富的色彩,每种颜色代表不同的作用和功能:红色插针——电源或者电机输出黄色插针——I/O口蓝色插针——无线通讯接口黑色插针——电源地绿色接头——电机或功率输出ThevariouscolorsonMegaPirepresentsspecializedfunctions:Redpin--poweroutput/motoroutputYellowpin--I/OpinBluepin--wirelesscommunicationinterfaceBlackpin--powerGNDGreenpin--motoroutput/poweroutput1.蓝牙通讯模块BluetoothCommunicationModule(参考官网)2.2.4G通讯模块2.4GCommunicationModule(参考官网)3.编码电机驱动模块EncoderMotorDriverThisencodermotoriscapableofdrivingtwoDCmotorsoroneencodermotor.Ithas16pins,allowingyoutoconnectwithMegaPibysimplypluggingin.ThemotordriverIContheboardisTB6612,whichisahighefficiencyMOSFETdriverwithlowheatdissipation.OvercurrentprotectionincludedtopreventthedriverICfromburningout.Features:6Vto12Vmotorsupplyrange1Amaximumcontinuouscurrentpermotor(2Apeak)Over-currentprotection可以驱动1个编码电机(白色接口)或者2个直流电机(绿色接口)Capableofdrivingoneencoderdriver(whiteinterface)ortwoDCmotors(greeninterface)彩色公母插座,用于防止插错Color-codemaleandfemalepinsensureconnectingwithMegaPicorrectly编码电机驱动端有反向电动势保护(TVS保护)TVSprotectionincludedintheinterfacefordrivingencodermotors模块体积小巧,便于换取。SmallsizeforeasyconnectingwithMegaPiGeneralSpecifications:Motordriver:TB6612FNGMotorchannels:2Minimumoperatingvoltage:6VMaximumoperatingvoltage:12VLogicvoltage:5VContinuousoutputcurrentperchannel:1AP

1 / 7
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功