Go to advanced search

by CopterRichie
Sun Jan 26, 2014 11:12 pm
Forum: General discussion
Topic: How many solar panels would i need to power
Replies: 13
Views: 3152

Re: How many solar panels would i need to power

mahjongg wrote: A PI needs a stable 5V (with 5%), and consumes about 450 to 600mA depending on what it is doing.
Please, may I ask how is the USB port powered? Meaning, it is tied to the GPIO Pin 2 or is it powered by some other means?

Thank you.
by CopterRichie
Fri Jan 24, 2014 12:34 pm
Forum: Raspbian
Topic: Mplayer Console Output
Replies: 0
Views: 441

Mplayer Console Output

Please, can someone share what the highlighted numbers represent from Mplayer's console output? What I am observing is, when the very last digit to the right is close to or equal zero, the streaming video latency is much less.

Thank you.
MplayerConsole01.png
MplayerConsole01.png (59.01 KiB) Viewed 441 times
by CopterRichie
Thu Jan 23, 2014 10:45 am
Forum: General discussion
Topic: How to make the Pi faster?
Replies: 28
Views: 11786

Re: How to make the Pi faster?

Heater wrote: Stop using X and get used to the command line, everything is snappy there. I can even run my GPU accelerated OpenGL programs directly from the command line into the frame buffer. Plenty fast enough.
Please, can you point me to a tutorial on how to do this?

Thank you greatly.
by CopterRichie
Thu Jan 23, 2014 10:22 am
Forum: Beginners
Topic: Powing via GPIO Pin 2
Replies: 8
Views: 870

Re: Powing via GPIO Pin 2

joan wrote: I've been powering via the PI header with a £1.59 UBEC for 18 months without problems.
Thank you for the information and confirmation.
by CopterRichie
Thu Jan 23, 2014 1:23 am
Forum: Beginners
Topic: Powing via GPIO Pin 2
Replies: 8
Views: 870

Re: Powing via GPIO Pin 2

mahjongg wrote:test points TP-1 and TP-2 and GPIO pins (the 5V and GND pins) are hard-wired together.

Thank you, so I will make sure I use a quality ubec.
by CopterRichie
Thu Jan 23, 2014 1:20 am
Forum: Beginners
Topic: Powing via GPIO Pin 2
Replies: 8
Views: 870

Re: Powing via GPIO Pin 2

you are bypassing the polyfuse, that means losing over current and over voltage protection, but that is the whole of the difference. I noted there is a TP points, do that also bypass the polyfuse? Reason I am seeking this information is, I am installing this Pi on a quad copter and powering via the...
by CopterRichie
Thu Jan 23, 2014 1:15 am
Forum: General discussion
Topic: How to make the Pi faster?
Replies: 28
Views: 11786

Re: How to make the Pi faster?

Well, if possible, reduce the memory footprint. We have only 512 megabytes and try to limit accessing virtual memory.
by CopterRichie
Wed Jan 22, 2014 10:54 pm
Forum: Beginners
Topic: Powing via GPIO Pin 2
Replies: 8
Views: 870

Re: Powing via GPIO Pin 2

redhawk wrote:Yes, but make sure the regulator output is still a constant +5v even without a load attached.

Richard S.
Thank you Richard.
by CopterRichie
Wed Jan 22, 2014 10:19 pm
Forum: Beginners
Topic: Powing via GPIO Pin 2
Replies: 8
Views: 870

Powing via GPIO Pin 2

Lets assume I have a switching power supply that puts out a very stable 5 volts +- 5%, would it be safe to power the Raspberry Pi via GPIO Pin 2?

Thank you.
by CopterRichie
Wed Jan 22, 2014 4:42 pm
Forum: Raspbian
Topic: GStreamer in Raspbian Jessie
Replies: 6
Views: 3202

Re: GStreamer in Raspbian Jessie

+1 for this addition.
by CopterRichie
Wed Jan 22, 2014 3:45 pm
Forum: General discussion
Topic: How to make the Pi faster?
Replies: 28
Views: 11786

Re: How to make the Pi faster?

rainwater11 wrote:I thought of overclocking but will it make my Pi last not as long. Is there other ways to make it faster?
May I ask what applications are being used and are they optimized to run on the Pi?
by CopterRichie
Sat Jan 18, 2014 6:15 pm
Forum: Raspbian
Topic: VLC Raspbian Repository
Replies: 11
Views: 3928

Re: VLC Raspbian Repository

Thank you, I will exercise patience. ;)
by CopterRichie
Sat Jan 18, 2014 5:20 pm
Forum: Raspbian
Topic: VLC Raspbian Repository
Replies: 11
Views: 3928

Re: VLC Raspbian Repository

I was not very good in my search, is there a release note on the upgrades in Jessie?

Thank you.
by CopterRichie
Sat Jan 18, 2014 1:59 pm
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 11873

