数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

DEV-13262 数据表(PDF) 7 Page - SparkFun Electronics

部件名 DEV-13262
功能描述  CAN-Bus Shield Hookup Guide
PDF  8 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  SPARKFUN [SparkFun Electronics]
网页  https://www.sparkfun.com/
标志 SPARKFUN - SparkFun Electronics

DEV-13262 数据表(HTML) 7 Page - SparkFun Electronics

  DEV-13262 Datasheet HTML 1Page - SparkFun Electronics DEV-13262 Datasheet HTML 2Page - SparkFun Electronics DEV-13262 Datasheet HTML 3Page - SparkFun Electronics DEV-13262 Datasheet HTML 4Page - SparkFun Electronics DEV-13262 Datasheet HTML 5Page - SparkFun Electronics DEV-13262 Datasheet HTML 6Page - SparkFun Electronics DEV-13262 Datasheet HTML 7Page - SparkFun Electronics DEV-13262 Datasheet HTML 8Page - SparkFun Electronics  
Zoom Inzoom in Zoom Outzoom out
 7 / 8 page
background image
6.SparkFun_SerialLCD_Demo - A quick sketch to make sure your serial
LCD screen is functioning properly.
For our example, we are going to run through the ECU_Demo sketch, but
feel free to use or modify the other sketches. If you decided to not plug in
the microSD card, GPS unit and LCD screen, you should instead run the
CAN_Demo.
ECU_Demo
This sketch shows off the basic functionality of each part of the shield.
Once you’ve installed the library, open up Arduino and upload this code to
your RedBoard.
Check through the comments in the code for details of what each section
does, but the general flow of the sketch is as follows:
1. The Arduino initializes the pins, variables, and baud rates for the
GPS, LCD, uSD card, and CAN-Bus.
2. In the setup loop, each device is started, and verified that everything
is connected as it should. Both the CAN-Bus and uSD card will print
either success or failure messages to the LCD screen.
3. The shield will wait for the user to click the joystick to begin collecting
data off of the GPS module and the CAN-Bus.
4. Once the user has clicked to begin logging, the CAN-Bus will poll for
the engine RPM, and will write the latitude, longitude, and GPS
speed. A message that the unit is logging will appear on the LCD
screen, and the actual engine RPM will be printed to the Serial
monitor. The data collected is written to the uSD card.
5. Each loop, the code checks if the user has clicked the joystick. If so,
the unit stops logging.
/*******************************************************
*********************
ECU CAN­Bus Reader and Logger
Toni Klopfenstein @ SparkFun Electronics
September 2015
https://github.com/sparkfun/CAN­Bus_Shield
This example sketch works with the CAN­Bus shield from S
parkFun Electronics.
If you’ve uncommented the lines for serial debugging, you should see
something like this:
Engine RPM readings from CAN-Bus shield hooked up to a simulator.
Page 7 of 8



Html Pages

1 2 3 4 5 6 7 8


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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