Basebot: Difference between revisions

From Rsewiki
No edit summary
No edit summary
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
Back to [[Regbot]]


== Basebot ==
== Introduction ==


Basebot is a "raw" version of Regbot with much less firmware.
Basebot is a "raw" version of Regbot with much less firmware.


The description is for using this robot and modifying the base Arduino software.
This description is for using and modifying the Arduino-style application-level software.


== Overview ==
== Installation of IDE ==


=== Installation ===
Install one of these - VS Code is recommended.


Installation of Arduino and Teensy libraries.
* Installation of [[Arduino and Teensy libraries]].
* Installation of [[Visual studio support | Visual Studio Code]].
* installation of [[Arduino command line support | Command line support]].


* Install the newest Arduino - see https://www.arduino.cc/en/software.
== Compile==


* Add the Teensy hardware support - see https://www.pjrc.com/teensy/td_download.html, including
Get the [[Basebot code]], if not provided as a zipped file.


** Add https://www.pjrc.com/teensy/package_teensy_index.json to the file->preferences
[[Prepare for compile]].
[[file:arduino-preferences.png | 400px | "Arduino preferences with additional board manager URL"]]


[[Compile and upload code]] to the robot.


** In the boards manager (Tools->Boards->Boards manager), search for Teensy and install support for Teensy boards.
== Measurement data from robot ==
[[file:arduino-boards-manager.png | 400px]]


** In the Library manager (Tools->Manage libraries), search for "MPU9250_asukiaaa" and "Adafruit GFX library" and install both, including dependencies.
Data from the robot is intended for use in MATLAB.


[[file:arduino-library-manager.png | 400px]]
See how to [[Serial port handling | get data]] to a file.
[[file:arduino-library-manager-MPU.png | 400px]]


== Main code explained ==


== Install notes ==
[[file: basebot_6.ino-block.png | 250px]]
 
[[Basebot main code]]
 
== Description of API modules and hardware ==
 
[[Basebot modules]] explained
 
[[Regbot hardware board | Basebot circuit and PCB]]
 
== Maintainer notes ==
 
This part is for maintainer notes and should not be needed for a regular user.
 
[[Import code to Visual Studio]].
 
[[Basebot software]] download

Latest revision as of 11:07, 31 August 2025

Introduction

Basebot is a "raw" version of Regbot with much less firmware.

This description is for using and modifying the Arduino-style application-level software.

Installation of IDE

Install one of these - VS Code is recommended.

Compile

Get the Basebot code, if not provided as a zipped file.

Prepare for compile.

Compile and upload code to the robot.

Measurement data from robot

Data from the robot is intended for use in MATLAB.

See how to get data to a file.

Main code explained

Basebot main code

Description of API modules and hardware

Basebot modules explained

Basebot circuit and PCB

Maintainer notes

This part is for maintainer notes and should not be needed for a regular user.

Import code to Visual Studio.

Basebot software download