Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Is Raspberry Pi qualified enough?

Sat May 03, 2014 6:49 pm

Hello,

I would like to hear your feedback and suggestions for the project.Projects such as the following diagram.

Image

1.Raspberry Pi Camera Alternative
The camera will be exposed to water and its cable should not be affected from movement of servo motor and water. So I will not use Raspberry Pi's camera because its CSI cable is too fragle and also I cannot merge its cables into one cable.How can I merge the CSI cable in one water-proof cable? Or can you suggest me any camera? I was planning to make a water-proof box for Raspberry Pi's camera, but its suspended for now.

2.In project, camera display will be viewed on a LCD screen. Servo motor will be controlled with the X-axis of a Joystick. Also there will be a LED circuit placed near to the camera and it will be controlled by the Y-axis of Joystick. There will be sensors on back of the servo motor. When a fire broke out, a warning will be displayed on LCD screen with the help of these sensors. Is Raspberry Pi a good choice for this project?

3.Is Raspberry Pi qualified enough?
I heard that Raspberry Pi is slow. Is it qualified enough for this project or should I use another SBC?

Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 8:58 pm

Heey.

Can you help?

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 9:10 pm

Yasarc wrote:Hello,

I would like to hear your feedback and suggestions for the project.Projects such as the following diagram.

Image

1.Raspberry Pi Camera Alternative
The camera will be exposed to water and its cable should not be affected from movement of servo motor and water. So I will not use Raspberry Pi's camera because its CSI cable is too fragle and also I cannot merge its cables into one cable.How can I merge the CSI cable in one water-proof cable? Or can you suggest me any camera? I was planning to make a water-proof box for Raspberry Pi's camera, but its suspended for now.

2.In project, camera display will be viewed on a LCD screen. Servo motor will be controlled with the X-axis of a Joystick. Also there will be a LED circuit placed near to the camera and it will be controlled by the Y-axis of Joystick. There will be sensors on back of the servo motor. When a fire broke out, a warning will be displayed on LCD screen with the help of these sensors. Is Raspberry Pi a good choice for this project?

3.Is Raspberry Pi qualified enough?
I heard that Raspberry Pi is slow. Is it qualified enough for this project or should I use another SBC?
USB hub and devices at the end of a waterproof USB cable?
waterproofing the entire servo mechanism and mount and caamera is going to be a difficult job.

I don't know if you've seen these Image
they have an x and y axis control already and should be capable of moving a webcam. several people have had projects to get these working with a pi, I'm not sure how much luck they had.
Doug.
Building Management Systems Engineer.

Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 9:19 pm

Not USB cable, I used the CAT6 cable or NYY etc.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 9:28 pm

Hi,
Yasarc wrote:I would like to hear your feedback and suggestions for the project.
My response is that I don't understand this project - goal, objectives, use cases, requirements.... therefore, it is hard to comment if RasPi is suitable and capable of doing something, when there is no clear explanation what this suppose to be...


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 9:49 pm

Thanks for your response.

This project security camera for greenhouse etc... There's no place next to the camera for Raspberry Pi.
Raspberry Pi will stay in the back box.
There is too much the distance between the camera, sensors etc and Raspberry Pi.
So I will used CAT6 or others cables.

I hope I could explain.

Best regards.

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 10:04 pm

Now that you've described the project, I do think the Pi would be reasonably well suited for this.
A few notes:
The battery pack will need a 5v regulator, as batteries drop voltage when they discharge. You'll want to use a higher voltage and a regulator to drop it to a constant 5v. Make sure both the battery pack and the regulator can supply a constant 1A or more.
For the camera you'll want either a networked security camera or a USB webcam. You can extend USB over Ethernet cable, but I'm not sure what your maximum distance would be.
I'm not sure what you mean by "servo engine controlling by X axis" and "LED controlling with joystick Y axis." Can you explain these?

Servos and LEDs can be controlled through the GPIO, although it would be better if the power for the servos, and possibly the LEDs as well, did not travel through the cable. You may also find that a single strand of cat6 won't have enough wires for all you want to do. You might consider using something else, an arduino, perhaps, mounted near the camera to control those, and send signals to it from the Pi.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 10:10 pm

Hi,
Yasarc wrote:I hope I could explain.
A bit...
You could now try to split your one big dilemma down to items and we could discuss about each. It also helps if you use numbers instead of "very close", "far away", "back" etc. Use numbers and units (meters, feet, ...).

