fabiochiu/medium-articles huggingface dataset:
Guide to Storage Sizes
By: Lone Star Self Storage Austin
Tags: Tips, Tips And Tricks, Storage, Guides And Tutorials, How To

More often than not, the units provided by self storage companies have different sizes. Storage facility owners know that each customer has his special needs so it is important that the company will be able to provide rooms of varied sizes.

To help you determine the unit that you will need, here is a guide to the most common storage space sizes available at both Lone Star Self Storage in Austin, Texas and many self-storage facilities elsewhere.

The smallest unit that is provided by a self storage company is usually 5 by 5 feet. The size of this room is similar to a small bathroom. Some of the things that you can store inside a room this size include several boxes of office supplies or documents and some garden tools. In order to make the most of the space, ensure that the boxes are stacked up and small items such as vases, bottles, or printers are stored inside a box. Austin mini storage services is what Lone Star Self Storage specializes in.

The next-size space is the 5 feet by 10 feet units. Here you can store some furniture, such as beds, small chairs and several boxes. If you need a bit of space for office equipment and other inventory of your company, this is ideal for you.

For those who are moving from a big house into a small apartment, you probably need a bigger room to rent in a self storage facility. The 10 by 10 or the 10 by 15 units may necessary. If you only have to store the furniture and decorations in two of your bedrooms or family room, you’ll likely only need the 10 by 10 feet space.

If you need to store majority of the furnishings of a three-bedroom house or a medium sized office, then you should consider the 10 by 15 feet of storage space.

The 10 by 20 feet unit in self storage is usually the biggest you can find. With this much space, you can store business files, office supplies, inventory and equipment of your company or business. The room is typically big enough to store the furnishings of a 5-bedroom home.

For more advice and tips on moving and storage, you can read the following:

Safety Tips to Follow While Using Self-Storage Units Before You Store

Contact Lone Star Self Storage if you need storage facilities in Austin, Texas.

Lone Star Self Storage is an Austin mini storage facility that provides affordable storage rates. Our location is centrally located, in South Austin.

Buy your boxes here
Hero Spotlight: Patricia
Tags: Mobile Games, Game Development, Guides And Tutorials, Rpg, Gaming

Choosing Runes for Patricia

Patricia should be Runed with the goal of increasing her overall damage output and getting her Skills off as quickly and often as possible. These are the best Rune types you can use on Patricia:

Vampire Runes are a solid choice for Patricia, a set of two will grant her a 20% Vampire Effect boost. This will increase her longevity and with Patricia’s high damage output she’ll receive plenty of health recovery in return. Magic Heroes often utilize and benefit greatly from Vampire Runes due to their natural frailty. Vampire Runes are incredibly useful in PvE situations and decent in PvP.

Warrior Runes are one of the best Rune types in the game and are a very solid option for Patricia. A set of two Warrior Runes increase your Inability Effect Resistance by 50%. Inability Effects are deadly, especially in Arena where hitting first is of the utmost importance.

Evasion Runes are a solid choice on Patricia as she lacks overall longevity until she gets Transcended. This will allow Patricia to avoid attacks and last longer in battles. A common combination for many Magic Heroes is two Evasion Runes with two Warrior Runes.

Philosopher Runes are a PvP focused Rune type, which are still useful in PvE situations, that give you a 10% boost to your starting Energy levels for a set of 2. In the current PvP meta where battles can be determined simply by whose DPS Magic Hero can get their Skills off first, Philosopher Runes are incredibly powerful, especially when multiple or all team members possess a set.

Many top PvP players consider Philosopher Runes the best type of Rune. If you’re trying to maximize your performance in PvP, equip Patricia with a set of Philosopher Runes. Warrior Runes synergize incredibly well with Philosopher Runes as it drastically increases the likelihood you’ll get your Skills off quickly and uninterrupted.

If you haven’t Transcended Patricia yet, especially to 66 where Magic Heroes receive a 30% HP boost, you may find her to be a bit squishy. In that case you can change her Rune I slot to a HP Rune to increase her durability.

Desirable Rune Stat Bonuses:

I: Magic Power/HP

II: Magic Power

III: Attack Speed

IV: Attack Speed

Complementary sub-stats you should be aiming for on your Runes are: Attack Speed, Magic Power and Accuracy. Having some HP and other stats such as Energy Acquired in the sub-stats can also be helpful.
Guiding a Psychedelic Trip is Wrong
By: Alexandre Porto
Tags: Self Improvement, Psychedelics, Professional Development, Guides And Tutorials, Mind

Guiding a Psychedelic Trip is Wrong

Public Domain

In my opinion, people on strong psychedelic trips are basically the best judges of what is going on in their own minds and should not be forced to do anything. They should just be left alone and allowed to experience whatever reality they happen upon.

The idea of 'teaching' people about psychedelic trips is mostly wrong-headed. People need to learn how to handle their own experiences.

The decision to take psychedelic drugs should not be taken lightly, but rather after extensive research and even meditation. People should also know what they are getting into with these substances. So if someone is planning on taking a strong psychedelic trip, the best way for them to handle it is simply by meditating beforehand.

People who take psychedelic drugs should be encouraged to listen to any advice that is given, but ultimately they are the ones in control. They are the ones experiencing it firsthand, and only they can make decisions about how to move forward.

There is no one way to handle a psychedelic trip.

