Electronic Components Datasheet Search |
|
DEV-13626 Datasheet(PDF) 8 Page - SparkFun Electronics |
|
DEV-13626 Datasheet(HTML) 8 Page - SparkFun Electronics |
8 / 13 page Search the “Libraries” tab for “SparkFunMAX17043” to find the Fuel Gauge library. If you’re using the desktop version of the IDE, Particle Dev, and still want to use the library, you can grab the latest version from our GitHub repository. Running the MAX17043_Simple Example After finding the library, navigate to “MAX17043_Simple.cpp” and click Use This Example – the Build IDE will create a clone of this sketch in your “Code” tab. You shouldn’t have to change anything, just make sure your Photon is selected in the “Devices” tab, and click “Flash”. Once your Photon is running the code, there are two ways to view its data. One is to open a serial terminal (see our Serial Terminal Basics tutorial if you need help with this). Find your Photon’s serial port number (“COM#” on Windows “/dev/tty.usbmodemXXXX” on Mac) and set the baud rate to 9600. The battery’s voltage, state-of-charge, and alert status will stream by. Using TeraTerm to view the Photon’s Serial.print debug output. Since USB is plugged in, the voltage and percentage should steadily increase as the battery charges. Alternatively, if you want to monitor the battery discharge, you can use the Photon’s Internet-connectivity to view the battery voltage and charge status. First, though, you’ll need to identify your Photon’s device ID as well as your account’s access token. The device ID can be found in Particle Build by clicking the ‘>’ next to your device name. Page 8 of 13 |
Similar Part No. - DEV-13626 |
|
Similar Description - DEV-13626 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List 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 |