A simple guide to flashing the AT firmware onto BW16-Kit modules.
-
USBC BW16-Kit:
at version:release/v2.11.2 sdk version:amebad_v6.2C firmware version:release/v4.9.2 -
MicroUSB BW16:
version:v2.4.1,amebaD v6.0a(Aug 14 2019)
| /** | |
| * This file calculates a lookup table for all the day that daylight saving take effect. | |
| * The output file is a hpp file, which can use used in Arduino project. | |
| * If you don't have nodejs on your machine, you can use an online compiler, for example: https://www.tutorialspoint.com/execute_nodejs_online.php | |
| */ | |
| // number of years in the future to generate | |
| const NB_OF_YEARS = 20; | |
| // set the current timezone |
| #include <SDL.h> | |
| #include <cstdio> | |
| #include <iostream> | |
| #include <string> | |
| #include <cstring> | |
| #include <sstream> | |
| #include <ctime> | |
| const int MAX_RECORDING_DEVICES = 10; |
| /* | |
| Simple Graph + Touch Drawing sample for Makerfabs ESP32-S3 4.3" 800x480 Parallel RGB565 TFT ( E32S3RGB43 ) | |
| Product purchase link : https://bit.ly/42cuRO3 | |
| Requirements: | |
| - Development board : Makerfabs ESP32-S3 4.3" 800x480 Parallel RGB565 TFT with Capacitive Touch | |
| - Arduino Library - Display/Touch : LovyanGFX | |
| - Board selected in Arduino : ESP32S3 Dev Module | |
| - PSRAM : OPI PSRAM | |
| */ |
| import pytwitter | |
| from os import environ as env | |
| from dotenv import load_dotenv | |
| load_dotenv() # Loads the .env file we created earlier | |
| api = pytwitter.Api( | |
| consumer_key=env["CONSUMER_KEY"], | |
| consumer_secret=env["CONSUMER_SECRET"], | |
| access_token=env["OAUTH_TOKEN"], |
| List with Compatible devices: | |
| Look under About on the watch for the device Id. | |
| looks something like this: | |
| MOY-TEH5-1.7.7 | |
| the middle section is the interesting part, if that is in this list here | |
| it has the compatible bootloader and the same pinout as pinetime for Display and External Flash |
| <?php | |
| /** | |
| * @author niquenen | |
| * @company H2V Solutions | |
| * @created_at 2020-02-18 10:54:10 | |
| * @updated_by niquenen | |
| * @updated_at 2022-11-04 15:16:13 | |
| */ |
| Basic Manual for DaFit Fitness Tracker firmware update protocol, works for nearly any nRF52832 tracker from Company DaFit | |
| The minimum size of update file is 0x10000(can be filled with garbage to get to size) and the maximum size is 0x2F000 | |
| the update will first get stored onto the external flash at position 0x3D1000 by the stock firmware(not by the bootloader) | |
| the size of the update will get stored at 0x3D0000 on external flash with 4 bytes uint32_t | |
| when bootloader gets activated it will copy the update from external flash to 0x23000 of the nRF52 internal flash. | |
| Connect to device, |
An acquaintance needed a video kiosk that plays looping videos for an exposition booth. Since I have a bunch of Raspberry Pis lying around, I figured that it would be the perfect use case for using one of them.
Let's assume we start from scratch, with a unflashed, brand new SD card and your Raspberry Pi.
Install a version of Raspbian that includes the desktop. You can head over to : https://www.raspberrypi.org/downloads/raspbian/ and follow the instructions.
Once the image is downloaded, you can burn it to your SD card with tools like Etcher (https://www.balena.io/etcher/)
| <?php | |
| function string2ByteArray($string) { | |
| return unpack('C*', $string); | |
| } | |
| function byteArray2String($byteArray) { | |
| $chars = array_map("chr", $byteArray); | |
| return join($chars); | |
| } |