kth.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
FunkyBot: Robotrörelser styrda i takt av ljudsignaler
KTH, School of Industrial Engineering and Management (ITM).
KTH, School of Industrial Engineering and Management (ITM).
2023 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

In the following report, a study regarding the control of a dancing robot has been conducted. The study covers whether a robot’s movements can be controlled by a recurring and pacing audio signal at a given BPM, and how well it does so. In order to test this for results, five different BPMs have been played six times each in front of a sound sensor module connected to the robot’s microcontroller to perceive the signal. The reading of this signal then adjusts the speed at which the motors rotate. Two test subjects then pressed a button in the mobile app Soundbrenner each time they found the robot to change its movement. The presses of the button then generated a beat of their own which represents the viewer’s perceived BPM of the dancing robot. This is then used to compare the desired BPM with the BPM delivered by the robot. A maximum BPM for the robot to dance to has also been studied by gradually increasing the given BPM until it no longer could use the signal. The results showed that the robot could stick to the given BPM fairly well. The mean difference between the recorded and the desired beat was 4.9 BPM. At 100 and 140 BPM the sound sensor and microcontroller were most successful in reading the beat, while found it most challenging at 120. However, environmental factors such as noise pollution were a heavyweight cause for misreadings. The results where on the other hand near flawless when the signal was isolated and clear. The maximal beat the robot could follow was read to 239 BPM because of the delay used in the microcontroller’s code.

Abstract [sv]

I följande projekt undersöks styrnnigen av en dansande robot och huruvida den kan, och isåfall hur väl, urföra sina rörelser i takt till ett uppspelat BPM, uppfattat av en ljudsensormodul. För att testa detta har fem olika takter spelats upp sex gånger var. När roboten börjat dansa, har två testpersoner fått klicka på en knapp i mobilappen Soundbrenner när de upplever att roboten byter rörelse. Dessa knapptryck har då alstrat en egen takt som i sin tur jämförs med den takt som faktiskt spelades upp. Även ett maximalt BPM som roboten kan dansa till har uppmäts genom en gradvis ökning tills den inte längre erhöll någon signal. Resultaten visade att roboten klarade av att hålla sig i takt någorlunda väl. Det medelvärde som erhölls för differensen mellan det uppmätta och den önskade takten var 4.9 BPM. Vid 100 och 140 BPM var det lättast för ljudsensorn och mikrokontrollern att göra korrekta mätningar, och svårat vid 120BPM. Dock var omgivningsfaktorer som buller en stor orsak till felläsningar. När signalen var tydlig och isolerad nog var resultaten mycket goda. Den högsta takt roboten kunde följa var 239 BPM på grund av den fördröjning som användes i mikrokontrollerns kod. 

Place, publisher, year, edition, pages
2023. , p. 52
Series
TRITA-ITM-EX ; 2023:65
Keywords [en]
Anglecontrolled servomotor, Arduino, Grove sound sensor, Mechatronics, Robot.
Keywords [sv]
Arduino, Ljudsensor, Mekatronik, Robot, Vinkelstyrd servomotor.
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:kth:diva-329981OAI: oai:DiVA.org:kth-329981DiVA, id: diva2:1774851
Supervisors
Examiners
Available from: 2023-06-26 Created: 2023-06-26 Last updated: 2023-06-26Bibliographically approved

Open Access in DiVA

fulltext(4149 kB)77 downloads
File information
File name FULLTEXT01.pdfFile size 4149 kBChecksum SHA-512
d7115345df773d0b49aff91e0ce68e442b2344491700a9a8bd04bf658cb07814b2143a2b7bf4409f3a168c1764169c7fc97fd947122b50e96787b8f54c4a4499
Type fulltextMimetype application/pdf

By organisation
School of Industrial Engineering and Management (ITM)
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 78 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 399 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf