I want to make a motorized camera slider that would use standard Arduino components. I don't know that much about Arduino but I still understand what people talk about.
You can look at my picture that I made to try and get an understanding of what I want. It would be powered by a stepper motor with a timing belt. I would prefer to use a Arduino Nano but any microcontroller would work.
At the ends, there would be microswitches. I would have a potentiometer to control the speed in both directions. A 3 way rocker switch would have OFF, INFINITE, and ONE WAY. The normal position would be off. When switched to INFINITE, the slider would move to one side, hit the limit switch, then go to th other side, hit the limit switch, and repeat, until I turn it off (this would be for interviews or things like that.) Then, the other position (ONE WAY) would start where the position was last left off, then go to one side (determind by the potentiometer for speed and direction) and hit the limit switch, and then just stop. Also there might be a little "Reset button" which just moves the carriage to one side of the slider which would be defined as the "home position", similar to a 3D printer. The thing I need help with is the coding/wiring. I can't imagine this being that difficult to code for most people, and I am currently taking an Arduino course. These are the electronics I am thinking:
Stepper motor driver
2 limit switches
3 way rocker switch
So if anyone can help me, or need me to clarify stuf, please contact me!
So I'm trying to upload some code to my Trinket Pro 5v 16 MHz (USB) for the Neopixel strips attached to it, and I get the following error:
Using Port : usb
Using Programmer : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
avrdude done. Thank you.
Programmer: AVRISP mkII
Board: Pro Trinket 5V 16 mHz USB
The tutorial on Adafruit says that when I press the reset button on the board, the red light should pulse for 10 seconds, which is when I should upload the code. My board doesn't do that. The light just comes on and goes back off. We've been using a USB cable that is used for uploading data, and this problem has followed us through the lands of Mac, Windows, and beyond. Please help with something besides "go to the Adafruit forums". If I wanted to do that, I would. Thanks!
Hi guys (and gals)
So last month I started the Guardian Sword project by the venerable Ruiz Men-Children. I have printed some of the parts and soldered all of my components. The problem I have is that when I try to compile the script for the Trinket, I gives me an error! But, Arduino won't give me details on what exactly is wrong, so I just had to look through the code, which didn't help me. Here are some technical details which might help y'all:
Adafruit Trinket 5V (USB connection)
89 Neopixels, one had to be cut off. It's a 60 LED Segment + 30 LED Segment.
Using Arduino 1.8.4
Neopixel Library 1.1.2
Adafruit AVR Boards 1.4.9
The only changes to the code that I made are here below:
define PIN 1
// Color Segments
define APIXELS 14 // number of first orange pixels
define BPIXELS 85 // number of blue pixels
define CPIXELS 89 // second orange pixels
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(89, PIN, NEO_GRB + NEO_KHZ800);
Hey everyone, I've created a short survey (5 questions max) for an engineering class. All answers are appreciated, ultimately it should help the 3D printing community as a whole. Thanks!