JakeMakes

Git Good @ Tech

RAID6 on Raspberry Pi Ubuntu Server

I have been lucky. I have had very few critical hard drive failures in my life. But as time goes on rolling those dices will be more risky so.. Lets see how hard is to set up RAID array.

In this small write up I will show how to set up RAID6 array with 4 drives.

Hardware that we will use is:
RaspberryPi 3B+
USB HUB
5x USB memory sticks (Any size will work).

Before we start learn from my failures.

Continue reading

ESP32 Arduino DS18B20 Temperature sensor.

Here are couple of quick ways to set up temperature sensing with ESP32 using DS18B20 temperature sensors. Why DS18B20 you may ask. Well here is why:

  1. Measures Temperatures from -55°C to +125°C (-67°F to +257°F)
  2. ±0.5°C Accuracy from -10°C to +85°C
  3. Programmable Resolution from 9 Bits to 12 Bits
  4. Unique 1-Wire® Interface Requires Only One Port Pin for Communication

So its accurate sensor with nice range. Plus its it doesn’t need analog pins because it uses 1-wire digital interface.

So lets get started…

Continue reading

Installing MicroPython to ESP8266

You probably know what ESP8266 is and also have heard about Python high level programming language. But did you know there is a special lean and efficient implementation of Python3 that runs on freaking microcontrollers. I know right this is amazing. Now its not full fledged Python3 with all the bells and whistles but its enough to comfortably use Python on MCU-s. Now MicroPython runs within 256k of code space and 16k of RAM. And in this tutorial I will show you how to setup your ESP8266 to run MicroPython.

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

« Older posts

© 2024 JakeMakes

Theme by Anders NorenUp ↑