AstroCan Control System

Estimated reading time: 3 min

The AstroCan System is a new multipurpose control system concept for almost every droid.
In 2023, Norbert, Reinhard, Jeanette, Stefan and I (Ben) decided to make a new control system.

The concept:
  • It must be possible to migrate step by step from existing systems to the new system
  • It should be possible to run old components and new components in parallel, as far as possible
  • Reduction of the current wiring as far as possible, especially finally away from this annoying 24-wire slip-ring
    (you still need a Slipring for mainpower in the dome or you can use an independet powersource)
  • Moving away from the USB host shield problem
  • New components must be easy to add without complicated changes to the existing cabling
  • The system must be secure against external influences and also function stably at fairs and conventions with a lot of radio traffic
  • The programming between ATMEGA and ESP32 should be as identical as possible
  • Open Source
  • Controllable via:
    • RC Remote
    • Xbox controllers (360 – ONE)
    • PS 3-5 Controller incl. PS Move controller
    • Nintendo Switch Controller (Joy-Con)
    • Smartphone/Tablet
    • Special Droid remote
In order to fulfill these requirements, we have decided on the following technical components:
  • ESP32 family as the uniform microcontroller generation of the new concept
  • ESPNow only as an option, not as a standard communication medium. We are currently afraid of too many interferences at fairs and conventions.
  • The established CAN bus from the automotive industry will be the connecting bus system of the new concept. A very robust 2-wire bus system that is easy to install and for which very inexpensive controllers and transmitters are available. The CAN bus supports speeds up to 1MBps and is a multi-master system
  • 4-wire slipring for cable-connected installations (VCC, GND, CANH+CANL) or 2-wire slipring when using radio transfer (see CAN-NOW-Bridge below)
  • Although the ESP32 supports the CAN protocol out of the box, we use a MCP2515 CAN controller, which can also be run on an Atmel processor with SPI (see above -> unified software on different platforms)
The following components already exist and are currently beeing tested:
  • Arduino Mega CAN bus shield for Arduino Mega and Shadow: This shield can be placed on existing Shadow systems without the need for further adjustments to the system, not even to the software. This module is the minimal first step into the Astro CAN world. We will gradually integrate the CAN bus into the Shadow control system
  • Single- and Dual-CAN-Bus-Shield for Arduino Mega and Shadow incl. USB-Host-Shield: The goal is to get away from the faulty Host-Shield-2.0 models on the market. The shield integrates the CAN bus as well as the USB mini host shield. Dual-CAN is for CAN experts if you plan to establish two separate bus systems with different speeds for different tasks (e.g. integrating fast sensors with 500kbps or 1Mpbs)
  • Penumbra derivative with CAN bus instead of RS485 and some little more extras
  • CAN-NOW-Bridge: The only system which intentionally uses ESPNow. It serves as a connection between body and dome. All CAN signals as well as a one serial interface are bridged between dome and body via ESPNow. So it actually only needs a 2-wire slipring for the power supply of the dome, the signals all go via the ESPNow interface
  • 232 controller: a module compatible with Troy Flynn’s 232 solution. The mechanics and the motor drivers remain identical, only the AT-Mega is exchanged for the new module based on ESP32 including CAN
  • “The Brain”: The new core. An ESP32 with integrated USB host, CAN bus and SD card for central storage of configurations or data of the modules connected to the bus. In addition 3 serial interfaces to control the classic components like Syren, Sabertooth and Marcduinos
Also in planning, design or testing:
  • Dome positioning system
  • Servo controller boards for dome and body incl. panel animation sequences
  • Various sensor boards

Allmost all modules are standardized to 50mm x 40mm and have an identical interface (“Astrobus”), which allows them to be mounted very tightly on the electronics board without extensive wiring. The Astrobus is optional, if you like, you can use free-floating wiring as usual.

Below are a few pictures of already existing components as well as renderings of modules currently in prototype production.

We are open for new ideas and comments, that’s what a community is for!

(BTW: Ignore the white wires on the protoype boards, we had to fix a routing bug in the first releases)

Was this article helpful?
Dislike 0 1 of 1 found this article helpful.
Views: 161