Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Jon Hoffman
Published © MIT

BuddyBot the First Robot Programmed with Swift

BuddyBot is the first robot programmed entirely with the Swift programming language and uses the SwiftyBones library.

IntermediateWork in progressOver 1 day1,450
BuddyBot the First Robot Programmed with Swift

Things used in this project

Hardware components

BeagleBone Black
BeagleBoard.org BeagleBone Black
×1
Rover 5 chassis
×1
Rover 5 motor controller board
×1
Battery Pack
×1
Battery Holder 6 AA
×1
Tilt Sensor
×1
IR Obstacle Avoidance Sensor
×1
Max Sonar Range Finder
×1
Breadboard (generic)
Breadboard (generic)
×1
LED (generic)
LED (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Resistor 100 ohm
Resistor 100 ohm
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Resistor 10k ohm
Resistor 10k ohm
×1
3.3k ohm resistor
×1

Story

Read more

Schematics

Front

Side

Side View

Top

Led and Buttons

How the LED and Buttons are wired

Sonar Sensors

How the Sonar Sensor is wired

Code

SwiftyBones

This is the SwiftyBones library that makes it easy to interact with GPIO, PWN and Analog pins on the BeagleBone Black

SwiftyBones_BuddyBot

The code for BuddyBot

Credits

Jon Hoffman

Jon Hoffman

5 projects • 2 followers
Dad that loves to work on robots

Comments