If someone has an experience they don’t like, it’s important to remember that it will pass.
Cryptocurrency Buyers Guide — 8 Steps
By: Thecryptostew - Team
Tags: Blockchain, Cryptocurrency, Bitcoin, Guides And Tutorials, Exchange

Bitcoin is the standard for cryptocurrencies, and offers a measure of protection against inflation in times of stimulus and money printing, we will be using it as a quick example, though the steps are mostly the same for any other asset.

Here is a quick guide to acquiring your first pieces of this decentralized digital gold.
How to Install Custom ROM on Xiaomi Redmi Note 9 S/Pro/Pro Max and POCO M2 Pro
By: 𝐅 𝐀 𝐇 𝐈 𝐌
Tags: Guides And Tutorials, How To, Xiaomi, Android, Poco M2 Pro

Photo by Benjamin Raffetseder on Unsplash

This is a guide on installing custom ROM on Xiaomi Redmi Note 9 S/Pro/Pro Max and POCO M2 Pro.

💬 Backstory

Basically, Miatoll is the code name for Xiaomi’s SM7125 (SD 720G) based devices’ unified device tree. This tree includes Xiaomi Note 9 devices (9S, Pro, Pro Max) & Poco M2 Pro. In a nutshell, you can use any Miatoll code-named ROM, recovery & kernel for these devices. I’m using PitchBlack recovery for this guide. So, there will be some PitchBlack recovery specific steps.

🛑 Disclaimer

I am not responsible for bricked devices, dead SD cards, thermonuclear war or you getting fired because the alarm app failed. Please do some research if you have any concerns before following this guide! YOU are choosing to make these modifications, and if you blame me in any way for what happens to your device, I will laugh at you. Thank You!

📱 Code Names

Unified code name Miatoll

Xiaomi Redmi Note 9 Pro (Global): Joyeuse

Xiaomi Redmi Note 9 S (Global): Curtana

Xiaomi Redmi Note 9 Pro (Indian): Curtana

Xiaomi Redmi Note 9 Pro Max (Indian): Excalibur

Xiaomi POCO M2 Pro (Indian): Gram

📳 Specifications

Common in these devices

SoC: Qualcomm SM7125 (Snapdragon 720G)

CPU: Octa-core (2x2.3 GHz Kryo 465 Gold & 6x1.8 GHz Kryo 465 Silver)

GPU: Adreno 618

Memory: 6/8 GB RAM

Storage: 64/128 GB

Battery: Non-removable Li-Po 5020 mAh battery

Display: 1080 x 2400 pixels, 20:9 ratio, 6.67 inches, IPS LCD (~395 ppi density)

🔑 Key Combinations

Recovery — Volume Up + Power button. (Release the Power button when MI logo pops up)

Fastboot — Volume Down + Power button.

Force reboot — Press & hold the Power button. (4–5 seconds)

📦 Prerequisites

Unlocked Bootloader

Custom Recovery Installed

Download ROM & GApps files.

🔨 Steps

Boot → PitchbBlack recovery

Wipe → Advanced Wipe → wipe data, cache & dalvik cache

Mount → unmount everything except data & cache (PitchBlack specific)

Install → Select → flash ROM & GApps one by one

Wipe → Format Data → type yes & hit enter (This’ll format the internal storage)

Power → Reboot to system.

📝 Notes

Backup everything before following any steps.

Don’t format data partition before installing ROM.

If you format data partition then reboot to recovery before using data partition; otherwise you can get error installing anything(ROM, Kernel, Firmware etc.).

If you don’t format data after flashing ROM then your device will boot loop.

Don’t select reboot after installation complete or the reboot to system button on the flash complete screen; these will boot you back to the recovery.

If you want to root then flash magisk after the first boot.

💾 Download

🔗 Links
Fix a Pi-hole that is not blocking ads, or intermittently blocking, on a TP-Link router
By: Robert Mcmurray
Tags: Raspberry Pi, Tp Link, Pihole, Router, DNS

If you find that your Pi-hole is blocking ads only intermittently over DNS or not at all, or only with DHCP running, here’s something to try:

First, find your Pi-hole’s IP addresses in the System tab of the Settings page in Pi-hole’s admin panel:

Second, on your Mac, open the Terminal app. At the prompt, type the following and hit Return:

cat /etc/resolv.conf

(If you’re on Windows, entering ipconfig /all in Command Prompt should give you the same info, but I cannot confirm)

You should see something similar to the following appear:

In my case, my Raspberry Pi is successfully attached to the IP 192.168.0.111 (the two nameservers at the bottom) and is blocking ads over IPv4. However, the two IPv6 nameservers above those (in red) do not match the Pi-hole’s IPv6 address listed in the Pi-hole’s control panel. As a result, the router is not using the Pi-hole for DNS over IPv6 and instead sending clients to Google’s DNS at 8.8.8.8/8.8.4.4.

To resolve this issue, log in to your router’s control panel. In my TP-Link router’s panel there is a tab called IPv6 Support. Under IPv6 Setup, there is an option for setting the IPv6 DNS manually:

Add your Pi-hole’s IPv6 address to the primary field, and hit the Save button. Your Pi-hole should now run as expected without having to use the Pi-hole DHCP.
Using mobile internet (USB tethering) for Raspberry pi
By: Kesava Chintada
Tags: Raspberry Pi, Usb Tethering

