Diferencia entre revisiones de «Main page (English)»

De Proyecto Butiá
Saltar a: navegación, buscar
(Python)
(Python)
Línea 67: Línea 67:
 
* [[ejemplos|Examples in Python using the Python API]] (Spanish)
 
* [[ejemplos|Examples in Python using the Python API]] (Spanish)
  
To access the API from Pippy, close the pybot_server if is running
+
To access the API from Pippy, close the pybot_server if is running. Then create an instance of usb4butia (rather than of the butiaAPI as described in the links above). All the calls are then equal to butiaAPI, but here you are speaking directly with the usb4butia board.
  
 
  import syssys.path.insert(0, '/home/olpc/Activities/TurtleBots.activity/plugins/butia/pybot')
 
  import syssys.path.insert(0, '/home/olpc/Activities/TurtleBots.activity/plugins/butia/pybot')

Revisión del 07:46 23 feb 2013

Butiá Project

For full documentation please see Página_principal (in Spanish)

This project aims to create a simple platform, which makes tools ​​more available to school students which can enable them to internalize programming the behavior of robots. The project seeks to expand the performance of the OLPC XO computer through Butiá's sensory capabilities, turning it into a mobile robotic platform. Currently the 1.0 Project implementation is in kit form, distributed to 28 public schools in Uruguay, with a set of sensors and components for mounting the sensors on the mobile platform where you put the XO computer. The Butiá project was developed keeping in mind the fact that adding new sensors or actuators to the platform is very simple, this opens the possibility for interested users to easily implement their own sensors and actuators. Even the industrial design of the robot is open allowing construction with recycled or low cost materials.

Liceo1 colonia.JPG

USB4butia

See also Usb4butia (in Spanish)

USB4Butiá is an input/output/USB board derived from the Usb4all and a shield made ​​for that card. It is based on the pic 18F4550 microcontroller. It is easy to build and is specialized for use in the Butiá robot 2.0, simplifying its use and enhancing its sensory capability and performance in a robust manner. The general objective of board:

The board design is open and designed with the objective that its construction is possible by hand allowing their accessibility and thus design freedom (more info: USB4butia - A Truly Free (as in Freedom) Input/Output Board)

The specific objectives are:

  • Low cost
  • Using components available in the local market
  • Having ports connectors for devices which support plug and play and hotplug
  • Bus for AX12 motors
  • Handling PWM servo motors
  • HackPoints for low level access


Usb4butia1.jpg Usb4butia2.jpg Usb4butia3r.jpg

The USB4butia board is single sided and can easily be manufactured locally

Sensores.jpg

Some plug and play sensors, L-R press button, reflectivity, light, distance

Construction

Circuit board layout [1].
List of components Lista de componentes USB4butiá

Programming Languages

See also Lenguajes de programación (in Spanish)

The Butia Robot can be easily controlled from any programming language which supports TCP / IP connection.

TurtleBots

Turtle Art is a Sugar activity inspired by Logo which makes programming concepts available to children using a iconic graphical interface where each instruction is mapped as a block. Project Butia made ​​changes adding some plugins that control various robotic kits such as Butia, Lego NXT, Lego WeDo, FollowMe and Sumbot. You can download the TurtleBots activity here.

The Butia palette supports hotplug plug and play I/O devices. Devices not currently connected are grey, devices connected are green and identify the port to which they are connected.

Butia-palette-ingles.jpg

The Butia Extras palette is shown below. It supports the 8 additional I/O pins or HackPoints.

Butia-palette-xtra-ingles.jpg

Butialo

Butialo is a user-friendly environment that allows programming of the Butiá in the Lua language. Butialo is a derivative of Pippy IDE which simplifies the creation of programs by autodetecting Butiá I/O components and offering snippets of code to access them. Download here

Butialo, IDE de Lua para Butia

Python

A Python programming language API is available to program the Butiá robot's behavior .

To access the API from Pippy, close the pybot_server if is running. Then create an instance of usb4butia (rather than of the butiaAPI as described in the links above). All the calls are then equal to butiaAPI, but here you are speaking directly with the usb4butia board.

import syssys.path.insert(0, '/home/olpc/Activities/TurtleBots.activity/plugins/butia/pybot')
import usb4butia
robot = usb4butia.USB4Butia()

Butia Firmware

See Firmware and Grabar_Firmware (in Spanish)

The first time a blank PIC is used, it is necessary to use a PIC programmer. For later upgrades this activity allows the upgrading of the firmware of the USB4butia board.


Butiá Firmware Activity

Notes

(1) Depending on your operating system, you might need to execute the following 2 lines of code in Terminal to enable USB communication with the USB4butia

Udev.jpg

(2) The XO-4 and XO-1.75 with ARM CPU's are not supported till Turtlebots V19