From b8b2e369ba89db74a99fceeb7bfa83f6f61df127 Mon Sep 17 00:00:00 2001 From: Velyks Date: Wed, 7 Jan 2015 01:06:21 +0000 Subject: [PATCH 1/5] Update Board - CJMCU.md Clarified how to identify the difference between CJMCU revisions. --- docs/Board - CJMCU.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Board - CJMCU.md b/docs/Board - CJMCU.md index d321e90493..99e40dd9b2 100644 --- a/docs/Board - CJMCU.md +++ b/docs/Board - CJMCU.md @@ -9,8 +9,8 @@ This board does not have an onboard USB-Serial converter, so an external adapter | Revision | Notes | | -------- | ----- | -| 1 | no boot jumper at the edge of the board. | -| 2 | identified by no boot jumper pads at the edge of the board. | +| 1 | No boot jumper pads by LED1. | +| 2 | Boot jumper pads presoldered with pins and a jumper by LED1. | Version 2 boards are supported from firmware v1.4.0 onwards, do NOT flash earlier versions to version 2 boards. From 70d482e8e07c13ac11645852d3404095a6c9482a Mon Sep 17 00:00:00 2001 From: Velyks Date: Wed, 7 Jan 2015 10:52:09 +0000 Subject: [PATCH 2/5] Update Board - CJMCU.md Added information on how to charge a battery using the onboard TP4056. Added clarification and notes to the RX Connections section about the VCC pin. --- docs/Board - CJMCU.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/Board - CJMCU.md b/docs/Board - CJMCU.md index 99e40dd9b2..058c5c4e79 100644 --- a/docs/Board - CJMCU.md +++ b/docs/Board - CJMCU.md @@ -24,9 +24,11 @@ Version 2 boards are supported from firmware v1.4.0 onwards, do NOT flash earlie | PA1 | RC Channel 2 | | PA2 | RC Channel 3 / USART2 TX | | PA3 | RC Channel 4 / USART2 RX | -| VCC | Power +3.3v | +| VCC | Power (See note) | | GND | Ground | +NOTE: The VCC RX Pin is not regulated and will supply what ever voltage is provided to the board, this will mean it'll provide 5v if a 5v serial connection is used. Be careful if you are using a voltage sensitive RX. A regulated 3.3v supply can be found on the top pin of column 1, just below the RX GND pin. + ## Serial Connections USART1 (along with power) is on the following pins. @@ -112,6 +114,26 @@ To flash the board: boot, if anything goes wrong, simply unsolder these pins and the bootloader will start, allowing you to reflash. You cannot overwrite the bootloader. +# Charging + +The CJMCU has on it a TP4056 Lithium battery charging IC that can charge a 1S battery at 1A using a provided 5v supply attached to the 5v serial pin. + +To charge an attached battery: + * Set the power switch to OFF + * Set the charge switch to CHG + * Plug in a 1S battery to the battery pins + * Plug in a 5v supply to the 5v serial pins + +The two nearby LEDs will show the status of charging: + +| Status | Green LED | Red LED | +|--------------------|-----------|-----------| +| Charging | On | Off | +| Finished | Off | On | +| 5v not connected | Off | Off | +| Batt not connected | Flashing | On | + + # Helpful Hints * If you are only using a 4 channel RX, in the auxiliary configuration tab, you can add a "Horizon" mode range around 1500 From e1dff63017d72624050e65ff00bf5dde2ba8b44b Mon Sep 17 00:00:00 2001 From: Velyks Date: Wed, 7 Jan 2015 10:54:23 +0000 Subject: [PATCH 3/5] Update Board - CJMCU.md Added information on when the TP4056 will stop charging. --- docs/Board - CJMCU.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Board - CJMCU.md b/docs/Board - CJMCU.md index 058c5c4e79..00fac2b847 100644 --- a/docs/Board - CJMCU.md +++ b/docs/Board - CJMCU.md @@ -124,6 +124,8 @@ To charge an attached battery: * Plug in a 1S battery to the battery pins * Plug in a 5v supply to the 5v serial pins +The charger will finish when either the battery reaches 4.2v, or the battery's voltage is greater than the charger's input voltage. + The two nearby LEDs will show the status of charging: | Status | Green LED | Red LED | From 540268ec180461973b388ece49f28ed6e4e89b90 Mon Sep 17 00:00:00 2001 From: Velyks Date: Wed, 7 Jan 2015 11:07:20 +0000 Subject: [PATCH 4/5] Update Board - CJMCU.md Clarified the Flashing section with instructions on how to bypass the bootloader on both revisions. --- docs/Board - CJMCU.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Board - CJMCU.md b/docs/Board - CJMCU.md index 00fac2b847..058fb0870c 100644 --- a/docs/Board - CJMCU.md +++ b/docs/Board - CJMCU.md @@ -110,8 +110,8 @@ To flash the board: * Click "Flash Firmware" * You should see "Programming: SUCCESSFUL" in the log box * Click "Connect" -> This should open the "Initial Setup" tab and you should see sensor data from the quad shown - * Unplug the quad and solder across the 2 "BOOT0" pins - This prevents the board from going into bootloader mode on next - boot, if anything goes wrong, simply unsolder these pins and the bootloader will start, allowing you to reflash. You cannot + * Unplug the quad and short the 2 "BOOT0" pins. Revision 1 boards require this to be soldered, revision 2 boards can connect the included jumper to the two pre-soldered pins - This prevents the board from going into bootloader mode on next + boot, if anything goes wrong, simply disconnect these two pins and the bootloader will start, allowing you to reflash. You cannot overwrite the bootloader. # Charging From adb3ec9bcbd5c4ebc13138ff6d30cc6853baa604 Mon Sep 17 00:00:00 2001 From: Velyks Date: Thu, 8 Jan 2015 11:13:11 +0000 Subject: [PATCH 5/5] Added more revision differences. Added to the revision differences to detail the different LEDs. --- docs/Board - CJMCU.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Board - CJMCU.md b/docs/Board - CJMCU.md index 058fb0870c..a377206101 100644 --- a/docs/Board - CJMCU.md +++ b/docs/Board - CJMCU.md @@ -9,8 +9,8 @@ This board does not have an onboard USB-Serial converter, so an external adapter | Revision | Notes | | -------- | ----- | -| 1 | No boot jumper pads by LED1. | -| 2 | Boot jumper pads presoldered with pins and a jumper by LED1. | +| 1 | No boot jumper pads by LED1. Uses blue and red LEDs | +| 2 | Boot jumper pads presoldered with pins and a jumper by LED1. Uses green and red LEDs. | Version 2 boards are supported from firmware v1.4.0 onwards, do NOT flash earlier versions to version 2 boards.