Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
i am pretty unfamiliar with coding and need some help with a special project i am trying to do. right now i am trying to make an engine management computer for my harley motorcycle. the goal that i have in mind is to create a unique multiplexed system that will manage fuel injection and spark timing with various profiles (performance mode or economy mode) i am familiar with electronics, and have most of what i need besides the control modules (injection module and ignition module) my curiosity is if there is easy to program hardware available, or if there is a way to develop my own hardware and my own unique operating program (if this sound a little bit stupid forgive me, i am not aware of how complex or simple this task may actually be)

oh, and if it is of any importance, the modules must be rather small, enough to fit in someones pocket
Posted
Comments
Sergey Alexandrovich Kryukov 31-Dec-13 0:41am    
Get familiar, and not with "coding", with programming, and do it very seriously. Don't get to such complex systems as engines before you master programming reasonably well. No shortcuts.
—SA
Homero Rivera 31-Dec-13 0:56am    
Totally agree. There's user-friendly windows based software that can program your instructions to your fuel injection hardware without need to code. Can save you lots of time.

1 solution

This is something I have experience with...

If you haven't done any programming before, starting this from scratch is not something you want to do. Getting the back-end done right is critical to your engine, incorrect spark timing leads to pre-ignition or detonation and can destroy your engine. Injecting at the wrong time can get your cat soaked in unburnt fuel and even start a fire.

The problem here is real-time systems and responding to interrupts at the right time. If you are off doing something else in the program and you miss your crank sensor by a couple milliseconds, you pre-ignite and bust a piston.

What is within reach is starting from something and hacking on it. I would start with the MicroSquirt[^] which is basically the hardware for what you want along with the code to run it and the UI to tune it. You can bend the Micro/MegaSquirt to do whatever you need.
 
Share this answer
 
Comments
Homero Rivera 31-Dec-13 0:51am    
Thanks for your comments, I deleted my answer. I need more hardware knowledge. +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900