博文

目前显示的是标签为“LED”的博文

21. Arduino learning notebook-- Experiment of controlling steering engine

图片
21. Arduino learning notebook-- Experiment of controlling steering engine Juvtmall  ( a company supply  PCB Prototyping ,  PCBA service  and sell kinds of  components, modules  and so on)  ( Catduino has the same function of Arduino)   Here use Arduino duemilanove to control the rotation of steering engine through a potentiometer. Material preparation: A a rduino duemilanove A 10K potentiometer A steering engine A breadboard Some  connected wires It should be noted here, do not use the computer usb to s upply  power , because if the current demand is greater than 500ma, the  usb  may be burned, it is recommended to use the external power supply. The left and right   pins  of the potentiometer are connected with 3.3V and GND respectively , the middle pin is connected with the analog port 0.   Steering engine  is connected with  5V and GND, the signal port is connected to t...

19.Arduino learning notebook--Atmega8 makes the minimum arduino system

图片
19.Arduino learning n otebook-- Atmega8 makes the minimum  arduino system                        Juvtmall  ( a company supply  PCB Prototyping ,  PCBA service  and sell kinds of  components, modules  and so on)  ( Catduino has the same function of Arduino)   Atmega8 is the cheapest of the arduino's officially supported chips, so we'll take it to explain how to make the arduino minimum system on the breadboard. Prepare the material 1. One Atmega8 DIP packaging chip 2 .   One 16MHz Crystal Oscillator 3 . Two 22P capaci tors One key, One breadboard and some connected wires. Let's look at this chip A new chip needs to download the arduino's bootloader, which We use the official recommended USBtinyISP to download. Take a look at the pins of Atmega8 and ICSP pins + 5 v connects to VCC GND connect s  to GND D11, D12, D13 connec...

13.Arduino learning notebook--four-bit digital tube experiment

图片
13.Arduino learning notebook--four-bit digital tube experiment                     Juvtmall  ( a company supply  PCB Prototyping ,  PCBA service  and sell kinds of  components, modules  and so on)  ( Catduino has the same function of Arduino) This experiment uses   the arduino to drive a four-bit digital tube.   It is  necessary to drive the current-limiting resist a nce of the digital tube. There are two ways  of current-limiting resist a nce, one is connecting to the d1-d4 anode . The benefit of this method is that the resistance demanded is less,  produce s   that different n umbers will produce  different brightness in each number . 1 is brightest and 8 is the darkest.The other method is connecting to  the other eight pins, which show s  uniform  brightness , but needs  more resistance.This experiment us es   eight  220 Ω res...