https://wiki.pine64.org/api.php?action=feedcontributions&user=EnthusiasticGeek&feedformat=atomPINE64 - User contributions [en]2024-03-29T09:57:23ZUser contributionsMediaWiki 1.37.1https://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Multicase&diff=12180User:EnthusiasticGeek/Multicase2022-01-05T17:17:56Z<p>EnthusiasticGeek: Put current planning and outlined page</p>
<hr />
<div>{{Template:Warning|I don't recommend you replicate this project unless you know what you're doing! I almost guarentee you will experience some undocumented behavior!}}<br />
{{Template:Hint|This page will probably be organized better once I'm closer to completing this project, so check back soon!}}<br />
<br />
Pine64 asked what case I wanted for my PinePhone. I simply answered "yes."<br />
<br />
This is a project to add all of the functionality from the [[PinePhone_add-on_cases|PinePhone add-on cases]] into the [[User:EnthusiasticGeek/Keyboard_Case|Keyboard Case]].<br />
<br />
= Project Planning =<br />
== Before Having the Hardware ==<br />
All of the cases, not including the wireless charging case(?), use I2C to function. The Keyboard Case uses the INT pin on the PinePhone as well, but it's the only one to do so.<br />
<br />
This means that, from a higher-level view, it should be fairly easy to add all cases. The only problem is that the wireless charging case will not be able to charge the phone itself for reasons covered [[User:EnthusiasticGeek/Keyboard_Case|here]]. I will instead use it to charge the keyboard.<br />
<br />
This means that the biggest challenge with this project are the space constraints. I actually want to be able to close it.<br />
<br />
=== PineDIO ===<br />
The most important thing I want to implement into the Keyboard Case is the PineDIO case, because this is what I personally would get the most use from. As far as I can tell, it should be able to fit into the top assembly of the case. This is because it's quite thin<!-- at X mm thick-->.<br />
<br />
=== Fingerprint Sensor ===<br />
I plan to put the fingerprint sensor in the bottom assembly of the case. The main circuitry will be placed in the left side of the case, where there appears to be a small gap of space where the battery meets the circuitboard.<br />
<br />
I'm not entirely sure if this gap really exists or is as big as I expect it to be. I am, however, optimistic that I can fit the sensor here.<br />
<br />
The actual pad that scans fingerprints will hopefully be placed in the top left area of the keyboard, where the hinge should be. however, I doubt that there is enough space here, so I will probably put it somewhere on the bottom of the keyboard.<br />
<br />
=== Wireless Charging ===<br />
As previously mentioned, I can't use wireless charging to charge the phone itself. Instead, I'll add it to the keyboard itself by soldering it directly to the USB-C connector. This should work like a charm, with the wireless charger circuit acting as a dumb charger (only +5V and GND), but things might get a little hairy if certain chargers are connected at tbe same time as the Keyboard Case is recieving wireless charge (like USB-PD chargers).<br />
<br />
I plan on placing the coil beneath the Keyboard Case battery if there's enough space, or beneath it's circuit board if there is not enough room. As for the circuitry, I'm not entirely sure where it can go. Wireless charging is the least important to me, so if there isn't enough room to add it, then I won't.<br />
<br />
== After Recieving the Hardware ==<br />
<br />
= Project =<br />
I havn't started it yet - still waiting on them to arrive!</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12179User:EnthusiasticGeek/Keyboard Case2022-01-05T16:41:59Z<p>EnthusiasticGeek: More Citing and General Page Updates</p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples the phone's 3000 mAh battery life.<br />
<br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro. They are labeled the same as on the PinePhone and PinePhone Pro. See [[PinePhone#Pogo_pins]] for information on the pogo pins.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
* The SDA and SCL pins are connected to the PinePhone or PinePhone Pro's I2C bus. This is how the phone and keyboard communincate.<br />
* VBUS connects to the USB +5V line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information<br />
* The VBAT pin connects to the battery. This powers the keyboard if it is out of power.<!--Citation Needed--><br />
* INT is a pin that's used for interrupts. In the case of the preinstalled firmware,<!--add link to firmware page--> it's used so the phone can request key presses from the keyboard.<!--Citation Needed--><br />
<!--I'm pretty sure that INT is just a regular GPIO pin on both the keyboard and PinePhone (Pro), but I'm not sure right now...--><br />
<br />
=== Charging Information ===<br />
In most schematics, including the PinePhone and PinePhone Pro, the +5V coming from the USB connector is named VBUS. This voltage is fed into the System-On-a-Chip in the PinePhone (Allwinner A64) or PinePhone Pro (RK3399S). The SOC then manages this voltage and charges the battery.<!--Citation and clarification needed--><br />
<br />
The VBUS rail is also accessed through one of the pogo pins on the back of the phone. This is what the keyboard uses to charge the phone. The output of it's IP5209 chip<!--explain "the output" better--> is connected to the VBUS rail through this pogo pin, which charges the phone. This makes the keyboard act as a USB charger with only +5V and GND connected.<br />
<br />
==== Problems with Charging Implimentation ====<br />
{{Template:Note|This could change in the near future with a new revision to the PinePhone.}}<br />
<br />
In the case of the original PinePhone, this can be fixed by Pine64 by having the VBUS pin on the keyboard instead connect to the Allwinner A64's second power input, similar to how it's handled on the [[PineTab]]. However, the RK3399S used on the PinePhone Pro does not have this feature, which means it may not be as easily fixable on the PinePhone Pro.<!--Citation needed--><br />
<br />
= Resources =<br />
[https://pine64.com/product/pinephone-pinephone-pro-keyboard-case/ PinePhone (Pro) Keyboard Case on the official Pine Store]<br />
<br />
[https://www.pine64.org/2021/12/31/happy-new-year-the-keyboard-and-cases-are-here/ Pine64 Blog Post - January 1st 2022]<br />
<br />
[[PinePhone|PinePhone Pine64 Wiki Page]]</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12178User:EnthusiasticGeek/Keyboard Case2022-01-04T19:27:23Z<p>EnthusiasticGeek: Fix Links</p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples the phone's 3000 mAh battery life.<br />
<br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
* The SDA and SCL pins are connected to the PinePhone or PinePhone Pro's I2C bus. This is how the phone and keyboard communincate.<br />
* VBUS connects to the USB +5V line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information<br />
* The VBAT pin connects to the battery. This powers the keyboard if it is out of power<!--Citation Needed-->.<br />
* INT is a pin that's used for interrupts. In the case of the preinstalled firmware <!--add link to firmware page-->, it is used so the phone can request key presses from the keyboard.<!--Citation Needed--><br />
<!--I'm pretty sure that INT is just a regular GPIO pin on both the keyboard and PinePhone (Pro), but I'm not sure right now...--><br />
<br />
=== Charging Information ===<br />
In most schematics, including the PinePhone and PinePhone Pro, the usually +5V coming from the usb connector is named VBUS. This voltage is fed into the System-On-a-Chip in the PinePhone (Allwinner A64) or PinePhone Pro (RK3399S). The SOC then manages this voltage and charges the battery.<!--Citation and clarification needed--><br />
<br />
The VBUS rail is also accessed through one of the pogo pins on the back of the phone. This is what the keyboard uses to charge the phone. The output of the IP5209 chip<!--explain "the output" better--> is connected to the VBUS rail through this pogo pin, which charges the phone. This makes the keyboard act as a USB charger with only +5V and GND connected, which charges the phone.<br />
<br />
==== Problems with Charging Implimentation ====<br />
{{Template:Note|This could change in the near future.}}<br />
The way in which the PinePhone and PinePhone Pro can charge with the keyboard breaks the USB-C spec. When the keyboard charges the phone, the VBUS line is always putting out +5V. If the phone and connected device negotiates that the phone shall be the sink, or if the connected device does not have any negotiation capabilities and acts as a source (such as a simple charger), +5V will continue to be put out by the PinePhone or PinePhone Pro at the same time as the source is putting out +5V. This means that, for example, a charger plugged into the phone while the keyboard is connected may result in some unintended behavior.<!--Citation and clarification needed, as well as future links for when people inevitably fry their phones by plugging the charger into the wrong spot ;)--><br />
<br />
In the case of the original PinePhone, this can be fixed by Pine64 by having the VBUS pin on the keyboard instead connect to the Allwinner A64's second power input, similar to how it's handled on the [[PineTab]]. However, the RK3399S used on the PinePhone Pro does not have this feature, which means it may not be as easily fixable on the it.<!--Citation needed--><br />
<br />
= Resources =<br />
[https://pine64.com/product/pinephone-pinephone-pro-keyboard-case/ PinePhone (Pro) Keyboard Case on the official Pine Store]<br />
<br />
[https://www.pine64.org/2021/12/31/happy-new-year-the-keyboard-and-cases-are-here/ Pine64 Blog Post - January 1st 2022]</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12177User:EnthusiasticGeek/Keyboard Case2022-01-04T19:24:27Z<p>EnthusiasticGeek: Add Resources</p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples the phone's 3000 mAh battery life.<br />
<br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
* The SDA and SCL pins are connected to the PinePhone or PinePhone Pro's I2C bus. This is how the phone and keyboard communincate.<br />
* VBUS connects to the USB +5V line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information<br />
* The VBAT pin connects to the battery. This powers the keyboard if it is out of power<!--Citation Needed-->.<br />
* INT is a pin that's used for interrupts. In the case of the preinstalled firmware <!--add link to firmware page-->, it is used so the phone can request key presses from the keyboard.<!--Citation Needed--><br />
<!--I'm pretty sure that INT is just a regular GPIO pin on both the keyboard and PinePhone (Pro), but I'm not sure right now...--><br />
<br />
=== Charging Information ===<br />
In most schematics, including the PinePhone and PinePhone Pro, the usually +5V coming from the usb connector is named VBUS. This voltage is fed into the System-On-a-Chip in the PinePhone (Allwinner A64) or PinePhone Pro (RK3399S). The SOC then manages this voltage and charges the battery.<!--Citation and clarification needed--><br />
<br />
The VBUS rail is also accessed through one of the pogo pins on the back of the phone. This is what the keyboard uses to charge the phone. The output of the IP5209 chip<!--explain "the output" better--> is connected to the VBUS rail through this pogo pin, which charges the phone. This makes the keyboard act as a USB charger with only +5V and GND connected, which charges the phone.<br />
<br />
==== Problems with Charging Implimentation ====<br />
{{Template:Note|This could change in the near future.}}<br />
The way in which the PinePhone and PinePhone Pro can charge with the keyboard breaks the USB-C spec. When the keyboard charges the phone, the VBUS line is always putting out +5V. If the phone and connected device negotiates that the phone shall be the sink, or if the connected device does not have any negotiation capabilities and acts as a source (such as a simple charger), +5V will continue to be put out by the PinePhone or PinePhone Pro at the same time as the source is putting out +5V. This means that, for example, a charger plugged into the phone while the keyboard is connected may result in some unintended behavior.<!--Citation and clarification needed, as well as future links for when people inevitably fry their phones by plugging the charger into the wrong spot ;)--><br />
<br />
In the case of the original PinePhone, this can be fixed by Pine64 by having the VBUS pin on the keyboard instead connect to the Allwinner A64's second power input, similar to how it's handled on the [[PineTab]]. However, the RK3399S used on the PinePhone Pro does not have this feature, which means it may not be as easily fixable on the it.<!--Citation needed--><br />
<br />
= Resources =<br />
[https://pine64.com/product/pinephone-pinephone-pro-keyboard-case/|PinePhone (Pro) Keyboard Case on the official Pine Store]<br />
<br />
[https://www.pine64.org/2021/12/31/happy-new-year-the-keyboard-and-cases-are-here/|Pine64 Blog Post - January 1st 2022]</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12176User:EnthusiasticGeek/Keyboard Case2022-01-04T19:06:34Z<p>EnthusiasticGeek: Fixed spelling errors and clarified some things</p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples<!--¹--> the phone's 3000 mAh battery life.<br />
<!--¹ See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information.--><br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
* The SDA and SCL pins are connected to the PinePhone or PinePhone Pro's I2C bus. This is how the phone and keyboard communincate.<br />
* VBUS connects to the USB +5V line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information<br />
* The VBAT pin connects to the battery. This powers the keyboard if it is out of power<!--Citation Needed-->.<br />
* INT is a pin that's used for interrupts. In the case of the preinstalled firmware <!--add link to firmware page-->, it is used so the phone can request key presses from the keyboard.<!--Citation Needed--><br />
<!--I'm pretty sure that INT is just a regular GPIO pin on both the keyboard and PinePhone (Pro), but I'm not sure right now...--><br />
<br />
=== Charging Information ===<br />
In most schematics, including the PinePhone and PinePhone Pro, the usually +5V coming from the usb connector is named VBUS. This voltage is fed into the System-On-a-Chip in the PinePhone (Allwinner A64) or PinePhone Pro (RK3399S). The SOC then manages this voltage and charges the battery.<!--Citation and clarification needed--><br />
<br />
The VBUS rail is also accessed through one of the pogo pins on the back of the phone. This is what the keyboard uses to charge the phone. The output of the IP5209 chip<!--explain "the output" better--> is connected to the VBUS rail through this pogo pin, which charges the phone. This makes the keyboard act as a USB charger with only +5V and GND connected, which charges the phone.<br />
<br />
==== Problems with Charging Implimentation ====<br />
{{Template:Note|This could change in the near future.}}<br />
The way in which the PinePhone and PinePhone Pro can charge with the keyboard breaks the USB-C spec. When the keyboard charges the phone, the VBUS line is always putting out +5V. If the phone and connected device negotiates that the phone shall be the sink, or if the connected device does not have any negotiation capabilities and acts as a source (such as a simple charger), +5V will continue to be put out by the PinePhone or PinePhone Pro at the same time as the source is putting out +5V. This means that, for example, a charger plugged into the phone while the keyboard is connected may result in some unintended behavior.<!--Citation and clarification needed, as well as future links for when people inevitably fry their phones by plugging the charger into the wrong spot ;)--><br />
<br />
In the case of the original PinePhone, this can be fixed by Pine64 by having the VBUS pin on the keyboard instead connect to the Allwinner A64's second power input, similar to how it's handled on the [[PineTab]]. However, the RK3399S used on the PinePhone Pro does not have this feature, which means it may not be as easily fixable on the it.<!--Citation needed--></div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12161User:EnthusiasticGeek/Keyboard Case2022-01-03T03:39:02Z<p>EnthusiasticGeek: More information and organization</p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples<!--¹--> the phone's 3000 mAh battery life.<br />
<!--¹ See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information.--><br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
* The SDA and SCL pins are connected to the PinePhone or PinePhone Pro's I2C bus. This is how the phone and keyboard communincate.<br />
* VBUS connects to the USB +5V line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information<br />
* The VBAT pin connects to the battery. This powers the keyboard if it is out of power<!--Citation Needed-->.<br />
* INT is a pin that's used for interrupts. In the case of the preinstalled firmware <!--add link to firmware page-->, it is used so the phone can request key presses from the keyboard.<!--Citation Needed--><br />
<!--I'm pretty sure that INT is just a regular GPIO pin on both the keyboard and PinePhone (Pro), but I'm not sure right now...--><br />
<br />
=== Charging Information ===<br />
In most schematics, including the PinePhone and PinePhone Pro, the usually +5V coming from the usb connector is named VBUS. This voltage is fed into the System-On-a-Chip in the PinePhone (Allwinner A64) or PinePhone Pro (RK3399S). The SOC then manages this voltage and charges the battery.<!--Citation and clarification needed--><br />
<br />
The VBUS rail is also accessed through one of the pogo pins on the back of the phone. This is what the keyboard uses to charge the phone. The output of the IP5209 chip<!--explain "the output" better--> is connected to the VBUS rail through this pogo pin, which charges the phone. This makes the keyboard act as a USB charger with only +5V and GND connected, which charges the phone.<br />
<br />
==== Problems with Charging Implimentation ====<br />
The way in which the PinePhone and PinePhone Pro can charge with the keyboard breaks the USB-C spec. If the phone and connected device negotiates that ths phone shall be the sink, or if the connected device does not have any negotiation capabilities but acts as a source, +5V will still be put out by the PinePhone or PinePhone Pro. This means that, for example, a charger plugged into the phone while the keyboard is connected may result in some unintended behaviors.<!--Citation and clarification needed, as well as future links for when people inevitably fry their phones by plugging the charger into the wrong spot ;)--> In the case of the original PinePhone, this is fixable by having the VBUS pin instead connect to the Allwinenr A64's second power input, similar to how it's handled on the [[PineTab]]. However, the RK3399S does not have this feature.<!--Citation needed--></div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12160User:EnthusiasticGeek/Keyboard Case2022-01-03T02:46:52Z<p>EnthusiasticGeek: </p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples<!--¹--> the phone's 3000 mAh battery life.<br />
<!--¹ See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information.--><br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
The SDA and SCL pins belong to the I2C Bus.<br />
<br />
VBUS connects to the USB +5V line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information<br />
<br />
<br />
The VBAT pin connects to the battery. This powers the keyboard if it is out of power<!--Citation Needed-->.<br />
<br />
INT is a pin that's used for interrupts. In this case, it is used so the phone can request key presses from the keyboard.<!--Citation Needed-->.<br />
<!--I'm pretty sure that INT is just a regular GPIO pin, but I'm not sure right now...--><br />
<br />
=== Charging Information ===<br />
In most schematics, including the PinePhone and PinePhone Pro, the usually +5V coming from the usb connector is named VBUS. This voltage is fed into the System-On-a-Chip in the PinePhone (Allwinner A64) or PinePhone Pro (RK3399S). The SOC then manages this voltage and charges the battery.<!--Citation and clarification needed--><br />
<br />
The VBUS rail is also accessed through one of the pogo pins on the back of the phone. This is what the keyboard uses to charge the phone. The output of the IP5209 chip<!--explain "the output" better--> is connected to the VBUS rail through this pogo pin, which charges the phone. This makes the keyboard act as a USB charger with only +5V and GND connected, which charges the phone.<br />
<br />
This breaks the USB-C spec, as even if the phone and connected device negotiates that ths phone shall be the sink, +5V will still be put out by the PinePhone or PinePhone Pro. This means that a charger plugged into the phone while the keyboard is connected may result in some unintended behaviors.<!--Citation and clarification needed, as well as future links for when people inevitably fry their phones by plugging the charger into the wrong spot ;)--><br />
<br />
This also means that, although the phone is connected</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12159User:EnthusiasticGeek/Keyboard Case2022-01-03T02:46:10Z<p>EnthusiasticGeek: More info</p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples<!--¹--> the phone's 3000 mAh battery life.<br />
<br />
<!--¹ See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information.--><br />
<br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
The SDA and SCL pins belong to the I2C Bus.<br />
<br />
VBUS connects to the USB +5V line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information<br />
<br />
<br />
The VBAT pin connects to the battery. This powers the keyboard if it is out of power<!--Citation Needed-->.<br />
<br />
INT is a pin that's used for interrupts. In this case, it is used so the phone can request key presses from the keyboard.<!--Citation Needed-->.<br />
<!--I'm pretty sure that INT is just a regular GPIO pin, but I'm not sure right now...--><br />
<br />
=== Charging Information ===<br />
In most schematics, including the PinePhone and PinePhone Pro, the usually +5V coming from the usb connector is named VBUS. This voltage is fed into the System-On-a-Chip in the PinePhone (Allwinner A64) or PinePhone Pro (RK3399S). The SOC then manages this voltage and charges the battery.<!--Citation and clarification needed--><br />
<br />
The VBUS rail is also accessed through one of the pogo pins on the back of the phone. This is what the keyboard uses to charge the phone. The output of the IP5209 chip<!--explain "the output" better--> is connected to the VBUS rail through this pogo pin, which charges the phone. This makes the keyboard act as a USB charger with only +5V and GND connected, which charges the phone.<br />
<br />
This breaks the USB-C spec, as even if the phone and connected device negotiates that ths phone shall be the sink, +5V will still be put out by the PinePhone or PinePhone Pro. This means that a charger plugged into the phone while the keyboard is connected may result in some unintended behaviors.<!--Citation and clarification needed, as well as future links for when people inevitably fry their phones by plugging the charger into the wrong spot ;)--><br />
<br />
This also means that, although the phone is connected</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Multicase&diff=12158User:EnthusiasticGeek/Multicase2022-01-03T02:19:38Z<p>EnthusiasticGeek: Change to template</p>
<hr />
<div>{{Template:Warning|I don't recommend you replicate this project unless you know what you're doing! I almost guarentee you will experience some undocumented behavior!}}</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12157User:EnthusiasticGeek/Keyboard Case2022-01-03T02:18:05Z<p>EnthusiasticGeek: </p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples¹ the phone's 3000 mAh battery life.<br />
<br />
¹ See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information.<br />
<br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
The SDA and SCL pins belong to the I2C Bus. <br /><br />
<!-- I need to say something better than "the output of" here. --><br />
VBUS connects to the charging line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information.<br /><br />
The VBAT pin connects to the battery. This powers the keyboard if it is out of power<!--Citation Needed-->.<br /><br />
INT is a pin that's used for interrupts. In this case, it is used so the phone can request key presses from the keyboard<!--Citation Needed-->.<br />
<br />
<br />
=== Charging Information ===<br />
The output of the IP5209 is connected to the VBUS pin.</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12156User:EnthusiasticGeek/Keyboard Case2022-01-03T00:12:53Z<p>EnthusiasticGeek: Added some initial information</p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
<!-- Add image --><br />
<br />
This Keyboard Case is a case for the [[PinePhone]] and [[PinePhone Pro]]. As the name implies, it adds a keyboard to the phones. It also has a 6000 mAh battery that essentially tripples¹ the phone's 3000 mAh battery life.<br />
<br />
¹ See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information.<br />
<br />
= Connectivity =<br />
The Keyboard Case has six pins that connect it to the PinePhone or PinePhone Pro.<br />
<!-- Image with labels for the pins here here --><br />
<nowiki><br />
INT SDA SCL<br />
VBUS VBAT GND</nowiki><br />
<br />
The SDA and SCL pins belong to the I2C Bus. <br /><br />
<!-- I need to say something better than "the output of" here. --><br />
VBUS connects to the charging line. See [[User:EnthusiasticGeek/Keyboard_Case#Charging Information|Charging Information]] for more information.<br />
The VBAT pin connects to the battery. This powers the keyboard if it is out of power<!--Citation Needed-->.<br />
INT is a pin that's used for interrupts. In this case, it is used so the phone can request key presses from the keyboard<!--Citation Needed-->.<br />
<br />
<br />
=== Charging Information ===<br />
The output of the IP5209 is connected to the VBUS pin.</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek&diff=12155User:EnthusiasticGeek2022-01-02T23:17:13Z<p>EnthusiasticGeek: </p>
<hr />
<div>{{Template:note|Although I'll try my best to write accurate information from reliable sources, I would not recommend following information here unless you really know what you're doing!}}<br />
<br />
<br />
My personal documentations on various¹ Pine64 devices and the like can be found below:<br />
<br />
= Device Info =<br />
<br />
==PinePhone (Pro) Cases==<br />
[[User:EnthusiasticGeek/Keyboard_Case]]<br /><br />
[[User:EnthusiasticGeek/PineDIO_Case]]<br /><br />
[[User:EnthusiasticGeek/Fingerprint_Sensor_Case]]<br /><br />
[[User:EnthusiasticGeek/Wireless_Charging_Case]]<br /><br />
<br />
= Projects =<br />
<br />
==The Multicase==<br />
[[User:EnthusiasticGeek/Multicase]]</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek&diff=12154User:EnthusiasticGeek2022-01-02T18:59:21Z<p>EnthusiasticGeek: Make this section encompass all PinePhone (Pro) cases</p>
<hr />
<div>{{Template:note|Although I'll try my best to write accurate information from reliable sources, I would not recommend following information here unless you really know what you're doing!}}<br />
<br />
<br />
My personal documentations on various¹ Pine64 devices and the like can be found below:<br />
<br />
= Device Info =<br />
<br />
==PinePhone (Pro) Cases==<br />
[[User:EnthusiasticGeek/Keyboard_Case]]<br />
[[User:EnthusiasticGeek/PineDIO_Case]]<br />
[[User:EnthusiasticGeek/Fingerprint_Sensor_Case]]<br />
[[User:EnthusiasticGeek/Wireless_Charging_Case]]<br />
<br />
= Projects =<br />
<br />
==The Multicase==<br />
[[User:EnthusiasticGeek/Multicase]]</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Multicase&diff=12153User:EnthusiasticGeek/Multicase2022-01-02T18:56:20Z<p>EnthusiasticGeek: Page Creation</p>
<hr />
<div>{{Template:Note|I really don't recommend you do this! I almost guarentee you will experience some undocumented behavior!}}</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek&diff=12152User:EnthusiasticGeek2022-01-02T18:28:54Z<p>EnthusiasticGeek: Added a warning</p>
<hr />
<div>{{Template:note|Although I'll try my best to write accurate information from reliable sources, I would not recommend following information here unless you really know what you're doing!}}<br />
<br />
<br />
My personal documentations on various¹ Pine64 devices and the like can be found below:<br />
<br />
= Device Info =<br />
<br />
==PinePhone (Pro) Keyboard==<br />
[[User:EnthusiasticGeek/Keyboard_Case]]<br />
<br />
= Projects =<br />
<br />
==The Multicase==<br />
[[User:EnthusiasticGeek/Multicase]]</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek&diff=12151User:EnthusiasticGeek2022-01-02T18:03:16Z<p>EnthusiasticGeek: Added a tad of information</p>
<hr />
<div>More info here<br />
<br />
My personal documentations on various¹ Pine64 devices and the like can be found below:<br />
[[User:EnthusiasticGeek/Keyboard_Case]]<br />
<br />
¹ Well, not various yet.</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12149User:EnthusiasticGeek/Keyboard Case2022-01-02T17:59:07Z<p>EnthusiasticGeek: </p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard]]. The name of that will change -- oops.}}<br />
<br />
This will be a draft for the keyboard case in a few hours</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12148User:EnthusiasticGeek/Keyboard Case2022-01-02T17:58:50Z<p>EnthusiasticGeek: </p>
<hr />
<div>{{Template:note|So far, these are my personal observations of the [[PinePhone Keyboard Case]]. The name of that will change -- oops.}}<br />
<br />
This will be a draft for the keyboard case in a few hours</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek/Keyboard_Case&diff=12147User:EnthusiasticGeek/Keyboard Case2022-01-02T17:47:40Z<p>EnthusiasticGeek: Page Creation</p>
<hr />
<div>This will be a draft for the keyboard case in a few hours</div>EnthusiasticGeekhttps://wiki.pine64.org/index.php?title=User:EnthusiasticGeek&diff=12146User:EnthusiasticGeek2022-01-02T17:46:29Z<p>EnthusiasticGeek: Page Creation</p>
<hr />
<div>More info here<br />
<br />
Link to drafts here</div>EnthusiasticGeek