新程序员刚刚迈出第一步的指导请求。 [英] Guidance request for a new programmer just taking his first steps.

查看:97
本文介绍了新程序员刚刚迈出第一步的指导请求。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我仍然是这个领域的新手,我带了我的第一个真正的课程编程,并成为了迷。我对编程世界真的很陌生,所以请原谅我此时的无知。我正在使用这个作为我的潜水点,我希望这是一个美好的生活选择和激情。



我问的问题是我偶然发现了一些连续绘图系统。落水,临时磁化砂/腻子,钢笔或球穿过沙子等等,这让我想到,设计一件像这样的移动艺术品真是太棒了。



因此,我将其分解为几个关键领域,并将努力提高我在每个领域的知识,直到这个项目成为可能。所以我现在正在寻求那些真正了解完成这个项目所需要的人的指导。欢迎并欢迎所有建议!

1。了解能够操纵电动系统的编程语言,专为连续运动而设计。

a。目前我对C ++和HTML的理解水平很低。

2。确定能够实现的最佳资源系统。

a。某种中央处理单元,例如用于指导系统的Raspberry Pi。

b。电机系统/连接系统:使用齿轮组件,滑轮系统,铰接臂/圆圈,甚至磁铁?

c。用于设计的物质? I.E.水,沙子,金属粘性物质/腻子等。为此,我认为沙子是低成本和更多重复使用选择的最可行的选择。



再次谢谢大家对于任何和所有建议,我期待与任何愿意帮助的人交谈!



-James



我尝试了什么:



这是我的第一步我没有厌倦任何我只是想一起制定计划。

解决方案

我有一个很大的解释,我刚刚报废。

简而言之:你太过快了。



这是电子产品(一个用自定义输入和输出创建电路的领域)的一个很好的主题,但是应用于固定电路板非常复杂。



* pi是一个很好的工具,用于加入等式的电子和编程方面,但学习曲线可能非常陡峭而且是垂直的。



我建议你在没有* pi或外部Rube Goldberg(RB)的情况下模拟程序。您可以通过想象一个8位(1字节)输出来尝试这一点(现在只是为了保持简单)。输出1表示第一位,向RB的A部分发出信号,在第2位输出1表示B部分。如果RB需要反馈,则输入一个字节,并将相应的位设置为1.



可以使用以下模式将其转换为int:



00000000 = 0无信号

00000001 = 1(作为int)

10000000 = 128(作为int)

10000001 = 129(作为int)这是两个信号



如果你把它关闭,那么你可以编程外部输入和输出开关。



这是我的简短答案o_0


完全同意这种情况已达到很长时间,并且不希望达到这个目标一段时间。我的目标是开始努力做到这一点。谢谢你的时间和愿意帮助一个新手!



有人说谢谢你我会在我所知道的C ++和我的时候开始研究能够做到这一点,我将发布一个更新肯定与我能够做的。对于这个,你会建议C ++用于这种应用吗?



最后这只是一个引起我兴趣的项目,但是如果你对另一个目标项目有任何建议我不仅仅对建议持开放态度?

To start I am still very new to this field, I took my first real classes for programming and became hooked. I really am brand new to the programming world though, so please excuse my ignorance at this time. I am using this as my dive point into what I hope is a wonderful life choice and passion.

The question I am asking is I had stumbled across a few continuous drawing systems. Falling water, temporary magnetized sand/putty, movement of a pen or ball through sand, etc. and it made me think, how awesome would it be to design a moving piece of art like this.

Thus I broke it down to a few key areas and will work to advance my knowledge enough in each area until this project is a possibility. So I am now reaching out for guidance from those who actually know what is needed to accomplish this project. Please all advice is welcome and appreciated!
1. Developing an understanding of a programming language capable of manipulation of a motorized system, designed for continuous motion.
a. Currently I hold a very low level understanding of C++ and HTML.
2. Determine the best resources capable of implementing said system.
a. Central processing unit of some kind such as a Raspberry Pi to direct the system.
b. Motor system/connecting system: Use of a gear assembly, pulley system, articulating arms/circles, or even magnets maybe?
c. Substance used for the design? I.E. water, sand, metallic goo/putty etc. For this I am thinking sand is the most viable option of low cost and more reuse option.

Once again thank you all for any and all advice and I look forward to speaking with whoever is willing to help!

-James

What I have tried:

With this being my step one I have not tired anything I am just trying to get a plan together.

解决方案

I had a huge explanation that I just scrapped.
To put it short: You're taking on too much too quickly.

This is a great subject for Electronics ( a field where you create circuitry with custom inputs and outputs) but very complex for applying to a set board.

The *pi is a great tool for joining the electronics and programming sides of the equation, but the learning curve may be so steep as to be vertical.

I suggest you "mock up" the program without the *pi or external "Rube Goldberg" (RB) you had in mind. You can try this by imagining an 8 bit (1 byte) output (just to keep things simple for now). output a 1 the first bit to give a signal to part A of your RB, output 1 in the second bit for part B. If your RB requires feedback then take in a byte with the appropriate bit set to 1.

This can be turned into an int using the following pattern:

00000000 = 0 no signal
00000001 = 1 (as an int)
10000000 = 128 (as an int)
10000001 = 129 (as an int) which is two signals

If you get this down, then you can program external input and output switches.

and this was my shorter answer o_0


Completely agree that this is reaching very far and don’t expect to reach this for some time. My goal is to just begin working towards being able to do this. And thank you for your time and willingness to help a newbie!

That being said thank you I will begin working on this in what I know of C++ and when I am able to do this I will post an update for sure with what I was able to do. For this though would you suggest C++ for this kind of application?

Lastly this was simply a project that sparked my interest, however if you have any suggestions for an alternative end goal project I am more than open to suggestions?


这篇关于新程序员刚刚迈出第一步的指导请求。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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