cb1 questions

@blacksmithforlife hey dude, I’m trying to get my CB1 and pi4b adaptor set up, once I’ve flashed it with a klipper image can I remove the SD card? Also is there anyway to get the DSI port working for a screen?
27 Replies
other-emerald
other-emeraldOP2y ago
What I’ve currently read is the DSI port only works with the cm4
blacksmithforlife
once I’ve flashed it with a klipper image can I remove the SD card
Not unless you have flashed it using the eMMC.
Also is there anyway to get the DSI port working for a screen?
look at the /system.cfg I believe you need to add different overlays depending on what screen you are using
other-emerald
other-emeraldOP2y ago
Is the eMMC built in on all CB1s?
blacksmithforlife
no, depends on which CB1 you got honestly though, eMMC is faster but for ease of use I would go SD card
other-emerald
other-emeraldOP2y ago
Thanks for answering my questions, looks like I need to get or find another micro sd somewhere
blacksmithforlife
https://www.amazon.com/gp/product/B06XWN9Q99/ is my go to choice for pretty cheap but good quality I believe @miklschmidt likes sandisk? https://www.amazon.com/Sandisk-MicroSDHC-V30-32GB-Extreme/dp/B01LRW8FWY
miklschmidt
miklschmidt2y ago
he does
other-emerald
other-emeraldOP2y ago
I have a legit question now, how do I get these GPIO pins working? I want GPIO pin 26 to control a fan, I’ve tried gpio26, PC15 and GPIO79 from some look up table and none of those work @blacksmithforlife please see above if your awake
miklschmidt
miklschmidt2y ago
Look up the CB1 documentation, i don't own one Also be careful with hooking up a fan to the gpio's, you don't want much current flowing through them, or you'll fry it.
other-emerald
other-emeraldOP2y ago
It’s a cpap fan. I have done my best to research the documentation and followed the steps but I must be doing something wrong. I know black smith is pretty familiar with the cb1 so thought I would ask. I’ll try reading through the ratOS printer.cfg and moonraker.conf and see if I can piece it together
miklschmidt
miklschmidt2y ago
why in the world would you hookup a cpap fan to your CB1?
other-emerald
other-emeraldOP2y ago
For print cooling?
miklschmidt
miklschmidt2y ago
Use your control board don't hookup stuff to your CB1
other-emerald
other-emeraldOP2y ago
It needs pwm control
miklschmidt
miklschmidt2y ago
Yes? I'm sorry but i need a whole lot more context to help you i think You must've gotten the idea to get a CPAP fan from somewhere? Does that someone not tell you how to use it? There's a reason we swear by 4028's Not only because they perform better 😄
other-emerald
other-emeraldOP2y ago
There’s instructions on how to set it up with a raspberry pi, but not a cb1
miklschmidt
miklschmidt2y ago
Can you link them? I need to know what we're dealing with
other-emerald
other-emeraldOP2y ago
No description
other-emerald
other-emeraldOP2y ago
This is the wiring diagram. The blue board is the cpap fan speed controller
other-emerald
other-emeraldOP2y ago
GitHub
[HOWTO] 40-pin GPIO & ADLX345 on CB1 · bigtreetech CB1 · Discussion...
Hello, I started this new thread in order to regroup all the info and made them are easier to source. 40-pin connector / GPIO As somebody already discovered, the CB1 uses a custom IO pinout for the...
other-emerald
other-emeraldOP2y ago
This is the documentation I’ve tried following to get the GPIO ports to work
miklschmidt
miklschmidt2y ago
this is super silly. Just hook up that pin to a control board GPIO. Use the negative terminal of the part cooling fan pin for example then do:
[fan]
pin: !fan_part_cooling_pin
cycle_time: 0.00004
[fan]
pin: !fan_part_cooling_pin
cycle_time: 0.00004
(i'm expecting the controller to want a 25khz pwm input, look up the datasheet and modify cycle_time accordingly)
other-emerald
other-emeraldOP2y ago
Yea I have the cycle time in the cfg
miklschmidt
miklschmidt2y ago
Good, then just fix your wiring and you should be good to go
other-emerald
other-emeraldOP2y ago
Ok, because a part cooling fan is pwm controlled anyway Makes sense
miklschmidt
miklschmidt2y ago
Every single gpio on your control board can be pwm controlled Your control board is meant to control these things Oh btw i'd recommed removing the voltage jumper on that fan port, just in case. It shouldn't actually matter, but better safe than sorry.
blacksmithforlife
Sorry, been dealing with a sick kid, but yeah as Mikel said use your control board and not the cb1
Want results from more Discord servers?
Add your server