Re: is there a real advantage to use C++ over Python?

OK, back to the OP question: C++ or Python for quadcopter? Doesn't sound like flight controller will be RPi - it'll only be communicating with it. My quad is completely Python. PWM to ESCs direct from GPIO pins. Each loop of (check targets, read sensors, process PIDs, update PWM) currently takes 5m...
by CopterRichie
Fri Jan 17, 2014 7:29 pm
Forum: General discussion
Topic: Sending commands to the pi, via ip control
Replies: 7
Views: 3428

Re: Sending commands to the pi, via ip control

I added the following to /etc/inittab for my application. Works great so far. socat will listen to port 8899 and when a connection comes in, it will open the serial port. Once the connection is done, a respawn is done making it ready for a new connection. #Spawn a getty on Raspberry Pi serial line #...
by CopterRichie
Fri Jan 17, 2014 4:16 pm
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 11873

Re: is there a real advantage to use C++ over Python?

Very good Python or Java programmer can create code that will be both smaller and faster, than C++ code written by average C++ developer. Proven many times. I have to strongly agree. Seems there is a tendency because of the powerful CPUs available nowadays, to become very wasteful in coding practic...
by CopterRichie
Fri Jan 17, 2014 3:10 pm
Forum: General discussion
Topic: Sending commands to the pi, via ip control
Replies: 7
Views: 3428

Re: Sending commands to the pi, via ip control

I don't know if this is the solution however, I just discovered SOCAT (sudo apt-get install socat) and I am amazed at all of the things it can do.

Here are some examples: http://stuff.mit.edu/afs/sipb/machine/p ... 2/EXAMPLES
by CopterRichie
Fri Jan 17, 2014 2:04 am
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 11873

Re: is there a real advantage to use C++ over Python?

Just an opinion, if the goal is a quad-copter, I would have to go with an Arduino C/C++ (There are some really cheap boards with the sensors available) for the low level flight control and use the Pi/Python for Navigation, Communication and Video etc. So this would be the best condition of both worl...
by CopterRichie
Wed Jan 08, 2014 10:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Connection between Pi and Arduino
Replies: 11
Views: 2922

Re: Serial Connection between Pi and Arduino

Thank you one and all. I did it with the voltage divider but in retrospects, the 3.3 zener was a better option. On the next version, Zener it will be. :)
by CopterRichie
Wed Jan 08, 2014 8:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Connection between Pi and Arduino
Replies: 11
Views: 2922

Re: Serial Connection between Pi and Arduino

Hi I said someone prefer two resistors, and that's fair enough. I prefer a zener as it provides a fixed cut-off rather than a fraction of whatever is the high voltage, but generally it makes little odds. As to the other, 3V to 5V, http://www.atmel.com/Images/Atmel-2486-8-bit-AVR-microcontroller-ATm...
by CopterRichie
Wed Jan 08, 2014 6:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Connection between Pi and Arduino
Replies: 11
Views: 2922

Re: Serial Connection between Pi and Arduino

Connect Arduino Tx to a 2k4 resistor, other side of that resistor to Pi Rx and a 4k7 resistor to ground. You can connect the Pi Tx to the Arduino Rx directly (an in-line 2k4 resistor won't hurt, but skip the resistor to ground) Above circuit was tested with 5V sensors on my SPRITE robot. Thank you,...
by CopterRichie
Wed Jan 08, 2014 6:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Connection between Pi and Arduino
Replies: 11
Views: 2922

Re: Serial Connection between Pi and Arduino

thank you. The reason I was considering something like the above is because I have a breadboard I built with limited space. I am unable to add one of the Sparkfun Logic level boards between the Pi and Arduino in its present configuation. I will just have to make it over. :(
by CopterRichie
Wed Jan 08, 2014 4:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Connection between Pi and Arduino
Replies: 11
Views: 2922

Re: Serial Connection between Pi and Arduino

Will the following work using a Pulldown 1K Resistor?

Code: Select all

Pi| RX————+———-TX| Arduino
          |
          |
      1K Resistor
          |
          |
         ___
          -
by CopterRichie
Wed Jan 08, 2014 1:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Connection between Pi and Arduino
Replies: 11
Views: 2922

Re: Serial Connection between Pi and Arduino

Thank you, that is what I was afraid of. :(
by CopterRichie
Wed Jan 08, 2014 1:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Connection between Pi and Arduino
Replies: 11
Views: 2922

Serial Connection between Pi and Arduino

Please forgive this question because I know it been asked before but I would like some clarity. I would like to connect the Pi's GPIO pins 14 & 15 directly to the Arduino TX & RX pins. Is it safe considering the Pi is 3.3 volts and the Arduino is 5 volts? |— TX TX —| | \ / | Pi| X | Arduino | / \ | ...

Go to advanced search