WII U RASPBERRY PI 3 FINISHED
Re: WII U RASPBERRY PI 3 FINISHED
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.
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.
- banjokazooie
- Posts: 211
- Joined: Thu May 19, 2016 1:14 pm
- Location: Usa
- Been thanked: 171 times
- Contact:
Re: WII U RASPBERRY PI 3 FINISHED
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 wrote: ↑Wed Feb 21, 2018 2:48 amIf 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.
Re: WII U RASPBERRY PI 3 FINISHED
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
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
Re: WII U RASPBERRY PI 3 FINISHED
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
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
- banjokazooie
- Posts: 211
- Joined: Thu May 19, 2016 1:14 pm
- Location: Usa
- Been thanked: 171 times
- Contact:
Re: WII U RASPBERRY PI 3 FINISHED
Here is an easy tutorial how to make simple voltage monitor with sample codephdirnou wrote: ↑Thu Feb 22, 2018 2:00 amThank 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
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);
}
Re: WII U RASPBERRY PI 3 FINISHED
Thank you very much for you response.banjokazooie wrote: ↑Fri Feb 23, 2018 2:13 pmHere is an easy tutorial how to make simple voltage monitor with sample codephdirnou wrote: ↑Thu Feb 22, 2018 2:00 amThank 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
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 LEDCode: Select all
if (analogRead(A0) < 624) { digitalWrite(Pin_LED, HIGH); } else { digitalWrite(Pin_LED, LOW); }
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:
- banjokazooie
- Posts: 211
- Joined: Thu May 19, 2016 1:14 pm
- Location: Usa
- Been thanked: 171 times
- Contact:
Re: WII U RASPBERRY PI 3 FINISHED
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 wrote: ↑Tue Feb 27, 2018 3:27 amThank you very much for you response.banjokazooie wrote: ↑Fri Feb 23, 2018 2:13 pmHere is an easy tutorial how to make simple voltage monitor with sample codephdirnou wrote: ↑Thu Feb 22, 2018 2:00 amThank 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
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 LEDCode: Select all
if (analogRead(A0) < 624) { digitalWrite(Pin_LED, HIGH); } else { digitalWrite(Pin_LED, LOW); }
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
Re: WII U RASPBERRY PI 3 FINISHED
Perfectbanjokazooie wrote: ↑Tue Feb 27, 2018 4:06 pmNo 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 wrote: ↑Tue Feb 27, 2018 3:27 amThank you very much for you response.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 LEDCode: Select all
if (analogRead(A0) < 624) { digitalWrite(Pin_LED, HIGH); } else { digitalWrite(Pin_LED, LOW); }
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

I made a new drawing: What do you think banjoo? Is it possible to build it something more elegant?
Thank you very much
- banjokazooie
- Posts: 211
- Joined: Thu May 19, 2016 1:14 pm
- Location: Usa
- Been thanked: 171 times
- Contact:
Re: WII U RASPBERRY PI 3 FINISHED
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!
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!
Link: Downmix your GBZs sound to mono or you're missing half the fidelity!
Who is online
Users browsing this forum: Google [Bot] and 1 guest