
Sub
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

Bumbershoot 2024
Dancing duck is an open-source printed circuit board by Ponderosa, from the Ponderosa/dancing_duck repository on GitHub, published under the MIT licence. It is a 2-layer board of 60.2 × 53.6 mm with 15 parts on 43 nets, routed with 238 tracks and 4 vias.
Its parts include 5 connectors, 3 resistors, 3 ICs and 1 capacitor.
This repo contains all software and tools for the Dancing Duck installation (title subject to change) for the Bumbershoot 2024 Festival.
The design consists of ~20 motorized ducks that can be controlled to perform coordinated dance moves in the water. The ducks are decoys with an RC hobby boat mounted to the bottom. There are two DC brushed motor, each attached to a propeller. A custom PCBA will be manufactured that will feature the rPi Pico and a TI DRV33xx chip. The multicore RP2040 will be running SMP FreeRTOS and include LwIP and MQTT stacks. It will be able to interface with the Coordinator MQTT broker to receive motor commands, which will interface with a TI 83xx driver chip. Also included is a magnetometer to help ducks point in desired directions and to return to dock when needed.
The ducks will be controlled via MQTT text based instructiones (JSON, G-Code, Something hand rolled?) being issued from the RPi4 Coordinator. The Coordinator will be running a broker, likely Mosquitto. Logging and monitoring infrastructure will be running on the Coordinator and may be accessed via a touchscreen mounted directly to the RPi4 or an external laptop known as the Monitor.
$ sudo apt update
$ sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib build-essential git
$ cd ~/workspace (or wherever you want to clone to)
$ git clone --recurse-submodules https://github.com/Ponderosa/dancing_duck.git
$ cd dancing_duck
$ git submodule update --init --recursive
$ cp wifi_example.sh wifi_secret.sh
$ vim wifi_secret.sh (add desired access point and MQTT broker information here)
$ ./build.sh <device_id>Note: Please be careful not to commit any private wifi AP information.
For further Pico information, please see the getting started link below.
The Pico can load firmware images by copying the U2F output file. It needs to put into mass storage mode first. To do this hold down the button on the pico while plugging in the USB cable. More instructions can be found in the getting started manual linked below.
$ JLinkExe -ip 192.168.4.151 flash.shFollow the getting started with Pico guide below.
printf() is currently outputting to UART0 (GP0, GP1) at 3.3V. The UART is set to 115200-8-N-1. A lot of useful information is being streamed to this port. It is highly recommended to utilize this debug feature before venturing into GDB.
Todo: Add build configuration file that can switch to USB CDC printf(). Or just move to USB CDC printf(). More details on CMakeLists modifications here: https://deepbluembedded.com/raspberry-pi-pico-serial-usb-c-sdk-serial-print-monitor/
Since the rp2040 is dual core, care must be taken in properly attaching to the device.
Included is a .vscode/launch.json to use with the VSCode plugin Cortex-Debug by marus25. Please feel free to add more configurations, as you probably don't have the same J-Link IP address I do. To get this to work start the Debug session directly from VSCode. You may need to reset the device one or two times with the left most reset button that appears in the new toolbar in the center top of VSCode. Once you do that, you should be able to use breakpoints and step through the code.
Getting ARM GDB to run properly on Linux can be challenging. You may need to install older versions of libncurses and libncursesw
For my Ubuntu build this did the trick
sudo apt-get install libncurses5
sudo apt-get install libncursesw5etc/mosquitto/conf.d/mosquitto.conf and addallow_anonymous true
listener 1883 0.0.0.0dancing_duck/
├── devices/
│ ├── {device_id}/
│ │ ├── sensors/
│ │ │ ├── temperature
│ │ │ ├── battery_voltage
│ │ │ └── ...
│ │ ├── metrics/
│ │ │ ├── freertos/
│ │ │ │ ├── heap
│ │ │ │ ├── tasks
│ │ │ │ └── ...
│ │ │ └── lwip
│ │ └── logs/
│ │ | ├── info
│ │ | ├── warning
│ │ | └── error
│ │ └── command/
│ │ | ├── motor
│ │ | ├── navigate
│ │ | ├── return_to_dock
│ │ | ├── set_test_mode
│ │ | └── ...
│ │ └── quack| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | Conn_01x02 | Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | J1, J2, J4 |
| 2 | LOGO | LOGO | G_LOGO, G*** |
| 1 | 0 DNP | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | R3 |
| 1 | 1000pf | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1 |
| 1 | 220k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1 |
| 1 | 330k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R2 |
| 1 | Conn_01x02 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_Horizontal | J3 |
| 1 | Conn_02x02_Counter_Clockwise | Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_Vertical | J5 |
| 1 | MountingHole_2.7mm_M2.5_ISO14580_Pad_TopBottom | MountingHole:MountingHole_2.7mm_M2.5_ISO14580_Pad_TopBottom | REF1 |
| 1 | ~ | adafruit:lis2mdl_breakout | U3 |
| 1 | ~ | adafruit:drv8833_breakout | U2 |
| 1 | ~ | raspberry_pi:RPi_Pico_SMD_W | U1 |

google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

mntmn/amiga2000-gfxcard
MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

kenp-io/not-for-airpods-repairs
The content of this repository is licensed under the WTFPL License. Please have a close look at the terms before using this material.

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

Chrismettal/EleLab_v2
Cheap DIY lab system for hobbyists and the tinkering folk

It measures 60.2 × 53.6 mm and has 2 copper layers, 1.6 mm thick.
15 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Ponderosa/dancing_duck repository on GitHub, at the commit this page was made from: the board is pcb/dancing_duck/dancing_duck.kicad_pcb and its schematic pcb/dancing_duck/dancing_duck.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).