WII U RASPBERRY PI 3 FINISHED

Want to show off your own project? Want to keep a build log of it? Post it here!
phdirnou
Posts: 7
Joined: Thu Oct 26, 2017 6:22 am

Re: WII U RASPBERRY PI 3 FINISHED

Post by phdirnou » Wed Feb 21, 2018 2:48 am

If I am right you don't need so big resistors. Of course it depends on which LED you want to use.

Here is how I understood it:
The LEDs on the Home bord PCB get their power from the Teensy. The Teensy outpouts 5V. So if you use Ohm's Law then you get this:

For a blue LED with 3,2 V and 30mA:
R=U/I
R=(5V - 3,2V)/0,030(30mA)
R=60Ω

And for a red LED with 2,15 V and 30mA:
R=(5V - 2,15)/0,030
R=95Ω

I hope I understood it right. If not than please correct me.

User avatar
banjokazooie
Posts: 211
Joined: Thu May 19, 2016 1:14 pm
Location: https://t.me/pump_upp
Been thanked: 171 times
Contact:

Re: WII U RASPBERRY PI 3 FINISHED

Post by banjokazooie » Wed Feb 21, 2018 3:14 pm

phdirnou wrote:
Wed Feb 21, 2018 2:48 am
If I am right you don't need so big resistors. Of course it depends on which LED you want to use.

Here is how I understood it:
The LEDs on the Home bord PCB get their power from the Teensy. The Teensy outpouts 5V. So if you use Ohm's Law then you get this:

For a blue LED with 3,2 V and 30mA:
R=U/I
R=(5V - 3,2V)/0,030(30mA)
R=60Ω

And for a red LED with 2,15 V and 30mA:
R=(5V - 2,15)/0,030
R=95Ω

