Raspberry Zero i2s audio and TP4056 charger
Posted: Mon Apr 08, 2019 8:26 am
Hello everyone,
I am new into Raspberry world (electronics to be true), I am planning to make a little game console for myself and ordered few parts from Ali express, and right now I am waiting for the parts to be delivered. Following a list of parts which I ordered:
1. A Spotpear 1.54 LCD game hat, https://www.aliexpress.com/item/Raspber ... 16666.html
2. A TP4056 battery charging board, https://www.aliexpress.com/item/TP4056- ... 87739.html
3. A MAX98357 i2s amp board, https://www.aliexpress.com/item/MAX9835 ... 38393.html
4. A LiPO 1000mAh battery and a toy speaker (8ohm, 0.5 watt)
Now I am confused about the charging board connection and amplifier board connection. Let me explain my concerns:
If you see the charging board which I have ordered there's BAT+, BAT- and IN+ and IN- and this got me confused if the battery connections will go in BAT+/BAT- or IN+/IN- if anyone can help me that will be great.
Okay, I got this part. Battery connection will go in BAT+ and BAT-. IN+ and IN- are there for input connection from a charger or charging power source, right?
The second confusion is regarding the amp board connection. Here's the schematic for the game hat
https://ae01.alicdn.com/kf/HTB1LKwxP4na ... C2VXas.png
On the adafruit link here, https://learn.adafruit.com/adafruit-max ... -pi-wiring
They mentioned to connect as below:
Amp Vin to Raspbery Pi 5V
Amp GND to Raspbery Pi GND
Amp DIN to Raspbery Pi #21
Amp BCLK to Raspbery Pi #18
Amp LRCLK to Raspbery Pi #19
Now this again got me confused, if these are just header pin number or BCM pin number? And because I am new to electronics, the schematic of game hat is also not clear to me, if the pins for i2s amp is free to use, or they are already used by game hat.
If they are used by game hat, is there any other way to connect the amp?
I am new into Raspberry world (electronics to be true), I am planning to make a little game console for myself and ordered few parts from Ali express, and right now I am waiting for the parts to be delivered. Following a list of parts which I ordered:
1. A Spotpear 1.54 LCD game hat, https://www.aliexpress.com/item/Raspber ... 16666.html
2. A TP4056 battery charging board, https://www.aliexpress.com/item/TP4056- ... 87739.html
3. A MAX98357 i2s amp board, https://www.aliexpress.com/item/MAX9835 ... 38393.html
4. A LiPO 1000mAh battery and a toy speaker (8ohm, 0.5 watt)
Now I am confused about the charging board connection and amplifier board connection. Let me explain my concerns:
If you see the charging board which I have ordered there's BAT+, BAT- and IN+ and IN- and this got me confused if the battery connections will go in BAT+/BAT- or IN+/IN- if anyone can help me that will be great.
Okay, I got this part. Battery connection will go in BAT+ and BAT-. IN+ and IN- are there for input connection from a charger or charging power source, right?
The second confusion is regarding the amp board connection. Here's the schematic for the game hat
https://ae01.alicdn.com/kf/HTB1LKwxP4na ... C2VXas.png
On the adafruit link here, https://learn.adafruit.com/adafruit-max ... -pi-wiring
They mentioned to connect as below:
Amp Vin to Raspbery Pi 5V
Amp GND to Raspbery Pi GND
Amp DIN to Raspbery Pi #21
Amp BCLK to Raspbery Pi #18
Amp LRCLK to Raspbery Pi #19
Now this again got me confused, if these are just header pin number or BCM pin number? And because I am new to electronics, the schematic of game hat is also not clear to me, if the pins for i2s amp is free to use, or they are already used by game hat.
If they are used by game hat, is there any other way to connect the amp?