我如何开发自己的专业课程? [英] How Do I Develop My Own Specialty Program?

查看:94
本文介绍了我如何开发自己的专业课程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对编码非常不熟悉,需要一些我正在尝试的特殊项目的帮助。现在我正在尝试为我的哈雷摩托车制造发动机管理计算机。我想到的目标是创建一个独特的多路复用系统,通过各种配置文件(性能模式或经济模式)管理燃油喷射和火花正时我熟悉电子设备,并且除了控制模块之外还有我需要的大部分功能(注塑模块和点火模块)我的好奇心是,如果有易于编程的硬件可用,或者是否有办法开发我自己的硬件和我自己独特的操作程序(如果这听起来有点愚蠢原谅我,我不知道这个任务实际上有多复杂或简单)



哦,如果它有任何重要性,模块必须相当小,足以放入某人的口袋里

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

推荐答案

这是我有过的经历...



如果你还没有做过以前编程,从头开始这不是你想要做的事情。正确完成后端操作对于您的发动机至关重要,不正确的火花正时会导致提前点火或引爆,并可能损坏您的发动机。在错误的时间注射可以让你的猫浸泡在未燃烧的燃料中,甚至引发火灾。



这里的问题是实时系统,并在适当的时间响应中断。如果您在程序中没有做其他事情而且您错过了几分钟的曲柄传感器,那么您需要预先点燃并破坏活塞。



触手可及的东西是从什么开始并且黑客攻击它。我将从 MicroSquirt 开始[ ^ ]这基本上是您想要的硬件以及运行它的代码和用于调整它的UI。你可以弯曲Micro / MegaSquirt来做你需要的任何事情。
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.


这篇关于我如何开发自己的专业课程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