Operácie

Acrob: Rozdiel medzi revíziami

Zo stránky SensorWiki

Balogh (diskusia | príspevky)
Balogh (diskusia | príspevky)
Bez shrnutí editace
 
(97 medziľahlých úprav od rovnakého používateľa nie je zobrazených.)
Riadok 1: Riadok 1:
Dočasný návod na cvičenia s robotom BoeBot a riadiacou doskou Arduino.
__NOTOC__
[[Obrázok:AcrobRobot.jpg|thumb|right|350px|Acrob robot.]]


[[Obrázok:logoAcrob.png|200px]]


== 1. Úloha ==
== '''Acrob''' =''' A'''rduino '''C'''ompatible '''Rob'''ot ==
__NOEDITSECTION__
<BR>
Author: ''Richard Balogh''  &nbsp;(<TT>balogh[[Obrázok:Zavinac.gif]]elf.stuba.sk</TT>)<BR>


Acrob is a small mobile robot platform used for education developed at the [http://www.stuba.sk/new/generate_page.php?page_id=132 Slovak University of Technology in Bratislava]. It is a fruitful combination of the great [http://www.parallax.com Parallax] [http://www.parallax.com/go/BoeBot Boe-Bot] robot
with the new electronic board compatible with the popular [http://arduino.cc Arduino] platform. As a result, we have the robot with many
accessories available and programmable in C-like language with many libraries and user forums support. The board is an integrated version of the [http://www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/819/Default.aspx?txtSearch=arduino Parallax Board of Education Shield (for Arduino)].
See also: http://learn.parallax.com/
<br style="clear: both" />
<div style="float: left; width: 50%">


Spustite vývojové prostredie kliknutím na ikonu [[Obrázok:ArduinoIcon.png]]. Najprv spravte základné nastavenia - t.j. typ riadiacej
==== English ====
jednotky s ktorou budeme pracovať:


[[Obrázok:ArduinoBoardSetting01.png|center]]
# '''[[Acrob technical description|Technical documentation]]''' (technical parameters, schematics,...)
# [[Acrob001|Before You start]]  (download, install, setup)
# [http://learn.parallax.com/node/194 Build your robot] (hardware mount)
# [[Acrob002|Hello, World!]]     (serial output, TODO: variables)
# [[Acrob003|LED Blink]]          (digital output, delays)
# [[Acrob004|Pushbutton]]        (digital input, conditions, statements)
# [[Acrob005|Piezospeaker]]      (digital output, tone, reset)
# [[Acrob006|Basic movements]]    (analog output, PWM, servo, robot kinematics)
# [[Acrob007|Distance sensor]]    (analog input, distance sensor)
# [[Acrob008|Line sensor I.]]    (analogue)
# [[Acrob009|Line sensor II.]]    (digital)
# [[Acrob010|Line following robot with obstacle avoidance]]
# [[Acrob015|Ultrasonic sensor]]  (time measurement) (see also [[Acrob115|HCSR04]])
# [[Acrob020|Whiskers]]          (digital obstacle detection)
# [[Acrob030|Compass]]          (digital compass sensor)
# [[Acrob040|Color sensor]]          (digital color sensor)
# [[Acrob050|Accelerometer]]          (dual axis accelerometer)
# [[Acrob060|Line Follower Sensor]]       
#
# [https://learn.sparkfun.com/tutorials/analog-vs-digital Basics] (analog vs. digital, discrete vs. continuous)


a sériový port, cez ktorý budeme s jednotkou komunikovať a nahrávať do nej programy cez tzv. ''bootloader''. Keďže používame prevodník
</div><div style="float: left; width: 50%">
USB na sériovú linku, musíme predtým zistiť, aké číslo portu pridelil OS Win:


[[Obrázok:ArduinoPortSetting01.png|center]][[Obrázok:ArduinoPortSetting02.png|center]]
==== Slovak (obsolete) ====


Potom vložte nasledovný program:
# [[Acrob01|Hello, World.]]        (prvý program)
# [[Acrob02|LED Blink.]]          (digitálne výstupy, oneskorenie)
# [[Acro02b|Pushbutton.]]          (digitálne vstupy, podmienky)
# [[Acro02c|Piezospeaker.]]        (zvuky, reset)
# [[Acrob03|Basic movements.]]    (základný pohyb robota)
# [[Acrob04|Distance sensor.]]    (analógový vstup, snímač vzdialenosti)
# [[Acrob05|Line sensor I.]]      (snímač čiary, analógový)
# [[Acrob06|Line sensor II.]]      (snímač čiary, digitálny)
# [[Acrob07|Line following robot with obstacle avoidance.]]
# [http://ap.urpi.fei.stuba.sk/sensorwiki/index.php/LCD_displej LCD displej] (pripojenie, komunikácia)
# [http://www.virtronics.com.au/Simulator-for-Arduino.html Arduino Simulator]


<source lang="c">
void setup ()
{
Serial . begin (9600);
}
void loop ()
{
Serial . println ("Hello , World !");
}
</source>


Malo by to vyzerať takto:
<BR>
<FONT Color="red">
==== Robotika Cvičenia ====
</FONT>


[[Obrázok:ArduinoIDE01.png|center]]
* [[Zadanie z robotiky|Zadania z robotiky 2012]]
* [[Zadanie z robotiky 2011|Zadania z robotiky 2011]]
* [https://spreadsheets.google.com/spreadsheet/viewform?formkey=dHZyVlctVUdGTVZCZUZGUkg5U1V1Y2c6MQ Dotazník] - prosím, ohodnoťte cvičenia (vopred vďaka)
* [https://spreadsheets.google.com/ccc?key=0AhS3f3dCsrEvdDdFbGg5Vl9WN3FwV0tjSDZyUVVGWXc&hl=en&authkey=CMXXvrQO Tabuľka s bodmi z cvičení] (kde nič nie je, chýba referát)
* [http://www.robotika.sk/misc/Straty_a_Nalezy_Robotika2011.png Straty a nálezy] (pero, prsten, zosit, usb kluc:  balogh@elf.stuba.sk )
<BR>


Potom program skompilujte [[Obrázok:ArduinoButtonCompile.png|29px]], uložte [[Obrázok:ArduinoButtonSave.png|29px]]
a nahrajte do riadiacej jednotky [[Obrázok:ArduinoButtonUpload.png|29px]]. Ak je nahratie úspešné, program sa spustí
automaticky. Aby ste videli, ako funguje, otvorte si zabudovaný terminál [[Obrázok:ArduinoButtonTerminal.png|29px]].


Malo by to vyzerať takto:
<BR>
</div><BR>


[[Obrázok:ArduinoIDE02.png|center]]
<BR><BR><BR>


Všimnite si, že program je rozdelený do dvoch blokov. Sekcia <TT>setup()</TT> sa spustí len
 
raz pri štarte programu. Obvykle sú tu nastavenia, definície a konfigurácia hardvéru.  
== Read more ==
Potom program pokračuje nekonečnou slučkou <TT>loop ()</TT>. Tu je definovaná základná činnosť
 
robota.
* Richard Balogh: ''[http://ap.urpi.fei.stuba.sk/balogh/pdf/10ATPplusAcrob.pdf Acrob - an Educational Robotic Platform]'', AT&P Journal Plus magazine, November, 2010. Vol. 10(2), pp. 6-9. <nowiki>[</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/balogh2010h.html Abstract]<nowiki>] [</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/balogh2010h.html BibTeX]<nowiki>] [</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/pdf/10ATPplusAcrob.pdf PDF]<nowiki>]</nowiki>
* Richard Balogh: ''[http://ap.urpi.fei.stuba.sk/balogh/pdf/11RiEAcrob.pdf Laboratory exercises with Acrob robot]'', In: Proceedings of 2nd International Conference on Robotics in Education (RiE 2011)., pp. 41-46. Vienna, Austria. <nowiki>[</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/balogh2011c.html Abstract]<nowiki>] [</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/balogh2011c.html BibTeX]<nowiki>] [</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/pdf/11RiEAcrob.pdf PDF]<nowiki>]</nowiki>
* Richard Balogh: ''[http://ap.urpi.fei.stuba.sk/balogh/pdf/11OssGeda.pdf Using an Open Software for Electronics and Robotics]'', In: Proceedings of the conference on Open Software in Research and Education (OSS 2011), pp. 39 - 47. Žilina, Slovakia. <nowiki>[</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/balogh2011a.html Abstract]<nowiki>] [</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/balogh2011a.html BibTeX]<nowiki>] [</nowiki>[http://ap.urpi.fei.stuba.sk/balogh/pdf/11OssGeda.pdf PDF]<nowiki>]</nowiki>
* Andy Lindsay: ''[http://learn.parallax.com/ Robotics with the Board of Education Shield for Arduino]''.
 
[[Obrázok:AcrobRobots.jpg|thumb|center|400px|Acrob robots.]]
 
== References ==
 
The Acrob board is (or was) used here:
* Roobotic club Sachisti: https://kruzok.net/index.php/Acrob and their experiences...
* Course ''Robotics'' at the [http://www.stuba.sk/new/generate_page.php?page_id=132 Slovak University of Technology in Bratislava], Slovakia
* Summer school of robotics at the [http://www.technikum-wien.at/en/home/ Fachhochschule Technikum Wien], Austria
* Local Mechatronic Contest organized by the [http://www.best-bratislava.sk/ BEST - Board of European Students of Technology]
* Robotchallenge robotic contest in Linefollower and Puck Collect categories
* Robot with Acrob board won the international RoboCup Jr. 2011 contest in the category RescueJr. B
 
 
{| align="center" style="width:80%"
| style="width:100px" | [[Obrázok:logoOpenHW.png|80px]]
|
'''Acrob''' board is open hardware. <BR>Schematic diagram and final pcb were designed using the [http://www.geda-project.org/ gEDA suite] of programs. <BR><BR>
More info on the [[Acrob technical description#Sources|technical documentation page]]...
| [[Obrázok:logo_gEDA.png|200px|right]]
|}

Aktuálna revízia z 13:32, 11. august 2021

Acrob robot.

Acrob = Arduino Compatible Robot


Author: Richard Balogh  (baloghelf.stuba.sk)

Acrob is a small mobile robot platform used for education developed at the Slovak University of Technology in Bratislava. It is a fruitful combination of the great Parallax Boe-Bot robot with the new electronic board compatible with the popular Arduino platform. As a result, we have the robot with many accessories available and programmable in C-like language with many libraries and user forums support. The board is an integrated version of the Parallax Board of Education Shield (for Arduino). See also: http://learn.parallax.com/

English

  1. Technical documentation (technical parameters, schematics,...)
  2. Before You start (download, install, setup)
  3. Build your robot (hardware mount)
  4. Hello, World! (serial output, TODO: variables)
  5. LED Blink (digital output, delays)
  6. Pushbutton (digital input, conditions, statements)
  7. Piezospeaker (digital output, tone, reset)
  8. Basic movements (analog output, PWM, servo, robot kinematics)
  9. Distance sensor (analog input, distance sensor)
  10. Line sensor I. (analogue)
  11. Line sensor II. (digital)
  12. Line following robot with obstacle avoidance
  13. Ultrasonic sensor (time measurement) (see also HCSR04)
  14. Whiskers (digital obstacle detection)
  15. Compass (digital compass sensor)
  16. Color sensor (digital color sensor)
  17. Accelerometer (dual axis accelerometer)
  18. Line Follower Sensor
  19. Basics (analog vs. digital, discrete vs. continuous)

Slovak (obsolete)

  1. Hello, World. (prvý program)
  2. LED Blink. (digitálne výstupy, oneskorenie)
  3. Pushbutton. (digitálne vstupy, podmienky)
  4. Piezospeaker. (zvuky, reset)
  5. Basic movements. (základný pohyb robota)
  6. Distance sensor. (analógový vstup, snímač vzdialenosti)
  7. Line sensor I. (snímač čiary, analógový)
  8. Line sensor II. (snímač čiary, digitálny)
  9. Line following robot with obstacle avoidance.
  10. LCD displej (pripojenie, komunikácia)
  11. Arduino Simulator



Robotika Cvičenia









Read more

Acrob robots.

References

The Acrob board is (or was) used here:


Acrob board is open hardware.
Schematic diagram and final pcb were designed using the gEDA suite of programs.

More info on the technical documentation page...