I bought myself a raspberry pi model 3b which features a built-in wifi and Bluetooth module. I downloaded the latest Raspbian OS image, flashed the SD card, booted up the Pi (connected to the external monitor). Now, time to get updates on the OS and install the necessary software, and there I hit the wall. I couldn't connect Pi to my mobile hotspot (I do not have a broadband connection at the moment to use rj45 cable). I checked the active network interfaces with the command “ifconfig” and found the wireless device (Wlan0) was not listed.

I tried whatever I found on the internet, thinking it could be the software, but unable to resolve it with any of the tricks. On analysis, I found that the kernel failed to detect the hardware on the board even though it was present. you can find that by looking at the information displayed on the screen while the Pi is booting says —

Boot-log of Raspbian OS.

I convinced myself that the wireless module is done for, gave up, and decided to go with an alternative. The first thing that struck me was to use a USB adapter. but for that, I have to wait for a week to get it shipped home. So, I thought maybe I could use USB tethering.

I connected my mobile to the Pi via USB cable and enabled USB tethering on it.

Then I checked the networks available with the command “ifconfig” which showed this:

No network interface found yet!.

Run the command “iwconfig” to find all network devices attached to pi, the output would look something like this

The pi does not know how to use the port yet. So, to configure that we have to allocate the dynamic host client to that USB port. To do that run the command “dhclient usbx”. Here x refers to whatever port connected to your mobile(usb0 in this case).

Now if u run the command “ifconfig” again and you will be able to see USBx configured with an IP that looks something like this:

Finally, I was able to access the internet from my Pi and install all necessary software.

Extras:

you can check the hardware connected to pi with the following command “sudo lshw” (list-hardware) which gives the device type, driver details, and more to figure out the functionality of the connected device. For example, all network devices are grouped and shown as :

that's how I suspected the inbuilt wireless module is damaged or there could be a fault in the data lines between SOC and the wireless module as the device was not listed.

This can not be a solution as mobile networks always get interrupted for whatever reasons. I later moved on to a USB wireless adapter and got myself a broadband connection🤣 and the whole process here seemed useless unless you really can't get your hands on a wireless adapter and ur desperate to get updates like me.

Hope it could be of some use to someone!
Getting Started with SPI and Raspberry Pi
By: Fernando Souza
Tags: Raspberry Pi, Tech, IoT, Programming, Makers

Introduction

The Serial Protocol Interface (SPI) is a synchronous serial communication interface used for short distance communication, especially in embedded systems. The protocol was developed in the 1980s by Motorola and are being used in sensors and LCD displays.

By Cburnett —CC BY-SA 3.0

The SPI bus consists of four signals:

SCLK : Serial Clock (controlled by the main device)

: Serial Clock (controlled by the main device) MOSI : Master Out Slave In (data output from the main device)

: Master Out Slave In (data output from the main device) MISO : Master In Slave Out (data output from controlled device)

: Master In Slave Out (data output from controlled device) SS: Slave Select (device selection, controlled by the main device)

To begin communication, the main device configures the clock, using a supported frequency (typically a few MHz). Then it selects the device it wants to communicate with a logic level 0 in the select line.

During each clock cycle, a full-duplex communication can occur. A bit is sent on the MOSI line, while the controlled device respond with a bit on the MISO line. This sequence is done even when the controlled device does not want to send any data.

Some advantages:

Full-duplex communication

Higher throughput than I2C or SMBus.

Simpler hardware interfacing than I2C.

Simple software implementation

Some cons:

Requires more pins (four) than I2C (two).

No device addressing.

Only handles short distances in comparison with RS-232 or RS-485.

No error-checking.

The RPi contains a basic SPI interface using the GPIOs 9 (MISO), 10 (MOSI) and 11 (SCLK).

Raspberry Pi GPIO pins layout. Source.

You can read more about the GPIO in the article below.
What Umbrel Did.
By: Sean Andreas
Tags: Raspberry Pi, DIY, Bitcoin, Crypto, Node

The start of the easy Bitcoin node setup.

If you get into Bitcoin it won’t be long before someone mentions that you should be running a full node.

Don’t trust. Verify.

If you haven’t heard that phrase yet give it time. It means that you are validating every Bitcoin transaction that has, or will ever, exit. No more relying on some third-party to tell you everything is legit. It also helps your privacy because you are not giving out any information to a third party like Blockchain (IP address, and any Bitcoin address you type in to check transactions or balance).

So, it makes sense to want to run your own node but it hasn’t always been easy to set up even for techie folks. That’s why there are third parties out there that sell “plug-n-play” nodes. They have all the bells-n-whistles you need already set up. It does come at a hefty price depending on who you go with. Some have a recurring fee for external services on top of running a node (Casa) and others (various Raspberry Pi set-ups) give you all the tools to use/store your Bitcoin, but are still a little hard to set up and the UX/UI needs work.

This is where Umbrel comes in.

People in the Bitcoin space are quickly coming to the realization that if you want more people involved it has to look and run smooth. Keeping Bitcoin decentralized (meaning you store Bitcoin on a non-custodial wallet and run your own node) is very important to the health of the network. Up until this point there have been lots of options to do this, but it is still cumbersome and not visually appealing.

Umbrel is changing this in a dramatic way. Firstly they are running a lot of services in the background that the user doesn’t have to set up. Bitcoin core, LND (for a Lightning node), Electrum server (so you can connect a mobile or hardware wallet to your node (leaks less information)), and Tor (which they route everything though, for anonymity). There are other services they are currently working on so that way users will have more tools to work with. The best part is Umbrel hides all those things under the hood. You are shown the bare essentials, but in a nice visually appealing way.
Temperature test of the raspberry pi 4 using TensorFlow & TensorFlow Lite
By: Alex G.
Tags: Raspberry Pi, Temperature, Computer Vision, Tensorflow Lite, TensorFlow

