Pi-Pan servoblaster error with raspi 2
 Raspberry Pi   Started by Niccolo O'Leary-Tagiuri   2015-10-13 11:15:58 -04:00   Comments: 16    Viewed: 1484

  1. I finally got around to setting up the pi pan on my raspi 2. I am getting an error with servo blaster that there is no such file because instead of looking in pi/pi-pan/pi-pan it looks for them in pi/pi-pan. the files could easily be moved and the extra folder eliminated but as it stands the setup instructions create this error. Any work around you can suggest other then moving all the files?

    Nicco
    Niccolo O'Leary-Tagiuri, 2015-10-13 11:15:58 -04:00
  2. Deepak Patil
    Deepak Patil Administrator Staff Member Richmond
    Which version of Raspbian are you using on your Pi?
    Deepak Patil, 2015-10-14 12:07:04 -04:00
  3. I have tried both the newest wheezy and jessy. From what ive read its something to do with one of the kernels having been upgraded recently "breaking" servoblaster. i moved the files and get a "neutral done" text response no response from the servos and it just hangs on the "done" part. I tried your pre-compiled version on my b+ and that works fine. maybe its a pi 2 thing? You don't seem to have a pi 2 pre-installed image like you do for the other models that i can find.

    -Nicco
    Niccolo O'Leary-Tagiuri, 2015-10-15 10:17:43 -04:00
  4. Bert Shure
    Bert Shure Member
    Hi Nicco:

    Any luck?  I have the light working but not the servos.

    ==Bert==
    Bert Shure, 2015-10-28 09:04:50 -04:00
  5. Deepak Patil
    Deepak Patil Administrator Staff Member Richmond
    Deepak Patil, 2015-10-29 22:52:59 -04:00
  6. Bert Shure
    Bert Shure Member
    Hi Deepak:

    The new distro rocks!  Your software works and the Pi seems a lot faster.

    Thanks!

    Bert
    Bert Shure, 2015-10-30 01:58:49 -04:00
  7. Morten wiik
    Morten wiik Member
    I need to use wheezy cause of the RPI Cam webinterface. I have a Raspberry pi 2 A and using wheezy, but have the same problem as Nicco. Do you have an image with wheezy and the servoblaster preinstalled that works on Rraspberry pi 2 A?

    thanks 

    Morten
    Morten wiik, 2015-11-03 11:40:54 -05:00
  8. http://www.mindsensors.com/largefiles/ that all a file call 2015 wheezy. Not sure if it works with pi2 but will check it when i get home from work in about....8hrs
    Niccolo O'Leary-Tagiuri, 2015-11-03 11:43:48 -05:00
  9. Morten wiik
    Morten wiik Member
    thanks, I downloaded the wheezy from the rasbian home page (clean install) and now it was working. Hmm. it seems that something is happening when i install the RpI RPI cam interface. I will try again. 

     

    Morten wiik, 2015-11-03 12:15:16 -05:00
  10. Must be a rpi cam interface issue. Make sure it compatable
    Niccolo O'Leary-Tagiuri, 2015-11-03 12:22:03 -05:00
  11. Morten wiik
    Morten wiik Member
    After I update the RPI " sudo rpi-update. I only reveives this: https://www.dropbox.com/sh/src5mumxjgwway2/AADGNh0cqnac02uCO5eg_WCAa?dl=0
    Morten wiik, 2015-11-03 15:22:53 -05:00
  12. did you follow the instructions and run the next command?
    Niccolo O'Leary-Tagiuri, 2015-11-12 07:30:24 -05:00
  13. Eugene Moore
    Eugene Moore Member
     

    Hi Deepak,

    I have just attempted to control the servos with the software provided and it does not work. I am running Raspbian Jessie with Pixel on a Raspberry Pi 3 B board. The PiLight works perfectly. Also, the servos do move a bit when the pi boots up so I am assured that current is actually reaching the servos and capable of actuating them. 
    The prefab distros you have suggested are too dated for my projects as I also have a compiled OpenCV 3.2 and FFMPEG on my system so do not wish to spend the many hours loading compiling these on an older version that is becoming deprecated. What can I do to specifically send a command to the jumpers that power the servos?  How can I resolve this problem as this is instrumental to my security project. I think the problem may be related to the error message below: "Servod cannot parse the hardware name string". Please advise.

    pi@raspberrypi:~/pi-pan $ sudo i2cdetect 1
    WARNING! This program can confuse your I2C bus, cause data loss and worse!
    I will probe file /dev/i2c-1.
    I will probe address range 0x03-0x77.
    Continue? [Y/n] y
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --
    pi@raspberrypi:~/pi-pan $ sudo ./install-pi-pan.bash
    Updating config files...
    Updating PiPan and Pilight libraries...
    -----------------------------
    Pi-Light Install completed
    -----------------------------
    servod: Cannot parse the hardware name string
    -----------------------------
    Pi-Pan Install completed
    -----------------------------
    pi@raspberrypi:~/pi-pan $ sudo python check-pan.py
    Check that Pan servo is moving (horizontal movement)

    Eugene Moore, 2017-06-13 13:07:25 -04:00
  14. seth10
    seth10 Member Staff Member
    seth10, 2017-06-13 13:35:45 -04:00
    Eugene Moore likes this.
  15. Eugene Moore
    Eugene Moore Member
     

    Perfect! Thank you so much! I had just downloaded the servod.c file from GitHub, added the lines for Raspberry Pi 3 and was trying to figure out how to compile it when I got this from you. You have saved me a huge headache as I do not know the first thing about compiling C++ on a Pi. Thanks, Again.
    Eugene Moore, 2017-06-13 14:01:32 -04:00
  16. seth10
    seth10 Member Staff Member
    seth10, 2017-06-13 14:12:49 -04:00
  17. (You must log in or sign up to post here)

Log in | Sign up
Tems & Conditions!
Help!