Using Our Raspberry Pi Image Without A Magni
About Our Raspberry Pi Images
Ubiquity Robotics makes an image for the Raspberry Pi that it shares freely. This image is meant to support the Magni robot that we offer and we are not able to give much assistance to those who don’t have a Magni but who wish to use the image for their own projects. We do offer some documents that users of the image may find helpful and so this page is meant to offer some assistance of the most likely questions people may have about the image.
Connecting To Your Network
Our image comes up and starts up a WiFi hotspot by default. To learn more about how to connect with the hotspot, see THIS_PAGE.
You can also directly hook up a LAN cable to a router you may have that offers a DHCP connection. If you do that you can find software to scan your network for the new IP address and then use a tool such as ssh or putty to connect a console.
Disabling Of The Magni Support Software
The Ubiquity Robotics images will come up and run the software required for a Magni robot by default.
To disable the Magni software you can use this line once you connect with a linux console as discussed above.
sudo systemctl disable magni-base
Using The GPIO Lines
Our image uses some of the GPIO lines to control our Magni robot. By default many of the lines are unused and these are the best ones to think about using for your own uses. You should see the section regarding GPIO Lines Used For The Sonar Board and use those lines as we do not use them until they are enabled by users who order a Magni with a Sonar board.
Using The I2C Bus
If you want to use the I2C bus be aware that we expect and look for certain I2C devices. You should avoid use of the I2C addresses that we use. Also note that many users don’t realize they must supply pullup resistors to 3.3 volts for proper I2C operation. As we cannot know what you have in mind a general rule is to try something on the order of a 3.3 kiloohm resistor. Note that many boards for I2C devices may have the pullup resistors already on the little sensor boards so just be aware you must think about the pullup resistors in general.
Please see the addresses on I2C that we use and avoid these addresses if you can as you may get our software interacting with your software in some cases. See our I2C discussion that is specific to Magni but will list the addresses used in the section titled Guidelines For Usage Of The I2C Bus on THIS_PAGE.