Robots and Electronics Tutorials

This section includes a number of articles and tutorials from various experiments in electronics and robotics.

Most of the projects are based upon the Raspberry Pi, Arduino or AVR microcontrollers. The focus is on exploring concepts in autonomous robot operation, indoor positioning / odometry, computer robot vision, telemetry and plain old fun electronics!


Is there an question or article that you would like to see?
If so, please feel free to leave a comment below!

Embedded C GUI for Raspberry Pi

Check out GUIslice embedded C GUI (open source)

Latest Electronics Articles


Latest Comments in Electronics Sections

2019-09-23Differential Steering of Robots
Hi, I have used your code to write a library for ...
2019-09-10Robotics and Electronics Tutorials
Hoping to expand capabilities of instruments in ...
2019-08-31Differential Steering of Robots
I'm Developing a robot using the ESP32 and ...
2019-08-20Preventing Runaway Robots
Are you able to provide more insight into the ...
2019-08-16Touchscreen GUI for Raspberry Pi & Arduino
This looks like just what I need for displaying ...
2019-01-26Touchscreen GUI for Raspberry Pi & Arduino
Thank you so much more making such a useful and ...
2018-12-26Differential Steering of Robots
HI there, very good article and it saves me a lot ...
2018-12-16ATtiny SPI slave code
i would be interested to see some of the complete ...
2018-11-17ATtiny SPI slave code
pinMode(PIN_MISO, INPUT); none of these are ...
2018-09-18Touchscreen GUI for Raspberry Pi & Arduino
Hi,Calvin: Thank you for creating this nice ...
2018-05-30Cheap LIDAR for Robots - Neato XV11
can you share the vc++ code
2018-05-29Robotics and Electronics Tutorials
Hi Calvin, Do you have any plans to auto-charge ...
2018-03-23Arduino touchscreen GUI
GUIslice is a great library - Thank you! I ma ...
2018-01-02Differential Steering of Robots
Thank you for this article, really helped a lot!
2017-11-24Touchscreen GUI for Raspberry Pi & Arduino
Calvin: Any plans to support the additional fonts ...
2017-11-08Differential Steering of Robots
This is a really useful webpage, which has saved ...
2017-11-02Differential Steering of Robots
Ya'll should look up bilinear interpolation.
2017-10-18Differential Steering of Robots
I've developed an algorithm that calculates the ...
2017-09-22SPI slave data corruption
If you take a look at typical SPI transfer ...
2017-07-12SPI slave data corruption
Hi Calvin, What a great series of articles! I'm ...

Upcoming Articles

  • Choosing a Robot platform / chassis
  • Review of Lynxmotion A4WD2
  • Choosing DC motors for Robot
  • Animated LED matrix eyes for your robot
  • 6 degree of freedom (DoF) Robot Arm
  • Connect robot to PS2 controller
  • GPS with I2C interface via ATtiny
4WD Rover




Building a Robot

How to build a robot...


LCD / TFT Displays

Graphics library for TFT displays


Robot Communications

How to wirelessly communicate and control your robot...



How to connect up Raspberry Pi, Arduino / AVR / ATtiny microcontrollers together...


General Robotics

Miscellaneous articles on Robotics or Raspberry Pi...




Reader's Comments:

Please leave your comments or suggestions below!
 Hoping to expand capabilities of instruments in Builder. Eg. Numbers gauges, switches, add fonts and more.
Is this possible?

Thank you for the great app
 Yes, we can definitely add new GUI elements to the core library and even the Builder! I have sent an email to give you some pointers to get started.
 Hi Calvin,

Do you have any plans to auto-charge your C2Bot. I'm building a similar rover mainly for watchdog in the house and want rover to go to docking station and re-charge itself. I would like to hear your ideas on this feature.

Very good informative site, thank you for sharing all these.
 Thanks Erkan! I have not attempted auto-charging for C2Bot since I am using NiMH batteries with Tamiya connectors. Although it seems like an alternative connector arrangement could support a docking station concept, I suspect the extra development wouldn't be warranted in my particular case (since C2Bot is not a "daily driver" :) I'd be interested in hearing if you find a way of making such a system work for your rover.
2016-06-28Glenn Kukkee
 Hi Calvin,
I'm loving your website. Thanks for putting it together!

Your cousin put me in touch with you; I'm working on a neat project that I'm hoping you might collaborate on.

I'm fascinated that this generation will see the colonization of Mars. I'm doing an expo that will travel to schools and burning Man festival to spread the word-and the thoughts that will make this move into space more ethical.

The Burning Man version, at will be the adult-ed version. A made-for-kids version will travel to schools around the lower mainland.

-I'm making some robotics to make it come alive but I'm not sure I can get the major project, a telepresence robot to bring people to Burning Man, up in time.
- happy to include any projects you might think would be useful

Looking forward to connecting!
 Great idea! Private message sent.


Leave a comment or suggestion for this page:

(Never Shown - Optional)