# Teensy 3.2 + Propshield lightsaberbuild

**URL:** <https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998>\
**Category:** ProffieOS\
**Created:** [November 18, 2021, 12:48am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998 "2021-11-18T00:48:37Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 1:50am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/41 "2021-11-20T01:50:23Z")

</div>

would this work like this? now where should I place the 10K resistor?  
I took the pin nr. from the teensy layout.

 ![Teensy Schaltplan.HEIC](https://crucible.hubbe.net/uploads/default/original/2X/c/c5a6597f978efccc43abc89942231b788f162cd9.jpeg)

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 2:15am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/42 "2021-11-20T02:15:33Z")

</div>

And I want to glue the LED strips back to back and just solder the ends together and at the beginning (the arrows on both sides facing to the tip of the blade) soldering the 5V/GND/Din together in one wire right?

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [November 20, 2021, 3:01am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/43 "2021-11-20T03:01:43Z")

</div>

What is this battery you’re using that’s supplying 5v?

Side note, unrelated…  
Might be just me, but I see that board as the cyclops version of a Proffieboard 1.5.  
Or like these guys:  
 ![Screen Shot 2021-11-19 at 10.04.37 PM](https://crucible.hubbe.net/uploads/default/original/2X/2/23f17e1e5e814261be4748157b7785d9df126959.jpeg)

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [November 20, 2021, 6:16am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/44 "2021-11-20T06:16:18Z")

</div>

> [@Somnium](#):
>
> would this work like this? now where should I place the 10K resistor?

the resistor would go between pin 14 and positive (after the kill switch)

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 11:07am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/45 "2021-11-20T11:07:47Z")

</div>

i know its not a good drawing xD  
my battery would power 4.5V only on the breadboard I got exactly 5V

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 11:10am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/46 "2021-11-20T11:10:16Z")

</div>

ok but why pin 14 is it a extra pin where it will measure it?

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 11:17am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/47 "2021-11-20T11:17:33Z")

</div>

[mysaber\_config.h](https://crucible.hubbe.net/uploads/short-url/wdfrlwXyLkgLxA6qBOMm3cPJF5f.h) (1.5 KB)

Mehrere Bibliotheken wurden für “SD.h” gefunden  
Benutzt: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD  
Nicht benutzt: /Applications/Teensyduino.app/Contents/Java/libraries/SD

In file included from /Volumes/Somnium Craft/Teensy/ProffieOS/ProffieOS.ino:348:0:  
/Volumes/Somnium Craft/Teensy/ProffieOS/common/battery\_monitor.h: In member function ‘float BatteryMonitor::battery\_now()’:  
/Volumes/Somnium Craft/Teensy/ProffieOS/common/battery\_monitor.h:135:20: error: ‘BATTERY\_PULLUP\_OHMS’ was not declared in this scope  
float pullup = BATTERY\_PULLUP\_OHMS // External pullup  
^

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 12:53pm UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/48 "2021-11-20T12:53:42Z")

</div>

i don’t know how to edit posts don’t see an option here.  
can I do it like that or how does the teensy know it needs to light up both led strips at the same time?

> [@Somnium](#):
>
> And I want to glue the LED strips back to back and just solder the ends together and at the beginning (the arrows on both sides facing to the tip of the blade) soldering the 5V/GND/Din together in one wire right?

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [November 20, 2021, 5:19pm UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/49 "2021-11-20T17:19:16Z")

</div>

Both would get lit because they get wired in parallel. Same power and data to both at the same point (beginning of data path, bottom of the strips.)

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [November 20, 2021, 5:59pm UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/50 "2021-11-20T17:59:04Z")

</div>

It could be a different pin, but then you would need to change the v1\_config.h file to make sure that ProffieOS knows which pin it is.

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 9:23pm UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/51 "2021-11-20T21:23:37Z")

</div>

good so this will work! but I need to set the nr of leds per strip to 60 because I got a 1m blade and the strip got 60 led per m. is that right?

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 9:25pm UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/52 "2021-11-20T21:25:07Z")

</div>

ok so i will leave it like that!  
but what’s up with that other error I get? with the SD.h file?

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [November 20, 2021, 11:37pm UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/53 "2021-11-20T23:37:38Z")

</div>

> [@Somnium](#):
>
> what’s up with that other error I get? with the SD.h file?

What’s it say above `Mehrere Bibliotheken wurden für “SD.h” gefunden Benutzt:` ?  
Seems like maybe you didn’t include the correct board’s config

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 20, 2021, 11:44pm UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/54 "2021-11-20T23:44:13Z")

</div>

It says „several libraries for SD were found“  
It seems like it wants infos for the sd card but i took that out and changed it to serial flash bc i have no sd card slot

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [November 20, 2021, 11:55pm UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/55 "2021-11-20T23:55:50Z")

</div>

yeah but before that part, is there more error? Maybe something like `#error Please select Teensy from Tools->Board` or butterfly or something. Never uploaded to a Teensy before so I;m not sure what the message is.  
Don’t you need to have a whole Teensyduino Add-on package installed and stuff?

^

---

<div class="post-metadata">

**Author:** ![Driftrotor](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/driftrotor/32/379_2.png) [@Driftrotor](https://crucible.hubbe.net/u/Driftrotor)\
**Post date:** [November 21, 2021, 12:29am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/56 "2021-11-21T00:29:34Z")

</div>

> [@Somnium](#):
>
> good so this will work! but I need to set the nr of leds per strip to 60 because I got a 1m blade and the strip got 60 led per m. is that right?

This might not look very good when you’ve finished building your blade.  
You will probably have noticeable bright and dark points along the blade.  
We run 144 leds / M minimum, sometimes more if you wallet allows.  
After you’ve shortened it a bit to about 36 inch (1m is a huge blade)  
You’ll have something like about 122 leds.

And yes the number of pixels is normally defined in the config but I’ve not played with teensy so would need someone who has to confirm.

---

<div class="post-metadata">

**Author:** ![Driftrotor](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/driftrotor/32/379_2.png) [@Driftrotor](https://crucible.hubbe.net/u/Driftrotor)\
**Post date:** [November 21, 2021, 12:32am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/57 "2021-11-21T00:32:44Z")

</div>

Here is a link what I used for my blades.

> **[WS2812B Led Pixel Strip 30/60/74/96/100/144 pixels/leds/m](https://www.btf-lighting.com/collections/pixels-led-strip-1/products/ws2812b-led-pixel-strip-30-60-74-96-100-144-pixels-leds-m?variant=25586938511460)**
>
> Shipping Policy  Notice: Customers should take care of the clearance and customs duties. Note:  The price is only Led Strip, Not Included Power Supply or Led Controller!   WS2812B Must Use DC5V Power Supply AND Led Controller to...

Make sure to select 144 pixels per meter.  
They are having a good sale on too.

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 21, 2021, 12:50am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/58 "2021-11-21T00:50:12Z")

</div>

Ok my leds are also WS2812B  
So my tube is 1m how long is a normal lightsaber i readed something between 80-86cm?

---

<div class="post-metadata">

**Author:** ![Somnium](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@Somnium](https://crucible.hubbe.net/u/Somnium)\
**Post date:** [November 21, 2021, 12:52am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/59 "2021-11-21T00:52:48Z")

</div>

Im curently not at my pc but i remember it says something about teensyduino\>tools\>library \> java \> sd

---

<div class="post-metadata">

**Author:** ![Driftrotor](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/driftrotor/32/379_2.png) [@Driftrotor](https://crucible.hubbe.net/u/Driftrotor)\
**Post date:** [November 21, 2021, 1:11am UTC](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998/60 "2021-11-21T01:11:51Z")

</div>

> [@Somnium](#):
>
> Ok my leds are also WS2812B  
> So my tube is 1m how long is a normal lightsaber i readed something between 80-86cm?

this is correct, 80 - 86cm is about the right length.

> [@Somnium](#):
>
> the strip got 60 led per m. is that right?

this is the bit im a bit worried about for you.  
the distance between the pixels at 60 / M is very large and would probably not look very good when assembled.  
as we only have a very short space to diffuse the light from the pixels.  
the distance between the pixels at 144 / M is much smaller and therefore gives a more uniform light output and also helps with the affects we like to have.  
quick link for you to see the difference in the gaps between the pixels.  
[30 vs 60 vs 90 vs 144 LEDs/m - quinled.info](https://quinled.info/2018/09/19/30-vs-60-vs-90-vs-144-leds-m/)

[Previous page](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998.md?page=2)

[Next page](https://crucible.hubbe.net/t/teensy-3-2-propshield-lightsaberbuild/998.md?page=4)