I hope I understood it right. If not than please correct me.
It is not about the current through the led`s. The teensy spec is 20mA driving current per pin recommended. So try not to go over this value.

phdirnou
Posts: 7
Joined: Thu Oct 26, 2017 6:22 am

Re: WII U RASPBERRY PI 3 FINISHED

Post by phdirnou » Thu Feb 22, 2018 2:00 am

Thank you banjo!
Than we need for a blue LED a 90Ω resistor and for the red LED a 150Ω resistor.

Can you please explain us how we can monitor the current battery capacity and output this via the LEDs?(e.g. red LED=critical battery status)
A code sample and a wiring diagram could be helpful.
Thanks a lot

lordalex
Posts: 4
Joined: Wed Oct 12, 2016 10:09 am

Re: WII U RASPBERRY PI 3 FINISHED

Post by lordalex » Thu Feb 22, 2018 7:05 pm

Hey Guys, i just started my project and need some help with teensy / retorpie button recognition.

i connected all the buttons via fpc connector / board with the teensy. I tested the connection with my multimeter and the resistance from the left shoulder button is too high (72) and i dont get the accustic signal.
Other problem is, that 2 more buttons have a connection, the accustic signal is there, but no button recognition within retropie / teensy on windows.

Is there a way to reduce the resistance if the button is pressed? Or reduce the recognition if button is pressed or not?

Appreciate your help

User avatar
banjokazooie
Posts: 211
Joined: Thu May 19, 2016 1:14 pm
Location: https://t.me/pump_upp
Been thanked: 171 times
Contact:

Re: WII U RASPBERRY PI 3 FINISHED

Post by banjokazooie » Fri Feb 23, 2018 2:13 pm

phdirnou wrote:
Thu Feb 22, 2018 2:00 am
Thank you banjo!
Than we need for a blue LED a 90Ω resistor and for the red LED a 150Ω resistor.

Can you please explain us how we can monitor the current battery capacity and output this via the LEDs?(e.g. red LED=critical battery status)
A code sample and a wiring diagram could be helpful.
Thanks a lot
Here is an easy tutorial how to make simple voltage monitor with sample code
http://www.instructables.com/id/Arduino-Voltmeter/

And code for status led just reads the value from analog input so you can set up different thresholds and light up an LED

Code: Select all

	if (analogRead(A0) < 624)
    {
    digitalWrite(Pin_LED, HIGH);
    }
    else
    {
    digitalWrite(Pin_LED, LOW);
    }

phdirnou
Posts: 7
Joined: Thu Oct 26, 2017 6:22 am

Re: WII U RASPBERRY PI 3 FINISHED

Post by phdirnou » Tue Feb 27, 2018 3:27 am

banjokazooie wrote:
Fri Feb 23, 2018 2:13 pm
phdirnou wrote:
Thu Feb 22, 2018 2:00 am
Thank you banjo!
Than we need for a blue LED a 90Ω resistor and for the red LED a 150Ω resistor.

Can you please explain us how we can monitor the current battery capacity and output this via the LEDs?(e.g. red LED=critical battery status)
A code sample and a wiring diagram could be helpful.
Thanks a lot
Here is an easy tutorial how to make simple voltage monitor with sample code
http://www.instructables.com/id/Arduino-Voltmeter/

And code for status led just reads the value from analog input so you can set up different thresholds and light up an LED

Code: Select all

	if (analogRead(A0) < 624)
    {
    digitalWrite(Pin_LED, HIGH);
    }
    else
    {
    digitalWrite(Pin_LED, LOW);
    }
Thank you very much for you response.

Can I read the voltage directly from the step down converter? So I don't had to use a voltage divider. I draw a this for better understanding:
Picture1.jpg
Picture1.jpg (99.99 KiB) Viewed 6928 times

User avatar
banjokazooie
Posts: 211
Joined: Thu May 19, 2016 1:14 pm
Location: https://t.me/pump_upp
Been thanked: 171 times
Contact:

Re: WII U RASPBERRY PI 3 FINISHED

Post by banjokazooie » Tue Feb 27, 2018 4:06 pm

phdirnou wrote:
Tue Feb 27, 2018 3:27 am
banjokazooie wrote:
Fri Feb 23, 2018 2:13 pm
phdirnou wrote:
Thu Feb 22, 2018 2:00 am
Thank you banjo!
Than we need for a blue LED a 90Ω resistor and for the red LED a 150Ω resistor.

Can you please explain us how we can monitor the current battery capacity and output this via the LEDs?(e.g. red LED=critical battery status)
A code sample and a wiring diagram could be helpful.
Thanks a lot
Here is an easy tutorial how to make simple voltage monitor with sample code
http://www.instructables.com/id/Arduino-Voltmeter/

And code for status led just reads the value from analog input so you can set up different thresholds and light up an LED

Code: Select all

	if (analogRead(A0) < 624)
    {
    digitalWrite(Pin_LED, HIGH);
    }
    else
    {
    digitalWrite(Pin_LED, LOW);
    }
Thank you very much for you response.

Can I read the voltage directly from the step down converter? So I don't had to use a voltage divider. I draw a this for better understanding:
Picture1.jpg
No you have to read the voltage from battery. From step down you'll get always 5V so no point of doing it. Best place to read the voltage is on the output from the pololu switch - no battery draining when device is off.

phdirnou
Posts: 7
Joined: Thu Oct 26, 2017 6:22 am

Re: WII U RASPBERRY PI 3 FINISHED

Post by phdirnou » Wed Feb 28, 2018 2:29 am

banjokazooie wrote:
Tue Feb 27, 2018 4:06 pm
phdirnou wrote:
Tue Feb 27, 2018 3:27 am
banjokazooie wrote:
Fri Feb 23, 2018 2:13 pm


Here is an easy tutorial how to make simple voltage monitor with sample code
http://www.instructables.com/id/Arduino-Voltmeter/

And code for status led just reads the value from analog input so you can set up different thresholds and light up an LED

Code: Select all

	if (analogRead(A0) < 624)
    {
    digitalWrite(Pin_LED, HIGH);
    }
    else
    {
    digitalWrite(Pin_LED, LOW);
    }
Thank you very much for you response.

Can I read the voltage directly from the step down converter? So I don't had to use a voltage divider. I draw a this for better understanding:
Picture1.jpg
No you have to read the voltage from battery. From step down you'll get always 5V so no point of doing it. Best place to read the voltage is on the output from the pololu switch - no battery draining when device is off.
Perfect :)
I made a new drawing:
Picture (Device Independent Bitmap) 1.jpg
Picture (Device Independent Bitmap) 1.jpg (84.61 KiB) Viewed 6902 times
What do you think banjoo? Is it possible to build it something more elegant?

Thank you very much

User avatar
banjokazooie
Posts: 211
Joined: Thu May 19, 2016 1:14 pm
Location: https://t.me/pump_upp
Been thanked: 171 times
Contact:

Re: WII U RASPBERRY PI 3 FINISHED

Post by banjokazooie » Thu Mar 01, 2018 6:09 pm

Yep this will work

User avatar
Fredl
Posts: 96
Joined: Sat Jul 29, 2017 4:19 pm
Has thanked: 46 times
Been thanked: 22 times

Re: WII U RASPBERRY PI 3 FINISHED

Post by Fredl » Sat Mar 03, 2018 6:06 am

Hi, I'm doing this build as well and was wondering: Banjo used the Powerboost 1000 basic, which can deliver 2A at 3.7V. Would it be possible to use the Powerboost 1000C as well? The data sheet isn't really clear on the actual amps it will deliver, it just says 1000mA+...

Banjo stated the whole system draws 1.7A, so thats a big "+"...

Or alternatively, what kind of battery charging circuit can I use in combination with the 1000basic?
(All the ones I find are charger & DC-DC-step-up combined but limited to 1A...)

Thanks! :-)
I used to be an adventurer like you, but then I took an arrow in the knee :-O

Link: Downmix your GBZs sound to mono or you're missing half the fidelity!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest