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

32teeth32teeth Joined: Posts: 909
edited April 5 in Tech Talk
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
Post edited by 32teeth on
«1

Comments

  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    "Hello!

    I’m Eugene Andruszczenko - many know me as @32teeth ,

    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


    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.jpg
    @32teeth (hey that's me)
    principle: moledcule application developer

    icon-superangrypixel.jpg
    Super Angry Pixel
    contributor: provider: fun times

    icon-codebender.jpg
    Codebender Inc.
    contributor: provider: compiler as a service

    icon-avrgirl.jpg
    noopkat
    contributor: provider: avr flasher


    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
    1. create unique themes for your leds
    2. save your themes
    3. clone others themes
    4. get inspiration from the community


    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.


    Post edited by 32teeth on
  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    Updates
    Reserved Post For Instructions

    Getting Started
    Post edited by 32teeth on
  • 32teeth32teeth Joined: Posts: 909
    Media
    Reserved Post For Media

    Videos


    Images
  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    Feedback
    General Feedback, Questions, Feature Request

    How to submit
    • Send us your thoughts
    • Post type (Feedback, Question, Feature REquest)[/url]
    • Short Description[/url]
    • Your Setup[/url]
    Post edited by 32teeth on
  • NENDONENDO I will meditate and then destroy you. Joined: Posts: 3,346
    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?
  • 32teeth32teeth Joined: Posts: 909
    NENDO wrote: »
    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?

    Good Question
    There certainly is

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


    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
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    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.)
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • 32teeth32teeth Joined: Posts: 909
    JRDIBBS wrote: »
    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.)

    Number of LEDs
    Managing and Ordering

    Thanks @JRDIBBS you have a great point there.

    Currently the dropdowns in the configuration support


    fightstick
    example
    • 3 - 4 punch buttons
    • 3 - 4 kick buttons
    • 0 - 3 alt buttons (start select home)
    • boolean balltop led
    • boolean led plate

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

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

    images
    reply_11069217-0.png
    reply_11069217-1.png

    In the context of add an arbitrary number of pixels, that's coming!
  • BraintrashBraintrash Joined: Posts: 72
    TL;DV
  • DubonDubon Joined: Posts: 495
    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?
  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    Dubon wrote: »
    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?

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

    Short answer
    YES, you can use a standard Atmega32u4

    Long answer
    1. Download the Chrome App
    2. Launch the App
    3. in the bottom left you will see the below screen grab
    4. reply_11069309-0.png
    5. Connect your Arduino
    6. in the bottom left you will see the next screen grab
    7. reply_11069309-1.png

    Test an upload
    you don't need to be logged in to upload other peoples themes
    1. In the app, click themes
    2. select a theme from the left hand list
    3. take a look at the top bar above the selected theme
    4. reply_11069309-2.png
    5. click compile
    6. reply_11069309-3.png
    7. once complete, the flash icon will be active
    8. reply_11069309-4.png
    9. click the flash button
    10. reply_11069309-5.png
    11. flashing will produce multiple notification messages like in the video in the first post
    12. the flash icon will show a progress bar as well
    13. reply_11069309-6.png
    14. once the flashing is complete, there is an 8 second bootloader timeout (this is standard on Atmega32u4)

    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  ____________/
             \_______________________/
    */
    
  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    @NENDO

    It's Coming
    NeoPixel Ring Support

    reply_11069128-0.png
  • DubonDubon Joined: Posts: 495
    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?
    sku_383405_1.jpg
  • 32teeth32teeth Joined: Posts: 909
    Dubon wrote: »
    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?

    @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

  • DubonDubon Joined: Posts: 495
    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.
  • 32teeth32teeth Joined: Posts: 909
    Dubon wrote: »
    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.

    @Dubon

    Wiring
    Supplying power

    Yes,
    • 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

  • DubonDubon Joined: Posts: 495
    Ok, i ordered an arduino micro and 20 ws2812bs, cost of about 25€ shipped. Cant wait to try this out!
  • 32teeth32teeth Joined: Posts: 909
    Dubon wrote: »
    Ok, i ordered an arduino micro and 20 ws2812bs, cost of about 25€ shipped. Cant wait to try this out!

    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.

    reply_11071082-0.png

    just though this may help you in familiarizing yourself with the hardware
  • DubonDubon Joined: Posts: 495
    edited November 2016
    I just look at it like a dual mod except with no dataswitching and the led chain added to it?
  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    Dubon wrote: »
    I just look at it like a dual mod except with no dataswitching and the led chain added to it?

    circuits.io example
    Kaimana Arduino

    although this thread is not really about hardware support, but rather the app itself, i can still answer your question with some guidance

    i have created a visual layout for you on circuit.io
    and it looks like this
    reply_11071148-0.png

    a few things to consider
    1. you will need to power BOTH controller (ps360, ps360+, brooks, whatever) and arduino
    2. you will need to have each button switch (including joystick) connected to the
    3. you will need 2 usb connections (one for the controller to play games, one for the arduino to upload sketches)
    4. @Jasen Hicks solved this with the Kaimana Kameleon LED Driver PCB

    connecting the arduino from the brooks
    • use female to female jumper wires
    • connect the corresponding pins on the brooks to the arduino (including vcc & gnd)
    • go crazy

    tips
    advanced solution
    again
    i am more than happy to help with your hardware setup, feel free to PM me and we can take this offline
  • DubonDubon Joined: Posts: 495
    edited November 2016
    Ok thanks.i think i have it pretty much figured out. The arduino is coming from china so will probably take a week or two to get here with free shipping. I also included female to female "dupont" cables with my order for piggybacking from the ufb witch i already have a pin header soldered to.

    I also ordered female to male dupont cable. My plan is to make pairs of leds witch i can disconnect from the chain if i want to swap out a button by soldering male dupont cables to the first of the pair then female to the second of the pair. It sounds weird but ill post pics once (if) i get it done, then it should make sense :)

    Oh yeah im installing this in my trusty old atrox so usb is no problem since i can just open the lid for flashing the arduino.

  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    Dubon wrote: »
    Oh yeah im installing this in my trusty old atrox so usb is no problem since i can just open the lid for flashing the arduino.

    Razor Mods
    including your arduino

    too funny, check out my old flickr feed
    11963472136_b15ede265d_k.jpg



  • DubonDubon Joined: Posts: 495
    edited November 2016
    Lol nice. Are those arceyes or did you manage to insert your led strips on the inside of you button? I was thinking of hotglueing mine to the bottom on the underside, hopeing the light will be sufficient with the led beeing mounted on the outside rather then the inside.
    I doubt mine will look this tidy when all is done though.
  • 32teeth32teeth Joined: Posts: 909
    Dubon wrote: »
    Lol nice. Are those arceyes or did you manage to insert your led strips on the inside of you button? I was thinking of hotglueing mine to the bottom on the underside, hopeing the light will be sufficient with the led beeing mounted on the outside rather then the inside.
    I doubt mine will look this tidy when all is done though.

    Razor Mods
    images are from 2.5 years ago

    as per my most recent build, i'll take some shots when i get home

  • 32teeth32teeth Joined: Posts: 909
    Kaimana Redux
    Redux

    I was asked me if i used the Kaimana Github repo code
    Well, to an extent, with some modifications

    You can take a look at the README.MD in my GitHub

    It pretty much explains some of the efficiencies i started baking in

    I recommend reading through the readme file linked above, and don't forget to check out our Compiler as a Service

    step1.png
  • DubonDubon Joined: Posts: 495
    Quick question before i start soldering my leds together (they should arrive today): it is possible to assign two leds per button right? Not sure how many the testers are using or if two are even needed.
  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    Dubon wrote: »
    Quick question before i start soldering my leds together (they should arrive today): it is possible to assign two leds per button right? Not sure how many the testers are using or if two are even needed.

    2 leds per button
    double index
    correct, the current setup is made to match the
    kaimana standard in witch all main and alt buttons have 2 ws2812b chips per



    Post edited by 32teeth on
  • 32teeth32teeth Joined: Posts: 909
    edited November 2016
    job cuts
    seasons beatings :heartbreak:
    Good morning Tech Talk members

    I recently lost my job.
    This double sucks as it is the holiday season and it came without notice.

    Long story short, i am a developer by trade (front, middle, back), you can check out my short bio profile on profile

    Currently i am on a frantic search to be able to make it through the holiday season without bootstrapping anything and i have a few good leads.

    I by no means am looking for a hand out, but i am looking to establish additional credibility in the industry through my personal projects such as moledcule

    What would be awesome from you all at Tech Talk is if you could:

    • visit moledcule site
    • download the chrome app
    • create a profile
    • create a few themes

    Simply asking for 2 minutes of your time

    Hey, i am a proud family man and it's painfully humbling to even ask for this kind of help

    thanks in advance for participating
    seasons greetings to you all :heart:

    Post edited by 32teeth on
  • DubonDubon Joined: Posts: 495
    Sorry to hear that man, hope you get back on your feet soon. I'll be creating themes soon as my micro gets here, however, is there any other way to login other then Facebook? I deleted my account years ago. Maybe google+ or somthing would be nice.

    In other news, my leds came in today. They actually come pre wired so it looks like ill only have to hotglue them on and solder jumper wires to the end that goes to the arduino. Will post pics when ive installed them.
  • 32teeth32teeth Joined: Posts: 909
    Dubon wrote: »
    Maybe google+ or somthing would be nice.

    Single Sign On
    Coming Soon
    we are currently working on Google+, GitHub, Twitter
    Dubon wrote: »
    Will post pics when ive installed them.

    Pics
    Ready when installed
    look forward to seeing what you come up with




  • 32teeth32teeth Joined: Posts: 909
    Options Select
    Tournament Mode Ready

    • Hold LEFT + P1 for 3 seconds to engage tournament mode
    • Hold LEFT + P1 for 3 seconds to disengage tournament mode (if previously set)
    • Hold RIGHT + P1 for 3 seconds to simple mode
  • KunikuKuniku Joined: Posts: 351
    I tried loading the app at work, but it defaulted to my right hand screen (which isn't hidden xD) and there was none of the usual windows windows buttons in the top right to take it from full screen and move it. Not sure if thats a bug or there is another way around it?
  • 32teeth32teeth Joined: Posts: 909
    Kuniku wrote: »
    I tried loading the app at work, but it defaulted to my right hand screen (which isn't hidden xD) and there was none of the usual windows windows buttons in the top right to take it from full screen and move it. Not sure if thats a bug or there is another way around it?

    as requested
    frame bounds fixed

    thanks for the suggestion, please fin in v0.9.9 you can now move the app window around, and apologies for any inconveniences it may have caused

    v0.9.9

  • 32teeth32teeth Joined: Posts: 909
    be merry, be happy
    seasons beatings
    hey all
    we created a special holiday theme for all you joyous cats out there

    holidays.png
    upload it today



  • DubonDubon Joined: Posts: 495
    Alright, my arduino micro finally came in today. Moledcule isnt detecting it however, are there any steps i should take when plugging it in? Keep in mind im not logged in as i have no Facebook.
  • 32teeth32teeth Joined: Posts: 909
    Dubon wrote: »
    Alright, my arduino micro finally came in today. Moledcule isnt detecting it however, are there any steps i should take when plugging it in? Keep in mind im not logged in as i have no Facebook.

    mac or pc
    you may need drivers
    hi, if you are on a mac, you should be good to go. if you are on a pc, you will need drivers, check the link here for PC installation

  • DubonDubon Joined: Posts: 495
    Sweet its beeing detected now. Total cost of leds + wires + 12 leds = 24€ . Will wire everything up this weekend.
  • 32teeth32teeth Joined: Posts: 909
    Ubuntu and Windows Fix
    v1.0.1
    We fixed a small issue with serial port connectivity and persistence on Ubuntu Chrome and Window COM ports

  • DuoblerayDuobleray Joined: Posts: 8
    Hi. My kaimana board is being idetified but still but not being detected. Any help? I included a link, with a screenshot showing what I mean. Thanks in advance. https://s27.postimg.org/mnxcgdv7n/Screenshot_37.png
  • 32teeth32teeth Joined: Posts: 909
    Duobleray wrote: »
    Hi. My kaimana board is being idetified but still but not being detected. Any help? I included a link, with a screenshot showing what I mean. Thanks in advance. https://s27.postimg.org/mnxcgdv7n/Screenshot_37.png

    are you on 10
    windows version
    hi there
    i am downloading windows 10 now to see whats going on

«1
Sign In or Register to comment.