-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated GPIO pins for v2 using scematics provided and added klipper config file #6
base: main
Are you sure you want to change the base?
Conversation
Update to v2 pinouts using schematics provided
updated to GPIO pins for v2 using schematics provided Added Klipper config
Klipper config example
microstepps:32 and run_current:1.1
add example 5160
Hi @eddwatts, Great job on updating the GPIO pins and adding the Klipper config file! I have a few suggestions and observations:
Thanks for your efforts on this update! |
added activity led
Adding firmare update code
added links to klipper config andf sensorless homeing
added [display]
As my board has now arrived I have started to imploment the changes, added Firmare flashing procedures including Canboot/Katapult to make updates easier. Moved the klipper to its own config file and a link to its config rather than showing all the code on the readme. Started work on the sensorless homeing, this should be most of the code but I need to confirm the code is working fully. |
Just been reading up as thought the usb was using gpio0&1 but seems on the pico they are diffrent. so could even make a good usb can bridge? I cant see any errors in the setup but yet its not working. Tested the display on i2c0g last night and that worked on so another little function the board can do. Also thinking that the awg for the 24v supply is to small when being shared with a ebb36, extruder heater and extruder stepper, this could be cauing power brounouts creating odd errors as well. next step i think is to improve the 24v supply and see if that changes things as seen in the issues section that rewireing it helped. will update if that helps |
added BME280 i2c sensor option
@NV4RE Iv also tryed a thicker wire for the 24v and confirmed that i have voltage on the MV (48v) and 24v rail. starting the firmware shows no errors on screen but in checking klipper logs I spotted: so something is def not right the driver damaging your steppersm, have you checked the pinout of motors and the driver board? makesure your connecting the correct coils in order? - checked the ones that came in the pack and they seem to be right for my e3d high torque motors. A bit of help from the designers or makers of the board would probably help here |
I think I had the same problem with software SPI before but on a different board (BTT Manta M8P). I changed the spi_speed to 2000000, and it fixed the issue. |
@NV4RE as a side note, last night my printer tryed an update it dint like and wopuld no longer boot, Had backups of all configs, So 1 full reload later from scratch and loading the configs and updating all boards to there new versions im still working on the spi error. Just tryed the 2000000 speed with no luck. wish they had sued a hardware spi by swapping the fan0 and the RX pins round. (think this was ene right on the v1 board so why change it????) think the pcb diagram would help just confiurm pins |
No, everything else worked for me, but I can't make the sensorless homing work. |
UpdateAfter switching to a limit switch as the endstop instead of using sensorless homing, I can confirm that this pull request document is accurate. Notes for Developers / @FYSETC
|
Hi, my PITB-V1 arrived and initially worked fine, but I'm getting an error: Unable to write tmc spi 'stepper_x' register GLOBALSCALER. Even after swapping the config from X to Y, the issue persists. I suspect the TMC5160 driver might be faulty. I'm planning to rebuild the printer using BTT parts instead. |
Working with support to see if Iv done anythig wrong or I have a bad board or there is a fault somewhere. |
It seems like there might be a quality control issue. The first board had problems with the Canbus and the DIAC pin wasn't working, while the second board had issues with the TMC5160. |
for me at pitbv2 no fan no 5160 |
news pitbv2.cfg but for me no change. and maybe miss ? at Could you tell me if the fans work? currently working not tested not working |
@ejhoness sorry for slow responce, life happens at times. I can confirm all my fans do work Thought on the fans, do you have the jumper set up for the fan voltage? if its missing then now power is being supplyed to the fan. what was the problem you were vaing with the cs_pin? |
Thanks, my board is coming back, sad because 48v source and big motors, for me with new taxes I won't buy other parts any time soon. From what I read this is the solution, include spi pins from pitb in klipper to work.
Originally posted by @KoiosLabs in #2 (comment) |
Can anyone confirm whether or not any pins need to be jumpered for sensorless homing to work? I have the steppers working over spi via the above fix, but for the life of me I cannot figure out how to get sensorless to work. Either it doesn't move at all between -64 and 63, or it crashes into the frame |
Fixed GPIO pins as they did not match the scematics for the V2 board (matched the pinouts for the V1 board)
Added a Klipper config file
Untested as I do not have the board yet but am looking at it as an option for my printer.