Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A project to fly a kite using custom firmware on a hoverboard

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

hoverkite/hoverkite

Hoverkite Test Video

HoverKite is a hare-brained scheme to fly a kite using a camera, a raspberry pi, and custom firmwareon a hoverboard.

Progress is tracked onTrello. Eventually wewould like to use this setup to produce power, but that's a long way off.

There are currently two crates in this repository:

They communicate over a serial port using a customprotocol.

Getting started

You will need:

  • A hoverboard with a pair ofTT-SD2.2 main-boards ("Split Board" according toCandas' spreadsheet)
  • 2.54mm (0.1") headers (you need to make 2-3 headers, each with 4 pins).
  • Misc female-female jumper wires for connecting to the above headers.
  • Soldering iron + solder + solder sucker.
  • Raspberry Pi (Raspberry Pi 4 is recommended, because it's powerful enough to compile rust projects without taking the age of the universe, but you can do it without this if you have a laptop running Linux).
  • ST-Link V2 (Don't get the V3MINI. It's a trap).
    • We ended up buying two of these, so we can hack on things independently.
  • A pair of serial ports (you can get away with just one if you solder on the extra set of headers onto the master board)
    • PL2303-based USB-Serial port adapters are cheap and super-convenient. You probably want at least one of these in your life.
    • The raspberry pi 4 also has a bunch of pins that can be turned into serialports.
  • A game controller forHovercontrol.

Build instructions

This section is a bit bare-bones. If you get stuck at any point, follow along withhttps://hackaday.io/project/170932/instructions and then send a patch to clarify these instructions so they're easier to follow.

  • Take the hoverboard apart and solder some headers onto the CPU port of each mainboard, and to the "remote" port on one of the boards (the one without bluetooth, if you have the same Zinc board as us).
    • For us, the "remote" port needed solder-sucking before we could fit the header pins in the holes.
    • In his video, Phil Malone only solders into the "remote" port. This is because he has some header pins attached to his st-link that he can just push-fit into the holes while flashing. You can probably do that too, but we have soldered our headers in place.
  • Flash something to disable the GD32 hardware watchdog. Kiel does this automatically on first flash and it stays disabled forever until it is explicitly enabled, or you can do this in openocdopenocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c "reset halt; stm32f1x options_write 0 SWWDG" according tothis platformio thread.
  • Run st-util in one tab
    • if you have the stlink plugged into your raspberry pi then you can do:ssh -L4242:localhost:4242 pi@raspberrypi.local st-util to make things available on your laptop
  • run(cd hoverkite-firmware && cargo run) in another tab to flash the firmware.
  • If you want to flash the firmware while the board is hooked up to the motors then:
    • Connect the battery, motor and power-button wires.
    • Disconnect the 3.3v line of the ST-LINK (I heard a rumour that Bad Things could happen if the ST-LINK and the hoverboard both try to power this line, but I've not tested it. If you think that it's safe to skip this step then please tell me, because the step below is super-annoying and I'd much rather avoid it if it's safe).
    • Hold down the power button while doingcargo run (the flasher doesn't latch-up the power, so if you let go you may end up losing power to the board before you're finished flashing).
  • Connect to the board via serial port (tx goes to rx, ground goes to ground, and 5v stays disconnected)
  • Start the controller software, by following the instructions inhovercontrol. This needs to be run on a device that's connected to the hoverboard via serial port (I recommend running it on the raspberry pi).

Other resources

  • Hoverboards for Assistive Devices is a really well-documented hardware hacking project that uses these boards.
  • TheField Oriented Control repo is a reasonably active community developing C firmware for single-mainboard hoverboards. Their telegram chat is super-friendly.
  • This platformio thread in which maxgerhardt ports some Kiel-based hoverboard firmware so that it can be compiled and flashed using platformio.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in thework by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without anyadditional terms or conditions.

About

A project to fly a kite using custom firmware on a hoverboard

Topics

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp