JakeMakes

Git Good @ Tech

Arduino TFT Micro SD card tutorial.

Super simple Arduino TFT SD Card reader tutorial plus alternative to Arduinos default library…

Continue reading

Arduino Triple Axis Accelerometer. ADXL345 Datasheet.

ADXL345 will give your projects ability to sense the static acceleration of gravity in tilt-sensing applications plus dynamic acceleration resulting from motion or shock. High resolution of 4mg/LSB gives ability yo measure inclination changes less than 1.0 degrees.  Lets look the main Features:
Continue reading

Arduino digital to analog converter. GY4725 MCP4725 Tutorial. With Datasheet.

Arduino has ADC ( Analog digital converter) and PWM (Pulse with modulation) but if you need true Analog out, you are out of luck. But all is not lost. We can add the analog capability to Arduino with MCP4725 12-Bit Digital to Analog converter. This nifty chip has also on board EEPROM so you can save your last value in case of power failure.  This chip has also 3.4Mbps Fast Mode I2C (Unfortunately Arduino does not support that speed), with Arduino you can update the output at around 200KHz. So lets jump in…

Continue reading

Programming / Flashing Sonoff TH16 Wifi Smart switch.

Sonoff is cool little smart switch for not only home automation but for makers and hackers also, why? It’s based on ESP8266 plus it has tx/rx pins accessible and the hardware is well documented (schematics at the end of the post).

Now concerning the Sonoff original software I got it working after around 15 minutes of messing around. For some reason the app also needed my location information, sound recording,  access to SD card and so on ….. so yeah not fishy at all. After successful pairing of the switch with app everything worked fine (around 5 minutes) until the app recommended the firmware update….. aaaand its broken. After the update the device was basically just push switch. After the update no matter what I did I could not reconnect the switch to the app.

Luckily I bought it to hack it. So here we go ….

Continue reading

Raspberry Pi VPN server.

Security, security,,,, privacy, privacy, ipv6 leaks, big brother yada yada yada … Lets build VPN.

Continue reading

Raspberry Pi LAMP server v2 with Nginx and MariaDB

So why Nginx and MariaDB ?

Nginx will replace our Apache server. But why ? Short answer is performance. Bit longer answer is that Nginx is Asynchronous server which means it can perform several actions at the same time, without waiting previous to end. Nginx responds faster and consumes less RAM then Apache and this is my main reason for switching to Nginx. There are of course differences. Nginx doesn’t support .htaccess files and sometimes the are differences how Nginx handles PHP.
And MariaDB is drop in replacement to MySQL. MySQL was brought by oracle some time ago and since then the MySQL has problems with including community in development process and distrust from community for having competing products, open source MySQL and proprietary OracleDB. So the original developer of MySQL created a new projects MariaDB and it is fully open source, has strong community and is being actively developed.

Continue reading

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

« Older posts

© 2017 JakeMakes