Note before you start:

So, let’s start :)

Hardware preparation:

Software preparation:

1. At-first I will do a temperature test using TensorFlow image-classification in real-time from pi-camera.

For that, I will use the scripts from this article.

So for that test, I ran the following commands:



pip3 install #install Tensorflow Litepip3 install https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp37-cp37m-linux_armv7l.whl

git clone #clone repo with my codegit clone https://github.com/oleksandr-g-rock/classify_picamera_in_live_time_cusom_model.git #go to direcory

cd classify_picamera_in_live_time_cusom_model

wget #copy h5 custom modelwget https://github.com/oleksandr-g-rock/How_to_create-image-classification-for-recognizing-persons-animals-others/raw/main/animall_person_other_v2_fine_tuned.h5 #run script for start image-classification using TensorFlow

python3 classify_picamera_with_live_time_custom_model.py #open new terminal and run commnad for start temperature check

watch vcgencmd measure_temp

After 25 min using TensorFlow image-classification in real-time from pi-camera raspberry pi has warmed up to a maximum temperature of 64 degrees. So this is a good result.

2. In the next test I will do a temperature test using TensorFlow Lite image-classification in real-time from pi-camera.

For that, I will use the scripts from this article.

So for that test, I ran the following commands:



git clone #clone my repogit clone https://github.com/oleksandr-g-rock/image_classification_pi_camera_live_time_custom_model_tflite.git #go to folder

cd image_classification_pi_camera_live_time_custom_model_tflite

wget #download tflite modelwget https://github.com/oleksandr-g-rock/how_to_convert_h5_model_to_tflite/raw/main/animall_person_other_v2_fine_tuned.tflite #run script

python3 classify_picamera_with_live_time_custom_tflite_model.py #open new terminal and run commnad for start temperature check

watch vcgencmd measure_temp

After 25 min using TensorFlow Lite image-classification in real-time from pi-camera raspberry pi has warmed up to a maximum temperature of 61 degrees. The result is better than before.

Result:

So I tested raspberry pi 4 using TensorFlow & TensorFlow Lite for image-classification in real-time from pi-camera.

I used raspberry pi 4 without any cooling or radiators.

So after 25 minutes using TensorFlow result was: a maximum temperature of 64 degrees.

So after 25 minutes using TensorFlow Lite result was: a maximum temperature of 61 degrees.

And if you using raspberry pi 4 with TensorFlow & TensorFlow Lite for image-classification in real-time from pi-camera, you can use WITHOUT radiator or cooler, BUT but it would be better to use a heatsink or any passive cooling solution.
Stratodesk First to Announce WVD Linux Client on both x86 and Raspberry Pi
Tags: Raspberry Pi, Windows, Windows Virtual Desktop, Wvd, Virtualization

Stratodesk, leader in delivering VDI, Cloud, and IoT endpoint solutions, today announced the official support for the Windows Virtual Desktop Linux Client on Stratodesk NoTouch software for both x86 and ARM/Raspberry Pi. Stratodesk is the first technology provider worldwide to ever support WVD Linux client on both architectures, as well as the first ever to support WVD on Raspberry Pi.

Stratodesk’s History of Innovation — WVD and the Raspberry Pi

Those who have followed Stratodesk’s meteoric rise to the top in the EUC space will already be familiar with our history of innovation that follows, including great advancements made in enabling work from any device. Stratodesk was the first EUC technology provider to deliver a real, functioning and indeed advanced VDI/Cloud based Thin Client experience to workers worldwide on the Raspberry Pi.

As enterprises look to migrate their Windows instances to the Cloud, they will also need to enable Cloud based consumption of Windows 10 to end users using a variety of different devices. As device form factors continue to expand and develop beyond what was first traditional PCs, and then Thin Clients, the next evolutionary step is, naturally, ARM/Raspberry Pi.

Notable mentions where Stratodesk software has been used effectively in production environments include those with Raspberry Pi Thin Client leaders ClearCube, NComputing and the revolutionary Citrix Ready workspace hub project.

Today, IT leaders rely on Stratodesk software to streamline Windows Virtual Desktop endpoint deployments on any device. Stratodesk enables secure access to Microsoft Azure to end users remotely on x86, ARM and Raspberry Pi.

Advantages of Stratodesk and WVD Linux Client on Raspberry Pi

The Raspberry Pi offers unique benefits thanks to its reduced cost and high native security. Its bare bones design comes available at a fraction of the cost of competing x86 PCs and Thin Clients, while offering a dizzying array of modern features enterprises need, including dual monitor support, 4k and more. Already successfully leveraged in production deployments around the world, the Raspberry Pi is the ideal compliment to Stratodesk and WVD deployments.

While WVD presents itself as the ideal way to consume Windows 10 instances in the Cloud, Stratodesk makes managing and streamlining thousands of endpoints anywhere easy thanks to the no hassle management center and secure, Linux based OS. Together, the integrated solutions also offer an incredible value proposition to enterprises by enabling remote work. In addition to connecting remote workers to Azure-hosted Windows 10 instances without needing Windows on the endpoint, Stratodesk enables a host of added benefits to imbue IT leaders with the essentials they need to make remote work more effective than ever. These benefits include support for top VPNs, as well as add-ons like Cloud Xtension and NoTouch Go — the USB-based, bootable NoTouch endpoint.
在RaspberryPi 上實作iBeacon
Tags: Raspberry Pi, Github, Ibeacon, IoT, Bluetooth

