Go to advanced search

by LucasStep02
Fri Nov 10, 2017 2:41 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

Hey guys! I thought I'd give an update as to where I am at: so currently I have almost finished my code, just fixing up some small issues that I am having with my ESC and tapering the servo limits to our needs. I am not going to post my code for until after my competition (8-12th December) in case o...
by LucasStep02
Sun Oct 29, 2017 11:15 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

It's an ESC for an R/C car/buggy right? So it's designed to plug into the same R/C receiver that the servos plug into. So it will be controlled in the same way like a servo. Correct and I assume that's also correct and that's what I have based my code (below) so far off of. Sorry for the lack of a ...
by LucasStep02
Fri Oct 27, 2017 11:24 pm
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

I suggest the 1kHz PWM frequency is just the pwm frequency it uses to control the speed of the motor and does not relate to the control signal. (i.e. the ESC converts low power 50Hz pwm signal from the PI to a high power 1kHz PWM signal to drive the motor) That makes sense actually! With the ESC sp...
by LucasStep02
Thu Oct 26, 2017 9:51 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

You should plan to try some things out yourself once you have all of your components as you will learn more that way. I have all the stuff I need with me and I have been trying some stuff with my servos and it's all working with my code which is awesome! But I am having trouble with the ESC as the ...
by LucasStep02
Wed Oct 25, 2017 7:00 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

To control the speed you adapt the length of the pulse proportionally, so the further the pulse is away from the centre position, the faster the motor will go. How do I find what the pulse values of forwards and reverse are? In the below code I have assumed an operating pulse length between 1000-20...
by LucasStep02
Mon Oct 23, 2017 10:44 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

In general, yes. But you'll have to read through the specs of your ESC. Sweet as! Thanks. I am currently following this thread ( https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=195492&p=1223520&hilit=ESC#p1223520 ) after reading what it has said as it is looking directly into using the PWM ...
by LucasStep02
Sun Oct 22, 2017 4:56 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

Sorry, but just going back over a previous reply I have a question. The ESC is combining the small, low-power, PWM control signal with the high power capability of your 7.4V Lipos to generate a 7.4V High current/power signal. it is performing the same job as the servo, just in a more powerful way. S...
by LucasStep02
Sat Oct 21, 2017 11:44 pm
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

Read the servo specs to find the min and max values for the pulse length. Hint: the min is not zero. So scale the joystick values so centre position = 1500us or 307 ticks. Min joystick= min servo pulse, max joystick= max servo pulse length. The reason I have the pulseLength equation the way it is i...
by LucasStep02
Sat Oct 21, 2017 2:16 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

Yes! Thanks so much! That just explained things so well in a way that I could understand, thanks! So, from what you have helped with, I have come up with this code: import RPi.GPIO as GPIO import pygame pygame.init() from time import sleep GPIO.setmode(GPIO.BOARD) GPIO.setup(11,GPIO.OUT) pwm=PWM(0x4...
by LucasStep02
Thu Oct 19, 2017 12:36 pm
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

Also with the Adafruit HAT for servos (link above), I am running into some problems finding out some info the HAT needs from my servos. So basically I need to know the frequency of the servos (in Hz) but I cannot find it. Can I just assume it runs off the standard 50Hz like most servos? Also, here i...
by LucasStep02
Thu Oct 19, 2017 12:38 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

That is good to know, but then how do you control an ESC with the Pi using Python coding? This is something that I have been looking into for a number of weeks but cannot find an answer to. Some forums like this one talk about it but then either it is left unfinished as they could not find the answe...
by LucasStep02
Wed Oct 18, 2017 8:24 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

This option doesn't look that viable for me as I would like to be able to use more than 3.3-5V on my servos because the more voltage I lose on my servos, the more power that gets taken away. Is it possible to still run the battery's power to the servos and then use the HAT's though? This would make...
by LucasStep02
Tue Oct 17, 2017 12:17 pm
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: RC Hobby Comp Car - Servos and ESC

Most servos are rated at 4.8-6V and supplying them with more voltage is usually not necessary and will just fry them, or reduce their life. You can get some pretty torquey servos at 5V these days,despite their small size. Currently I am using the savox servos sw1210sg (here is the link to the websi...
by LucasStep02
Tue Oct 17, 2017 9:28 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

you always need to close the loop, as currents always run in a loop (electrons cannot just appear or disappear, except perhaps in a quantum mechanical sense, but not in this context), but you close the loop by connecting the ground points of the circuits together. I knew you had to ground the devic...
by LucasStep02
Mon Oct 16, 2017 10:27 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Re: Is it possible to connect more than 5V to ground?

So are you guys saying that I can only have a max of 3.3V being supplied to my servos? I've read elsewhere that 5V is the max that can be used via the Pi, is this not the case? What my question is though is if I can have an external power supply of 7.4V directly powering my servos and then grounding...
by LucasStep02
Fri Sep 22, 2017 8:41 am
Forum: Beginners
Topic: Is it possible to connect more than 5V to ground? <-- Warning Nonsense!
Replies: 34
Views: 4232

Is it possible to connect more than 5V to ground? <-- Warning Nonsense!

Hey All, I am new to Raspberry Pi, and I am wondering if it is possible to connect more than 5V to a ground pin? I am working on an RC hobby car and will be controlling my servos and motors through the Pi 3. I will have another power supply of a 7.4V LiPo battery to power my servos and my Pi, but I ...

Go to advanced search