基于Web的μC程序员的环境 [英] Which environment for a web-based µC Programmer

查看:74
本文介绍了基于Web的μC程序员的环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello World。



序言:

我是电气工程专业的学生,​​我打算写论文几个月。

我的主题将是基于网络的微控制器程序员的开发。



这意味着学生可以开发他们的程序任何PC上的μC(安装了SDK),然后上传他们的项目(它只是一个文件),通过互联网在真实芯片上测试它们。



此外,他们应该能够看到来自μC的一些信息,如IO状态。

状态的动态视图(如使用ajax)将是完美的


$ b $bμC和服务器之间的通信(编程和get_status)应该通过像UART这样的简单串行连接来实现。



问题:

我有几年的PHP和mysql编程经验和C#经验。我应该将哪个环境用于我的项目。当然我可以尝试一些东西,但我不想从某事开始然后让每个人都说:使用XXXXX它更容易/简单/有效/无论如何。



我很想尝试新的想法,因为我还有一些时间从项目开始,我想用时间尽可能地预备一切。





预告片:

谢谢!

托马斯

Hello World.

Preamble:
I''m a electrical engineering student and I''m going to write my thesis in a few month.
My topic will be the development of a web based Microcontroller programmer.

This means that students can develop their programs for the µC on any PC(with the installed SDK) and then upload their projects (its just a single file) to test them on a real chip over the Internet.

Also they should be able to see some information from the µC like IO status.
A dynamic view of the status (like with ajax) would be perfect

The Communication (both, programming and get_status) between the µC and the server should be realized by a simple serial connection like UART.

Question:
I have a few years of experience with php and mysql "programming" and experience with C#. Which environment should I use for my project. Of course I can just try some things, but I don''t want to start with something and then have everybody saying: "With XXXXX it had been much easier/simple/effective/whatever".

I''m open for trying new thinks, and as I still have some time to start with the project, I want to use the time to prepary everything as good as possible.


Trailer:
Thank you!
Thomas

推荐答案

老兄 - 每个人都有自己的想法'更容易' - 这取决于他们的经验等 - 所以你总是会得到
dude - everyone has their own bent on what''s ''easier'' - that depends on their experience etc - so you''re always going to get
引用:

使用XXXXX它更容易/简单/有效/无论如何。

"With XXXXX it had been much easier/simple/effective/whatever".





我认为你需要在纸上涂鸦并编写你需要的功能 - 例如



网络层

将文件(代码)上传到服务器

运行一个微处理器的CLI接口

将输出返回给客户端

串行/ UART层接口

微处理器层

Web to serial / UART bridge

运行代码文件



..然后查看你的php知识例如,可以实现你需要的功能 - 模拟,模拟等开始





I think you need to ''doodle'' on paper and write the functions you need - eg

Web Layer
upload a file (code) to the server
run a CLI interface to the microprocessor
return the output to the client
Interface to Serial/UART layer
Microprocessor Layer
Web to serial/UART bridge
run code file

.. and then see if your php knowledge for example can implement the functions you need - simulate, mock up etc to start with

引用:

当然我可以尝试一些东西

Of course I can just try some things





我认为你必须尝试一些东西 - 可能没有一种方法可以做它 - 我会想,它可以用几乎任何''网络工具包'来完成..你提到例如AJAX,可能会引导你走下去k - 例如ASP.NET - 最终,你需要用你已经知道的东西进行实验 - php,看看你是否可以构建你需要的功能 - 你可以把这个过程作为论文的一部分我开始时x但最终使用y因为......它就像测试一个假设不是吗?



I think you HAVE to try some things - there may not be one way of doing it - I would have thought, that it could be done with almost any ''web kit'' .. you mention AJAX for example, that may steer you down a track - eg ASP.NET - ultimately, you need to experiment a bit with what you know already - php, and see if you can build up the functionality you need - you can surely include this process as part of your thesis "I started with x but ended up using y becuase of ....." its like testing a hypothesis isnt it ?


你好b $ b

整合一个完整的将Ajax系统变成一个小微控制器可能真的很难,这是由于有限的资源和处理器能力。



在网络中你可以找到很多基于μC的HTTP项目服务器,比方说,主要的μC制造商为这种应用提供免费的芯片演示项目。



Gianluca
Hi
Integration of a complete Ajax system into a little microcontroller could be really difficult, this due limited resources and processor power.

In the network you can find a lot of projects of µC-based HTTP servers, let''s say, the major µC manufaturers offer free demo projects for their chips for this kind of application.

Gianluca


所以你的意思是微控制器是你的服务器/ PC的硬件扩展吗?



你想控制从任何服务器通过服务器的硬件连接客户?这是你需要的吗?



Gianluca
So you mean that the microcontroller is an "hardware extension" of your server/pc right?

You want to control this hardware passing through the server from any connected client? Is this what you need?

Gianluca


这篇关于基于Web的μC程序员的环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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