Moledcule: Kaimana Theme Builder, Compiler, Flasher... ...you design... ...we code!


#1

Updates
Reserved Post For Updates

Sunday, April 4, 2017
v1.0.6 kaimana restore bug

Sunday, March 12, 2017
v1.0.5 balltop fix

Wednesday, February 15, 2017
v1.0.3 now with balltop LED selector
this is my valentines day gift to you all :heart:

Friday, January 7, 2017
v1.0.2 Windows 10 Device Fix

Friday, January 6, 2017
v1 Fixed Windows Version for Device

Wednesday, December 1, 2016
v0.9.9 Changed apps window bounds

Friday, November 25, 2016
v0.9.8 Patched Cross Color Fading (throw, focus, taunt)

Wednesday, November 23, 2016
v0.9.7 Minor bug fix (LED miscount on menu buttons)

Tuesday, November 22, 2016
v0.9.4 Added layouts for neopixel ring
v0.9.5 Hot patch* (facebook bug fix)*
v0.9.6 Hot patch* (profile bug fix)*

Monday, November 21, 2016
v0.9.3 Hot patch* (minor bug fix)*

Sunday, November 20, 2016
v0.9.2 Hot patch of app release in Chrome App Store
thank you testers

Saturday, November 19, 2016
v0.9.1 first wide release

Update Chrome App


The NEW Official Arcade Stick Art Thread NO IMAGE QUOTING!
2016 SRK Tech Talk Awards
Programming the LVT3 using Arduino IDE
#2

*"Hello!