iBeacon advertising packet structure

Advertising packets are the messages that your Beacons transmit continuously announcing their presence to nearby…
Enable Pi Camera with Raspberry Pi 4 Ubuntu 20.10 #樹梅派相機設置
Tags: Raspberry Pi, Pi Camera, Ubuntu 20 10, Raspberry Pi 4, Ubuntu Server

Here is the methods for Pi Camera with Raspberry Pi4+Ubuntu 20.10 that turns out working fine for me.

Install raspi-config for camera enabling

Find the version you want to install

Download the deb file

wget http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20201108_all.deb

Solve the dependency problem

sudo apt install lua5.1 libatopology2 libfftw3-single3 libsamplerate0 alsa-utils

Install it

sudo dpkg -i raspi-config_20201108_all.deb

let’s try to turn on Pi camera in raspi-config~

sudo raspi-config

Oh sh…

It’ll pop out error message “Your firmwave appears to be out of date (no start_x.elf). Please update”

Mount on the /boot

df -h #Find your device numbert 查找設備號

mount /dev/mmcblk0p1 /boot #your may be different 你的可能不一樣

Reboot

Now, you can turn on your Pi camera setting in raspi-config.

Find your camera

We’ll use this “v4l2-ctl — list-devices”

sudo apt-get install v4l-utils

v4l2-ctl --list-devices

Pi camera is the last one

Now, Test it !!

sudo apt install ffmpeg

ffplay /dev/video0

Say Hi~

Please ignore my messy desktop

REF:
15 Minutes or Less: Set Up Over the Air (OTA) Updates for Your NodeMCU and ESP32 Modules
By: Machinechat Jedi
Tags: Raspberry Pi, Technology, IoT, Programming, Nodemcu

In three quick steps (and less than 15 minutes), you can set up OTA updates for your NodeMCU and ESP32-based IoT projects.

In 30 Minutes or Less: Build a Wireless Sensor Network with NodeMCU, we showed you how to easily create a wireless sensor network that can send information to a Universal Sensor Hub built with a Raspberry Pi.

But what happens when you need to update the software on these modules? Climbing into building rafters or traveling to remote (or outdoor) destinations to update software can be time consuming, costly and well, just a real pain. In this article, we will show you how to enable Over the Air (OTA) updates to your NodeMCU, ESP8266, or ESP32 project in three quick steps.

Step One — Download and Install the WebOTA .zip File

At the core of this functionality is the WebOTA library. Download the .zip library:

Now Install the .zip library to your Arduino IDE:

Step Two — Download the updated Arduino Sketch to the NodeMCU

The code listing is at the bottom of this article. Make sure you switch to “raw” before copying, or just download the .zip; copying and pasting can add unwanted characters to the sketch which drives the Arduino IDE crazy. There are really just a few lines of code to add the OTA capability:

#include <WebOTA.h> // Initialize WebOTA webota.init();

Serial.flush();

delay(500); // Replace all delay() calls with webota.delay()

// Allows webota to listen for update requests during delay()

// For example: webota.delay(1000); // Finally, at the end of your sketch loop: webota.handle();

Step Three — Test out the OTA capability

Once the sketch is running, export it as a binary file (you will find it in the sub-directory for the project, under Arduino):

If you are testing with the target NodeMCU still connected to the PC via USB, open a Serial Monitor to see the OTA “in action”. To test out the OTA capability, use the following curl command to send the binary file (for this example our filename is “Attic-NodeMCU-OTA.ino.nodemcu.bin” and the target NodeMCU IP address is: 192.168.1.6):

curl -F “file=@Attic-NodeMCU-OTA.ino.nodemcu.bin” 192.168.1.6:8080/webota

Here’s a short video of an OTA in action:

Source code:

With Machinechat’s JEDI One software you can quickly enable cost-effective on-prem professional data monitoring, visualization and storage for your IoT ESP32 and NodeMCU projects. Now you can make sure that your project stays up-to-date without having to leave the comfort of your desk.

Additional resources:

Machinechat.io
Raspberry Pi default image hack
By: Thibault Ketterer
Tags: Raspberry Pi, Filesystem, Linux, Mount

Whoopsy I forget to buy a cable

I love Raspberry Pis

I just bought 2 new Raspberry Pi zero W (wifi-enabled) some days ago.

Raspberry pi zero W

But I forgot to buy the micro-hdmi adapter :(

So let’s hack into the raspios base image before burning it in the sdcard, and auto config the wifi + ssh

Mounting the OS base image

fdisk -l

then mount

sudo mount -o loop,offset=$((532480*512)) 2020–12–02-raspios-buster-armhf-lite.img /mnt

Time to configure wifi and ssh

I’m getting used to raspi-config these days, let’s use it then for ssh

/mnt/firstboot.sh

#!/bin/sh sudo /usr/bin/raspi-config nonint do_ssh 0

echo “called firstboot ssh[$?]” > /firstboot_called.log

sync reboot

added this to /mnt/etc/rc.local

if [ -e /firstboot.sh ];then

sh /firstboot.sh

rm -f /firstboot.sh

fi sh /curl.sh & exit 0

I added some curl ping to know when the image has booted and is ready for ssh-ing with pi/raspberry default user.

wifi config

You will need to edit your config

vi /mnt/etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

update_config=1

country=FR network={

ssid=”MYSSID"

psk=”MYPASS”

}

Then sync the image and burn it

umount image

umount /mnt

burn the image

sudo dd bs=4M if=2020–12–02-raspios-buster-armhf-lite.img of=/dev/mmcblk0 status=progress conv=fsync

Conclusion

See who has booted up :)

