Jump to content
THIS IS THE TEST SITE OF EUROBRICKS! ×
THIS IS THE TEST SITE OF EUROBRICKS!

Recommended Posts

Posted
45 minutes ago, 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.

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?

  • Replies 89
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
2 hours ago, 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?

Maybe this topic will interest you.

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

 

Posted
12 hours ago, oracid said:

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)
1 hour ago, 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

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)
1 hour ago, oracid said:

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

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)
21 hours ago, oracid said:

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

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
5 minutes ago, oracid said:

You must be more specific. 
Can you show me the code and a picture of the mounting.

IMG_20231216_195514IMG_20231216_195526

the leds dont light up, they only light up when the USB on the arduino is plugged in 

Posted
On 11/12/2023 at 7:21 PM, oracid said:

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

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)
3 hours ago, 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

 

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)
2 hours ago, glowytheglowbug said:

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

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
1 minute ago, oracid said:

What have you done to make it working ?

 

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

Needle-L

 

in the connection between my battery and the plug I just swapped it XD 

Posted
1 minute ago, glowytheglowbug said:

in the connection between my battery and the plug I just swapped it XD

I don't really understand, but if it works, all is good.

Posted
Just now, oracid said:

I don't really understand, but if it works, all is good.

basically the red from my battery goes to the black on the plug, and the black on the plug goes to the red on the battery :D

Posted
3 minutes ago, glowytheglowbug said:

basically the red from my battery goes to the black on the plug, and the black on the plug goes to the red on the battery :D

I wouldn't say it's a good thing.

Posted
Just now, oracid said:

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

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)
2 hours ago, glowytheglowbug said:

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

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/18/2023 at 1:27 AM, 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".

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
6 hours ago, 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? 

 

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

 

Posted
1 hour ago, 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.

 

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.

Announcements

  • THIS IS THE TEST SITE OF EUROBRICKS!

×
×
  • Create New...