[{"data":1,"prerenderedAt":719},["ShallowReactive",2],{"navigation_docs":3,"-interface-modules-ib-0310":161,"-interface-modules-ib-0310-surround":714},[4,21,56,97,124],{"title":5,"path":6,"stem":7,"children":8,"icon":20},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,12,16],{"title":10,"path":6,"stem":7,"icon":11},"Overview","i-lucide-book-open",{"title":13,"path":14,"stem":15},"Connect to your BLOX","\u002Fgetting-started\u002Fconnect-to-your-blox","1.getting-started\u002F2.connect-to-your-blox",{"title":17,"path":18,"stem":19},"IP cameras (IB-03x0)","\u002Fgetting-started\u002Fconfiguring-ip-cameras-ib-03x0","1.getting-started\u002F3.configuring-ip-cameras-ib-03x0","i-lucide-rocket",{"title":22,"path":23,"stem":24,"children":25,"icon":55},"How to","\u002Fhow-to","2.how-to\u002F1.index",[26,27,31,35,39,43,47,51],{"title":10,"path":23,"stem":24,"icon":11},{"title":28,"path":29,"stem":30},"Configure digital I\u002FO","\u002Fhow-to\u002Fconfigure-digital-io","2.how-to\u002F2.configure-digital-io",{"title":32,"path":33,"stem":34},"Connect digital I\u002FO","\u002Fhow-to\u002Fconnect-digital-io","2.how-to\u002F3.connect-digital-io",{"title":36,"path":37,"stem":38},"Connect to WiFi","\u002Fhow-to\u002Fconnect-to-wifi","2.how-to\u002F4.connect-to-wifi",{"title":40,"path":41,"stem":42},"Install a SIM card","\u002Fhow-to\u002Finstall-a-sim-card","2.how-to\u002F5.install-a-sim-card",{"title":44,"path":45,"stem":46},"Connect to LTE","\u002Fhow-to\u002Fconnect-to-lte","2.how-to\u002F6.connect-to-lte",{"title":48,"path":49,"stem":50},"GNSS location data","\u002Fhow-to\u002Fget-gnss-location-data","2.how-to\u002F7.get-gnss-location-data",{"title":52,"path":53,"stem":54},"Reset to default","\u002Fhow-to\u002Freset-blox-to-default","2.how-to\u002F8.reset-blox-to-default","i-lucide-list-checks",{"title":57,"path":58,"stem":59,"children":60,"icon":96},"BLOX","\u002Fblox","3.blox\u002F1.index",[61,62,77],{"title":10,"path":58,"stem":59},{"title":63,"path":64,"stem":65,"children":66,"icon":76},"Hardware","\u002Fblox\u002Fhardware","3.blox\u002F2.hardware\u002F1.index",[67,68,72],{"title":10,"path":64,"stem":65},{"title":69,"path":70,"stem":71},"Stress test","\u002Fblox\u002Fhardware\u002Fstress-test","3.blox\u002F2.hardware\u002F2.stress-test",{"title":73,"path":74,"stem":75},"Connector pinout","\u002Fblox\u002Fhardware\u002Fconnector-pinout","3.blox\u002F2.hardware\u002F3.connector-pinout","i-lucide-circuit-board",{"title":78,"path":79,"stem":80,"children":81,"icon":95},"Kernel","\u002Fblox\u002Fkernel","3.blox\u002F3.kernel\u002F1.index",[82,83,87,91],{"title":10,"path":79,"stem":80},{"title":84,"path":85,"stem":86},"Build the AIB-L4T","\u002Fblox\u002Fkernel\u002Fbuild-the-aib-l4t","3.blox\u002F3.kernel\u002F2.build-the-aib-l4t",{"title":88,"path":89,"stem":90},"Kernel support","\u002Fblox\u002Fkernel\u002Fkernel-support","3.blox\u002F3.kernel\u002F3.kernel-support",{"title":92,"path":93,"stem":94},"JetPack support","\u002Fblox\u002Fkernel\u002Fjetpack-support","3.blox\u002F3.kernel\u002F4.jetpack-support","i-lucide-terminal","i-lucide-cpu",{"title":98,"path":99,"stem":100,"children":101,"icon":123},"Interface Modules","\u002Finterface-modules","4.interface-modules\u002F1.index",[102,103,107,111,115,119],{"title":10,"path":99,"stem":100,"icon":11},{"title":104,"path":105,"stem":106},"IB-0100","\u002Finterface-modules\u002Fib-0100","4.interface-modules\u002F2.ib-0100",{"title":108,"path":109,"stem":110},"IB-0200","\u002Finterface-modules\u002Fib-0200","4.interface-modules\u002F3.ib-0200",{"title":112,"path":113,"stem":114},"IB-0210","\u002Finterface-modules\u002Fib-0210","4.interface-modules\u002F4.ib-0210",{"title":116,"path":117,"stem":118},"IB-0300","\u002Finterface-modules\u002Fib-0300","4.interface-modules\u002F5.ib-0300",{"title":120,"path":121,"stem":122},"IB-0310","\u002Finterface-modules\u002Fib-0310","4.interface-modules\u002F6.ib-0310","i-lucide-plug",{"title":125,"path":126,"stem":127,"children":128,"icon":160},"Communication Modules","\u002Fcomm-modules","5.comm-modules\u002F1.index",[129,130,134,144,148,152,156],{"title":10,"path":126,"stem":127,"icon":11},{"title":131,"path":132,"stem":133},"CB-0010","\u002Fcomm-modules\u002Fcb-0010","5.comm-modules\u002F2.cb-0010",{"title":135,"path":136,"stem":137,"children":138},"CB-0011","\u002Fcomm-modules\u002Fcb-0011","5.comm-modules\u002F3.cb-0011\u002F1.index",[139,140],{"title":10,"path":136,"stem":137},{"title":141,"path":142,"stem":143},"AP482","\u002Fcomm-modules\u002Fcb-0011\u002Fap482","5.comm-modules\u002F3.cb-0011\u002F2.ap482",{"title":145,"path":146,"stem":147},"CB-0100","\u002Fcomm-modules\u002Fcb-0100","5.comm-modules\u002F4.cb-0100",{"title":149,"path":150,"stem":151},"CB-0110","\u002Fcomm-modules\u002Fcb-0110","5.comm-modules\u002F5.cb-0110",{"title":153,"path":154,"stem":155},"CB-0200","\u002Fcomm-modules\u002Fcb-0200","5.comm-modules\u002F6.cb-0200",{"title":157,"path":158,"stem":159},"CB-0210","\u002Fcomm-modules\u002Fcb-0210","5.comm-modules\u002F7.cb-0210","i-lucide-radio",{"id":162,"title":120,"body":163,"description":707,"extension":708,"links":709,"meta":710,"navigation":711,"path":121,"seo":712,"stem":122,"__hash__":713},"docs\u002F4.interface-modules\u002F6.ib-0310.md",{"type":164,"value":165,"toc":696},"minimark",[166,170,177,182,185,188,191,194,198,203,206,225,228,231,234,238,243,246,249,257,260,370,374,568,572,575,580,585,663],[167,168,169],"p",{},"An interface module for up to 4 PoE IP cameras combined with digital I\u002FO.",[167,171,172],{},[173,174],"img",{"alt":175,"src":176},"","\u002Fimages\u002Finterface-modules\u002FIB-0310.webp",[178,179,181],"h2",{"id":180},"description","Description",[167,183,184],{},"The IB-0310 is ideal for camera vision applications that require high throughput and Power-over-Ethernet (PoE). Additionally there are 4 digital outputs (DO) and 4 digital inputs (DI) that can be used to interface with other systems for application control.",[167,186,187],{},"The module has an integrated PoE PSE Type 2 supply, which provides 30W at each connector. This eliminates the need for an external PoE injector or PoE switch. To be able to use the PoE, the BLOX platform need to be powered with 48V.",[167,189,190],{},"Each Ethernet port is separated with its own MAC address, to ensure each camera to stream at maximum throughput of 100Mbps.",[167,192,193],{},"The module has 4 Digital Outputs (DO) and 4 Digital Inputs (DI). They are galvanically isolated and require an external power supply with a range from 12V to 40V. The inputs and outputs will be These I\u002FO can used to interface with a remote system such as a PLCs or other industrial systems.",[178,195,197],{"id":196},"block-diagram","Block diagram",[167,199,200],{},[173,201],{"alt":175,"src":202},"\u002Fimages\u002Finterface-modules\u002FIB-0310-BlockDiagram.webp",[167,204,205],{},"The block diagram above shows the 5 main parts:",[207,208,209,213,216,219,222],"ul",{},[210,211,212],"li",{},"USB2.0 Hubs",[210,214,215],{},"4 MAC & PHY",[210,217,218],{},"PoE PSE",[210,220,221],{},"Digital Output circuits",[210,223,224],{},"Digital Input circuits",[167,226,227],{},"The 4 100Mbps Ethernet connections are spread over 2 USB2.0 Hubs. These hubs are connected to the USB3.0 interfaces of the BLOX. Each Ethernet connection has its own MAC or Media Access Controller. This results in 4 hardware separated connections for maximum throughput of 100Mbps.",[167,229,230],{},"A PoE PSE or Power-over-Ethernet Power Sourcing Equipment Type 2 provides 30W at each connector.",[167,232,233],{},"The digital outputs and inputs are galvanic isolated from the BLOX. This allows you to use 2 different power supplies: one for the BLOX (24VDC) and the other for the I\u002FO (24VDC I\u002FO).",[178,235,237],{"id":236},"connections","Connections",[239,240,242],"h3",{"id":241},"p1-to-p4-port","P1 to P4 port",[167,244,245],{},"The P1..P4 are RJ45 connectors of the 10\u002F100Mbits Ethernet ports.",[167,247,248],{},"Each connector hast 2 status LEDs available:",[207,250,251,254],{},[210,252,253],{},"Link status - Green LED",[210,255,256],{},"Activity status - Orange LED",[167,258,259],{},"The P1..P4 ports RJ45 connector with standard pin out:",[261,262,263,278],"table",{},[264,265,266],"thead",{},[267,268,269,273,276],"tr",{},[270,271,272],"th",{},"Pin#",[270,274,275],{},"Pin Name",[270,277,181],{},[279,280,281,293,304,315,326,337,348,359],"tbody",{},[267,282,283,287,290],{},[284,285,286],"td",{},"1",[284,288,289],{},"TxRx A +",[284,291,292],{},"Bi-directional pair A +",[267,294,295,298,301],{},[284,296,297],{},"2",[284,299,300],{},"TxRx A -",[284,302,303],{},"Bi-directional pair A -",[267,305,306,309,312],{},[284,307,308],{},"3",[284,310,311],{},"TxRx B +",[284,313,314],{},"Bi-directional pair B +",[267,316,317,320,323],{},[284,318,319],{},"4",[284,321,322],{},"TxRx C +",[284,324,325],{},"Bi-directional pair C +",[267,327,328,331,334],{},[284,329,330],{},"5",[284,332,333],{},"TxRx C -",[284,335,336],{},"Bi-directional pair C -",[267,338,339,342,345],{},[284,340,341],{},"6",[284,343,344],{},"TxRx B -",[284,346,347],{},"Bi-directional pair B -",[267,349,350,353,356],{},[284,351,352],{},"7",[284,354,355],{},"TxRx D +",[284,357,358],{},"Bi-directional pair D +",[267,360,361,364,367],{},[284,362,363],{},"8",[284,365,366],{},"TxRx D -",[284,368,369],{},"Bi-directional pair D -",[239,371,373],{"id":372},"io-port","I\u002FO Port",[261,375,376,392],{},[264,377,378],{},[267,379,380,382,384,386,388,390],{},[270,381,181],{},[270,383,275],{},[270,385,272],{},[270,387,272],{},[270,389,275],{},[270,391,181],{},[279,393,394,411,428,447,464,483,498,517,532,552],{},[267,395,396,399,402,404,407,409],{},[284,397,398],{},"I\u002FO Power Supply +",[284,400,401],{},"24V I\u002FO",[284,403,286],{},[284,405,406],{},"20",[284,408,401],{},[284,410,398],{},[267,412,413,416,419,421,424,426],{},[284,414,415],{},"I\u002FO Power Supply -",[284,417,418],{},"0V I\u002FO",[284,420,297],{},[284,422,423],{},"19",[284,425,418],{},[284,427,415],{},[267,429,430,433,436,438,441,444],{},[284,431,432],{},"Output Channel 1",[284,434,435],{},"OUT 1",[284,437,308],{},[284,439,440],{},"18",[284,442,443],{},"IN 1",[284,445,446],{},"Input Channel 1",[267,448,449,452,454,456,459,462],{},[284,450,451],{},"I\u002FO +24V",[284,453,401],{},[284,455,319],{},[284,457,458],{},"17",[284,460,461],{},"24V_I\u002FO",[284,463,451],{},[267,465,466,469,472,474,477,480],{},[284,467,468],{},"Output Channel 2",[284,470,471],{},"OUT 2",[284,473,330],{},[284,475,476],{},"16",[284,478,479],{},"IN 2",[284,481,482],{},"Input Channel 2",[267,484,485,487,489,491,494,496],{},[284,486,451],{},[284,488,401],{},[284,490,341],{},[284,492,493],{},"15",[284,495,461],{},[284,497,451],{},[267,499,500,503,506,508,511,514],{},[284,501,502],{},"Output Channel 3",[284,504,505],{},"OUT 3",[284,507,352],{},[284,509,510],{},"14",[284,512,513],{},"IN 3",[284,515,516],{},"Input Channel 3",[267,518,519,521,523,525,528,530],{},[284,520,451],{},[284,522,401],{},[284,524,363],{},[284,526,527],{},"13",[284,529,461],{},[284,531,451],{},[267,533,534,537,540,543,546,549],{},[284,535,536],{},"Output Channel 4",[284,538,539],{},"OUT 4",[284,541,542],{},"9",[284,544,545],{},"12",[284,547,548],{},"IN 4",[284,550,551],{},"Input Channel 4",[267,553,554,556,558,561,564,566],{},[284,555,451],{},[284,557,401],{},[284,559,560],{},"10",[284,562,563],{},"11",[284,565,461],{},[284,567,451],{},[239,569,571],{"id":570},"accessing-io-ports","Accessing I\u002FO Ports",[167,573,574],{},"We are developing a python library for accessing the I\u002FO Ports, however this library is not yet available. For now, you can access the I\u002FO Ports through the file system with the commands below.",[576,577,579],"h4",{"id":578},"for-mx1030-x-xavier-nx","For MX1030-x (Xavier NX)",[207,581,582],{},[210,583,584],{},"The table below shows the relationship between the GPIO numbers and the DI\u002FDO ports. You need those GPIO numbers to access the ports:",[261,586,587,597],{},[264,588,589],{},[267,590,591,594],{},[270,592,593],{},"Port",[270,595,596],{},"GPIO #",[279,598,599,607,615,623,631,639,647,655],{},[267,600,601,604],{},[284,602,603],{},"DO1",[284,605,606],{},"417",[267,608,609,612],{},[284,610,611],{},"DO2",[284,613,614],{},"420",[267,616,617,620],{},[284,618,619],{},"DO3",[284,621,622],{},"418",[267,624,625,628],{},[284,626,627],{},"DO4",[284,629,630],{},"424",[267,632,633,636],{},[284,634,635],{},"DI1",[284,637,638],{},"421",[267,640,641,644],{},[284,642,643],{},"DI2",[284,645,646],{},"419",[267,648,649,652],{},[284,650,651],{},"DI3",[284,653,654],{},"264",[267,656,657,660],{},[284,658,659],{},"DI4",[284,661,662],{},"265",[207,664,665,678,687],{},[210,666,667,668],{},"First we need to make the GPIO pins available to the fs:",[669,670,675],"pre",{"className":671,"code":673,"language":674},[672],"language-text","$ sudo echo 417 > \u002Fsys\u002Fclass\u002Fgpio\u002Fexport\n$ sudo echo 420 > \u002Fsys\u002Fclass\u002Fgpio\u002Fexport\n$ sudo echo 418 > \u002Fsys\u002Fclass\u002Fgpio\u002Fexport\n$ sudo echo 424 > \u002Fsys\u002Fclass\u002Fgpio\u002Fexport\n$ sudo echo 421 > \u002Fsys\u002Fclass\u002Fgpio\u002Fexport\n$ sudo echo 419 > \u002Fsys\u002Fclass\u002Fgpio\u002Fexport\n$ sudo echo 264 > \u002Fsys\u002Fclass\u002Fgpio\u002Fexport\n$ sudo echo 265 > \u002Fsys\u002Fclass\u002Fgpio\u002Fexport\n","text",[676,677,673],"code",{"__ignoreMap":175},[210,679,680,681],{},"Second, we need to configure the port direction correctly:",[669,682,685],{"className":683,"code":684,"language":674},[672],"$ echo out > \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio417\u002Fdirection\n$ echo out > \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio420\u002Fdirection\n$ echo out > \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio418\u002Fdirection\n$ echo out > \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio424\u002Fdirection\n$ echo in > \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio421\u002Fdirection\n$ echo in > \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio419\u002Fdirection\n$ echo in > \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio264\u002Fdirection\n$ echo in > \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio265\u002Fdirection\n",[676,686,684],{"__ignoreMap":175},[210,688,689,690],{},"Finally, you can control the I\u002FO ports through the value property:",[669,691,694],{"className":692,"code":693,"language":674},[672],"# For DI1\n$ cat \u002Fsys\u002Fclass\u002Fgpio\u002Fgpio421\u002Fvalue\n0\n  \n# For DO1\n$ echo 1 > \u002Fsys\u002Fclass\u002Fgpio417\u002Fvalue\n",[676,695,693],{"__ignoreMap":175},{"title":175,"searchDepth":697,"depth":697,"links":698},2,[699,700,701],{"id":180,"depth":697,"text":181},{"id":196,"depth":697,"text":197},{"id":236,"depth":697,"text":237,"children":702},[703,705,706],{"id":241,"depth":704,"text":242},3,{"id":372,"depth":704,"text":373},{"id":570,"depth":704,"text":571},"4-channel 10\u002F100 Mbps PoE Ethernet interface module with 4 digital outputs and 4 digital inputs.","md",null,{},true,{"title":120,"description":707},"G0kfCWxSnC0KfZ6QULUf74abi_3w4ztt6GN104pf28M",[715,717],{"title":116,"path":117,"stem":118,"description":716,"children":-1},"4-channel 10\u002F100 Mbps PoE Ethernet interface module.",{"title":10,"path":126,"stem":127,"description":718,"icon":11,"children":-1},"Available AI BLOX communication modules.",1785496047480]