The Year of IoT – Hooking up a 2 line LCD Display

 

 

 

 

 

 

There are quite a few blog posts and articles on hooking up the LCD1602 (shown above) to the rPi.  But understanding what is going on with all those “magic bits” being set was a mystery, until now!  So if you’re looking for an example of how to talk to the LCD1602 with an rPi and using .NET Core to communicate over the I2C bus, and really understand how it works, you should find the article (link below) to answer all your questions.

Read the full article!

.NET Core nginx, and Postgres with EF on an rPi

 

My first article of 2019!

This article accomplishes quite a few things:

  1. Determining the rPi version and capabilities.
  2. Imaging an OS onto a USB drive.
  3. Setting up SSH so we can use PuTTy and WinSCP to communicate to the rPi.
  4. Installing Postgres and creating a test database.
  5. Installing .NET Core 2.2 and testing out Postgres connectivity, both from a Windows box and directly on the rPi.
  6. Creating an “echo” HTTP server.
  7. Installing and configuring nginx for HTTP.
  8. Configuring nginx as a reverse proxy to our .NET Core “echo” server.
  9. Configuring nginx with a test certificate.

And the big accomplishment here is that we did all this without using ASP.NET Core.  Frankly, it’s damn hard to find any articles that are not related to ASP.NET Core with regards to nginx, setting up HTTPS, etc., so hopefully the reader will appreciate the bare-metal approach that I’ve taken here.  My next article will dive more into creating a real website (a port from an existing website), working with performance issues (that horrid 8 second connect delay to Postgres) and who knows what else.

Read the full article!

Message to Gina Sosa

On the top of Google news today was a Newsweek post in which (my bold):

Another panelist, Gina Sosa, said of the allegations by Ford: “I mean, we’re talking about a 15-year-old girl, which I respect. I’m a woman. I respect. But we’re talking about a 17-year-old boy in high school with testosterone running high. Tell me, what boy hasn’t done this in high school?

Excuse me, Gina, but I’m one of those boys that didn’t do that and would never do that.  And I knew a lot of other 17 boys that were my friends that would never do that.

Sad, that Newsweek gathered a “panel of Republican women” and one of them said this.