Jump to content

Recommended Posts

Posted
  On 12/14/2023 at 1:50 PM, oracid said:

Unfortunately, I don't think so. The Raspberry world is designed for 3.3V. A large part of the pins are used for communication, UART, SPI, I2C. And all sensors are 3.3V.
This is part of the reason why I stay with the Arduino Uno or Nano.

Expand  

oh thanks, welp starting the collection of useless circuits lol, I'm planning to connect a receiver to the Arduino and use a radio controller (made for a plane) for it by plugging the PWM inputs into the Arduino, would that work for remote controlling?

Posted
  On 12/14/2023 at 2:36 PM, glowytheglowbug said:

I'm planning to connect a receiver to the Arduino and use a radio controller (made for a plane) for it by plugging the PWM inputs into the Arduino, would that work for remote controlling?

Expand  

Maybe this topic will interest you.

Mini Tank - Radio Controller - Geekservo - Arduino - LEGO Technic, Mindstorms, Model Team and Scale Modeling - Eurobricks Forums

 

Posted
  On 12/14/2023 at 4:39 PM, oracid said:
Expand  

Also i found some interesting motors and servos

13kg?https://www.aliexpress.us/item/3256805735585376.html

https://www.aliexpress.com/item/1005006285236552.html?spm=a2g0o.store_pc_groupList.8148356.15.65aa135c9OnPVH

Posted (edited)

Yes, the DC motor seems interesting, I don't know it. But he has no interest in a quadruped.
I have already tested the QHrobot servo H96S - 180. I measured a torque of 8kg.cm. It weighs 95g, which is quite heavy. I have considered making a quadruped with him, but not at the moment.

https://drive.google.com/file/d/1b2hZ-AMwO6TSSXHPfZS6pSNXNZMiR89_/view?usp=sharing

Edited by oracid
Posted (edited)
  On 12/15/2023 at 6:57 AM, oracid said:

Yes, the DC motor seems interesting, I don't know it. But he has no interest in a quadruped.
I have already tested the QHrobot servo H96S - 180. I measured a torque of 8kg.cm. It weighs 95g, which is quite heavy. I have considered making a quadruped with him, but not at the moment.

https://drive.google.com/file/d/1b2hZ-AMwO6TSSXHPfZS6pSNXNZMiR89_/view?usp=sharing

Expand  

Also with my geekservo motors, they don't seem to have a hard stop when they rotate past 360 so technically are they able to continously rotate? 

Edited by glowytheglowbug
Posted (edited)
  On 12/15/2023 at 1:30 PM, oracid said:

If you're talking about the gray GeekServo, the answer is, no.

Expand  

Ah alright, my 1.4:1 gearing just screws the angle up once it rotates over 360 but it shouldn't happen anyways, thanks!
it seems to happen only when I overdraw too much current or when the code crashes

Edited by glowytheglowbug
Posted (edited)
  On 12/15/2023 at 1:30 PM, oracid said:

If you're talking about the gray GeekServo, the answer is, no.

Expand  

my arduino nano has just arrived btw, the hub seems to not power the servos and I just hear a clicking noise 

 

https://www.aliexpress.com/item/4000579100527.html?spm=a2g0o.order_detail.order_detail_item.7.4063f19c462En7

got this arduino btw

Edited by glowytheglowbug
Posted
  On 11/12/2023 at 6:21 PM, oracid said:

But with a needle, you must invert the 2 little connectors of the PH2.0 connector. This is very important.

Expand  

Maybe you will have a second chance.

Please, stop powering the Shield ! ! !

Very lightly, with a needle, you must lift the lugs which hold the small pin connectors in their housing.
Then you gently pull these small connectors and reverse them .
How many Nano did you order?

Please look very carefully at the images in the links. https://fr.aliexpress.com/item/33063354279.html?spm=a2g0o.order_list.order_list_main.353.4e905e5bcm5dTU&gatewayAdapt=glo2fra

ShieldConnector

 

Posted (edited)
  On 12/16/2023 at 1:45 PM, oracid said:

Maybe you will have a second chance.

Please, stop powering the Shield ! ! !

Very lightly, with a needle, you must lift the lugs which hold the small pin connectors in their housing.
Then you gently pull these small connectors and reverse them .
How many Nano did you order?

Please look very carefully at the images in the links. https://fr.aliexpress.com/item/33063354279.html?spm=a2g0o.order_list.order_list_main.353.4e905e5bcm5dTU&gatewayAdapt=glo2fra

ShieldConnector

 

Expand  

there are 2 holes with slots instead of 2 tiny holes as you can see in my picture
do you happen to have a video or more pictures of the one you have?

 

 

ah it works now, has lights and servos move! thanks

Edited by glowytheglowbug
Posted (edited)
  On 12/16/2023 at 3:21 PM, glowytheglowbug said:

ah it works now, has lights and servos move! thanks

Expand  

What have you done to make it working ?

 

Anyway, here is a picture with the way to move the little connector.

Needle-L

 

Edited by oracid
Posted
  On 12/16/2023 at 6:03 PM, oracid said:

It works, but one day, you could forget what you have done.

Expand  

i mean it reminds me that i suck at soldering by the amount of tape on the connections also the color of the wires is fine, ill figure the code out now thanks for your help!

Posted (edited)
  On 12/17/2023 at 2:29 PM, glowytheglowbug said:

can you attach buttons to the nano shield? don't see a way to do so

Expand  

Yes, of course !

Here, the code :

// putting a fugitive switch between GND and pin 0
// Each time the switch is pressed, the value of x toggles between 0 and 1.
const int pb = 0;
bool x=0;
void setup() {
  Serial.begin(9600);
  pinMode(pb,INPUT_PULLUP);
}
	void loop() {
  Serial.print("            x = "); Serial.println(x);
  if(!digitalRead(pb)) x = x ^ 1;
  delay(200);
}
	

Sorry, you don't have the pin 0 on your Shield. Instead use A0. So, it will be "const int pb = A0".

Edited by oracid
Posted
  On 12/17/2023 at 5:27 PM, oracid said:

Yes, of course !

Here, the code :

// putting a fugitive switch between GND and pin 0
// Each time the switch is pressed, the value of x toggles between 0 and 1.
const int pb = 0;
bool x=0;
void setup() {
  Serial.begin(9600);
  pinMode(pb,INPUT_PULLUP);
}
	void loop() {
  Serial.print("            x = "); Serial.println(x);
  if(!digitalRead(pb)) x = x ^ 1;
  delay(200);
}
	

Sorry, you don't have the pin 0 on your Shield. Instead use A0. So, it will be "const int pb = A0".

Expand  

Yep! Tried it out with some buttons, works well now to figure out the inverse kinematics for the legs, do you happen to have a diagram or link I can refer to? 

Posted
  On 12/21/2023 at 8:39 AM, glowytheglowbug said:

now to figure out the inverse kinematics for the legs, do you happen to have a diagram or link I can refer to? 

Expand  

 

For 3 next weeks I am in Mexico. I am not sure I can answer your questions, because no net where I go.

 

Posted
  On 12/21/2023 at 3:23 PM, oracid said:

 

For 3 next weeks I am in Mexico. I am not sure I can answer your questions, because no net where I go.

 

Expand  

Woah thanks for your help, nice to see that the cosin rule i learnt in maths is useful here, with my design as there is no value, g , can i still use this formula? Just changing the g to 0 and setting up my variables for c and a would it work? 

Also have a nice trip in mexico (if its a holiday) thanks for your help! Theres not much rush to this project anyways.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...