Making Robot Friends with RemoTV

Years ago at Maker Fair I saw a person followed by a rather impressive robot that seemed to have a mind of it’s own. Later I found out that the robot was being controlled by people through the internet using a site called LetsRobot. While that project is no more, that same person, Jillian Ogle, that I met is the creator of it’s successor RemoTV.

Continue reading Making Robot Friends with RemoTV

Wireless NAT server E-ink badge with Apache, PHP, SQL, Media Wiki, and MQTT

If you can not connect MediaWiki with your MySQL password and user name, do the following steps.

sudo /etc/init.d/mysql stop

Once MySQL has stopped, run:

sudo mysqld_safe --skip-grant-tables &

When MariaDB is loaded, run the following command but replace username and password with one of your choosing.

GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password';

Or try to reset the root password:

sudo /etc/init.d/mysql stop
sudo mysqld_safe --skip-grant-tables &
sudo mysql -uroot

when MariaDB is loaded, run the following commands but replace newpassword with the one you want.

use mysql;

press enter, then:

update user set password=PASSWORD("newpassword") where User='root';

press enter, then:

flush privileges;

press enter, then:

quit

press enter

Now stop and restart MySQL

sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysql start

Try logging into MySQL

sudo mysql -u root -p

At this point you may have to add a new user if the root password will not work.

After logging into MySQL, like before, run this command:

GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password';

Wireless NAT server E-ink badge with Apache, PHP, SQL, Media Wiki, and MQTT

Intro

This will walk you through setting up a Raspberry Pi Web server with Raspbian Buster Lite. The following services will be installed and available by the end of this tutorial.

  1. Apache web server
  2. MySQL database
  3. PHP
  4. MediaWiki
  5. MQTT

Continue reading Wireless NAT server E-ink badge with Apache, PHP, SQL, Media Wiki, and MQTT

What is the best programming language?

The thing I get asked the most by parents and people trying to figure out how to get into the tech world is where to start. While a knowledge of at least some hardware is important, this post will be more focused on the structure of programming languages and why it is better to know one over another. This really boils down to the common modern day argument over C++ vs JavaScript vs Python. Continue reading What is the best programming language?

I2C protocol for LED matrix

Wow this will come in handy when I get around to configuring the Imp to send I2C commands to the Adafruit 8×8 LED matrix backpack. Hopefully I can map the LED addresses easily so I can make an icon library to drive the matrix. Continue reading I2C protocol for LED matrix