+ 18

All about arduino

Here is a thread for all arduino programmers like me. Just talk anything about it.

25th Feb 2017, 12:36 PM
Daniel Fernandes
Daniel Fernandes - avatar
14 Réponses
+ 7
@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.
13th Oct 2017, 8:17 AM
seamiki
seamiki - avatar
+ 7
@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. :)
10th Mar 2017, 11:25 AM
J.G.
J.G. - avatar
+ 6
@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.
26th Feb 2017, 12:48 PM
J.G.
J.G. - avatar
+ 5
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.
25th Feb 2017, 3:42 PM
J.G.
J.G. - avatar
+ 5
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?
25th Feb 2017, 5:24 PM
J.G.
J.G. - avatar
+ 5
@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.
25th Feb 2017, 10:44 PM
J.G.
J.G. - avatar
+ 4
@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).
10th Mar 2017, 5:51 AM
seamiki
seamiki - avatar
+ 3
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.
25th Feb 2017, 1:57 PM
seamiki
seamiki - avatar
+ 3
Do your continuous rotation servos have angle control or speed control?
26th Feb 2017, 4:46 AM
Daniel Fernandes
Daniel Fernandes - avatar
+ 3
Steppers have the advantage of speed and angle control.
26th Feb 2017, 9:59 AM
Daniel Fernandes
Daniel Fernandes - avatar
+ 2
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.
25th Feb 2017, 2:14 PM
Karlo
Karlo - avatar
+ 2
plze as a new in arduino what should i do am using window 8 laptop
26th Jun 2018, 9:24 PM
Itz ABUBAKAR HÃBÙKHÃÑ
+ 1
@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
25th Feb 2017, 9:31 PM
Karlo
Karlo - avatar
2nd Jul 2018, 4:30 PM
seamiki
seamiki - avatar