glowytheglowbug Posted December 14, 2023 Author Posted December 14, 2023 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? Quote
oracid Posted December 14, 2023 Posted December 14, 2023 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 Quote
glowytheglowbug Posted December 15, 2023 Author Posted December 15, 2023 12 hours ago, oracid said: Maybe this topic will interest you. Mini Tank - Radio Controller - Geekservo - Arduino - LEGO Technic, Mindstorms, Model Team and Scale Modeling - Eurobricks Forums 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 Quote
oracid Posted December 15, 2023 Posted December 15, 2023 (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 December 15, 2023 by oracid Quote
glowytheglowbug Posted December 15, 2023 Author Posted December 15, 2023 (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 December 15, 2023 by glowytheglowbug Quote
oracid Posted December 15, 2023 Posted December 15, 2023 If you're talking about the gray GeekServo, the answer is, no. Quote
glowytheglowbug Posted December 15, 2023 Author Posted December 15, 2023 (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 December 15, 2023 by glowytheglowbug Quote
glowytheglowbug Posted December 16, 2023 Author Posted December 16, 2023 (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 December 16, 2023 by glowytheglowbug Quote
oracid Posted December 16, 2023 Posted December 16, 2023 You must be more specific. Can you show me the code and a picture of the mounting. Quote
glowytheglowbug Posted December 16, 2023 Author Posted December 16, 2023 5 minutes ago, oracid said: You must be more specific. Can you show me the code and a picture of the mounting. the leds dont light up, they only light up when the USB on the arduino is plugged in Quote
oracid Posted December 16, 2023 Posted December 16, 2023 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 Quote
glowytheglowbug Posted December 16, 2023 Author Posted December 16, 2023 (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 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 December 16, 2023 by glowytheglowbug Quote
oracid Posted December 16, 2023 Posted December 16, 2023 (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. Edited December 16, 2023 by oracid Quote
glowytheglowbug Posted December 16, 2023 Author Posted December 16, 2023 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. in the connection between my battery and the plug I just swapped it XD Quote
oracid Posted December 16, 2023 Posted December 16, 2023 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. Quote
glowytheglowbug Posted December 16, 2023 Author Posted December 16, 2023 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 Quote
oracid Posted December 16, 2023 Posted December 16, 2023 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. Quote
glowytheglowbug Posted December 16, 2023 Author Posted December 16, 2023 Just now, oracid said: I wouldn't say it's a good thing. is that what its supposed to do by changing the polarity of the pins Quote
oracid Posted December 16, 2023 Posted December 16, 2023 It works, but one day, you could forget what you have done. Quote
glowytheglowbug Posted December 16, 2023 Author Posted December 16, 2023 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! Quote
glowytheglowbug Posted December 17, 2023 Author Posted December 17, 2023 20 hours ago, oracid said: It works, but one day, you could forget what you have done. can you attach buttons to the nano shield? don't see a way to do so Quote
oracid Posted December 17, 2023 Posted December 17, 2023 (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 December 17, 2023 by oracid Quote
glowytheglowbug Posted December 21, 2023 Author Posted December 21, 2023 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? Quote
oracid Posted December 21, 2023 Posted December 21, 2023 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. Quote
glowytheglowbug Posted December 21, 2023 Author Posted December 21, 2023 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.