Skip to content

Commit

Permalink
Make space for an additional example
Browse files Browse the repository at this point in the history
  • Loading branch information
bboyho committed Jul 19, 2024
1 parent 4ac65f4 commit c006a29
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 32 deletions.
File renamed without changes.
File renamed without changes.
19 changes: 1 addition & 18 deletions docs/arduino_example_7_deep_sleep_blink.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To upload code, connect the USB cable to the SparkFun Thing Plus NORA-W306. Of c
This example builds upon Realtek's deep sleep mode. Once the deep sleep modes are set up, the NORA-W306 goes into deep sleep. In this particular example, we will use the timer (i.e. `SET_DS_AON_TIMER_WAKEUP`) as the source. After 5 seconds, the board wakes up with the user LED also blinking five times before going back to deep sleep for 5 seconds.

!!! note
The serial UART is disabled to reduce amount the peripherals that are turned on. To save more power, you can cut the JP3 and PWR LED jumpers. There is also a fancy circuit to disable power to the CP2102 when there is no USB power. Users that decide to
The serial UART is disabled to reduce amount the peripherals that are turned on. To save more power, you can cut the JP3 and PWR LED jumpers. There is also a fancy circuit to disable power to the CP2102 when there is no USB power. As an alternative to USB power, users can power the board with a LiPo battery.

Copy and paste the following code in the Arduino IDE. Select your Board (in this case the **SparkFun Thing Plus NORA-W306 (RTL8720DF)**), and associated COM port (in this case **COM13**). Then hit the upload button.

Expand Down Expand Up @@ -305,20 +305,3 @@ Below are a few diagrams showing two possible to measure the current draw when t
</tr>
</table>
</div>
!!! note
For the SD power control (SDPC), make sure to cut the trace on the back of the board and add a solder blob between the center pad and pad labelled as `17`. Head back to the Arduino code and uncomment the lines for the SD power control (i.e. where SDPC).
<div style="text-align: center;">
<table>
<tr style="vertical-align:middle;">
<td style="text-align: center; vertical-align: middle; border: solid 1px #cccccc;"><a href="../assets/img/WRL-21637_Thing_Plus_NORA-W306_SDPC_Jumper_Modification.jpg"><img src="../assets/img/WRL-21637_Thing_Plus_NORA-W306_SDPC_Jumper_Modification.jpg" width="600px" height="600px" alt="MicroSD Card Power Control Jumper Modified"></a></td>
</tr>
<tr style="vertical-align:middle;">
<td style="text-align: center; vertical-align: middle; border: solid 1px #cccccc;"><i>MicroSD Card Power Control Jumper Modified</i></td>
</tr>
</table>
</div>
For those that are reading and writing to the microSD card, you will need to write just a bit more code as well. Check out the code for the [microSD card example](../arduino_example_6_microsd/#arduino-code). Besides setting up the microSD card, you will need to open a file, write/read, and close the file where the LED blinks before turning power off the SDPC pin. Make sure to insert a microSD card into the socket on the back of the board before powering up the board.
File renamed without changes.
20 changes: 11 additions & 9 deletions docs/single_page.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,22 @@ icon: fontawesome/solid/scroll
# Example 6 - MicroSD Card
--8<-- "./docs/arduino_example_6_microsd.md"

# Example 7 - Deep Sleep and MicroSD Power Control
# Example 7 - Deep Sleep and Blink
--8<-- "./docs/arduino_example_7_deep_sleep_blink.md"

# Example 8 - MAX17048 LiPo Fuel Gauge
--8<-- "./docs/arduino_example_8_lipo_fuel_gauge.md"

# Example 9 - WS2812 Addressable RGB LED
--8<-- "./docs/arduino_example_9_ws2812.md"

# Example 10 - Qwiic Micro OLED
--8<-- "./docs/arduino_example_10_qwiic_micro_oled.md"
# Example 9 - MAX17048 LiPo Fuel Gauge
--8<-- "./docs/arduino_example_9_lipo_fuel_gauge.md"

# Example 11 - LiPo Fuel Gauge (MAX17048) with Micro OLED Display Demo
--8<-- "./docs/arduino_example_11_lipo_fuel_gauge_micro_oled_ws2812.md"
# Example 10 - WS2812 Addressable RGB LED
--8<-- "./docs/arduino_example_10_ws2812.md"

# Example 11 - Qwiic Micro OLED
--8<-- "./docs/arduino_example_11_qwiic_micro_oled.md"

# Example 12 - LiPo Fuel Gauge (MAX17048) with Micro OLED Display Demo
--8<-- "./docs/arduino_example_12_lipo_fuel_gauge_micro_oled_ws2812.md"

# More Examples!!!
--8<-- "./docs/more_examples.md"
Expand Down
11 changes: 6 additions & 5 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,12 @@ nav:
- Example 5a - Bluetooth UART Service: arduino_example_5a_bluetooth_uart_service.md
- Example 5b - Bluetooth UART Client: arduino_example_5b_bluetooth_uart_client.md
- Example 6 - MicroSD Card: arduino_example_6_microsd.md
- Example 7 - Deep Sleep and MicroSD Power Control: arduino_example_7_deep_sleep_blink.md
- Example 8 - MAX17048 LiPo Fuel Gauge: arduino_example_8_lipo_fuel_gauge.md
- Example 9 - WS2812 Addressable RGB LED: arduino_example_9_ws2812.md
- Example 10 - Qwiic Micro OLED: arduino_example_10_qwiic_micro_oled.md
- Example 11 - MAX17048 LiPo Fuel Gauge with Micro OLED Display Demo: arduino_example_11_lipo_fuel_gauge_micro_oled_ws2812.md
- Example 7 - Deep Sleep and Blink: arduino_example_7_deep_sleep_blink.md
# - Example 8 - Deep Sleep and MicroSD Temperature DataLogging: arduino_example_8_deep_sleep_microSD_datalogging.md
- Example 9 - MAX17048 LiPo Fuel Gauge: arduino_example_9_lipo_fuel_gauge.md
- Example 10 - WS2812 Addressable RGB LED: arduino_example_10_ws2812.md
- Example 11 - Qwiic Micro OLED: arduino_example_11_qwiic_micro_oled.md
- Example 12 - MAX17048 LiPo Fuel Gauge with Micro OLED Display Demo: arduino_example_12_lipo_fuel_gauge_micro_oled_ws2812.md
- More Examples!!!: more_examples.md
- Resources: resources.md
- Support:
Expand Down

0 comments on commit c006a29

Please sign in to comment.