TheBot: Golang Meetup Jan 11 Talk
-
Upload
karan-misra -
Category
Technology
-
view
597 -
download
0
description
Transcript of TheBot: Golang Meetup Jan 11 Talk
TheBotThoughtWorks
In memory of...
Be curious. Read widely. Try new things. I think a lot of what people call intelligence boils down to curiosity.
- Aaron Swartz, 1986-2013
Demo Video
Go on RasPi
➢ Concurrency vs Parallelism – Goroutines
➢ Cross Compilation
➢ To develop libraries for RasPi in Golang
➢ To establish a platform for Open Hardware in Go
“Concurrency is about dealing with lots of things at once. Parallelism is about doing lots of things at once”
- Rob Pike
Concurrency in Go
How Go Supports Concurrency
● Concurrent execution (goroutines)
● Synchronization and messaging (channels)
● Multi-way concurrent control (select)
I2C Communication
➢ I2C is advantageous over individual GPIO communication since it uses only 2 wires
➢ Multiple devices are able to communicate with the controller on one bus
ICs interfaced with TheBot
➢ US-020 (Range-finder)
➢ DOF-10 ➔ LSM303 (Gyroscope)
➔ L3GD20 (Accelerator/Magnetic Sensor)
➔ BMP180 (Temperature Sensor)
➢ PCA9685 (PWM Generator)
Schematic
The Future of TheBot!
➢ TheBot sets the tune for Open Source Hardware exploration
➢ Serves as a platform for quick prototyping solutions using a modern language such as Golang
➢ Breaks the myth that hardware projects involve very high budgets
➢ Nurtures the culture of hardware projects in India and the joy of playing with robots
➢ Can be used as an awesome UGV (unmanned ground vehicle) for various applications where it may be inconvenient, dangerous, or impossible to have a human operator
thebot.in
http://www.thoughtworks.com
https://thebot.in
https://github.com/thebot/thebot
https://github.com/kid0m4n/go-rpi