Starting with camera - I have doubts that Pi camera will work with CAT5 on distances above 1 meter. You might use USB camera instead. The max USB cable length is 5 meters. You can extend it for another 5 meters by inserting USB hub... you can repeat this few times.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 10:44 pm

FLYFISH TECHNOLOGIES wrote:You might use USB camera instead. The max USB cable length is 5 meters. You can extend it for another 5 meters by inserting USB hub... you can repeat this few times.
You can buy 10m USB cables with an active repeater at the far end. I've used one with mixed results depending on what device is attached at the far end. Whether or not one would work with a typical USB webcam I don't know, but it's another option to consider if you needed an uninterrupted 10m length to avoid ingress of moisture, etc.
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 11:16 pm

First of all, thanks a lot.


"servo engine controlling by X axis"
Joystick has two axes; x and y
If I move the joystick to the positive x axis, camera will turn right or I move the joystick to the negative x axis, camera will turn left.

"LED controlling with joystick Y axis."

If I move the joystick to the positive Y axis, LED light will turn on and increase the level of or I move the joystick to the negative Y axis, LED light will reduce the level and maybe turn off.


And only one cable should be. Because if you have many cables will be very much commotion.
These are my thoughts

Cables will be long, I'm thinking of collecting all the cables in a cable.
Image

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 11:31 pm

Hi,
GTR2Fan wrote:
FLYFISH TECHNOLOGIES wrote:The max USB cable length is 5 meters.
You can buy 10m USB cables with an active repeater at the far end.
You can buy also some illegal substances... ;-)
The fact is that the USB 2.0 specification defines cable length to max 5m (signal speed + timing requirements are behind this).


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Is Raspberry Pi qualified enough?

Sat May 03, 2014 11:35 pm

Hi,
Yasarc wrote:Cables will be long
Long = X meters. Please specify X.
Yasarc wrote:I'm thinking of collecting all the cables in a cable.
You're playing with matches... ;-)


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Is Raspberry Pi qualified enough?

Sun May 04, 2014 12:29 am

The camera, X-Y-Z servo, LED illuminator etc are all going to need their own power sources. They won't be able to be powered directly from the RPi. Could be done with 1 large 12V battery and several voltage converters. The USB items if any will need to have a powered hub.
You will need a relay board to turn things on/off and a motor driver board of some sort for the servos.
I would look into using an IP camera of some sort but don't know how feasible that would be.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Re: Is Raspberry Pi qualified enough?

Sun May 04, 2014 7:48 am

The servo motor will move only in the X axis.

I'm thinking of using CAT6 or NYY etc.

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Is Raspberry Pi qualified enough?

Sun May 04, 2014 2:31 pm

Yasarc wrote:The servo motor will move only in the X axis.

I'm thinking of using CAT6 or NYY etc.
OK but you will still need everything I mentioned.
You still have not given details about distance camera to control box (RPi).
Or distance from joystick operator to control box.
I think you need to decide on what exact camera and other sensors you are going to use before deciding on what type of and how many cables to use.
You probably won't find a weatherproof USB camera. There are some wireless cameras with USB dongle but don't know about Linux drivers?
Note that many cameras have IR illuminators built in which can come on automatically when needed.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Re: Is Raspberry Pi qualified enough?

Sun May 04, 2014 8:03 pm

FLYFISH TECHNOLOGIES wrote:Hi,
Yasarc wrote:Cables will be long
Long = X meters. Please specify X.
Yasarc wrote:I'm thinking of collecting all the cables in a cable.
You're playing with matches... ;-)


Best wishes, Ivan Zilic.
Long = 15-20 meters maybe 25-30 meters.
Is there another solution? :)


Which camera do you recommend? Logitech c270 or other?
elinux.org/RPi_USB_Webcams


Is IR enough to illuminate a dark or night? I don't know.
RPi is control box.
Last edited by Yasarc on Sun May 04, 2014 8:41 pm, edited 1 time in total.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Is Raspberry Pi qualified enough?

Sun May 04, 2014 8:32 pm

Hi,
Yasarc wrote:Long = 15-20 meters maybe 25-30 meters.
USB camera will not work. Trying to make it working on this distance is a waste of time.

