Giter Club home page Giter Club logo

btt-pi's Introduction

BTT-PI

The usage and configuration of the OS image is exactly the same as CB1 normal version, Please refer to here to write and configure the OS image

40 Pin GPIO

BTT-PI and CB1 40pin gpio are different, Please refer to here for details

BTT-PI FAN Pin

BIGTREETECH Pi V1.2 Fan Pin connection Please refer to here for details

btt-pi's People

Contributors

msq001 avatar so6rallye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

btt-pi's Issues

Enable 1-wire

How do enable 1-wire on the BTT-Pi, specifcally for the DS18B20 sensor?

PRODUCT WARNING! DO NOT BUY!

The product died after just ONE DAY of use. As you can see on issues here on github and on other parts of the internet, i'm by far not the only one with the same problem. So i was sure BTT will replace or refund it fairly quick, but i was so wrong.
"Support" if you can call them so, always promises to replay in a few days and then just silence.
After at least 4 contacts I now just give up my money and throw that board away. My time invested in this case is by far more worth than this SBC!
Company doesn't want to replace or refund, with no further explanation. So my conclusion is to stay away from Big Tree Tech if you want high quality or any usable support if something goes wrong.

Be assured i will never ever purchase any BTT product again!

fix ip

Hello everybody!
How do I fix the ip on both eth0 and wlan0?

i2c overlay

Trying to determine which pins on the GPIO are tied to the i2c interface. There is an overlay and i2c device defined in the BoardEnv.tst file but don't see any documentation or notation in the pins diagram on which pins these are connected to on the GPIO header.

Connectors BOM

Hello, can you provide the reference of the connectors used on the board?

I'm searching for the exact reference of the CAN connector, I can't find it anywhere

Unable to run ADXL345 from 40 GPIO pins

Hi, i have a BTT-PI V1.2 and i'm trying to wire the ADXL345 sensor to the GPIO pins.

This is my configuration

[mcu rpi]
serial: /tmp/klipper_host_mcu

[adxl345]
cs_pin: None
spi_bus: spidev1.2

[resonance_tester]
accel_chip: adxl345
probe_points: 117.5,117.5,10

I've wired the sensor as follows

VCC -> 3.3V (Yellow pin)
GND -> GND (Black pin)
CS -> PG12
SDO -> PH8
SDA -> PH7
SCL -> PH6

I've tried with all the spi_bus in BoardEnv.txt, but nothing, it doesn't work.

Any clue?

MKS TS35R V2.0

Hello everyone I found the instructions for starting the display. There is one but... It is only for ORANGE pi3. Does anyone have the opportunity to fix the driver for our CPU? Or how can it be used?

Btt pi not working on second day

Mthe first day it run normal. I config klipper, and print some model file. But second day it not work. Power led is light but nothing happen. Device not turn on,

Fan pin issue

anyone help me pls 🥹
btt pi v1.2 fan pin issue
Screenshot 2023-09-09 122329
Screenshot 2023-09-09 122341

Unable to enable TFT-35 SPI and Dedicated ADXL345 port at same time with KlipperScreen.

When I connect my ADXL345 to the dedicated port on the BTT-PI and enable KlipperScreen I get a blank white screen.

If I enable one or the other I get both to work just fine without issue. But enabling both in BoardEnv.txt. will not work.

Using the following image:
V2.3.2

BoardEnv.txt Setting

uncomment for TFT35_SPI screen
#overlays=tft35_spi
overlays=tft35_spi spidev1_2

uncomment to release 'spidev0.0' to user space
overlays=spidev0_0

I am stumped as how to get both to work as the documentation for the BTT-PI has sections for wiring and enabling both options. But they will not work if both are enabled at the same time

Wifi cable connector name?

I'm looking for an extension cable for mount a external wifi antenna. I brought one bit the connector are too small. I need with one head SMA.
Thanks

Enabling the U2C can adapter

I have bought a BTT-Pi and the U2C pinboard,bt when I assemble them, the PI does not find the canbus...
Is there somewhere an explanation on how to enable the U2C pinboard?

Multiple Printers?

Is it possible to connect more than 1 printer to the BTT Pi? If so are there any documentation on how to do this. Thanks

M3 mounting screws cause electrical short

Issue: There is a positive and negative 12v connection close enough to the mounting screw holes that using an m3 screw instead of an m2.5 screw will cause a short. I found this out when my board started glowing by the mounting hole next to the USB C and smoke came out. Earlier a spark came from the hole on the other side of the SD card.

Since this is a 3D printer board above all and m3 screws fit with minimal resistance, this is a major cause for concern. The fix should be easy though: just add a little more clearance between power and GND.

I would love to recommend this board to my friends, but I can't do that with an easy short right there. Can we get a fix?

BTT Pi v1.2 very odd USB behaviour.

Hello,
I just received Btt Pi v1.2 and hooked it up with Octopus Pro and U2C.
Now the problems.
BTT Pi communicates with Octopus pro ony with the original USB C cable that came with the Octopus. Any other C cable I have got does not work and lsusb does not show anything.
U2C does not appear on the list even with that cable. I cannot see it.
When connecting one device at the time.
I also tried to hook up the SB2209 / SBB2240 so I can update the firmware. It does not see it and it does not light the ligts on it.
Even when using the same cable as for the Octobus.
Trying other three USB 2.0 slots does not help.

Now the fun part. I used any other cable with the U2C, or the SB2209 and it works with my laptop. Windows immedietely sees the device and I can even put them to DFU mode. All LEDs on both devices also light up correctly.

