Skip to content

Commit 8f2d49f

Browse files
committed
Main docs update
This commit includes updated docs content, GH pages build files and other review updates.
1 parent 74ff05b commit 8f2d49f

32 files changed

+1564
-17
lines changed

.github/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
SparkFun Pro Micro - RP2350
2+
========================================
3+
4+
[![SparkFun Pro Micro - RP2350](https://cdn.sparkfun.com/r/600-600/assets/parts/2/5/1/6/2/DEV-24870-Pro-Micro-RP2350-Feature.jpg)](https://www.sparkfun.com/products/24870)
5+
6+
[*SparkFun Pro Micro - RP2350 (DEV-28470)*](https://www.sparkfun.com/products/24870)
7+
8+
The SparkFun Pro Micro - RP2350 provides a powerful development platform in SparkFun's compact Pro Micro form factor built around the RP2350 from the Raspberry Pi Foundation. This board uses the updated Pro Micro form factor and includes a USB-C connector, Qwiic connector, WS2812B addressable RGB LED, Boot and Reset buttons, resettable PTC fuse as well as PTH and castellated solder pads. The board includes two expanded memory options with 16MB of external Flash and 8MB PSRAM connected to the RP2350's QSPI controller. The RP2350 also features 520kB SRAM in ten banks, a host of peripherals including 2 UARTs, 2 SPI and 2 I<sup>2</sup>C controllers, as well as a USB 1.1 controller that allows for both host and device support. The Pro Micro - RP2350 works with C/C++ using the Pico SDK along with MicroPython development environments.
9+
10+
Repository Contents
11+
-------------------
12+
13+
* **/Documents** - Data sheets, additional product information
14+
* **/Examples** - Example code
15+
* **/Hardware** - Eagle design files (.brd, .sch)
16+
* **/Production** - Production panel files (.brd)
17+
* **/docs** - GitHub Pages documentation files
18+
19+
Documentation
20+
--------------
21+
* **[Hookup Guide](https://sparkfun.github.io/SparkFun_Pro_Micro_RP2350)** - Basic hookup guide for the Pro Micro - RP2350.
22+
* [PSRAM Library and Examples](https://github.com/sparkfun/sparkfun-pico) - A cmake library and examples to use the on-board PSRAM when developing in the Raspberry Pi [pico-sdk](https://github.com/raspberrypi/pico-sdk).
23+
24+
Product Versions
25+
----------------
26+
* [DEV-28470](https://www.sparkfun.com/products/24870) - SparkFun Pro Micro - RP2350 development board.
27+
28+
License Information
29+
-------------------
30+
31+
This product is _**open source**_!
32+
33+
Please review the LICENSE.md file for license information.
34+
35+
If you have any questions or concerns on licensing, please contact technical support on our [SparkFun forums](https://forum.sparkfun.com/viewforum.php?f=152).
36+
37+
Distributed as-is; no warranty is given.
38+
39+
- Your friends at SparkFun.

.github/workflows/mkdocs.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Run mkdocs
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
16+
- name: Set up Python runtime
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: 3.x
20+
21+
- name: Install Python dependencies
22+
run: pip install mkdocs-monorepo-plugin mkdocs-redirects mkdocs-with-pdf weasyprint mkdocs-git-authors-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 setuptools
23+
24+
# - name: Install Chrome
25+
# run: sudo apt install google-chrome-stable
26+
27+
# - run: pip uninstall -y beautifulsoup4
28+
# - run: pip install beautifulsoup4==4.9.3
29+
30+
- name: Set up build cache
31+
uses: actions/cache@v2
32+
with:
33+
key: ${{ github.ref }}
34+
path: .cache
35+
36+
- name: Install Insiders build
37+
env:
38+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
39+
run: pip install --upgrade mkdocs-material
40+
- run: mkdocs gh-deploy --force

Hardware/Qwiic_ADC_ADS1219.kicad_prl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,16 @@
8686
9
8787
],
8888
"col_widths": [
89-
0,
90-
0,
91-
0,
92-
0,
93-
0,
94-
0,
95-
0,
96-
0,
97-
0,
98-
0
89+
13,
90+
13,
91+
13,
92+
13,
93+
13,
94+
13,
95+
13,
96+
13,
97+
13,
98+
20
9999
],
100100
"custom_group_rules": [],
101101
"expanded_rows": [],

Hardware/Qwiic_ADC_ADS1219.kicad_pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@
628628
},
629629
"net_format_name": "",
630630
"page_layout_descr_file": "",
631-
"plot_directory": "",
631+
"plot_directory": "./",
632632
"space_save_all_events": true,
633633
"spice_current_sheet_as_root": false,
634634
"spice_external_command": "spice \"%I\"",

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
1-
SparkX Qwiic ADC ADS1219 - 24-Bit 4-Channel
2-
========================================
1+
[![SparkFun Qwiic 24 Bit ADC - 4 Channel (ADS1219)](./docs/assets/img/Qwiic_ADC-RepoBanner.png)](https://www.sparkfun.com/sparkfun-qwiic-24-bit-adc-4-channel-ads1219.html)
32

4-
[![Qwiic ADC ADS1219](URL for picture of part)](URL for product on Sparkfun.com)
3+
[*SparkFun Qwiic 24 Bit ADC - 4 Channel (ADS1219) (SEN-27544)*](https://www.sparkfun.com/sparkfun-qwiic-24-bit-adc-4-channel-ads1219.html)
54

6-
[*Qwiic ADC ADS1219 (SKU)*](URL for product on Sparkfun.com)
7-
8-
A lot of the time you just need to add more analog inputs to solve a problem. It happens. The SparkX Qwiic 24-Bit ADC can provide four channels of I2C controlled ADC input to your Qwiic enabled project. These channels can be used as single-ended inputs, or in pairs for differential inputs, running at sample rates of up to 1kHz. What makes this ADC even more powerful is that it has a programmable x1 or x4 gain amplifier that lets you "zoom in" on a very small change in analog voltage (but will still effect your input range and resolution). Utilizing our handy Qwiic system, it is easy to connect it to the rest of your system. However, we have broken out 0.1"-spaced pads too in case you prefer to use a breadboard. The analog inputs and reference pins are all broken out on 0.1"-spaced pads too. This board does not have screw terminals - there was not enough room!
5+
A lot of the time you just need to add more analog inputs to solve a problem. It happens. The SparkFun Qwiic 24-Bit ADC can provide four channels of I2C controlled ADC input to your Qwiic enabled project. These channels can be used as single-ended inputs, or in pairs for differential inputs, running at sample rates of up to 1kHz. What makes this ADC even more powerful is that it has a programmable x1 or x4 gain amplifier that lets you "zoom in" on a very small change in analog voltage (but will still effect your input range and resolution). Utilizing our handy Qwiic system, it is easy to connect it to the rest of your system. However, we have broken out 0.1"-spaced pads too in case you prefer to use a breadboard. The analog inputs and reference pins are all broken out on 0.1"-spaced pads too. This board does not have screw terminals - there was not enough room!
96

107
The ADS1219 can use its own internal 2.048V voltage reference for measurements, or you can provide your own reference via the REFP and REFN breakout pads. You can also provide your own VDDA (AVDD) by opening the jumper and connecting a voltage to the VDDA pad. This ADC board has eight address jumpers that let you choose one of sixteen unique addresses (0x40 to 0x4F). With these, you can connect up to sixteen of these on the same I2C bus and have 64 channels of ADC. The maximum resolution of the converter is 24-bits, corresponding to 244.14nV per count at a gain of x1. At a gain of x4, the resolution is 61.04nV per count. Note: the effective resolution is limited to 20-bits.
118

129
Repository Contents
1310
-------------------
1411

12+
* **/docs** - GitHub pages documentation files
1513
* **/Documentation** - TI datasheet
1614
* **/Hardware** - KiCad design files (_pcb, _sch), Schematic (PDF)
1715
* **/Production** - Production panel files (_pcb, gerbers)
1816

1917
Documentation
2018
--------------
2119
* [**Arduino Library**](https://github.com/sparkfun/SparkFun_ADS1219_Arduino_Library) - Arduino library for the ADS1219.
20+
* [**Hookup Guide**](https://docs.sparkfun.com/SparkFun_Qwiic_ADC_ADS1219/)
21+
22+
Product Versions
23+
-----------------
24+
25+
* [SPX-23455](https://www.sparkfun.com/sparkx-qwiic-24-bit-adc-4-channel-ads1219.html) - Original SparkX release.
26+
* [SEN-27544](https://www.sparkfun.com/sparkfun-qwiic-24-bit-adc-4-channel-ads1219.html) - Initial SparkFun release.
2227

2328
License Information
2429
-------------------

docs/arduino_examples.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
Let's take a look at a few of the examples included in the SparkFun ADS1219 Arduino Library.
2+
3+
## Example 01 - Single Shot
4+
5+
The first example shows how to take single-shot measurements of a differential input on channels A0 and A1. Open the example by navigating to **File** > **Examples** > **SparkFun ADS1219 Arduino Library** > **Example01_SingleShot**. Select your Board and Port and click the Upload button. After the code finishes uploading, open the [serial monitor](https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-serial-monitor/) with the baud set to **115200** and you should see some setup messages print out followed by readings in millivolts.
6+
7+
The example initializes the ADS1219 on the I<sup>2</sup>C bus with default settings and then attempts to take single-shot readings from the ADC.
8+
9+
## Example 02 - Continuous
10+
11+
The second example shows how to take continuous measurements of a differential input on channels A0 and A1. This example is very similar to the previous one but instead of requesting for a single-shot synched readings, requests continuous readings every 10ms. Open the example from the SparkFun ADS1219 Arduino Library and upload it.
12+
13+
With the serial monitor open and set to **115200**, you should see an initialization message print followed by differential voltage readings from A0 and A1 in millivolts.
14+
15+
## Example 03 - Input Multiplexer
16+
17+
The third example shows how to configure the ADS1219's input multiplexer feature. This adjustable setting lets users set the ADS1219's input multiplexer to one of eight options using the `myADC.setInputMultiplexer();` function. Available settings are:
18+
19+
``` c++
20+
ADS1219_CONFIG_MUX_DIFF_P0_N1 //(Default)
21+
ADS1219_CONFIG_MUX_DIFF_P2_N3
22+
ADS1219_CONFIG_MUX_DIFF_P1_N2
23+
ADS1219_CONFIG_MUX_SINGLE_0
24+
ADS1219_CONFIG_MUX_SINGLE_1
25+
ADS1219_CONFIG_MUX_SINGLE_2
26+
ADS1219_CONFIG_MUX_SINGLE_3
27+
ADS1219_CONFIG_MUX_SHORTED
28+
```
29+
30+
## Example 04 - Data Ready Interrupt
31+
32+
The fourth example demonstrates how to use the ADS1219's data ready pin to trigger an interrupt on a connected microcontroller. For this example, you'll need to connect the Data Ready (DRDY) pin to an [interrupt-capable I/O pin](https://docs.arduino.cc/language-reference/en/functions/external-interrupts/attachInterrupt/) on your development board.
33+
34+
The code defaults to use D4 for the interrupt pin so if you need to switch to another pin, adjust this line:
35+
36+
``` c++
37+
const int interruptPin = 4;
38+
```
39+
40+
The example's setup sets the I<sup>2</sup>C clock speed to 400kHz for better performance and initializes the ADS1219 to read the voltage between AIN0 and Ground, adjusts the gain to x4 and configure the data rate to 1000 samples per second. Lastly, it configures the interrupt to go LOW when data is ready. The main loop just checks to see if the interrupt is seen, clears the flag and then prints readings in millivolts.
41+
42+

docs/arduino_setup.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
!!! arduino
2+
This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is your first time using Arduino IDE, library, or board add-on, please review the following tutorials.
3+
4+
- [Installing the Arduino IDE](https://learn.sparkfun.com/tutorials/installing-arduino-ide)
5+
- [Installing an Arduino Library](https://learn.sparkfun.com/tutorials/installing-an-arduino-library)
6+
- [Installing Board Definitions in the Arduino IDE](https://learn.sparkfun.com/tutorials/installing-board-definitions-in-the-arduino-ide)
7+
8+
## Installing the SparkFun ADS1219 Arduino Library
9+
10+
!!! note "SparkFun Toolkit"
11+
12+
This library is built using the [SparkFun Toolkit](https://github.com/sparkfun/SparkFun_Toolkit) so you'll need to make sure that is installed before using this library. Install the SparkFun Toolkit with the Arduino Library manager by searching "SparkFun Toolkit" and installing the latest version. Users who prefer manually installing Arduino Libraries can download it from the [GitHub Repository](https://github.com/sparkfun/SparkFun_Toolkit).
13+
14+
## SparkFun ADS1219 Arduino Library
15+
16+
The SparkFun ADS1219 Arduino Library lets users easily get started with the ADS1219 with basic commands and six examples. Install the library using the Arduino Library Manager tool by searching for "SparkFun ADS1219" and install the latest version. If you'd prefer to manually install the library, you can download it from the [GitHub Repository](https://github.com/sparkfun/SparkFun_ADS1219_Arduino_Library) or you can download a ZIP of the repository [here](https://github.com/sparkfun/SparkFun_ADS1219_Arduino_Library/archive/refs/heads/main.zip).
210 KB
Binary file not shown.
201 KB
Binary file not shown.
2.22 MB
Binary file not shown.

0 commit comments

Comments
 (0)