Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:38 14 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Porting Arduino Projects to Color Maximite2

Author Message
renfrow

Newbie

Joined: 17/09/2020
Location: United States
Posts: 2
Posted: 02:41pm 18 Sep 2020
Copy link to clipboard 
Print this post

I'm new to the Color Maximite2 and basic programing in general and I was wondering if anybody has any advice for porting arduino projects to basic. I found an arduino porject for cloning Ir remote signals and I was hoping to get something similar working on the CMM2. My youtube channel is https://www.youtube.com/channel/UCEG0xcuS0QHKJhNuFx-cBvQ I have a few cmm2 videos posted there.
Shut up, Leonard! Those teenage girls you play ping pong with are doing it ironically.
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 03:50pm 18 Sep 2020
Copy link to clipboard 
Print this post

Hey, renfrow - welcome!

An Arduino to Maximite “transcoder” sounds like a great Computer Science project, and theoretically feasible (I.e. both platforms use a procedural language with a formal syntax to control I/O pins on a microcontroller).

Nothing like that exists AFAIK, so you could “corner the market” :) The challenge is developing something like that would be a few orders of magnitude harder than just doing a “stare and compare” / “lift and shift” for a specific project.

FYI, using the “link” button makes it much easier for people to follow URLs in your posts.

Happy Maximiting!
Enjoy Every Sandwich / Joe P.
 
renfrow

Newbie

Joined: 17/09/2020
Location: United States
Posts: 2
Posted: 05:09pm 18 Sep 2020
Copy link to clipboard 
Print this post

Thanks, it would be interesting to have something like that under my belt. At the very least maybe someone will see this post and make it themselfs. For now though I should probably finish reading the manuals but when I am proficient enough that is a project I will attempt. Youtube channel link using link button
Shut up, Leonard! Those teenage girls you play ping pong with are doing it ironically.
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 05:46pm 18 Sep 2020
Copy link to clipboard 
Print this post

I was going to say that anyone attempting to tackle such a thing would have to be intimately familiar with the idiosyncrasies of BOTH platforms, of both the hardware and the software. And, keep in mind that both Arduino and Maximite are available in a variety of form factors and microcontrollers, so the challenge is actually much bigger (e.g. if you look at the Arduino IDE, you can see the plethora of target devices it supports).

That aside, the pseudocode you would write for either platform would by definition be very similar, so maybe that’s how you tackle it (i.e. reverse-engineer the Arduino project into flow diagrams and a “meta language” that you then forward-engineer using MMBasic). A mechanical transcoder would have to do something similar... but human brains are *much* better at this sort of thing :)

In the 80’s, there was an attempt to create a market for so-called “CASE tools” (Computer Aided Software Engineering, a riff on CAD/CAM, which at the time was radically transforming a huge number of industries).

The idea was not unlike the one we are describing e.g. mechanically converting COBOL code to a more modern language, provide a quantum leap in productivity, etc. Unlike CAD/CAM, which truly did permanently revolutionize mechanical design and manufacturing, CASE fizzled out when people realized that writing software was a lot more like art than engineering! It’s interesting that that lesson has to be relearned every generation.
Edited 2020-09-19 03:56 by jpusztai
Enjoy Every Sandwich / Joe P.
 
zeitfest
Guru

Joined: 31/07/2019
Location: Australia
Posts: 622
Posted: 07:01pm 18 Sep 2020
Copy link to clipboard 
Print this post

arduino -> mmbasic means a c-to-basic  conversion. I think that is possible for
some code but not realistic for many situations.  eg c uses pointers a lot, could be clunky in mmbasic.
Maybe if you define a subset of C constructs that can directly map to mmbasic, and then exercise that (?)
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025