The MegaSquirt Project has experienced explosive growth other the years, with hundreds of new MS installations occurring every week - a phenomenal success! MegaSquirt has been successfully used in all aspects of Internal Combustion engine applications including R&D, Industry, Race, and Research. The MS project has transformed itself from a simple R&D project into a full-featured mature engine control system. To reflect this the support structure has also changed to meet the needs of MegaSquirt Users.
Moving forward, the R&D forums for MegaSquirt project are in a read-only mode - no new forum posts are accepted.
However the forums will remain available for view, they still contain a wealth of information on how MegaSquirt works, how it is installed and used. Feel free to search the forums for information, facts, and overview. While the R&D forum traffic has slowed in recent years, this is not at all a reflection of Megasquirt users, which continue to grow year after year. What has changed is that the method of MegaSquirt support today has rapidly moved to Facebook, this is where the vast majority of interaction is happening now. For those not on Facebook the msextra forums is another place for product support. Finally, for product selection assistance, all of the MegaSquirt vendors are there to help you select a system, along with all of the required pieces to make it complete.
Forum for discussing how to install MicroSquirt(TM), choose and troubleshoot sensors, wiring, and communications for MicroSquirt (TM) and MicroSquirt Module(TM).
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
here we can talk about using usb cables instead of serial cables. its not terribly difficult i think. my honda ecu uses the same max323 adapter that the megasquirt has integrated on the board. i also use a motorola phone usb cable on the same exact honda ecu. its a little different setting up the com ports on your pc or laptop but i'll explain it a little more if anyone is interested
I'm a bit confused as to what you are trying to do. It sounds like you're wanting to use a USB-serial adapter, which you should be able to just do, but you still need the Max232 and serial cable.
Optionally, you could build a USB-serial chip into the ECU, but it certainly seems easier(and possibly cheaper in the long run) just to use the usb-serial dongle.
If you want to use direct USB-USB communication, you'll have to put a USB controller chip into the ECU, which is fine, but USB doesn't really work like a regular serial connection. You'll have to reengineer the communcations layer on both sides...
im saying that instead of using the serial cable and the max232. you can connect a certain motorola phone cable directly to the rx/tx/gnd. the cable has a chip built in to it. you download the proper drivers, which i will find and post, and it will set up the motorola usb cable as a com port which you can then select as the port you are going to tune with. does this sound any better? im trying hard to make sense but im not exactly a technical super guru. i just understand whats going on in the ecu's i have tested and i am just saying i want to test it on a megasquirt, and if anyone is interested they can try it too.
If the USB cable shows up as a com port on the computer, then I am 99% certain that the phone has a MAX232 or equivalent in it and the cable is a USB-serial adapter. The cable or the phone could have both bits. This wouldn't gain you anything over having a standard USB-serial adapter(which can be bought at any store that carries computer peripherals), except a smaller plug. But that can be remedied in many other ways.
A better solution, having no requirements of a special cable and using all commodity hardware and standard software interfaces, would be to put a USB controller and socket onto the MS and talk direct USB.
Have a look at THIS internal USB adapter for Megasquirt sold by DIYAutotune. It'd be a bit more difficult to adapter to Microsquirt but only because Microsquirt's SMT.
no, its not a serial adapter because the original tx/rx signals arent even communicating like a serial connectiion until they go through the max 232, yes the prolific chip inside the usb cable is kinda like a serial/usb adapter except you just connect rx/tx/gnd on the MS board directly to the cable just like the DIYAutotune adapter. yes i have seen diyautotune's adapter but my cable only cost $10 where i live. its just a cheap alternative for people who dont have serial ports on their computers. the reason the usb cable comes up as a com port is so that it can communicate with the MS. it wouldnt automatically configure an MS ecu because the MS doesnt work like that. maybe some day there would be memory space on the MS for alternate fuel and timing maps to select from. that would be where the MS could be recognized as a storage drive and the fuel maps could just be copied to the MS memory.
I was just thinking, with the now low price of the SD memory cards or simply the usb drives, it would be a cool thing to have on the megasquirt.. I dont know about faisability tho, i'm not an electronic expert.
Mk1rocco wrote:Have a look at THIS internal USB adapter for Megasquirt sold by DIYAutotune. It'd be a bit more difficult to adapter to Microsquirt but only because Microsquirt's SMT.
The reason why uS is not USB was the connector. Right now we have a nice ampseal with the board conformal-coated. The serial Rxd and Txd coe out of the ampseal. With USB it is best to maintain cable impedance so running the signals thru the ampseal is not a great idea. This would then mean a USB connector somewhere. Trying to locate a sealed USB connector became pretty expensive. And with converter cables being so readily available (for example I can get a Prolific USB-serial adapter on Ebay for under $10.00) having uS using serial instead of USB is not a real impediment.
Having said that, notice on the uS there is a 4-pin space for a header, neat the ampseal on the top. This has +5V, Gnd, Txd, and Rxd (rs-232 levels). This can be used for a daughtercard arrangement with a USB converter chip. We are targeting this potentially for wireless comms.