[ Hardware: Guides | HOW TOs ]

[ Raspberry Pi Hacking ]

Raspberry Pi Hacking. This paper outlines Raspberry Pi hacking, GPIO headers and
how to interface them. Along with various programming language libraries and
example code for controlling the GPIO pins and various applications they can
be used for.

Also covered will be performance tweaks and enhancements you can do to
improve the performance of RAM, CPU and DISK I/O of the Raspberry Pi.

Languages covered for controlling the Raspberry Pi GPIO pins: C, C#,
Java, Perl, Python, Ruby, Shell Scripting and the wiringPi library.

In this document interfacing with a Teensy Kit is covered
and interfacing the Raspberry Pi with a HD 44780 LCD display,
using the RPi.GPIO

Recently added: Using a 16bit MCP23017 I2C I/O Expander with Raspberry Pi
More Raspberry Pi Hacking... Extending a bit upon the last guide published by
Hakin 9.

This guide will add several things to the Raspberry Pi, LCD with buttons
and a python script to drive everything.

[ Arduino Hacking ]

Arduino UNO R2/R3 as a HID Device (Linux/Windows) — 07.2015
Flashing the ATMega16u2 chip on Arduino UNO so it can act as a
HID device. Similar to Teensy Kits

Companion HID sketches (AddAdminUser / LinuxReverseShell / osx-DownloadandExec)
were originally hosted under ArduinoHIDSketches/ — source archives lost to bitrot,
the techniques are preserved in the main writeup above.
Using an Arduino as an ISP Programmer — 06.2015
Tutorial on using an Arduino UNO as an ISP with an AVR ISP Shield to program atmega
microcontrollers. With and without the need to flash a bootloader onto the target
MCU.

Source archive lost — project listed for historical reference only.
Tutorial on configuring Notepad++ to support syntax highlighting, Arduino IDE launching
along with function completion and parameter suggestions for writing Arduino sketches.
Controlling 7 Segment LED with Arduino — 11.2013
Tutorial on how to control a 7 segment LED from an Arduino UNO R3.

Source archive lost — project listed for historical reference only.
TCP/IP - Arduino Power Controller — 11.2013
Small project to control a 120VAC socket from an Arduino UNO R3 via web interface.

Using an 8 relay 5VDC breakout board.

Source Code: https://pastebin.com/Hf34AKEh

Local project files lost — source still mirrored on Pastebin (link above).
ArduinoRobot — 11.2013
Small project working on a RC type robot controlled by Arduino..

Uses ping sonar and motion sensors. With a few servos for turret control...

Source archive lost — project listed for historical reference only.

[ Radio / RF ]

How to build a Meshtastic LoRa node that actually reaches and
survives. Covers the board decision (low-power nRF52 vs Wi-Fi-capable ESP32),
getting the region/frequency right, the antenna details that decide your real
range (SMA vs RP-SMA, gain trade-offs, feedline loss), sizing battery and solar
so a remote relay rides out bad weather, choosing the correct mesh role instead
of flooding the network, weatherproofing an outdoor enclosure, and flashing the
firmware. Ends with a worked solar ridge-relay build, and pairs with the
coverage-planning guide below for siting.

Read the guide →
Complete walkthrough of the Meshtastic Site Planner — the terrain-aware
tool that predicts where a LoRa node's signal will actually reach. Explains
every transmitter, receiver, environment, simulation, and display setting, and
how the underlying Longley-Rice / ITM model uses each one. Includes a worked
island example (decoded from a real share link) and the maritime-climate gotcha
that quietly under-predicts coastal / island over-water range. Practical tips on
why antenna height beats power, matching receiver sensitivity to your LoRa
preset, and reading the reliability fractions.

Read the guide →
A look at the real Meshtastic mesh across the Hawaiian islands — local
RF meshes on Oʻahu, Maui and the Big Island, stitched together statewide over
MQTT rather than radio across the channels. Explains what the live mesh map
shows, how to tell a real RF link from an MQTT bridge (the most-misread thing on
any mesh map), and how to get your own node onto the mesh (US region, LongFast
preset, and the msh/US/HI MQTT bridge). Pairs with the node-build and
coverage-planning guides above.

Read the guide →
Take the mesh on the move — a group network for hiking, overlanding, events, or
comms-down, with no fixed infrastructure. Covers the mobile node picks, why a
moving node is never a ROUTER, power on the go, GPS and position privacy, vehicle
and handheld antennas, the temporary-high-relay trick that keeps a spread-out
group connected, a private group channel (pre-share the QR before you leave
coverage), and a pre-trip checklist. Links out to the build, coverage, and
security guides for the underlying details.

Read the guide →
A parametric OpenSCAD enclosure for the RAK19007 + RAK4631
Meshtastic kit — the one that houses the node from the build guide. One
.scad file renders a base tray and a choice of lids (snap, screw, or both),
with every dimension tunable from the top: board fit, wall and headroom
clearances, USB-C and reset cutouts, a battery shelf, lanyard loop, and a
pigtail exit. Covers the render targets, the print workflow, what to
caliper-check first, and the PLA / PETG / ASA call for indoor vs outdoor.

Read the guide →
A parametric OpenSCAD enclosure for the Heltec WiFi LoRa 32 V4
(ESP32-S3 + SX1262, on-board OLED) — the same snap+screw architecture as the
WisBlock case, re-laid out for the V4's smaller board and its connector row.
One .scad file renders the base and a choice of lids, with an optional OLED
window, an SMA antenna hole, and M2 mounting. Covers the render targets,
verifying the connector positions (the make-or-break step), the OLED cover,
assembly, and the material call. Ships with pre-exported, print-ready STLs.

Read the guide →

[ Misc Stuff ]

USB Scan Key Codes — 07.2015
Scan Key Code mappings for a 101 Key keyboard, including numpad and some special
keys.

Source archive lost — project listed for historical reference only.
Tutorial on analyzing, reversing and emulating firmware using tools like Binwalk,
Firmware modification Toolkit & Qemu.
Note: This will only work for devices that are of the following:

A. Under 12volts.
B. Support ONLY 10/100 speeds.

This will NOT work with gigabit devices as gigabit requires
all 8 pairs.

WARNING: This mod will FRY gigabit devices
(AT YOUR OWN RISK / Dangerous)
HOWTO on building your own parallel port to LCD interface, driven by lcdproc.
Tutorial on how to convert your Eagle Board Drawings into usable images for creating
your own PCB boards using the Toner Transfer Method.

Note: Assumes prior knowledge of eagle and prepared schematic and board drawing,
works best when the circuit does not use any SMD chips.