Go to advanced search

by ahacking
Tue May 22, 2018 11:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: AS5050A rotary sensor SPI
Replies: 0
Views: 270

AS5050A rotary sensor SPI

Just wondering if anyone managed to get an AS5050A https://ams.com/as5050a up and running with an RPi? I've managed to get the 5040 chip running with SPI but am having a harder time getting this one to return any data. Thanks Adam #Import Libraries import time import spidev #https://pypi.org/project...
by ahacking
Sat Apr 21, 2018 1:45 am
Forum: Python
Topic: PyBluez and continuous data transfer
Replies: 2
Views: 2865

Re: PyBluez and continuous data transfer

Thanks. The send is already has a loop. #SEND SIDE #Import Libraries import time import spidev import bluetooth # configure client BT bd_addr = "B8:27:EB:F2:B3:7B" port = 1 sock=bluetooth.BluetoothSocket( bluetooth.RFCOMM ) sock.connect((bd_addr, port)) #https://pypi.org/project/spidev/ spi = spidev...
by ahacking
Fri Apr 20, 2018 3:15 pm
Forum: Python
Topic: PyBluez and continuous data transfer
Replies: 2
Views: 2865

PyBluez and continuous data transfer

Hi, I'm developing a device to send data from an absolute rotary encoder from a Pi (PiZeroW) to a RPi3 via a Bluetooth connection using PyBluez. In a nutshell, I want to collect the data on one device and send it to be displayed by the other. Collection and display may persist for 20 mins. I can est...
by ahacking
Mon Jan 09, 2017 12:25 am
Forum: Python
Topic: remote vs local terminal
Replies: 1
Views: 423

remote vs local terminal

Hi
I have a python3.4 application that I can run remotely from the command line on my RPi - no problems - when logged in with PUTTY. However, the application throws errors when I run it locally (LXTerminal). Does anyone have any ideas?

Thanks

Raspian JesseLite with LXDE

Go to advanced search