Git Product home page Git Product logo

dmcomm-arduino-lib's Introduction

DMComm

Arduino program and library to communicate with Digimon toys, by BladeSabre ( [email protected] ). License: MIT.

To install, check your board type below, and pick one from A-Com Flasher / Alpha Upload / "Install from Source".

Currently supports

  • A-Com and D-Com (portable)
  • P-Com (on RP2040)
  • The 3 classic prong styles with all calculation features
  • Digimon Color without calculation
  • LED feedback
  • Voltage test (t)
  • Version info (i)

Board Types

  • Almost any premade A-Com will be a Nano. Some have the "old bootloader" which requires a different flashing option.
  • Bazjo D-Com v2 (bought since Dec 2023) works as a Nano.
  • Bazjo D-Com v1 uses ATmega328PB and requires special flashing options.

Installation Tools

ACom Flasher

  • OS support: Android
  • Board support: Uno, Nano, Bazjo D-Com v1

Alpha Upload

  • OS support: Windows (from the above link); Mac (unofficially, check the 0NL1NE server)
  • Board support: Uno, Nano, Leonardo
  • Make sure to choose "DMComm Arduino" before flashing!

Install from Source

Hardware setup

  • Find the Arduino15 folder
  • ATmega32U4:
    • Increasing the serial buffer is not required
  • Nano/Uno:
    • From the Arduino15 folder, go to packages/arduino/hardware/avr/{version}
    • Create platform.local.txt containing compiler.cpp.extra_flags=-DSERIAL_RX_BUFFER_SIZE=128
    • Restart the Arduino IDE
  • Bazjo D-Com v1:
    • Install MiniCore
    • From the Arduino15 folder, go to packages/minicore/hardware/avr/{version}
    • Open boards.txt
    • Find the line 328.build.extra_flags={build.clkpr}
    • Add to the end of that line, so that it says:
      • 328.build.extra_flags={build.clkpr} -DSERIAL_RX_BUFFER_SIZE=128
    • Restart the Arduino IDE
    • From the Tools menu, select Board:MiniCore:ATmega328 and Variant:328PB (leave the other board options alone)

Installing library

  • Clone the repo into your Arduino libraries directory
  • OR Use the "Download ZIP" option on GitHub with Sketch > Include Library > Add .ZIP Library
    • If updating, you will need to delete the previous version first
  • Open the ClassicComUnit example

Other DMComm versions

This software is loosely based on dmcomm-python, but avoiding dynamic allocation (except in SerialFollower).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.