It looks like a fault of the Pi, but I have no idea how to resolve it. If it is even possible.
Thanks in advance for any advice!

How to get access to all files while doing ssh?

To change my static IP address, I need to edit /etc/dhcpcd.conf by running sudo nano /etc/dhcpcd.conf however, if I am connected as biqu , it tells me access denied. To make this working on a btt-pi2, I need to connect as root with the password root. But this doesnt work on the btt-pi v1.2

ethernet bouncing

[  746.806264] sunxi-gmac 5030000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[  794.934660] sunxi-gmac 5030000.ethernet eth0: Link is Down
[  796.982767] sunxi-gmac 5030000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[  826.679038] sunxi-gmac 5030000.ethernet eth0: Link is Down
[  827.703084] sunxi-gmac 5030000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[  833.847133] sunxi-gmac 5030000.ethernet eth0: Link is Down
[  835.895247] sunxi-gmac 5030000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

This is constant. I saw other folks having issues similar on the armbian forums.

Accessing GPIO Pins via Python

Hi, I have bought several BTGT Pi v.12 devices. I am using 2 of them as host machines for CNC/Klipper and they are great.

However, I now have a maker project outside of CNC/3d Printing that I would like to use one for, but I need to access the GPIO pins via Python. Specifically, I need to output on 3 pins, and read from at least two.

I can't seem to find how this is done. Can you please let me know the basics of how I can read/write from/to the GPIO pins using python?

Independent fan control

Dear all, I have one of my BTT Pi inside a Klipper machine, working with the code you provided to make the fan run, without any problem, but, I have a concern, when you are developing something, or simply you will not use this BTT-Pi for klipper, the fan remains stopped, and maybe the CPU will become hot, then, from my point of view, could be a great idea to have something similar as the Raspberry pi has, in order to control the fan in a regulated way, directly as a part of the OS, enclosed I send you three pictures in order to explain what I mean:

image

image

image

BTT Pi v1.2 case .stl

Sajnos a mellékelt kinyomtatható ház elég sok sebből vérzik, a HDMI, audio és tápcsatlakozók lyukainál a "bottom" és "middle" szekcióban kívűl mélyítést kellett készítenem, hogy a csatlakozók műanyag foglalatai elférjenek és a csatlakozók helyesen üljenek be az aljzatokba, illetve az alaplapi JI5 csatlakozó mellyett belül kivágást kellett csinánom, mert vastag a burkolat és nem fér el. A "bottom" fájban az USB csatlakozó melletti bepattintós lyuknál hibás a szerkesztés, illetve a "middle" szekciónak végül a teljes belsejét kivágtam, mert a hűtőborda miatt nem fér el. Sajnos a chip eléggé melegszik, így mindenképpen szükséges a hűtőborda, sőt úgy tűnik, a ventilátort sem lehet megspórolni. Ha valakit érdekel, a módosításokat feltöltöm a Thingiverse-re.

Can U2C module not connecting to SB2240

Hi, I have followed the manual for the SB2240, but when I try to flash the SB2240 via Can I get flash error

ERROR:root:Flash Error
Traceback (most recent call last):
File "/home/biqu/CanBoot/scripts/flash_can.py", line 493, in run_query
self.cansock.bind((intf,))
OSError: [Errno 19] No such device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/biqu/CanBoot/scripts/flash_can.py", line 621, in main
loop.run_until_complete(sock.run_query(intf))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/biqu/CanBoot/scripts/flash_can.py", line 495, in run_query
raise FlashCanError("Unable to bind socket to can0")
FlashCanError: Unable to bind socket to can0

Please advise to fix.

Display not working correctly

I just got my BTT Pi set up instead of Rpi. Works very well.
The display is heavily flickering and fading in and out.
Problem only exist on Klipperscreen, not in terminal/console.

BX.display-BTT.Pi_2023-09-21_15-56.mp4

What could be wrong?

I'm using UART0 (ttyS0) to connect to klipper-mcu.

BTT Pi v1.2
Display: Biqu BX-TFT70

Board Fan PG19 pin

Hi,

I've connected fan on PG19 pin and Klipper doesn't recognize them. Do you have a config to make it work?

error mainsail : Pin 'PG19' is not a valid pin name on mcu 'mcu'

actually I've bypass with one pin on my board but I want to use PG19 pin on BTT PI

[temperature_fan raspberry_pi]
pin: PB6
kick_start_time: 0.8
#shutdown_speed: 0
off_below: 0.1
max_power: 1.0
#fan_speed: 0.6
sensor_type: temperature_host
control: pid
min_temp: -40
max_temp: 85
#max_delta: 5.0
pid_kp: 1.0
pid_ki: 0.5
pid_kd: 2.0
min_speed: 0.1
max_speed: 0.6
target_temp: 38

Connecting and spi configuration of SPI ADXL345 on the BTT-PI

Hi, there is a lot of documentation on how to connect an ADXL345 on a CB1 or CM4, and their configuration on Klipper. But I'm in trouble when I connect the BTT-ADXL345 to the BTT-PI by the supplied cable on the dedicated SPI port (page 7 of its manual).
In the pin out what is the right cs_pin number?

restart issue

          i am having issues with reconnecting to mainsail after a simple save and restart from any cfg file. i have to completely shutdown and reboot

[Solved] Display not working

Hi all,
i have a PTTPi and a TFT35SPI V2.1, i've connected them with the ribbon cable provided with monitor.
Klipper and Klipperscreen are installed but the display is all white.
what i'm doing wrong?
i put the last log here, i can't see anything wrong
KS_log.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.