Plagiarism of one of my old articles

Just over Ten years ago, in February 2014, I wrote an article on how to connect an Arduino Uno to a Raspberry PI using I2C directly without using a level shifter between them – which would normally be needed due to the PI running on 3.3V whilst the Arduino is 5V.

This morning I came across this blog article by Adafruit posted some 9 months later which looked eerily familiar to that article but was on someone else’s blog.

The link is now dead due to bit rot and the domain is now on a holding page, so I did a search on WaybackMachine and found the original article which was posted on November 12, 2014.

Note: the page is unreadable, but if you go into the browsers inspection tools, find the body element and disable the background-color and background-image css styles, the page is then readable.

At first glance, it looks like they were trying to do exactly what I originally did, but as I continued to read it, comparing it against my original article, other than the odd word being changed, and the section configuring the PI for I2C is different, it’s virtually a copy-n-paste of my original article.

After that configuring section there’s then two sections of C source code, one for the Arduino and one for the PI which are completely identical to mine.

They even left this comment in the PI source which mentions PiWeather, which is the project name for my Weather Station, which this was why I was looking at using I2C:

// The PiWeather board i2c address
#define ADDRESS 0x04

The only differences after that is where they’ve added an image on the wiring, changed a few words or values from when they ran it, but it’s then virtually word for word the same.

Now I don’t mind if anyone picks up on anything I write on the blog, but I do mind if they just take the entire article as-is and make it look like it’s their own work. Even though their article is no longer accessible, it’s on the WaybackMachine which is good as I’ve managed to dig down and discover what they had done.

References:

Connecting an Arduino to a Raspberry PI using I2C

Some time ago I created a weather station using a Raspberry PI and an off the shelf weather station, connecting the two via USB.

However, for some time not I’ve been meaning to create a weather station from scratch – i.e. one or more Raspberry PI’s which connect to the network (via Ethernet or WiFi) and directly monitor the sensors directly.

Now the problem here is that some sensors are analog – for example the leaf, soil and UV sensors I have generate an analog signal so we need an ADC (Analogue to Digital Converter) which the Raspberry PI doesn’t have.

So we have two possible solutions:

  1. Add a Raspberry PI compatible ADC
  2. Use an Arduino

With the parts I have available, the Arduino won, not just on available ADC channels but also with the additional digital ports available.

Now how to connect it to the PI? Well the easiest way is to use USB, however the PI only has two USB ports (one for the Model A) and as I’m intending to use Model A’s for the final station I need that for WiFi (there won’t be room or power for hubs) so USB is out.

There’s RS232 which both support, however the PI runs on 3v3 whilst the Arduino (UNO) is 5v so I need to add a level converter between the two. It also limits me to just one arduino and I might need to use more than one so another solution is needed.

Continue reading “Connecting an Arduino to a Raspberry PI using I2C”

Setting up a Weather WebCam on Linux

Weather webcams are always popular and it is easy and free to set one up yourself.  This article will show how to setup a simple USB webcam to produce still images and serve them on a local apache webserver.

Continue reading “Setting up a Weather WebCam on Linux”