Huluyun hardware plan and sunbench software plan launch Based on cubieboard

Source: Internet
Author: User

Sometimes, I prefer Arduino over cubieboard. Let's talk about the PWM problem first. Now there is no complete PWM driver on cubie's A10, and it is not enough and inconvenient to use, and some things such as IR are very mature in Arduino.
So I started a hardware program for huluyun.
1 huluyun is a real Arduino, and its design makes it easy to connect to CB. When buying it, it comes with four dubang lines 2.54 to 2, which are used for serial port and power supply, and can communicate with each other.
This is my first dashboard, so it is so successful. First, it is fully compatible with the UNO of the most popular Arduino model (the interface is the same as that of the UNO when the I2C SPI is connected) because the MCU is the same (but the Encapsulation Format is different) And the wiring in the Board is the same, I also introduced two uno Electrical Testing ports (ADC)-A6 and A7
 
This Board was originally called wawaboard because it looked like a doll, but it was called huluboard by netizens.
 
Workbench, connected to Hulu is the writer
To be honest, Hulu is really small .. It looks a little smaller than the photo. There is a place in the upper right corner (with 13 lights) that would have to be connected to 220 euro resistance, because I didn't have 220 euro resistance, and I got a 10 KB, the result is that it is very dark, and it is directly soldered. The result is that the light is very bright now, and the problem will not occur when welding is done to the machine.
 
In the dark, the gourd is shining with blue light
The first board was soldered by hand. The white square on the right was originally the logo of the tll team. However, due to some problems, it was completely white, I signed it myself ......
The puncher gets the number to the front, which is not very nice.
The following boards will be used for machine welding, so you don't have to worry about buying them back ......
Note: Made in China ......
The price is about 50 yuan. I don't need to bring USB to this board because I think it is unnecessary to bring USB TO THE UNO, if you want to use USB, just plug in a USB Shield (you can choose whether to buy another shield, about 10 each. If the technology is OK, you don't need to buy it. You can use the USB converter to connect to the Dubon line ), such a USB shield can be used for multiple Hulu boards to save money. In addition, the Hulu board does not require a USB interface for use, and cubie can directly use the dubang cable attached to it, I also made a hole in the top, which can be carried with the key chain, and the hole above is the same size as the CB hole, which can be directly locked on or under CB for better use.
More than 60 pirated UNO and more than 50 genuine huluyun and more than 60 shield are required. The quality must be better than pirated ones, starting from 0.25 ~ 2 months later
(This is for more in-depth research on various things, so you 'd better take a look)

2. Because Arduino is easy to operate, you can use ide To write digitalwrite. CB
I also need to load the driver, write (this is simpler, or it is my gpio Control Program), it is a little troublesome.
So I have prepared a sunbench plan.
Sunbench = sunxi + Arduino, that is, sunxi series processor, including A10 A20, and then create a library
There are two versions:
1. made using shell + python, The sunbench program has been initially available and can be controlled as freely as Python, making it easier for beginners.
If you want to set 0 to a high value, directly start sunbench, and then input gpio write 0 high, and so on, for non-programmed use
Currently, the following functions are available ):
A. Set gpio
B reads gpio data
C latency
D Output
Can be processed in batches and run directly

2. Get the Arduino function library or something, and then reference this library during compilation to have many Arduino functions.
If you use this library:
595: http://cn.cubieboard.org/forum.php? MoD = viewthread & tid = 896 & extra =
5110: http://cn.cubieboard.org/forum.php? MoD = viewthread & tid = 1182 & extra =
There is also a matrix keyboard, a thin-film keyboard control program, in CBOs.
My wiki, you can help me add: http://wiki.tonylianlong.com
What do you think?


Original Author: tll

Http://forum.cubietech.com/forum.php? MoD = viewthread & tid = 1073 & extra = Page % 3d3


Huluyun hardware plan and sunbench software plan launch Based on cubieboard

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.