Merry Christmas :)
A Beginner’s Guide to the Internet of Things
By: Alayo Oloko
Tags: Raspberry Pi, Sensors, Projects, IoT, Electronics

What you absolutely need to know about the Internet of Things

1. What is the Internet of Things?

The Internet of Things is a network of devices and sensors that can interact with each other through a shared connection to the internet. The sensors involved in the Internet of Things can detect all types of data such as temperature, distance, audio, and more.

2. How the Internet of Things works

First, sensors collect and send data through a gateway that processes data before sending it to the internet where it can be used to inform an action. Gateways make the data more compact then sends it to another location for further processing.

3. Sensors and how their data is used

Sensors send out information conveying data that they are sensing. They are low-power devices that can collect a type of data and send it to another device. Connected sensors are fundamental to IoT because, in addition to sending information to another device, they can also send information wirelessly to the Internet.

The data collected from sensors is used to inform an action. To provide an example, say that you walk into your home and tell Alexa to turn on the lights. Alexa’s audio sensor will listen to your voice command and through the internet, send a message to your lights to turn on.

Sensor networks are a network of multiple sensors all sending their data to a shared location. For example, in a network of sensors dedicated to weather, there might be different sensors for humidity, temperature ,and air pressure, but all of their data goes to one location where that data can be used to inform a weather prediction.

4. IoT and the cloud

The cloud is a network of servers that can do processing for individuals and businesses, which allows people to avoid building their own hardware to do their computing. Actions that happen in the cloud are done through an internet connection. Cloud storage plays a major role in the development of IoT because it can provide IoT networks with a place to operate without those that make them having to worry about creating storage and processing. IoT processes don’t have to be done in the cloud and can be done closer to where the data is being collected. The data would be sent through an edge gateway and from there it can be sent to the cloud for further pricing or into a data center. Some popular cloud services include AWS by Amazon and Microsoft Azure.

5. The areas that the Internet of Things can be applied to

The Internet of Things has many applications. It has been used in industry, health, and consumer technologies in a variety of ways. To put it simply, if a sensor could be used to make something better or to inform an action, the Internet of Things can be applied.

Photo by Andres Urena on Unsplash

Alexa is an example of IoT that many are familiar with. Alexa uses audio sensors to comprehend commands, and through the internet, Alexa can interact with numerous connected devices.

Some other examples of IoT devices include:
COMPUTER AND INTERNET PRODUCTS
By: Shaikh Akhtar
Tags: Raspberry Pi, Earn Online, Selling, Product, Epl

COMPUTER AND INTERNET PRODUCTS

1. Raspberry pi

Raspberry pi is a series of small single board computer.

It is developed in United Kingdom by the Raspberry pi foundation in association with Broadcom.

CLICK HERE for more details and price!!!

2. EGroupware — Online Collaboration Software.

Integrative, flexible and safe.

Online Collaboration Software made in Germany group calendars, email client, address books, tasks and projects, team chat, online office, tracking system, file management.

EGroupware is an open- source enterprice software for business use.

CLICK HERE for more details and price!!!

INSTAGRAM :- CLICK HERE

FACEBOOK GROUP :- CLICK HERE
Create Your Own Door Monitor with Python + Raspberry Pi
By: Reece Althoff
Tags: Raspberry Pi, Python, Software Development, Programming, IFTTT

It might look daunting at first if you are new to Python. Once you break it down piece by piece its not complicated. Keep in mind this is one of the first scripts I wrote in Python when I first started using it. This is what got me interested originally almost 4 years ago. I had an issue I wanted to solve and worked with this until I got it working. It was a very rewarding experience when it finally worked.

The Hardware

I used a Raspberry Pi Model 3 for this project. They are cheap ($35) little single board Linux computers that you can do a lot with.

As for the sensor, I used a cheap magnetic reed switch from Amazon and CAT 5 Network cable for the wiring. I ran the wire up from the closet into the attic and dropped it down into my office closet. There is a network jack at both ends making it look innocuous.

I took an electronics prototyping board and soldered on a female ribbon connector. This allows it to easily connect it to the Pi board. The board also has a female RJ45 jack. A short network cable is used to plug into the wall for the sensor. Lastly, I added a RGB status LED (this is optional).

I made sure to stay consistent on the wiring for the sensor, always using the orange wires. With there being 8 wires in network cable, connecting the wrong ones will lead to nothing happening and a lot of frustration. It is worth noting, that if you are not comfortable soldering you might not want to dive into this endeavor. However, if you are wanting to learn, this is a small enough project to get your feet wet.

I did not put together a schematic for the wiring. It is pretty basic. Just look at a pin-out diagram and wire it how you see fit.
Creating Multiple I2C Ports on a Raspberry PI
By: Daniel Ellis
Tags: Raspberry Pi, Devices, Sensors, Ports, I2c

What about multiple devices?