I’m Eugene Andruszczenko - many know me as @32teeth ,
[list]
[] the designer behind [original RGB LED controller Sparky Jr.](Official Sparky Thread - Sparky Jr USB
[
] Game Community technologies like the HTML5 Canvas Gamepad
[] its official Mobile Companion with over 1000+ games using the plugin.
[
] Crypto Currency iOS apps like Dashy - DashCentral Manager
[] Ethereum Dashboard
[
] Quality Assurance Lab utility
[*] the list goes on…
[/list]

please have a thorough read through he below documentation, and if you have any questions, get in touch!

welcome to the club
signed @32teeth


tl;dr

video
[media=youtube]fS_z9_u8IUc[/media]

official site
moledcule.club
dot club… …because that’s what it is intended to be

official faq
faq

CaaS
moledcules compiler
we are super stoked to showcase our compiler, play with it, let us know what you think!

Moldecule
What is moldecule?
You design. We code.
moledcule is a Chrome Application and acts as a companion for your AVR based microcontrollers.

moledcule was built to enable non technical users to leverage the capabilities of general purpose programmable RGB LEDs. moledcule connects to your AVR microcontroller such as Arduino to compile and flash ‘sketches’ to the microcontroller. It allows you to configure your devices, program and run them without writing a line of code. moledcule compiles the code, verifies it, and then ‘flashes’ the newly compiled machine code to your device.

Who built moledcule?
Meet the team!

@32teeth (hey that’s me)
principle: moledcule application developer

Super Angry Pixel
contributor: provider: fun times

Codebender Inc.
contributor: provider: compiler as a service

noopkat
contributor: provider: avr flasher

[color=#10cfbd]Does moledcule support the Paradise Arcade Kaimana?
Yes, Including Reset to Default Settings

Moledcule was largely inspired by Kaimana, with the express desire to assist people who are not comfortable with coding, hardware, and the likes. The Kaimana is an Atmega32u4 microcontroller loaded with the Arduino bootloader.

Essentially, moledcule as a ‘theme’ creator for your Kaimana system; we support the capability to flash your Kaimana with the moledcule firmware, amongst other arduino devices with microcontroller hardware.

We have thoroughly tested moledcule against the Kaimana hardware.

It is important to note that while we support the Kaimana, we are not officially endorsed by Paradise Arcade, and therefore are not liable for any issues with hardware in conjunction with using our software. To address this, we have a backup system that allows you to flash to the default version of the Kaimana library at any time.

If you are using the Kaimana and need help, please visit the Kaimama shoryuken.com support thread.

Does moledcule cost money?
No
We truly believe in the concept of “open source community”. As of this writing, moledcule costs nothing to use.

Can I create patterns for my hitbox?
Yes
Our interface supports both fightsticks and hitbox layouts, 6 button, 8 button, alt buttons, directional leds, led rings.

How does moledcule handle my existing wiring order?
Drag, drop, reorder, done
The Kaimana and similar arduino LED controllers use a digitally addressable LED chain. This allows for simpler wiring; each LED can be set individually without necessarily wiring in that manner. Everything starts with the controller and ends at the last LED in the chain. That said, once everything is wired up, the LED patterns you author must make note of this chain.

We know that rearranging your existing wiring to accommodate a LED controller is a hassle. We solved it for you by offering a clear visual interface that allows you to arrange the LED patterns according to your physical wiring, instead of the other way around.

Do I need to know how to write code in C/C++/Java/ELM/Rust?
No
What’s great about the moledcule is its simplicity. Plug in, compile and flash the theme of your choice. We do the lifting. All that is left to do is express your creativity.

Do I need AVR, Arduino, Teensy, Special Hardware…?
All you need is Chrome
The beauty of moledcule, is that works right out of your browser.

Simply download the Chrome App available directly in the Chrome Web Store and launch it!

moledcule configurator application
your future friendly community based programmable led controller

*** NOW WITH HITBOX SUPPORT ***

specifically design for the fighting game community, modders and fightstick enthusiasts.
control your LEDs (button, balltop, plate) right from molecule itself.

currently works with arduino leonardo, any 32u4 based avr microcontrollers, paradise arcade kaimana mini and khameleon

log in using your social media accounts
[list=1]
[]create unique themes for your leds
[
]save your themes
[]clone others themes
[
]get inspiration from the community
[/list]

What are Themes?
Patterns to suit your ideas, preferences, or design
Themes represent both LED color and animation patterns of your own making. Those patterns can represent an idea - such as buttons with light, pastel colors. It could match a preference - perhaps you enjoy simple flashing lights, or a smooth transition from one color to another. If you are designing your Fightstick around a favorite movie or cartoon, you can light and animate specifically to match it.

In moledcule, you can create an unlimited amount of themes, clone others, and even compile others’ themes directly onto your device. The best part is that you can share your themes with others across the globe.

Manage your own list of themes
Themes are your own awesome collection of color variations, build variations and so on.
With moledcule there is no longer a need manage files on your desktop. Themes are as portable as you - login from any Chrome browser get back to work.

Can I restore the original Paradise Arcade Kaimana firmware?
Yes
Moledcule will compile and flash your device with the original manufacturers code. If you ever need to revert back to the device’s original state, simply visit the “reset” section of the application, and click the “reset” button. Moledcule will do the rest.

I’m ready to try this thing out!
**Fantastic! **
We are just excited as you are to kick things off in the right direction.

How do I get started with moledcule?
Get the Chrome App
Starting today, you can download the Chrome App from the Google Play Store.

I have a suggestion or feedback about moledcule
We are all ears
We appreciate your feedback and suggestions - any comments can help moledcule grow to serve your needs.

You can provide feedback right in the app, or, feel free to contact us directly through our contact form

What’s Next?
Continuous Deployment Schedule
We will continue to evolve, deploy, iterate changes, and more. Because moledcule is a Chrome-based app, you will be constantly up to date with our latest releases.


#3

Updates
Reserved Post For Instructions

Getting Started
[list]
[] Download the Chrome App
[
] Visit the site
[*] Check the FAQs
[/list]


#4

Media
Reserved Post For Media

Videos

Images


#5

Feedback
General Feedback, Questions, Feature Request

How to submit
[list]
[] Send us your thoughts
[
] Post type (Feedback, Question, Feature REquest)
[] Short Description
[
] Your Setup
[/list]


#6

Surprised I’m the first to comment here. This looks like some really good work. I can’t wait to try it. Would this support things like led strip lights and neopixel rings?


#7

Good Question
There certainly is

Current support is for a custom board i made for a friends modded stick.

[media=youtube]uV0VIbsGpow[/media]
The plate in the video has 8 LEDs, we also used the NEOPIXEL RING - 16 X from Adafruit

The moledcule app is designed for 8 indexes, but there is no reason i can’t add a 16 option


#8

Cool stuff you’re doing here, Should have a way to define the number of leds you are working with along with generating the order for that number (eg if you put 30 leds it will give you a generic name for those leds and then enable you to reorder them if you need it.)


#9

Number of LEDs
Managing and Ordering

Thanks @JRDIBBS you have a great point there.

Currently the dropdowns in the configuration support

fightstick
example
[list]
[] 3 - 4 punch buttons
[
] 3 - 4 kick buttons
[] 0 - 3 alt buttons (start select home)
[
] boolean balltop led
[*] boolean led plate
[/list]

hitbox
example
[list]
[] 3 - 4 punch buttons
[
] 3 - 4 kick buttons
[] 0 - 3 alt buttons (start select home)
[
] boolean for left hand (adds left, down, right, up)
[/list]

You would then use the drag and drop ordering for your specific wire order.

images

In the context of add an arbitrary number of pixels, that’s coming!


#10

TL;DV


#11

Im intrested in this. Dont really want to import a kaimana. Could anyone clarify how this would work with a regular ATmega32U4 breakout in terms of wiring?


#12

Atmega32u4
Using a generic Arduino / Genuino 32u4 (micro, leonardo, toaster, custom…)

Short answer
YES, you can use a standard Atmega32u4

Long answer
[list=1]
[] Download the Chrome App
[
] Launch the App
[] in the bottom left you will see the below screen grab
[
]

[] Connect your Arduino
[
] in the bottom left you will see the next screen grab
[*]

[/list]

Test an upload
you don’t need to be logged in to upload other peoples themes
[list=1]
[] In the app, click themes
[
] select a theme from the left hand list
[] take a look at the top bar above the selected theme
[
]

[] click compile
[
]

[] once complete, the flash icon will be active
[
]

[] click the flash button
[
]

[] flashing will produce multiple notification messages like in the video in the first post
[
] the flash icon will show a progress bar as well
[*]

[] once the flashing is complete, there is an 8 second bootloader timeout (this is standard on Atmega32u4)*
[/list]

Getting pinned
Below is the pin mapping as documented in the Kaimana thread



/*

// Punches
Punch 1 --> Digital 3
Punch 2 --> Digital 2
Punch 3 --> Digital 0
Punch 4 --> Digital 1

// Kicks
 Kick 1 --> Digital 4
 Kick 2 --> Analog 3 
 Kick 3 --> Digital 12
 Kick 4 --> Digital 6

// Alts
  Start --> Digital 10
 Select --> Digital 9
   Home --> Digital 8

// Directions
     Up --> Analog 0
  Right --> Analog 2
   Down --> Digital 11
   Left --> Analog 1

// WS2812b Data Line
   Data --> Analog 5
*/


Arduino board map



/*
                                      +-----+
         +----[PWR]-------------------| USB |--+
         |                            +-----+  |
         |         GND/RST2  [ ][ ]            |
         |       MOSI2/SCK2  [ ][ ]  A5/SCL[ ] |
         |          5V/MISO2 [ ][ ]  A4/SDA[ ] |
         |                             AREF[ ] |
         |                              GND[ ] |
         | [ ]N/C                    SCK/13[ ] |
         | [ ]IOREF                 MISO/12[ ] | Kick 3
         | [ ]RST                   MOSI/11[ ]~| Down
         | [ ]3V3    +---+               10[ ]~| Start
         | [ ]5v    -|   |-               9[ ]~| Select
         | [ ]GND   -| A |-               8[ ] | Home
         | [ ]GND   -| 3 |-                    |
         | [ ]Vin   -| 2 |-               7[ ] |
         |          -| U |-               6[ ]~| Kick 4
      Up | [ ]A0    -| 4 |-               5[ ]~|
    Left | [ ]A1    -|   |-               4[ ] | Kick 1
   Right | [ ]A2     +---+           INT1/3[ ]~| Punch 1
  Kick 2 | [ ]A3                     INT0/2[ ] | Punch 2
         | [ ]A4/SDA  RST SCK MISO     TX>1[ ] | Punch 4
    Data | [ ]A5/SCL  [ ] [ ] [ ]      RX<0[ ] | Punch 3
         |            [ ] [ ] [ ]              |
         |  UNO_R3    GND MOSI 5V  ____________/
         \_______________________/
*/



#13

@NENDO

It’s Coming
NeoPixel Ring Support


#14

Ok i’m thinking of ghetto ledmodding one of my sticks. Could i just hotglue two of these to the bottom of a clear sanwa?


#15

@Dubon

Support
3rd party WS2812b

yes, you can pretty much use whatever you see fit.
in fact, i simply use a cut pixel strip rewired for my stick

what you will need to keep in mind is HOW you wired it all together, and then simply use the wiring manager of the application


#16

Ok one more question, i have a UFB. Is powering the arduino achieved by wiring a UFB 5v pin to the Vin pin on the arduino, then the arduino’s 5v pin to the ws2812s? Cheers.


#17

@Dubon

Wiring
Supplying power

Yes,
[list]
[] will need both VCC and GND from the UFB to the arduino (you can use jumper wires)
[
] from the arduino just create another 3 wire cable (VCC, GND, DATA) and connect to the corresponding pins on the ws2812b
[/list]


#18

Ok, i ordered an arduino micro and 20 ws2812bs, cost of about 25€ shipped. Cant wait to try this out!


#19

circuits.io
Structures and Fade

i’m not familiar with your skill level, but thought i would share circuits.io
it’s a great little utility from the good people at Autodesk.

you can pretty much set up an Arduino / Kaimana and use that as your playground which is pretty cool
here is an example with 2 buttons and 2 ws2812b pixels.

http://moledcule.club/srk/reply/reply_11071082-0.png

just though this may help you in familiarizing yourself with the hardware


#20

I just look at it like a dual mod except with no dataswitching and the led chain added to it?