AstroCAN BD-1 Logics

AstroCAN BD-1 Logics

Connectors

1
1

Connector for MicroController

ESP32-C3-Super Mini or Arduino Pro Mini (depends on version)

AstroCAN BD-1 Logics Connectors
HotspotFunctionDescription
1ESP32-C3-SuperMini or Arduino Pro MiniESP32-C3-SuperMini or Arduino Pro Mini Connector, depending on the version of your board.

Commands

Use serial terminal to connect via USB (see above) to AstroCAN-Module. If your browser supports “Web Serial”, you also can use the terminal available in the Firmware section. Communication speed ist 115200 baud. The following commands are available for configuration and management:

AstroCAN BD-1 Logics Commands
CommandParametersDescriptionExample
/HELPshows usage/HELP
/SETTINGSshows all settings stored in EEPROM/SETTINGS
/WIFIAPSSIDAP SSIDsets the access point SSID/WIFIAPSSID R2TOCH
/WIFIAPPASSWORDAP Passwordsets the access point password/WIFIAPPASSWORD R2TOUCH123
/WIFISSIDWIFI SSIDsets the WLAN SSID/WIFISSID HOMELAN
/WIFIPASSWORDWIFI Passwordsets the WLAN Password//WIFIPASSWORD HOMELAN123
/PAIRauto pair module with ESP-NOW peer (connect both modules to CAN for pairing)/PAIR
/NOWLMK16 byte keysets the local master key for ESP-NOW communication. See -> ESP-NOW encryption for details./NOWLMK 0123456789ABCDEF
/NOWPMK16 byte keysets the primary master key for ESP-NOW communication. See -> ESP-NOW encryption for details./NOWPMK 0123456789ABCDEF
/NOWCHANNELChannelsets the ESP-NOW channel number/NOWCHANNEL 5
/NOWSETPEERMAC Address in xx:xx:xx:xx:xx:xx formatset ESP-NOW communication peer MAC address/NOWSETPEER 01:23:45:67:89:AB
/NOWCLEARPEERSclear all ESP-NOW communication peers/NOWCLEARPEERS
/NOWLISTPEERSlist all ESP-NOW communication peers/NOWLISTPEERS
/RESTARTrestart module/RESTART
/FACTORYset factory settings and restart module. All EEPROM settings will also be set to default./FACTORY
/ACTIVATECAN|CAN1|CAN2|NOW|WIFI|ENCacticate CAN-/NOW-/WIFI-Functionality or ESP-NOW encryption. CAN1/CAN2 only available on Dual-CAN-Boards./ACTIVATE CAN
/DEACTIVATECAN|CAN1|CAN2|NOW|WIFI|ENCdeacticate CAN-/NOW-/WIFI-Functionality or ESP-NOW encryption. CAN1/CAN2 only available on Dual-CAN-Boards./DEACTIVATE CAN
/ANIMATIONnumberset animation type/ANIMATION 4
/SPEEDmillisecondsset animation speed (not persistent!)/SPEED 100
/BRIGHTNESS0-255set global brightness/BRIGHTNESS 35
/RNDBRIGHTNESS0|1(de)activate random pixel brightness. Each pixel has individual brightness if active/RNDBRIGHTNESS 1
/COLORcolornameset base color, valid color names:
blue
red
yellow
green
purple
pink
cyan
orange
lime
magenta
white
random
/COLOR blue
/COLORRGBR(0-255) G(0-255 B(0-255)set base color as RGB value/COLOR 0 0 255
/MINLEDS0-255minimum number of active LEDs/MINLEDS 10
/MAXLEDS0-255maximum number of active LEDs/MAXLEDS 80
/SPARKS0-255fire effect sparks parameter/SPAKRS 40
/COOL0-255fire effect cool parameter/COOL 50

Settings

Use serial terminal to connect via USB (see above) to AstroCAN-Module. Communication speed ist 115200 baud. The following settings can be configured (see command set above):

AstroCAN BD-1 Logics Settings
SettingDescriptionExampleConfig Command
MACMAC Address of ESP3212:34:56:78:9A:BCfix, not configurable
AP_SSIDName of the access point network, the AstroCAN module opens up to get connected by apps like R2-TouchR2TOUCH/WIFIAPSSID
AP_PasswordPassword of the Access point network.R2TOUCH123/WIFIAPPASSWORD
WLAN_SSIDName of the WLAN the AstroCAN module can connect to, to be controlled by other systems within that networkHOMELAN/WIFISSID
WLAN_PasswordPassword of the WLAN the AstroCAN module can connect to.HOMELAN123/WIFIPASSWORD
NOW_PMKESP-NOW encryption parameter: Primary Master Key. See -> ESP-NOW encryption for details.

Only change, if you exactly know, what you are doing!

0123456789ABCDEF/NOWPMK
NOW_LMKESP-NOW encryption parameter: Local Master Key. See -> ESP-NOW encryption for details.

Only change, if you exactly know, what you are doing!

0123456789ABCDEF/NOWLMK
NOW_ChannelWIFI channel to be used for ESP-NOW communication. All ESP-NOW peers have to communicate over the same channel number5/NOWCHANNEL
CAN1_ActiveShows, if main CAN bus is activetrue – activated
false – deactivated
/ACTIVATE CAN
/ACTIVATE CAN1

/DEACTIVATE CAN
/DEACTIVATE CAN1

CAN2_ActiveShows, if secondary CAN bus is activetrue – activated
false – deactivated
/ACTIVATE CAN2
/DEACTIVATE CAN2
NOW_ActiveShows, if ESP-NOW is activetrue – activated
false – deactivated
/ACTIVATE NOW
/DEACTIVATE NOW
WIFI_ActiveShows, if WIFI is activetrue – activated
false – deactivated
/ACTIVATE WIFI
/DEACTIVATE WIFI

or

WIFI jumper

NOW_EncryptionShows, if ESP-NOW encryption is active. See -> ESP-NOW encryption for details.true – activated
false – deactivated
/ACTIVATE ENC
/DEACTIVATE ENC
PeersDescriptionExampleConfiguration
PeerMAC-Adress of ESP-NOW communication partner, not used in bridge module12:34:56:78:9A:BC/NOWSETPEER
REAR_ANIMCurrent animation type1/ANIMATION
REAR_BRGlobal display brightness35/BRIGHTNESS
REAR_RNDBRIndividual pixel random brightnesstrue/RNDBRIGHTNESS
REAR_RBase color, red value0/COLOR or /COLORRGB
REAR_GBase color, green value0/COLOR or /COLORRGB
REAR_BBase color, blue value255/COLOR or /COLORRGB
REAR_MINLEDSMinimum number of active LEDs10/MINLEDS
REAR_MAXLEDSMaximum number of active LEDs80/MAXLEDS
FIRE_SPARKSFire effect sparking parameter value50/SPARKS
FIRE_COOLFire effekt cooling parameter value40/COOL

F.A.Q – AstroCAN BD-1 Logics

What is it?

The AstroCan BD1-Logics board is designed for Michael Baddeleys BD-1. It fits the head and is controlled via a piggyback Arduino Pro mini or via any other microcontroller. It has 251 3535 RGB Leds.

Features

  • ESP-NOW Wireless Dome/Head<->Body Comm (serial, Canbus, I2C)
  • CAN-Bus ready software for upcoming CAN-enabled Astromech Devices

The ESPNow system is exclusively utilized for connecting the body/head and dome. It efficiently transfers all CAN signals and one serial interface between the dome/head and body through ESPNow.

Nice Effect Settings

Fading Blue

REAR_ANIM: 4
REAR_SPEED: 10
REAR_BR: 50
REAR_RNDBR: true
REAR_R: 0
REAR_G: 0
REAR_B: 255
REAR_MINLEDS: 3
REAR_MAXLEDS: 75
FIRE_SPARKS: 40
FIRE_COOL: 40

Firmware Installer

To install most recent firmware V2.5.0 connect the module via USB to your computer and click on “Connect” button.

Attention 1: When upgrading one module to V2.x, you have to upgrade ALL other Modules to V2.x!

Attention 2: Read HowTo – Upgrade to V2.5 before upgrading!

Firmware Download

ESP-Tool-Upgrade

The firmware has been compiled using esptool, ready to flash to offset 0x00.

Firmware AstroCAN-BD1-Logics download

OTA-Upgrade (Firmware 2.5 and greater)

Firmware AstroCAN-BD1-Logic

Fileystem AstroCAN-BD1-Logics

Read HowTo – Upgrade to V2.5 before upgrading!

Revision History

Version 2.5.0 (29. November 2025)

Features

  • Upgrade to recent Toolkit incl. Web Config

Bugfixes

Version 1.0.1 (03. January 2025)

Features

  • Effect fine tuning

Bugfixes

  • typos

Version 1.0.0 (02. January 2025)

  • First official Release