Data Sheet

CoreDeviceInterfaceSpecifications ModernRoboticsInc
Page4of10
ModernRoboticsCoreDeviceInterface
3 Overview
TheModernRoboticsCoreInterfaceDevicehas26portsforconnectingsensorsanddevices thatcanbe
readfromahostviaUSBand.TheCoreDeviceInterface,orCDI,provides8digitalI/Oports,8analog
inputs,2analogoutputs,2PWMoutputsand6I2Cbusports.TheCDI
ispoweredfromthe5vavailable
fromtheUSBconnection.
ToaccessportsontheCDI,requestsarewrittentothememorymapandresultsarereadfromthe
memorymap.Thestructureallowstheentirememorymaptobereadorwritteninoneoperationand
registersthatare
readonlyareprotectedbythefirmwaresowritestotheseregisterswillbeignored.
Thefunctionsavailablewilldependontheprogrammingenvironmentimplementationandthehost
system.
4 Ports
TheCDIhasanarrayofportsforconnectionofdifferentsensorsanddevices.Thesearearrangesin
groupsbasedonthefunction.Ground ispin1 ontheCDIandsignifiedbytheblackshadingadjacentto
thepin.Note,thecon nec torblockcolorcodingmatchestheModernRoboticssensor
connectionwires
andpigtails.
4.1 I2C
ThesixI2CportsareonacommonI2CbussoeachI2Cdevice mu sthaveadifferentI2Caddress.For
ModernRoboticsI2Csens ors,theaddresscanbeselectedtoavoidaddressingconflicts.
