All about arduino
Here is a thread for all arduino programmers like me. Just talk anything about it.
@Krafter, if you want to shrinkify your Arduino UNO, just unplug the ATMega328 from its socket and plug it on your breadboard. A USB to TTL cable is cheaper than another micro. If you happen to have around a serial port on your pc (or a usb to serial adapter), all you need is a 7404 inverter logic chip that costs 50 cents. You'll also get a range extention (up to 15 m for the rs232 vs the 2m capability of th USB connection) with the last method.
@semiki Good information. I might be able to find some servos, even with encoders in them. I know I have one heavy duty one, but it is for like 1 cm diameter shafts. :)
@Alison They have position based speed control. So it has an encoder, and it knows how fast to go based off of the input and where it is based off of the encoder. But you can't say, make it go to 67° without timing it out. So I agree, steppers seem better here.
I have also used trinkets and ProTrinkets for smaller projects. They work great for small things that don't use much memory. I have made air cannon controllers out of them, and they work great. For small projects I would recommend them.
Transferring from Rubik's Cube topic: I am currently working on a robotic Rubik's Cube solver controlled by an arduino that has six stepper motors (or servo motors) to spin each face. Of course, SoloLearn doesn't support this language. But people here might be interested. It would be something like this, with some modifications: http://newatlas.com/rubiks-cube-robot-world-record-sub1/41730/?li_source=LI&li_medium=default-widget I was wondering if servo motors or stepper motors would be better. Does anyone have an idea? Alison said stepper motors, which was used in the link. Has anyone used servos with an arduino? Or know how to, and if servo motors could be fast enough to do this project?
@Krafter166 I have used continuous rotation servos before. The only problem is that servos are geared for torque, not speed. So travel isn't a problem, but it seems that steppers would be faster.
@J.G. a stuck rubik cube could potentially burn your motor driver while using stepper motors. try with servo motors until your setup is not perfect. you can create some rotational feeback control using rotary encoders from old mice and / or printers. (computer shops are a good source of dead printers that are in turn a gold mine in term of motors, geared drives and sensors).
For starters, avoid smd versions or clones that replace the Atmega16U2 with an ft232 usb/serial adaptor. the smd version will prevent you from building your own arduino on breadboard. the ft232 will prevent you from change the firmware on the 16U2 so that your UNO could behave as HID like a LEONARDO does.
Do your continuous rotation servos have angle control or speed control?
Steppers have the advantage of speed and angle control.
The Arduino UNO can be used for quick tests, for prototypes on a breadboard use the Arduino Nano and for finished projects you can use the Arduino Pro Mini, which is the smallest one and it'll fit nearly everywhere.
plze as a new in arduino what should i do am using window 8 laptop
@J.G. Servo motors aren't fast enough and they can only go 90° to left and right. For the stepper motor you can use to H-bridges. Here's a video that explains the servo motors a bit: https://youtu.be/bkqoKWP4Oy4
Bug: Sololearn notification is still showing number in the notification icon even i did mark as read
Izzy the iguana code coach
Finished python for beginners
Hi, hope you're doing good.Could someone please tell me why does the while loop not stop when I type in rock, paper or scissors?
C++ Question re stringstream
Why sometimes 0 is printed?