loading

He shoots! He scores! The crowd goes wild! Let’s build a robot that plays basketball with you. This tutorial is a step-by-step guide for a simple and small differential-drive robot that uses the Intel® Edison. You’ll get to know a few more tricks on how to use Mini Breakout Kit and set up a node.js server for the communication.

Before you begin, make sure you’ve followed through Intel® Edison Getting Started guide, and our tutorial.

This means that your Intel® Edison:

  1. has updated firmware (check this)
  2. is connected to the local wireless network
  3. can connect to ssh/scp through microUSB or WiFi

Here is a video of the completed project.

This tutorial was originally published on Intel Communities here.

Step 1: Needed components

  1. 1 Intel® Edison with Mini Breakout Kit
  2. 2 continuous micro servo motors
  3. 1 CD40109B level shifter
  4. 1 10k ohm resistor
  5. Male Pin headers
  6. Female headers
  7. 1 50 mm x 70 mm protoboard
  8. 4 AAA batteries
  9. 1 AAA battery holder
  10. 9V battery contact
  11. 1 battery holder power connector
  12. Jumper wires
  13. 1 lithium battery
  14. Rubberbands
  15. Stiff wire
  16. Copper tape
  17. Screw
  18. Nuts and bolts
  19. Scrap sheet of plastic
  20. Ping pong ball
  21. Glue
<p>Who can build this for me? I need it in my office.</p>
<p>Hi, I make similar project based on this. I want to start node application automatically after linux start. I try to use System Service Manager, but unfortunately it doesn't work and I have no idea why? I maked &quot;myfilename.services&quot; file, here is a code:</p><p>///////////////////////////////////////////</p><p><em>[Unit]</em></p><p><em> Description=Open Automation Service</em></p><p><em> After=network.service</em></p><p><em> [Service]</em></p><p><em> ExecStart=/bin/sh -c &quot;/usr/bin/node /home/root/robotServer/myprogramname.js&quot;</em></p><p><em> WorkingDirectory=/home/root/robotServer/node_modules/</em></p><p><em> Restart=always</em></p><p><em> RestartSec=5s</em></p><p><em> [Install]</em></p><p><em> WantedBy=multi-user.target</em></p><p>//////////////////////////////////////////////////////</p><p>Then I configured Intel Edison:</p><p><em>#### Set executable rights to everyone:</em></p><p><em> chmod 777 /etc/systemd/system/myfilename.service</em></p><p><em>#### Reload systemctl daemon:</em></p><p><em> systemctl daemon-reload</em></p><p><em>#### Start your service:</em></p><p><em> systemctl start myfilename.service</em></p><p><em>#### Check service status:</em></p><p><em> systemctl status</em></p><p><em> systemctl status myfilename.service</em></p><p><em>#### Enable service autostart feature:</em></p><p><em> systemctl enable myfilename.service</em></p><p>Despite &quot;.servises&quot; program are running, my script doesn't work (ps. script start very well from console). Where can be problem? How can I localize it?</p>
<p>Hi, I make similar project based on this. I want to start node application automatically after linux start. I try to use System Service Manager, but unfortunately it doesn't work and I have no idea why? I maked &quot;myfilename.services&quot; file, here is a code:</p><p>///////////////////////////////////////////</p><p><em>[Unit]</em></p><p><em> Description=Open Automation Service</em></p><p><em> After=network.service</em></p><p><em> [Service]</em></p><p><em> ExecStart=/bin/sh -c &quot;/usr/bin/node /home/root/robotServer/myprogramname.js&quot;</em></p><p><em> WorkingDirectory=/home/root/robotServer/node_modules/</em></p><p><em> Restart=always</em></p><p><em> RestartSec=5s</em></p><p><em> [Install]</em></p><p><em> WantedBy=multi-user.target</em></p><p>//////////////////////////////////////////////////////</p><p>Then I configured Intel Edison:</p><p><em>#### Set executable rights to everyone:</em></p><p><em> chmod 777 /etc/systemd/system/myfilename.service</em></p><p><em>#### Reload systemctl daemon:</em></p><p><em> systemctl daemon-reload</em></p><p><em>#### Start your service:</em></p><p><em> systemctl start myfilename.service</em></p><p><em>#### Check service status:</em></p><p><em> systemctl status</em></p><p><em> systemctl status myfilename.service</em></p><p><em>#### Enable service autostart feature:</em></p><p><em> systemctl enable myfilename.service</em></p><p>Despite &quot;.servises&quot; program are running, my script doesn't work (ps. script start very well from console). Where can be problem? How can I localize it?</p>
<p>Hi, I make similar project based on this. I want to start node application automatically after linux start. I try to use System Service Manager, but unfortunately it doesn't work and I have no idea why? I maked &quot;myfilename.services&quot; file, here is a code:</p><p>///////////////////////////////////////////</p><p><em>[Unit]</em></p><p><em> Description=Open Automation Service</em></p><p><em> After=network.service</em></p><p><em> [Service]</em></p><p><em> ExecStart=/bin/sh -c &quot;/usr/bin/node /home/root/robotServer/myprogramname.js&quot;</em></p><p><em> WorkingDirectory=/home/root/robotServer/node_modules/</em></p><p><em> Restart=always</em></p><p><em> RestartSec=5s</em></p><p><em> [Install]</em></p><p><em> WantedBy=multi-user.target</em></p><p>//////////////////////////////////////////////////////</p><p>Then I configured Intel Edison:</p><p><em>#### Set executable rights to everyone:</em></p><p><em> chmod 777 /etc/systemd/system/myfilename.service</em></p><p><em>#### Reload systemctl daemon:</em></p><p><em> systemctl daemon-reload</em></p><p><em>#### Start your service:</em></p><p><em> systemctl start myfilename.service</em></p><p><em>#### Check service status:</em></p><p><em> systemctl status</em></p><p><em> systemctl status myfilename.service</em></p><p><em>#### Enable service autostart feature:</em></p><p><em> systemctl enable myfilename.service</em></p><p>Despite &quot;.servises&quot; program are running, my script doesn't work (ps. script start very well from console). Where can be problem? How can I localize it?</p>

About This Instructable

5,937views

76favorites

License:

More by MikeArduino:Mimic Monster Candy Locker Motion detecting video streaming doorbell 
Add instructable to: