Course notes: Another Arduino based robot car

Preamble

Notes from Robotics Training LESSON 1: An Introduction to Robotics for Absolute Beginners

Yet another robot car, based on Arduino. This project uses the Elegoo robot car.

It’s interesting to compare this one with the Murtaza car projects. The movement functions are more sophistimicated on this project.

Course notes on TTB: ROBOTIC TUTORIAL FOR BEGINNERS

Note that this course code is for V3 of the Elegoo car. V3+ and V4 will not work, without some modification.

Continue reading Course notes: Another Arduino based robot car

HOWTO: Port serialplot to OS X

Preamble

A brief HOWTO explaining the OS X porting process for /serialplot.

For a detailed voyage of discovery, see Porting serialplot to OS X.

This application is not to be confused with /SerialPlot (note the capitalisation), a Qt application written explicitly for OS X, see Compiling Qt SerialPlot (for OS X).

Note: Using OS X 10.13.6 High Sierra

Application and script: /serialplot_OS_X_port

Continue reading HOWTO: Port serialplot to OS X

Porting serialplot to OS X

TL;DR

If you want a quick and easy HOWTO, then see HOWTO: Port serialplot to OS X. It is a must less painful read.

Preamble

A (now not so – it’s grown exponentially) brief HOW-TO for /serialplot, which is for Windows/Linux – but which may compile and work on OS X. That is the idea anyway.

As it turned out, compiling and building was the easy part. Bundling the Qt and Qwt frameworks into the application turned out to be the mind-blowing part.

Not to be confused with /SerialPlot, a Qt application written explicitly for OS X, see Compiling Qt SerialPlot (for OS X).

Note: Using OS X 10.13.6 High Sierra

Application and script: /serialplot_OS_X_port

Continue reading Porting serialplot to OS X

HOWTO: Compiling Qt SerialPlot (for OS X)

Preamble

A brief HOW-TO for /SerialPlot, a Qt application for OS X.

Not to be confused with /serialplot, which is for Windows/Linux. For porting that application to OS X, see HOWTO: Port serialplot to OS X.

To see a diary log of the same project, SerialPlot – a Qt adventure on OS X

Continue reading HOWTO: Compiling Qt SerialPlot (for OS X)

SerialPlot – a Qt adventure on OS X

TL;DR

To save yourself a lot of pain, the pain that I went through, just read Compiling Qt SerialPlot (for OS X), which is a compact summary and HOW-TO of the details below.


Preamble

This is probably going to be one of those projects that never ever gets properly finished, but that teaches a lot along the way. [Edit – I managed to actually finish it!]

First some background: Whilst following Paul McWhorter’s IMU BNO055 course, I had a requirement for a serial plotter application, one that was better than the paltry offering built into the Arduino IDE (it autoscales too much and isn’t particularly configurable). In the video course, SerialPlot (/serialplot) is used, a nicely functional Qt based Windows and Linux application, but there is no OS X port (typical!). [Edit – there is now an OS X port, /serialplot_OS_X_port. See also Porting serialplot to OS X]

I had previously found (/RealtimePlotter), which is a nice Processing based plotter but… well, maybe I was being overly fussy, but I really wanted a native application.

Now, porting the fully functional SerialPlot from Linux to OS X could be a direction to go, but… meh…

Then, after more searching, I found a Github repository for another serial plotter, confusingly with the same name, /SerialPlot, for OSX that is also, ironically, Qt based. However, the last commit was in 2011, so it is not being actively maintained.

Knowing nothing about Qt, I thought I’d have a go at getting /SerialPlot working… on an old 2010 MBP running High Sierra (10.13.6), with Xcode 9.4.

WIP Status

Project builds and application is created. Frameworks bundled.

Continue reading SerialPlot – a Qt adventure on OS X

Course notes: Self driving Pi Car

Preamble

This project is poorly presented, with no real logical video ordering. However, it covers a lot of topics and the project starts out as an ultrasonic Arduino controlled obstacle avoidance robot and works up to an optical path following robot, and then a CNN lane following robot… a real jack of all trades!

Continue reading Course notes: Self driving Pi Car

Java grapher for Arduino serial monitor

Preamble

Seeing as I had now got Eclipse IDE running for Java and Arduino, see Eclipse for Arduino, I decided to first tackle a simple GUI test application and then the Java Graphing application for the Arduino serial monitor, as outlined by upgrdman‘s excellent videos. These were simple enough to do.

Finally, this morphed into upgrdman‘s (way more sophisticated) TelemetryViewer, which took me three attempts and a week to get running…

Continue reading Java grapher for Arduino serial monitor

Eclipse for Arduino

Preamble

After watching Curious Marc‘s video on the Teletyper console for Linux, see Using a 1930 Teletype as a Linux Terminal, I realised that I should be using Eclipse to program the Arduino, rather than the noddy and limited Arduino IDE.

However, this turns out to be not as easy as one would think. There are a number of different methods, all of which are a bit lengthy, especially if you aren’t familiar with Eclipse, and some of which are dead ends, out of date and/or deprecated.

Nevertheless, there is one method that stands out amongst them all… Sloeber!!!!

Continue reading Eclipse for Arduino