Programmatically control Norsonic Nor1029
Project description
nor1029-controller
Programmatically control Norsonic Nor265 microphone boom / turntable
The Nor265(A) microphone boom / turntable can be controlled by its proprietary Nor1029 software (see downloads section of product page). You can instead control the hardware programmatically over serial using this library.
Install
pip install nor1029-controller
Usage
from nor1029_controller import Nor265
with Nor265() as nor:
nor.rotate(180, speed=10, acceleration=2)
API
Nor265(port?, timeout?)
port
The serial port to connect to.
timeout
Timeout for operations in seconds.
Default: 300 (5 minutes)
nor
Nor265 instance.
.angle
readonly
Optional parameters will default to whatever was previously set.
.rotate(angle, speed?, acceleration?)
.rotate_relative(angle, speed?, acceleration?)
.sweep(start_angle, stop_angle, duration, acceleration?)
Oscillate between two angles.
.start_continuous_rotation(direction, speed?, acceleration?)
from nor1029_controller import Nor265, RotationDirection
import time
with Nor265() as nor:
nor.start_continuous_rotation(
direction=RotationDirection.CLOCKWISE,
speed=10,
acceleration=2
)
# Rotate for 5 seconds
time.sleep(5)
nor.stop()
.start_rotate(angle, speed?, acceleration?)
.start_rotate_relative(angle, speed?, acceleration?)
.start_sweep(start_angle, stop_angle, duration, acceleration?)
The start_* methods will return when the movement starts, while the regular methods will also wait for the movement to finish.
.stop()
Stop any ongoing movement.
.go_home()
Rotate back to the home position.
.is_moving
readonly
.close()
If you're not using a context manager, you should instead call this method when you are done.
from nor1029_controller import Nor265
nor = Nor265()
nor.rotate(180, speed=10, acceleration=2)
nor.close()
RotationDirection
Enum
CLOCKWISECOUNTER_CLOCKWISE
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nor1029_controller-0.4.0.tar.gz.
File metadata
- Download URL: nor1029_controller-0.4.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
580eec6cc6d5f7d5aa23cf6c96956eea1ce704e2d2cd55bbead25016a61b2835
|
|
| MD5 |
fd6ce229c398149892a9335a5cf7d109
|
|
| BLAKE2b-256 |
37ecda9429a34169078083bfdf84329166a383247d94e6b458adeb4fd13d6968
|
File details
Details for the file nor1029_controller-0.4.0-py3-none-any.whl.
File metadata
- Download URL: nor1029_controller-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8234b6995cd7d1cffc3006cf1477b3269085a2009b6fecf0c416481df139d30
|
|
| MD5 |
ebfd98a966cdff754a77d6a8c2b6f34a
|
|
| BLAKE2b-256 |
bcf19b07eaca3fd450b7168db58772a91e457684bad658187312b603fb75c20a
|