On this distance you have to select also proper sensors/protocols. Forget about I2C and SPI, because they will not work.
1-Wire is conditional selection (but I'd not use it due to nearby moisture -> water will be around the cable).
Start thinking about RS-485.

Yasarc wrote:Is there another solution? :)
Add another RasPi with attached camera, place it to this remote location and establish Ethernet connection to it.
Yasarc wrote:Which camera do you recommend? Logitech c270 or other?
I like Logitech C920.
You can check quality of live picture captured by this camera attached to RasPi here: http://www.flyfish-tech.com/scratch - apply for the session at the bottom of the page and then you can see live picture.
Be aware that with Scratch you can control two ambient lights (switch them on and off + dim them). By changing light intensity you can check camera's auto focus & auto brightness features). Without using Scratch the light intensity totally depends on sun.

Yasarc wrote:Is IR enough to illuminate a dark or night?
Yes if:
1) IR illumination is strong enough ;-) and
2) selected camera is properly sensitive to IR (best results when camera is without IR filter)


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Re: Is Raspberry Pi qualified enough?

Mon May 05, 2014 1:06 pm

Maybe www.adafruit.com/products/613 ?


What should I do?

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: Is Raspberry Pi qualified enough?

Mon May 05, 2014 1:16 pm

Yasarc wrote:Maybe http://www.adafruit.com/products/613 ?


What should I do?
Find some space, so that you can put the Pi next to the camera.

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Is Raspberry Pi qualified enough?

Mon May 05, 2014 1:28 pm

Yasarc wrote:Maybe http://www.adafruit.com/products/613 ?


What should I do?
That camera could be made to work over quite long distance by putting a TTL to RS232 converter at the camera and a RS232 to 3V3 TTL converter at the RPi. It would however take a fair amount of programing and time to retrieve and display the JPEG images.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Is Raspberry Pi qualified enough?

Mon May 05, 2014 2:07 pm

Wouldn't an IP camera be much easier? FastEthernet only uses 4 wires from an Ethernet cable, leaving you 4 others to use for things like your servo control, and maybe lights if they aren't already included with the camera. You'll still want to source your power at the camera end of the cable for the camera and servo though.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Is Raspberry Pi qualified enough?

Tue May 06, 2014 12:20 am

Hi,
klricks wrote:
That camera could be made to work over quite long distance by putting a TTL to RS232 converter at the camera and a RS232 to 3V3 TTL converter at the RPi.
RS232 is not that universal... Last specification in which cable length limit was expressed in meters (they changed it to max capacitance in latest revision), was 19200 baud at 15 meters (50ft). At that speed an average JPEG image takes quite some seconds to be transferred.... RS232 has another important disadvantage - common ground.
Consequently, my vote remains for RS485.
klricks wrote:It would however take a fair amount of programing and time to retrieve and display the JPEG images.
This should not be an issue - save images in web server's folder and web browser does rendering for you...


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

Yasarc
Posts: 10
Joined: Fri May 02, 2014 6:47 pm

Re: Is Raspberry Pi qualified enough?

Tue May 06, 2014 4:47 pm

I don't know what to do. I am sorry, please help.
How do I use the camera with a cable? Raspberry Pi should not be. Camera,servo... diameter will be maximum 1.85"

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Is Raspberry Pi qualified enough?

Tue May 06, 2014 8:57 pm

Hi,
Yasarc wrote:I don't know what to do.
You have to make a decision... I see these main options:
a) you google a lot, learn, read, ask... and postpone release date,
b) you start trying according to your current ideas.. buy this and that, try, if don't work, buy something else and try again with new setup
c) you locate existing product which meets your expectations, but and install it. If something goes wrong, contact seller's support
d) you hide somebody competent (ideally located near you) who collects your requirements and implement/provide you the solution.
Yasarc wrote:How do I use the camera with a cable?
You need to convert its serial output to RS485/RS422, then convert it to meet RasPi 3.3V level:

Camera--RS232 to RS485--------------------------------------------------------------------------------RS485 to 3.3V TTL---RasPi (UART)


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: Is Raspberry Pi qualified enough?

Tue May 06, 2014 10:52 pm

FLYFISH TECHNOLOGIES wrote: d) you hide somebody competent (ideally located near you) who collects your requirements and implement/provide you the solution.
You mean, like Cyrano de Bergerac? That's a great idea!

:)

Return to “Beginners”