博文

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

20.Arduino learning notebook--Use Arduino Duemilanove to download the bootloader to other chips

图片
20.Arduino learning notebook--Use Arduino Duemilanove to download the bootloader to other chips               Juvtmall  ( a company supply  PCB Prototyping ,  PCBA service  and sell kinds of  components, modules  and so on)  ( Catduino has the same function of Arduino)   In this experiment, we use Arduino Duemilanove to download the bootloader to the chip. Note: after testing this method of download ing the bootloader , we found that it only can be tested successfully on   using the 328P of  Arduino Duemilanove, Arduino nano . Material preparation: 1.A c ontrol board of Arduino Duemilanove/UNO/NANO 2.A 100 Ω resistance 3. Two 22p capacitors 4. A 16M Hz rystal Oscillator 5. One Atmega8 DIP packaging chip One key, One breadboard and some connected wires. First, open the arduino IDE, in the File's Examples, select ArduinoISP, compile the program, and download it ...

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...

16.Arduino learning notebook--PS2 rocker/game rocker experiment

图片
16. Arduino learning  note book--PS 2 rocker/game rocker 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)   The PS2 rocker can be used to control the car, etc. The main   structure is two 10K potentiometers and a key switch.The five ports are  respectively  VCC, X, Button, Y, GND. Let's take a look at the picture The o ld LCD screen is used to do other things, so use another  one , different models of 1602 LCD to adjust the contrast of resistance value is different .   S o this time I will switch to a potentiometer, more convenien t to adjust. Hardware connection diagram Download the code below to the arduino controller . ARDUINO   CODE 1.  #include <LiquidCrystal. H > // call the LiquidCr...