JakeMakes

Git Good @ Tech

Syncthing on Raspberry Pi 2 make your own cloud storage

Syncthing is amazing alternative to things like Dropbox or Google Drive plus you control your data. Now it works little differently than usual cloud storage solutions. Instead of one central server Syncthing uses peer to peer sharing. Also Syncthing is quite flexible for sharing files between your different devices or between people. I will not go into details of Syncthing  features and options because probably if you are already here you want to know how to install it so here goes …
Continue reading

Saleae logic Analyzer With Sigrok Pulseview Install on Linux

Some time ago I bought chinese version of Saleae Logic Analyzer. It’s quite handy 8 CH analyzer for debugging my DIY projects.
Because I mainly use Linux this is small write up (mainly for myself) how to install Sigrok software for Saleae Logic Analyzer.
For now you can still use software provided by Saleae from their homepage (https://www.saleae.com/), but it soon may not work with clones.

Story of Saleae is quite common. Guys developed good product, wrote the software and chinese manufacturers copied it for the 1/10 of the price. Now of course if you like the product and this is a good product, support the developers. But here’s the thing, original product cost 108 USD and for many hobbyists  this is not affordable. Especially if you use it maybe once every couple of months.

But I digress …

Continue reading

Running Raspberry Pi 2 from USB drive

Until now I have used Raspberry Pi with micro SD card and while it works for some times I have had lot of corruptions. Not shutting Pi properly down plus unstable power wreak havoc on the SD card. And as you may have read from my previous tutorials I like to run servers on my Raspberry Pi so yeah SQL + logging = high read write are no way to treat small SD cards.

So for loads like that there should be more robust solution.

And for that here is small write up how to use USB thumb drive or USB hard drive as your Raspberry Pi-s root drive. You still need SD card for boot but as you learn from this tutorial it is much easier to replace the static boot drive then whole system, especially  if you haven’t backed up your system 10 seconds prior to failure.

Continue reading

Sending email with arduino and php.

Most of the currently available solutions for sending a simple email with arduino are bit complicated for my taste. Like knowing your SMTP server ip and the converting your password and username to bas64 like whaaat no way, ain’t nobody got time for that.

So here is a solution, BUT there are couple of small BUT-s you have to have access to some kind of web hosting solution. (There are plenty of free hosting solutions out there, like googling + registration = 3 min. I tested 😉 ). And the hosting solution has to have smtp enabled on php or supported (I didn’t find any that didn’t work). And I will show you how to check that.
We will use: Arduino Uno and WizNet W5100 ethernet shield.

Continue reading

Node Red Dashboard server and temperature monitor.

Here are some screenshots of the upgraded dashboard. And at the bottom is the full Node Red code.

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 3 (Node Red and dashboard)

In previous two tutorials we learned how to set up ESP8266 with arduino IDE as temperature sensing node. Now we gonna look Node Red side of things and will create dashboard for displaying the data.

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 2 (ESP8266 sketch)

In this part of the tutorial we will look closer the esp8266 sketch that will send the temperature info to our server.

 

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 1 (ESP8266 and Arduino IDE)

In this small series I will show you how to use Arduino IDE with ESP8266 and log your temperature data to the MySql server trough Node Red. And for data transmission we will use MQTT.

Continue reading

Recovering broken Raspberry Pi filesystem

Well F.. Nothing works. Hmm lets reboot. Nothing. Maybe its issue with external hard drive. Lets take the RPi Sd card and change the fstab file manually from different computer. While trying to open the /etc/ folder I’m greeted with following error:

Boom. Congrats you won broken filesystem. “Structure needs cleaning”.

So here is how you can maybe fix it.

Continue reading

Raspberri Pi Torrent box


Finally we can set up our torrent box. For you know.. downloading and sharing Linux distros and open sourced software.

Continue reading

« Older posts

© 2017 JakeMakes