| поискавой системы для электроныых деталей |
|
DEV-13262 датащи(PDF) 7 Page - SparkFun Electronics |
|
|
|||||||||||||||||||||||||||||
DEV-13262 датащи(HTML) 7 Page - SparkFun Electronics |
|
7 / 8 page ![]() 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 CANBus Reader and Logger Toni Klopfenstein @ SparkFun Electronics September 2015 https://github.com/sparkfun/CANBus_Shield This example sketch works with the CANBus 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 |
|
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |