{"id":169,"date":"2014-01-30T16:20:06","date_gmt":"2014-01-30T16:20:06","guid":{"rendered":"http:\/\/4tronix.co.uk\/blog\/?p=169"},"modified":"2017-05-10T09:38:22","modified_gmt":"2017-05-10T09:38:22","slug":"4tronix-initio-home-page","status":"publish","type":"post","link":"https:\/\/4tronix.co.uk\/blog\/?p=169","title":{"rendered":"4tronix Initio Home Page"},"content":{"rendered":"<h2>About 4tronix Initio<\/h2>\n<p><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/IMG_0277a.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1407\" alt=\"IMG_0277a\" src=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/IMG_0277a-300x257.jpg\" width=\"300\" height=\"257\" srcset=\"https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/IMG_0277a-300x257.jpg 300w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/IMG_0277a.jpg 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The Initio 4WD robot platform has been specially designed here in the UK to work easily with Arduino and Raspberry Pi controllers. Supporting products include motor driver boards, sensor shields, sensors, pan-tilt mechanisms and more. We also have a range of kits available for both Arduino and Raspberry Pi platforms<\/p>\n<h3>Outline Specification<\/h3>\n<ul>\n<li>An extremely flexible and easy to use 4WD Robot platform designed by 4tronix especially for Raspberry Pi and Arduino<\/li>\n<li>Injection moulded from tough ABS<\/li>\n<li>Built-in powerful 170-size motors and high-quality gearboxes<\/li>\n<li>Arduino (UNO, Mega2560 or Leonardo) and Raspberry Pi mount directly onto the base-plate<\/li>\n<li>6-cell battery box with switch, charging socket, wiring for motor driver and Arduino already in place<\/li>\n<li>Built-in speed encoders on each side with electronics already fitted<\/li>\n<li>Each wheel can be individually decoupled from the gearbox &#8211; run as 1WD, 2WD or 3WD if you want!<\/li>\n<li>Fixings for stepper motors (28BYJ-48 as found in our shop &#8211; not included) so you can replace the DC Motors with stepper motors for greater accuracy<\/li>\n<li>No soldering or gluing required &#8211; simply screw together and plug in the wires (of course you can add things we haven&#8217;t thought of and they may need soldering)<\/li>\n<li>The main chassis is delivered ready-built and all wires connected<\/li>\n<li>All you need to do is add in the control boards and screw on the top plate<\/li>\n<li>Mounting plates included for IR obstacle sensors and Line sensors<\/li>\n<li>Loads of extra mountings for additional boards included<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Purchasing Initio<\/h2>\n<ul>\n<li>Purchase <a title=\"Purchase Initio\" href=\"http:\/\/4tronix.co.uk\/store\/index.php?rt=product\/search&amp;keyword=initio\" target=\"_blank\">Initio kits here<\/a><\/li>\n<\/ul>\n<h2><\/h2>\n<h2>4tronix Initio Assembly<\/h2>\n<p>&nbsp;<\/p>\n<h3>Online Guides:<\/h3>\n<ul>\n<li><strong>START HERE<\/strong>: <a href=\"http:\/\/4tronix.co.uk\/blog\/?p=795 \">Assembling the Initio Chassis<\/a><\/li>\n<li><a title=\"Assembling Initio with RoboHAT\" href=\"http:\/\/4tronix.co.uk\/blog\/?p=1202\" target=\"_blank\">Assembling Ultimate &amp; Super Initio Kit with RoboHat<\/a><\/li>\n<li><a title=\"Assembling the Ultimate Initio Kit\" href=\"http:\/\/4tronix.co.uk\/blog\/?p=820 \">Assembling Ultimate Initio <\/a>Kit with Pirocon<\/li>\n<\/ul>\n<h3><\/h3>\n<h3>Other Assembly Information<\/h3>\n<ul>\n<li><strong>ARDUINO:\u00a0<\/strong> Assembling with an <a href=\"http:\/\/4tronix.co.uk\/arduino\/4tronix-initio.php\">Arduino and L298N <\/a>motor board<\/li>\n<li>Assembling with <a href=\"http:\/\/4tronix.co.uk\/arduino\/4tronix-initio-pi.php\">Raspberry Pi and L298N <\/a>motor board<\/li>\n<li><strong>STEPPER MOTORS:\u00a0<\/strong> Modifying the <a href=\"http:\/\/4tronix.co.uk\/blog\/?p=270\">Initio to use stepper motors <\/a>instead of DC motors<\/li>\n<li>4tronix SD card image: <a title=\"4tronix SD Card Image\" href=\"http:\/\/4tronix.co.uk\/blog\/?p=1085 \" target=\"_blank\">download<\/a><\/li>\n<\/ul>\n<h3><\/h3>\n<h3>Downloadable PDF Guides:<\/h3>\n<ul>\n<li><a title=\"Initio Chassis Assembling\" href=\"http:\/\/4tronix.co.uk\/initio\/ChassisBuildingGuide.pdf\">Assembling the Initio Chassis<\/a><\/li>\n<li><a title=\"Assembling the Ultimate Initio Kit\" href=\"http:\/\/4tronix.co.uk\/initio\/UltimateInitioPi_Guide.pdf\">Assembling the Ultimate Initio Kit for Raspberry Pi with Pirocon<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>TroubleShooting<\/h2>\n<h3>Motors Not Turning<\/h3>\n<ul>\n<li>For Raspberry Pi, ensure you are using correct software. Use the software in &#8220;robohat&#8221; folder if using RoboHat, or in &#8220;initio&#8221; folder if using Pirocon<\/li>\n<li>Batteries. You must use good quality rechargeable batteries, not alkaline. We strongly recommend Energizer Extreme 2300mAH<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>4tronix Initio Programming Examples<\/h2>\n<h3>Arduino<\/h3>\n<p>Arduino examples are found in our Arduino support site<\/p>\n<ul>\n<li><a title=\"\" href=\"http:\/\/www.4tronix.co.uk\/arduino\/sketches\/initio_01.ino\">initio_01 <\/a>simply moves initio back and forwards and spins<\/li>\n<li><a title=\"\" href=\"http:\/\/www.4tronix.co.uk\/arduino\/sketches\/initio_02.ino\">initio_02 <\/a>uses PWM to control the speed and create smooth turns<\/li>\n<li><a title=\"\" href=\"http:\/\/www.4tronix.co.uk\/arduino\/sketches\/initio_03.ino\">initio_03 <\/a>shows how to use the speed sensors to move accurate distances<\/li>\n<li><a title=\"\" href=\"http:\/\/www.4tronix.co.uk\/arduino\/sketches\/EncoderTest01.ino\">EncoderTest01 <\/a>tests the operation of both wheel sensors. Use the switches on the top of the gearbox to disengage the wheels from the gears, then turn the wheels by hand to see the results on the serial monitor<\/li>\n<li><a title=\"\" href=\"http:\/\/www.4tronix.co.uk\/arduino\/sketches\/initio_04.ino\">initio_04 <\/a>uses the obstacle sensors to avoid obstacles<\/li>\n<li><a title=\"\" href=\"http:\/\/www.4tronix.co.uk\/arduino\/sketches\/initio_05.ino\">initio_05 <\/a>adds a light-follower function using LDRs mounted on the Pan\/Tilt (Connect one end of each LDR to 0V, the other ends to A0..A3)<\/li>\n<li><a title=\"\" href=\"http:\/\/www.4tronix.co.uk\/arduino\/sketches\/initio_06.ino\">initio_06 <\/a>uses the line sensors to follow a black line and stop when it reaches a cross-roads<\/li>\n<li><a title=\"\" href=\"http:\/\/www.4tronix.co.uk\/arduino\/sketches\/initio_07.ino\">initio_07 <\/a>uses the ultrasonic sensor mounted on the Pan\/Tilt to avoid obstacles and travel in the direction of most space<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>ScratchGPIO<\/h3>\n<p>Raspberry Pi ScratchGPIO examples are found in <a href=\"https:\/\/github.com\/4tronix\/PiRoCon\" target=\"_blank\">our GitHub<\/a><\/p>\n<ul>\n<li>MotorTestB.sb\u00a0\u00a0 \u00a0Allows control of the motors using arrow keys (ScratchGPIO)<\/li>\n<li>PanTiltTest.sb\u00a0\u00a0 \u00a0Allows moving the pan\/tilt assembly using arrow keys (ScratchGPIO)<\/li>\n<li>UltraSonicTest.sb\u00a0\u00a0 \u00a0Shows operation of the UltraSonic sensor (ScartchGPIO)<\/li>\n<li>TrackerTest.sb\u00a0\u00a0 \u00a0Uses the ultrasonic sensor on a Pan\/Tilt assembly to follow (ScratchGPIO)<\/li>\n<li>Avoider.sb\u00a0\u00a0 \u00a0Uses IR obstacle sensors and motors to avoid objects (ScratchGPIO)<\/li>\n<li>InitioTest.sb\u00a0\u00a0 \u00a0Uses line sensors, obstacles sensors and motors (ScartchGPIO)<\/li>\n<li>Also see <a href=\"http:\/\/cymplecy.wordpress.com\/2013\/12\/29\/wheel-encoders-on-a-raspberry-pi-robot\/\">this post <\/a>for using the wheel sensors with Raspberry Pi and the PiRoCon<\/li>\n<\/ul>\n<h3><\/h3>\n<h3>Python<\/h3>\n<p>Raspberry Pi Python examples can be downloaded from an LXterminal session and connected to the internet, type in or copy and paste:.<\/p>\n<address style=\"padding-left: 30px;\"><span style=\"color: #800080;\">wget https:\/\/4tronix.co.uk\/robohat.sh -O robohat.sh<\/span><\/address>\n<p>Then type in:<\/p>\n<address style=\"padding-left: 30px;\"><span style=\"color: #800080;\">bash robohat.sh<\/span><\/address>\n<p>You will then have a number of python examples in the robohat folder to try. Run them with:<\/p>\n<address style=\"padding-left: 30px;\"><span style=\"color: #800080;\">sudo python filename.py<\/span><\/address>\n<ul>\n<li>motorTest2.py:\u00a0 use the arrow keys to move forwards and backwards, spin left or spin right. Space to stop. Use . and , to increase or decrease speed<\/li>\n<li>sonarTest.py: Prints the distance in centimetres from the ultrasonic sensor, once every second<\/li>\n<li>irTest.py: Prints the state of the IR line and obstacles sensors, every time the state changes.<\/li>\n<li>servoTest.py:\u00a0 use the arrow keys to pan and tilt<\/li>\n<\/ul>\n<p>NB. If using the older Pirocon controller the replace <span style=\"color: #800080;\">robohat<\/span> with <span style=\"color: #800080;\">initio<\/span> throughout the above.<\/p>\n<h3>\u00a0C<\/h3>\n<p>Yes, you can now program the Initio for Raspberry Pi directly in C. What&#8217;s more, it works seamlessly with both the Pirocon and the RoboHat control boards so your program can work on either without being changed<\/p>\n<p>Visit <a title=\"C Programming on Initio\" href=\"https:\/\/github.com\/rkirner\/initio_lib\" target=\"_blank\">this link <\/a>to find out more about this which was written by Dr Raimund Kirner at the University of Hertfordshire<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About 4tronix Initio The Initio 4WD robot platform has been specially designed here in the UK to work easily with Arduino and Raspberry Pi controllers. Supporting products include motor driver boards, sensor shields, sensors, pan-tilt mechanisms and more. We also have a range of kits available for both Arduino and Raspberry Pi platforms Outline Specification &hellip; <a href=\"https:\/\/4tronix.co.uk\/blog\/?p=169\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">4tronix Initio Home Page<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-169","post","type-post","status-publish","format-standard","hentry","category-robotics-for-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=169"}],"version-history":[{"count":30,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":1602,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions\/1602"}],"wp:attachment":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}