Position: Home page » Blockchain » Arduino realizes blockchain

Arduino realizes blockchain

Publish: 2021-05-19 05:42:36
1. Hello
just plug the UNO USB cable into the computer and download the arino
ide
software. Create a new programmer
then write your program in it. Basically all arino is written in its own software
this software can be downloaded from the official website. If you ask how to program, there are too many things involved, from simple to complex. But compared with the general thing of directly writing hardware programming to the processor, arino's software has created a comfortable environment for you. You can try a lot of simple programming, such as you can directly control the voltage output of the connected port
if you have no contact with programming at all, you can load the programming examples in arino software to see. For example, blink is easy to understand, and the official website also provides you with pictures to show you how to connect. I think arino is a hybrid of C and C + +, so if you don't understand some code, you can it to the Internet
you can ask or leave a message to tell me more difficulties, or if you need me to show you an example, you can tell me.
2. If it is a single hardware serial port board like arino uno, besides the main serial port, it can also simulate a serial port by software. See reference for the specific writing method. If it is mega2560 such four hardware serial port board, respectively with serial1.xxx, serial2.xxx these to initialize and output. Pay attention to the level when connecting. In addition to the main serial port comes with a USB string
3. Arino is better, Python is a high-level desktop language, similar to Java, for PC programming. Microcontroller is mainly used in raspberry pie programming. However, the biggest difference between raspberry pie and arino is that arino open all PCB design files, open chip data table, including all register description and kernel frame description, and all kinds of mainstream languages are well translated, including Chinese. Arino can change PCB, add and delete peripherals, change PCB size, shape, interface position and so on. The main frequency of raspberry pie is 600m, which belongs to high-speed board. The data sheet of core chip is not open, and PCB file is not provided, so it is almost impossible to modify PCB, size, and add or remove peripherals. To develop with raspberry pie, we also need to buy the original raspberry pie board in bulk in the later mass proction. The shape, size and peripherals can't be changed
the essence of arino: the standardization of low-level program of mainstream microcontrollers from manufacturers all over the world. The top experts write the bottom driver of mainstream microcontroller, solidify and encapsulate it into easier to use language, rece bugs and increase the efficiency of terminal proct development. Weaken the role of Embedded Software Engineer in the project, strengthen the role of hardware engineer and PCB design engineer. With PCB proofing technology mature, low price, perfect in line with the current market value requirements. The price of frequent and rapid proofing is far lower than that of program development. It can avoid a lot of money and time investment in the previous platform software development, and quickly enter the stage of project operation and mass proction
the essence of raspberry Pie: solidify hardware system, size, performance, peripherals can not be changed, you must buy the original hardware of raspberry pie. Avoid hardware design, PCB engineering design, proofing, welding, debugging. Using Linux system, strengthen the role of Embedded Software Engineer, especially Linux Software Engineer, weaken the role of hardware engineer and PCB design engineer. With the continuous progress of electronic technology, new hardware chips are changing with each passing day. This mode is not in line with the development trend. The random change of Linux and the uneven level of a large number of bottom driver software developers mean that endless software bugs and chaotic application logic eventually affect the effect and data security of terminal procts, We can refer to the early various instries of Linux embedded terminal, the development of software platform construction time is long, the capital is large, the operation research and mass proction research is long, the variable is big, the risk is high, the success rate is small. The advantage is that this mode allows desktop operating system software engineers and Internet software companies to find an entry point in the field of microcontroller applications,. The application of Linux system to share st, at, Ti, micochep and other hardware chip company's terminal procts, to achieve excessive, later still need to switch to flexible hardware design, solidified software platform development track.
4. This is not a filtering problem, but a programmable power supply
now there are many buck moles on Taobao, which can rece your 24 V power supply to less than 5 V and can be adjusted. The problem is that these moles are realized through the above adjustable resistance
so the most convenient way is to control a resistance that can be controlled by a program through arino instead of the potentiometer on the ordinary mole

of course, if you know how to use the PWM circuit, you can also check the buck circuit and adjust the voltage by changing the width of PWM.
5. Yes, what you say is "program made by computer, burn it to arino, and then arino becomes an independent indivial to carry out activities under the code", which is to program and burn arino only once. Arino can communicate with computer through serial port according to your program (if your arino program has serial communication code). At the same time, if the chip on the arino board you use has other unused serial communication interfaces or I2C, SPI, can interfaces, you can also communicate with the sensor, so that the data of the sensor can be transmitted to your computer with the help of arino

P.S. if the task you want to achieve is not complicated, it is OK to program and assemble with arino ide. If you have high time requirement, such as 1Mbps serial transmission rate, 400kHz I2C communication, 10kHz square wave output or as short program execution cycle as possible, it is recommended to program AVR directly with GCC in ATMEL studio. The efficiency can easily reach 5 to 10 times of the program compiled by arino ide

p.p.s. your PC programming depends on your personal hobbies. If you have learned programming before, you can use VB, C + +, Delphi. If your foundation is not too strong and you want to see the results in a short time, matlab or LabVIEW is recommended. Internal integration of powerful mathematical analysis tools, can be used directly, such as discrete Kalman, FFT, and so on.
6. This is an external power input terminal, which can input 6-10v power supply. There is a 1117 in arino chip to rece the power supply to 5V.
7. Arino has only one CPU. If you want to realize multithreading on one CPU, it will be realized by software
arino is a convenient, flexible and easy to use open source electronic prototype platform, including hardware (various models of arino board) and software (arino IDE)
it is built on the open source simple I / O interface and has a processing / wiring development environment similar to Java and C language
it depends on the actual situation. If there is only one and a half input I / O difference, you can use nano board instead, which is two more analog inputs than UNO
if it's really not enough, there are many libraries you want to call, and you also need to consider whether the program space is enough. Uno has only 32KB flash, while mega2560 has 256Kb. The SDRAM mega2560 is also four times that of UNO. For larger programs, Mega is inevitable. These memory limitations can not be achieved by expanding I / O alone
if space and budget permit, mgea2560 hardware can also provide greater flexibility, and it is easier to add more devices in the future. Moreover, there are multiple serial I / O and interrupts, which can achieve more things. But mgea2560 is half as long, which will be larger for small systems
so, if you can, I think mega2560 is better than uno + extended I / O.
8. Because the machine runs very fast, it almost completes the detection and display at the same time. Just program the sensor detection program in the void loop,
9. Then, double-click to open it (I don't need to teach you that, Qu...
1

later, we will see such an interface, which is not...
2

remember what the function of setup and loop is? Here...
3

is arino connected? Well, if it's connected and...
4

now, we can see the arino uno board...
5
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750