| 数据搜索系统,热门电子元器件搜索 |
|
DEV-13262 数据表(PDF) 6 Page - SparkFun Electronics |
|
|
|||||||||||||||||||||||||||||
DEV-13262 数据表(HTML) 6 Page - SparkFun Electronics |
|
6 / 8 page ![]() Once everything is inserted, your circuit should look similar to the following: In this case, we show the circuit connected to a CAN simulator. However, you could instead have your circuit connected to a DLC in a CAN-enabled vehicle. Here we see the circuit connected to Pete Dokter’s VW. Arduino Code Download the Library There’s a really great library available for working with the CAN-Bus shield. You will need to download this and install it in your Arduino IDE. You can either search for it in the Arduino Library Manager or download the most recent version from the GitHub repository. DOWNLOAD CAN-BUS SHIELD LIBRARY If you aren’t sure how to install the Arduino library, please take a look at our tutorial here. Example Sketches There are several different example sketches included in the library, each with different functionality. 1.SparkFun_CAN_Demo - This sketch allows you test the CAN functionality of the board by itself. 2. SparkFun_ECU_Demo - This sketch runs all hardware on the shield together, and logs CAN data and GPS data to the SD card, while outputting data over the serial LCD. You will need to instally the TinyGPS library and the SD library for this to work. 3.SparkFun_GPS_Demo- This sketch runs through using the GPS module. You will need to instally the TinyGPS library for this to work. 4.SparkFun_Joystick_Demo - This quick sketch allows you to test the functionality of the on board joystick. 5.SparkFun_SD_Demo - This sketch allows you to verify and test functionality of the microSD socket on board. You will need to install the SD library for this to work. Page 6 of 8 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |