# Bearboard - a Sangaboard alternative

**URL:** <https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670>\
**Category:** Contributions\
**Created:** [3 July 2024 06:50 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670 "2024-07-03T06:50:39Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![sigmaphi](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sigmaphi](https://openflexure.discourse.group/u/sigmaphi)\
**Post date:** [3 July 2024 06:50 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/1 "2024-07-03T06:50:39Z")

</div>

Hi,

as sangaboards are difficult to get in all countries I created a PCB to replace it. This is smaller and more reliable as the Dupont cabling of the self-made Sangebaord. It doas not have LEDs and resistors like the drivers you get with the motors so it needs less power and does not create light pollution. I aded a jumper to enable illumination control (on/off) by the arduino but I didn’t test that feature for now.

 ![Screenshot 2024-07-03 084504](https://global.discourse-cdn.com/free1/uploads/openflexure/original/2X/5/5d5891798b8887f3c68fe831cc545643872acc1d.png)

Beside the board you need:

1 Arduino Nano

2 JST PH2 Connector

1 USB-C to JST PH connector

3 JST XH5 Connector (\*)

2 Capacitors 100nF (\*)

2 IC ULN2003APG (\*)

1 3-Pin Jumper (\* , can also be replaced by a cable bridge)

\*) all component marked with star can be taken out of the driver boards shipt with the stepper motors.

You might use sockets for the IC and Arduino if you like.

The Borad was designed with KiCad. You can create Gerber-Files and sent it to a PCB- Manufacturer. Costs are around 6 USD for 5 boards including shipment. I have good experience with ELECROW in China ([Elecrow: PCB Prototype & Open Hardware For Makers](https://www.elecrow.com/referral-program/NzA0MTZqMnQ/)) but there are hundreds other available. Here is the list of the German [microcontroller.net](http://microcontroller.net) forum [Platinenhersteller – Mikrocontroller.net](https://www.mikrocontroller.net/articles/Platinenhersteller#Liste_der_Hersteller)

Known Bugs of Bearboard 1.0 (Bruno) (no functional impact)

- Typo: “waranty” one r is missing
- The two IC are not aligned on the same grit line – no impact but dos not looks so good
- The footprint for the capacitors is a little bit narrow so you have to bend the contracts a little bit  
 ![IMG_20240702_193437](https://global.discourse-cdn.com/free1/uploads/openflexure/original/2X/8/834f0968347a016fb35a499ed9177225d148f35f.jpeg)  
 ![Screenshot 2024-07-03 084318](https://global.discourse-cdn.com/free1/uploads/openflexure/original/2X/e/e485811043173c75f627c2f257ea00ef83d9863b.png)  
 ![Screenshot 2024-07-03 084358](https://global.discourse-cdn.com/free1/uploads/openflexure/original/2X/b/b28a8083d3c247af9e4481b10fe8dab95f783355.png)

---

<div class="post-metadata">

**Author:** ![WilliamW](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/williamw/32/106_2.png) [@WilliamW](https://openflexure.discourse.group/u/WilliamW)\
**Post date:** [3 July 2024 08:06 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/2 "2024-07-03T08:06:03Z")

</div>

That can be a very neat solution. Sangaboard started out that way on [version 0.2](https://kitspace.org/boards/github.com/rwb27/openflexure_nano_motor_controller/). Unfortunately that page seems to be undiscoverable because it does not call it a Sangaboard.

I had not thought about desoldering the connectors from the supplied boards, they can be hard to get otherwise.

Where are the design files located?

---

<div class="post-metadata">

**Author:** ![sigmaphi](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sigmaphi](https://openflexure.discourse.group/u/sigmaphi)\
**Post date:** [3 July 2024 08:25 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/3 "2024-07-03T08:25:09Z")

</div>

I’m using Github

> **[GitHub - spuelm/OFMBearBoard](https://github.com/spuelm/OFMBearBoard)**
>
> Contribute to spuelm/OFMBearBoard development by creating an account on GitHub.

About the Connectors you can find them at aliexpress  
search for “JST XH 5 pin”  
The Power connector I use for LED and Power supply you get with  
“JST PH 2 pin”  
To connect the Board to an USB power supply I use a " 3A 2-pin USB socket" from Amazon

> **[20 STK 3A 2-Polige USB-Buchse, USB Einbaubuchse, 2 Draht USB C Buchse Mit...](https://www.amazon.de/2-Polige-USB-Buchse-Einbaubuchse-Schreibtisch-Haushaltsger%C3%A4te-Schwarz/dp/B0CNKKR683)**
>
> Produkteigenschaften Material: PVC Typ: USB-Einbaubuchse Name: 3A 2-polige USB-Buchse Lieferumfang: 20 Stk 3a 2-polige USB-Buchse Eigenschaften von 20 Stk 3a 2-poligen USB-Buchsen 1. Die USB-C-Einbaubuchse mit Kabel verfügt über Kupferkontaktstifte...

---

<div class="post-metadata">

**Author:** ![filip.ayazi](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@filip.ayazi](https://openflexure.discourse.group/u/filip.ayazi)\
**Post date:** [3 July 2024 19:08 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/4 "2024-07-03T19:08:18Z")

</div>

Nice work! This is indeed similar to the original 0.2 version, in practice for most people ordering the board from a manufacturer and soldering all the components was too much work compared to a breadboard and wires solution, so I don’t think many of those were made (but there were fewer OFM users back then).

Note that Sangaboard v0.5 is now available for purchase (with shipping to most countries), e.g. from [taulab.eu](https://taulab.eu) (excuse the shameless plug)

---

<div class="post-metadata">

**Author:** ![sigmaphi](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sigmaphi](https://openflexure.discourse.group/u/sigmaphi)\
**Post date:** [4 July 2024 20:27 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/5 "2024-07-04T20:27:24Z")

</div>

This is right but a £40.80 at taulab costs 40 pound which is 50 USD plus shipment. This is compared to my solution extremly expensive.  
I

---

<div class="post-metadata">

**Author:** ![filip.ayazi](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@filip.ayazi](https://openflexure.discourse.group/u/filip.ayazi)\
**Post date:** [5 July 2024 09:43 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/6 "2024-07-05T09:43:21Z")

</div>

It should be 28GBP+shipping+tax for the Sangaboard. It’s true that if you only get the PCB, use a nano clone and assemble it yourself and have a second power supply it will definitely be cheaper, it’s more of a convenience option and extra features.

Btw if you want to use the new firmware rewrite it supports building it for the Nano (you might need to adjust the wiring configuration). The main advantage from user point of view is the ability to abort moves (for now through the Sangaboard extension, in the next software version this will be built in).

---

<div class="post-metadata">

**Author:** ![j.stirling](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/j.stirling/32/3_2.png) [@j.stirling](https://openflexure.discourse.group/u/j.stirling)\
**Post date:** [6 July 2024 22:03 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/7 "2024-07-06T22:03:59Z")

</div>

This is really nice. I certainly so see the parallels with early Sangaboards, I suppose the key of any availability/cost argument is if someone like me who is too terrified to muddle through the PCB purchasing interface is able to get one (without many questions about silk screens and other scary terms).

@sigmaphi how much does 1 board cost if you know how to put it into JLPCB or the like (parts soldered by them), and would you be prepared to sell a populated one for people who are uncomfortable with the ordering and/or soldering process?

---

<div class="post-metadata">

**Author:** ![sigmaphi](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sigmaphi](https://openflexure.discourse.group/u/sigmaphi)\
**Post date:** [10 July 2024 06:31 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/8 "2024-07-10T06:31:24Z")

</div>

I’l find out and come back after my Holidays.10 “empty” boards without solded parts cost 6 USD (shipment included) at Elecrow ([Elecrow: PCB Prototype & Open Hardware For Makers](https://www.elecrow.com/referral-program/NzA0MTZqMnQ/)). You can simply upload the gerber.zip from the latest release and stay with the default settings.

---

<div class="post-metadata">

**Author:** ![j.stirling](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/j.stirling/32/3_2.png) [@j.stirling](https://openflexure.discourse.group/u/j.stirling)\
**Post date:** [10 July 2024 09:58 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/9 "2024-07-10T09:58:53Z")

</div>

I suppose as it is is all through hole, this makes it much more accessible.

---

<div class="post-metadata">

**Author:** ![sigmaphi](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sigmaphi](https://openflexure.discourse.group/u/sigmaphi)\
**Post date:** [13 July 2024 03:26 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/10 "2024-07-13T03:26:38Z")

</div>

Price-Tag for self soldered board:

| Piece | Qty | Price |
| --- | --- | --- |
| Arduino Nano | 1 | 7,00 USD |
| JST XH5 (3 pieces) | 3 | 1,50 USD |
| JST PH2 (3pieces) | 3 | 1,50 USD |
| 2Socket 16 pins | 2 | 0,20 USD |
| 40 pin header dose | 2 | 1,00 USD |
| PCB inl. shipment | 1 | 6,00 USD |
| 2x ULN 2003 (token form the driver boards shipped with the motors) | 2 | 0,00 USD |
| _Total_ | | 17,20 USD |

I clicked a litlebit arround to find out what the assembly costs might be. A single board is quite expensive due to the basic costs. One board assemby is 40 USD plus component price but 20 board are only 100 USD.  
So for a single maker the self soldering solution is better - takes only 15 mins.

---

<div class="post-metadata">

**Author:** ![sigmaphi](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sigmaphi](https://openflexure.discourse.group/u/sigmaphi)\
**Post date:** [13 July 2024 03:39 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/11 "2024-07-13T03:39:19Z")

</div>

To make it much cheaper we could replace the arduino with two 74HC595 shift registers and do the logic on the Raspi. This would sum up to 11 USD only but would need a bigger software change.Something like this…

 ![image](https://global.discourse-cdn.com/free1/uploads/openflexure/original/2X/b/b54a4fcef77fcd326f477246f22262af571f157b.png)

---

<div class="post-metadata">

**Author:** ![WilliamW](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/williamw/32/106_2.png) [@WilliamW](https://openflexure.discourse.group/u/WilliamW)\
**Post date:** [13 July 2024 07:40 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/12 "2024-07-13T07:40:35Z")

</div>

In volume, the full surface mount Sangaboard V0.5 makes much more sense, there is a huge difference between component cost, built cost and selling price because of all of the time and support that selling takes if it is all correctly costed. In bulk the simple installation and the power through Sangaboard to the Pi also make a huge difference in the rest of the build and use.

This board really makes sense for the use case of “solder it yourself”, particularly if you have an Arduino to hand, or a pot full of the cheap clones. Even more sense if you have the time to extract connectors from the boards that come with the motors. That is a part of the userbase that I am very keen to make sure that we do support, and I keep the ‘nest of wires’ version as one of my testing sets.

To reduce cost in this use case, the biggest win is probably to replace the Arduino Nano with a Pi Pico. They are the price of an Arduino clone, but without the problem that sometimes the clones are dud or have programming quirks. Programming the Pico is easier as well. We do not yet have a hex file compiled for a simple Pico version, so this is not a current option, but it is possible in principle and would be very helpful. (The Sangaboard V0.5 uses some pins not available on the Pico, so that furmware would not quite work)

---

<div class="post-metadata">

**Author:** ![sigmaphi](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sigmaphi](https://openflexure.discourse.group/u/sigmaphi)\
**Post date:** [13 July 2024 08:13 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/13 "2024-07-13T08:13:17Z")

</div>

My next plans are

- protect the 5v in with a polyfuse 1A and a Z-Diode 5.1V
- Add a jumper for theUSB connector  
This enables to use power (VCC) and USB directly form the RAPI GPIO  
(Pls. keep fingers crossed that I do not destroy it 😀)

---

<div class="post-metadata">

**Author:** ![filip.ayazi](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@filip.ayazi](https://openflexure.discourse.group/u/filip.ayazi)\
**Post date:** [13 July 2024 14:44 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/14 "2024-07-13T14:44:31Z")

</div>

This (the no-mcu version) would cut the cost quite a bit and there should be enough pins, but the OS running on the pi is not realtime which might cause some issues with the timing of the moves (probably mostly for fast autofocus). It might be possible to avoid this for example by pinning the process controlling the motors to a single core and avoiding that core in other things.

If you made an SMD version the assembly costs would go down a bit and as the numbers go up it scales well because of the setup costs, but as William said selling the boards there are other costs, risks and a non-trivial amount of labour ranging from admin to support, which is why the price on taulab.eu is set to 28 GBP.

Reassigning pins in the firmware is a trivial task, so if you do have a pico based version using the new firmware would be easy too.

---

<div class="post-metadata">

**Author:** ![sigmaphi](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sigmaphi](https://openflexure.discourse.group/u/sigmaphi)\
**Post date:** [13 July 2024 16:30 UTC](https://openflexure.discourse.group/t/bearboard-a-sangaboard-alternative/1670/15 "2024-07-13T16:30:29Z")

</div>

You are right! If you are not trained in soldering I would also recomment the Sangaboard.  
You have to solder about 90 contacts and all have to be in good quality.

With the Sangaboard you also pay for QA testing,logistic and support. This justifies the doubled price (shipment, tax and toll not included). The BearBoard is labled with “No Warrenty!” and this is true!

SANGABOARD has also a big advantage that you do not need an extra USB power supply and extra USB connection from the board to the RASPI. With all that extra cables the OFM looks not that professional but it works.