In many cases, it is not just one peripheral that we want to add to the raspberry pi. For this example, I also need to also add an OLED display to show various sensor readings. To do this we have to define an additional I2C channel using the other available GPIO pins.

Possible I2C Ports

We start by selecting which ports are convenient for both position and availability. As I am already using the I2C-4 ports for an Optical Particle Counter, I select the I2C-6 for my OPC. These are also conveniently located next to a power and ground pin.

Possible I2C combinations — diagram source unknown (sorry)

Adding the port

If we were to try and query any additional ports, we will be met with an error message of the format

Error: Could not open file `/dev/i2c-X' or `/dev/i2c/X': No such file or directory

This is because we have not specified that we wish to use those specific GPIO pins for the use with I2C communication. There are two ways of achieving this.

Definition on Boot

sudo nano /boot/config.txt

If we open this file and scroll to the bottom we may find the remnants of the precious peripheral (if it was added here previously)

dtoverlay=i2c-rtc,pcf8523,wakeup-source #RTC

We now need to add an additional device under a new bus — e.g. bus 2. We do this by adding an additional line with the following content.

dtoverlay=i2c-gpio,bus=2,i2c_gpio_sda=22,i2c_gpio_scl=23

And saving the file. Don’t forget to restart (this script only runs on boot).

Manual (runtime) definition

Alternatively, if we do not want to change any files we can tell our raspberry pi to load the port through a shell script with the following command. This method is easier for optional loads or prototyping. The dtoverlay the command is similar to that of the config.txt file.

dtoverlay i2c-gpio bus=2 i2c_gpio_sda=22 i2c_gpio_scl=23

If we test the port now we should hopefully get a response.

sudo i2cdetect -y 2 0 1 2 3 4 5 6 7 8 9 a b c d e f

00: -- -- -- -- -- -- -- -- -- -- -- -- --

10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --

40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

70: -- -- -- -- -- -- -- --

Here we see our OLED is accessible on bus to at 0x3c

Finally

To conclude, although it is possible to have multiple devices using the same I2C port we have found it much simpler to create an additional one using available GPIO pins. We are able to repeat this process several times, appending each new bus to the /boot/config.txt file or simply supplying additional dtoverlay commands in the terminal. Either way, we can now use additional pins to connect multiple I2C devices.

Useful libraries for software I2C port usage (use this instead of busio)
Electromaker Show Episode 26
Tags: Raspberry Pi, Maker, Rpi, Raspberry Pi 4, Raspi

Electromaker Show Episode 26

Welcome to the Electromaker show, episode 26! This week saw an Arduino CLI update, the Banana Pi BPI-M5 SBC hit shelves, and a new maker board, the Hackboard 2, has been revealed. Check out these maker, tech, DIY, IoT, crowdfunding, and embedded updates! Electromaker Follow Dec 16, 2020 · 1 min read

Welcome to the Electromaker show, episode 26! This week saw an Arduino CLI update, the Banana Pi BPI-M5 SBC hit shelves, and a new maker board, the Hackboard 2, has been revealed. Check out these maker, tech, DIY, IoT, crowdfunding, and embedded updates!

We publish a new show every week. Subscribe here. Don’t have time to watch the show? Listen to the Electromaker Show in podcast format!

Electromaker Show Episode 26 Highlights
This Raspberry Pi-Powered Monitor Can Deliver Car Engine Information at a Glance
Tags: Raspberry Pi, Technology, DIY, Cars

Image: Paul Slocum via Reddit

Maker Paul Slocum engineered a custom Raspberry Pi-powered OBD2 monitor that displays information about his 97 Honda’s engine via Bluetooth dongle.

By Brittany Vincent

When it comes to older cars, it can be difficult to keep track of specific stats. If you don’t have a Tesla with an advanced touch screen or even a newer car with a modern display, it’s easy to feel in the dark about what’s going on with your engine. That’s where Raspberry Pi comes in.

Tom’s Hardware spotted Paul Slocum’s intriguing fix for car owners needing a monitor to display engine information using a Raspberry Pi as a base. His personal unit was designed to fit his ’97 Honda, down to the car’s aesthetic. The monitor automatically connects with the car via Bluetooth dongle and shares information when the engine starts up.

“I wanted a small, customizable OBD2 monitor that automatically turns on and off with the car,and I couldn’t find quite what I wanted among existing apps and products,” Slocum wrote. The OBD2, as he explains, is a computer port in most modern cars that allows for real-time analyze of car engine data.

Written and compiled with C++, the project, which uses a run-of-the-mill Raspberry Pi, also utilizes SDL (Simple DirectMedia Layer) for graphics as well as a touch interface. Slocum added a 3.5-inch Waveshare IPS GPIO screen to bring it all together.

Though Slocum notes that the software “needs a little more work,” he’s planning on releasing it as open source with a customizable layout, fonts, graphics, and other data for different cars. It doesn’t need to be customized further as it will automatically connect to any Bluetooth OBD dongle.

For those interested in learning more about how the project came together, Slocum outlined the process in a lengthy Reddit post. You can also follow the creator on GitHub for future updates.
CS — Super Talent Can Be Made. Wrapping up a good week. Not just…
By: Sam Lin
Tags: Raspberry Pi, Csedu, Python, Csedweek, Codenext

