I use two XTAR 16850-3500 cells and I get about 8h of active usage out of them.
sudo apt install gnome-shell gdm3
Download image from uConsole github. Unzip with p7zip:
$> sudo apt-get install p7zip
$> p7zip -d uConsole_CM4_v1.3g_64bit.img.7z
Find the SD card, probably at /dev/sda
. Write image with dd:
import random | |
import time | |
import board | |
import busio | |
import wifi | |
import adafruit_is31fl3741 | |
from adafruit_is31fl3741.adafruit_rgbmatrixqt import Adafruit_RGBMatrixQT | |
QUEUELEN = 128 # ESP32-S2 (ESP32-S3 can be much longer) |
The purpose of this tutorial is to walk through the required steps to upgrade NXT chip (or pocketchip) from debian jessie to debian buster.
If you would like to start your Chip from scratch, follow the steps in the Preparation section.
A linux host machine, recommended Ubuntu 18.04. However I managed to do it with 20.10 with some tweak.
Originally from: https://raw.githubusercontent.com/systemik/pwnagotchi-bt-tether/master/GPS-via-PAW | |
Systemik made the original code and shaynemk on the pwnagotchi boards added timestamps, altitude, and satellites to the code | |
You can follow the original guide if you want, this one is just using a bit different code and is typed out a bit better | |
This is just the android part of the whole guide but the rest can be found here https://community.pwnagotchi.ai/t/setting-up-paw-gps-on-android | |
And just so everyone knows, me (Arttumiro) didnt do anything coding related at all, i just changed up the guide a bit and made it easier to follow. | |
====================================================================================== | |
Site of the app I use : http://paw-android.fun2code.de (It needs a lot of permissions but it will not do anything automatically) | |
Dont worry about incompatibility warnings, the gps code should still work even with that. |
// create a bookmark and use this code as the URL, you can now toggle the css on/off | |
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
javascript: (function() { | |
var elements = document.body.getElementsByTagName('*'); | |
var items = []; | |
for (var i = 0; i < elements.length; i++) { | |
if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { | |
items.push(elements[i]); | |
} | |
} |
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
#include <Cloud4RPi.h> | |
#include "DHT.h" | |
#ifndef LED_BUILTIN | |
#define LED_BUILTIN 2 | |
#endif | |
#define DHTPIN 2 // Digital pin connected to the DHT sensor |
You will need something from your Stock ROM first. Get them all and Try to modify it using the procedure.
Note: This guide will be helpful for you if you have older mediatek devices (android-5.1 or android-6.0), but up-to-date devices can also work.
Update: This guide had a few typos and derps (Oops..), but I've tried to make it free of those now (Dated November 18, 2020)
Bonus: You can also use this tool by @SebaUbuntu, @yshalsager and @mauronofrio to auto generate the twrp tree. The tool is best if your device runs on android-9.0. The tools is still not 100% compatible to all devices, but I'll still recommend it and give it 8.5/10 in the scale of varsatility.
#include <DHT.h> | |
#include <ESP8266WiFi.h> | |
#define DHTPIN 2 //DHT11 is connected to GPIO Pin 2 | |
String apiKey = "XXXXXXXXXXXXXXXX"; // Enter your Write API key from ThingSpeak | |
const char* ssid = "SSID"; // Enter your WiFi Network's SSID | |
const char* pass = "PASSWORD"; // Enter your WiFi Network's Password | |
const char* server = "api.thingspeak.com"; | |
#!/system/bin/sh | |
# place me in this folder: | |
export HOME="/sdcard/wifi" | |
# place patched firmware with this name | |
patched_path="$HOME/bcmdhd_sta.bin.patched" | |
backup_path="$HOME/bcmdhd_sta.bin.backup" | |
fw_path="/system/etc/wifi/bcmdhd_sta.bin" |