Asked — Edited

Pimoroni Pan And Tilt HAT For Rpi 3 B+

hi

i just purchased the pan tilt hat. i know it works because i tried the python examples.

But how can i get ARC to recognize it?

I do have the ez server installed on the rpi with a camera, it connects, i tried the camera control example and the video works. i added the vertical servo, tried to set it up as D0, D1 and D2. neither will control the pan and tilt hat. i believe the pan and tilt works of of i2C but i am not certain.

information on the pan and tilt hat can be found at https://pimoroni.com/pantilthat

please help, Thank you in advance.



Related Hardware (view all EZB hardware)
Raspberry Pi by Pi Foundation
Run Synthiam ARC on Raspberry Pi 4+ with Windows 11 for robot control; use external EZB/Arduino for reliable I/O, SSD/USB storage recommended
Wi-Fi
Servos
Camera
Audio
UART
I2C
ADC
Digital

Related Robot Skills (view all robot skills)
Vertical Servo by Synthiam
Drag vertically to control a servo within set min/max limits; center, release, invert, and mirror to other servos. For 3-wire GVS servos.
Horizontal Servo by Synthiam
Mouse-drag horizontal servo control with configurable min/max limits, center/release functions, multi-servo mirroring and direction invert.
Real-time servo position input via Arduino ADC over I2C; supports Nano (6 channels) or Mega (16), configurable I2C address and scalable chaining.

ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

#26  

OMG the servos are working.

but now i dont have any video anymore from the rpi camera. the port use to be 24 now its 10024

Author Avatar
PRO
USA
#27  

Check my instructions you need to click the antenna in the camera control.

you should see the camera feed or fake image with a counter.

please recheck and let me know the results.

#28  

i see a fake image with a counter

#29  

the camera works when i start the server this way: sudo nohup mono ./EZBPi.exe. obviously the servos dont.

Author Avatar
PRO
USA
#30   — Edited

You didnt answer my question when you change the port to 10024 do you see the camera feed or a fake image. please follow/read my instructions for version 1 of BlueBerry Server.

#31  

i do see a fake image with a counter. i selected the camera by pressing the antenna button in the camera control

#32  

pi@saripi:~/BlueberryServer/Blueberry.Server.Python $ python3 Main.py 1101-root-INFO-Starting... platform=linux hostname=saripi 1101-DeviceI2CController-1-21-DEBUG-write: bytearray(b'\x00\x08') 1101-EZBTcpServer-DEBUG-starting up on ('', 10023) 1101-EZBTcpServer-DEBUG-waiting for a connection 1101-EZBTcpServerUdpBroadcaster-DEBUG-Starting port=4242 1101-EZBTcpServerUdpBroadcaster-DEBUG-running.... 1101-EZBTcpServerUdpBroadcaster-DEBUG-broadcaster ip4 addresses found:['192.168.8.239'] 1101-EZBCameraUdpBroadcaster-DEBUG-Starting port=4242 1101-EZBCameraUdpBroadcaster-DEBUG-running.... 1101-EZBCameraUdpBroadcaster-DEBUG-broadcaster ip4 addresses found:['192.168.8.239'] 1101-FakeCameraController-DEBUG-running thread:Thread-4 1101-EZBCameraTcpServer-DEBUG-starting up on ('', 10024) 1101-EZBCameraTcpServer-DEBUG-waiting for a connection ===> Press Enter to quit...