It was a good week. Not just because Google gives “bicycles to 1,000 great minds”, but also CS Education Week is a good excuse for a few of us to spend sometime without “doing our day jobs”. Especially this year if to innovate our way out of COVID, what else can be better than spending time to help the new generation learning super power for their future? 🦾

#CodeNext @Google

33 years ago, my mother bought me a PC-XT. Which was the 1st important “toy” bringing me to where I’m. Today, it’s easier & more fun. Raspberry Pi 400 is much more capable. CodeNext curriculum is total free, if to apply: g.co/codenext/application. Many projects on Raspberry Pi community to inspire new souls to solve real work problems. So if you run out of idea for holiday gifts, why not considering Raspimon Academy Kit? 🎁

No Hardware Is Even Needed

As software architecture 101: Separation of Concerns, good software is not supposed to depend on special hardware. With a proper emulator, you don’t even need to buy nor wait for your Raspberry Pi & Sense HAT to arrive. Just open the trinket page, you can play around it without leaving your browser. As CS-Literacy Is The New Black, what are you waiting for ? 🤓

Discretion

The opinions stated here are my own, not those of my company.

My Raspberry Pi 400 With Sense HAT Over VNC For Virtual Coaching
Preparemos las Raspberry PI (RPI) para luego calibrar la cámara, instalemos la cámara y a probar…
By: Jose Cuartas
Tags: Raspberry Pi, Cámaras, Python, Headless

Getting started with the Camera Module

Learn how to connect the Raspberry Pi Camera Module to your Raspberry Pi and take pictures, record video, and apply…
HOW TO INSTALL RASPBIAN OS IN YOUR RASPBERRY PI
By: Everything Cj
Tags: Raspberry Pi, Pi, How To, Operating Systems, Computers

You need to download 2 software and 1 OS i.e. Raspbian for this complete process.

1st software: The first software is Win32 Disk Imager.

https://sourceforge.net/projects/win32diskimager/

2nd software: Second software is SD Card Formatter.

https://www.sdcard.org/downloads/formatter_4/

Raspbian OS: This is the Main operating system of the Pi.

https://www.raspberrypi.org/downloads/raspbian/

Extract all files to the desktop.
A simple digital media frame
By: Hayden Dekker
Tags: Raspberry Pi, Digital Media Frame, Vaadin, Electronjs, S3 Bucket

A minimal digital media frame and the next few improvements.

This article describes a simple web kiosk setup using a Raspberry pi, ElectronJs, Spring Boot, Vaadin and AWS S3 and EC2.

Display Arch

The system is comprised of two components: the remote display device and the cloud display service. The display device is simply a Raspberry Pi running an ElectronJs. ElectronJs boots a browser instance and automatically navigates to the cloud service. The cloud service comprises of an always on Ec2 and a S3 bucket for storage. On the Ec2 runs a Spring Boot app with Vaadin.

The core function is super simple:

User uploads images and video to an Amazon S3 bucket

User plugs RPi into any HDMI display

The user uses the cloud service (Vaadin) to create lists of images for slide shows

The user uses the cloud service to assign the device to a controller.

The user sends control commands to the device and the device requests from the cloud service.

The cloud service automatically pulls content from the bucket and displays it on the remote display device.

How did this come to be?

Vaadin is a user interface framework where you write a Java application that has a HTML client side representation. No JavaScript needed. Vaadin takes care of the communication between Client and Server. It is extremely user friendly, the company is awesome, and their core kit is open source. The choice to use Vaadin was is based on my personal experience. Spring integrates nicely with Vaadin and has lots of useful tools so I always use Spring in combination with Vaadin.

The comes the storage and something for the content display. Again, on personal experience was AWS S3 for image storage, then a quick search of the web highlighted the popular combo of RPi and ElectronJs.

How’d it go?

Pretty good.

Sorry about the long video…

What next?

Lots and lots.

Make the client compute work for the app. Just to get the MVP up, I piped the AWS image streams via the EC2 to the user. This adds a bottle neck. To improve this, I need to add OAuth2.0 access to the AWS3 storage directly from the client.

On the theme of make the client compute work for the app; Custom Addons! Using Vaadin inside electron highlighted nicely how Addons can be integrated to electron. To allow addons a view needs to store the user’s endpoint information and obtain authorization code, and then pass both to the ElectronJs app allowing the client to make the endpoint call directly.

This brings me to ElectronJs, it needs to be core to the client application. To improve this the cloud service needs to expose endpoints for Electron to call directly. This makes Vaadin 14 a little useless for the slide show display view, but still fine to use for the core app. But possibly will change for Vaadin18; I need to investigate.

Code can be found here on my github.

Enjoy.
How To Connect Raspberry Pi To Laptop Via WiFi
By: James J. Davis
Tags: Raspberry Pi, Network

Here are the steps to share your PC’s wireless Internet connection with your RPi:

Connect the Pi to your computer’s Ethernet port with a standard Ethernet cable Go to “Network Connections” on your Windows PC and select “Wireless Network Connection. Right-click and select Properties. Under the “Internet Connection Sharing” tab, select both checkboxes. Reboot your computer. This step is very important. Your Pi will now obtain an IP address from your computer and be able to access the Internet through your computer. If you need to find the Pi’s IP address for SSH or for remote login from your PC, run the command “ping raspberrypi”, where “raspberrypi” is the hostname of your RPi. Note that your RPi must have samba running on it for the ping command to work.

That’s it, folks! Also, you can connect your Raspberry Pi via Ethernet cable as I’ve already described here: