360 spin photography

I recently purchased a chinese 140mm rotating plate for displaying watches etc.

The switches control speed, an automatic reverse, and direction.
Holding down the the left/right direction button will stop the rotation, after about 3 seconds.

What I want:
Replace the current controller with a controller that gets triggered by a camera remote button to rotate about 10 degrees and stop, That's when I take a photo of a miniature bottle, which triggers the next 10 degree rotation, for a total of 36 pictures.

I have 1500 of these miniatures, so this will take me some time correlating these photos for 360 spin videos.

I removed the platter, and saw that the motor is a 28JBY-48 stepper motor.

The ULN2003 will fit in where the commercial board is, so it should be easy to replace it, and add a few support posts

So now I need some help with an Arduino Uno to program the ULN2003 board to rotate this stepper motor 10 degrees, then stop, until I'm ready to take another picture.
I take it that this Arduino board could be set up to remotely control the camera as well, so I could have a cup of tea while doing this 360 spin thingy on each of these miniature bottles

The ULN2003 will fit in place of the original, or it could go in the AAA battery compartment
There's also a compartment for an 18650 3.75V 3800mAH battery, which I will use to drive the ULN2003

Then I would place the Uno into a box that would sit underneath the rotating table (with power supplied by an adapter, and suitable cable for the remote camera trigger)
The combined units will then sit in a lightbox (custom designed by me, of course)

Can anyone give me some pointers on how to program this?

What’s on the bottom the two boards - especially the button board…

The chip shown is probably a micro (PIC?)
I suspect the stepper driver is underneath the button board.

Yep, the stepper driver is underneath the installed, commercial board. It also has a LED, and a micro USB port supplying just 5 volts.
The other board is loose and a ULN2003 driver that comes with the purchase of the 28BYJ-48 stepper motor.

If you have one, turn it over and have a look, because you will see exactly the same thing that I can see
It's only in the picture to show the relative sizes of the ULN2003 and the commercial board.

I tried adding two more photos, but the site monitor dropped in, and said that, as this was my first message, I was limited to only one photo.
The carousel has, from the left, "R/L", "SR" and "ASA"
"R/L" obvious
"SR" - changes three speeds, and
"ASA" not sure what the letters are for, but it puts the unit into an automatic forward/reverse mode of about 240 degrees. Useless, really.
Here I go, trying another photo -

Countless tutorials on line, easily discovered by the search phrase "arduino 28byj-48"


So that is what the 28JBY-48 stepper motor is actually used for. :astonished:

Presumably not the only thing, but now we know the answer - one answer - to that puzzle.

The ULN2003 is a very poor choice for controlling a stepper motor, particularly at 5 V or even less - whatever the controller is on that original PCB would be far better, or a TPIC6B595.

I would be inclined to buy one of those displays to play with but they are just a little pricey merely for a plaything. :yawning_face:

You can buy them from wish for about $16, Ebay at $25, and Amazon for $28.
Up to about $400 via a display shop, but even at $16, my decision to buy one was not for a 'plaything', thank you very much.

12V version for sweeping vanes in AC outlet and operation of mechanism in table top ice making machine.

Tom... :smiley: :+1: :coffee: :australia:

Actually, the ULN2003 is fine for this project. In fact when you buy such a motor and driver it usually has a ULN2003

There are basically 4 pins on the ULN2003 (IN1 to IN4). You pulse each one of these in turn and the motor turns. I have experimented with the 5V version of these motor and drivers, and found that a 3ms pulse and a 10us gap between pulses gave good speed with OK torque. But play with the timings.

The gearing varies between models, but on my 5V motor, I need 2038 pulses per turn. Actually it is 2037.5, so there is NOT an exact number of pulses per 360 degrees. But you say "about" so try 204 pulses per 10 degrees. It is not precise but fine for your needs I think.

The power for the driver is supplied to the lower jumper in your picture.

Use an external 5V supply, as the motor need some current.

To enhance this project, you could even setup a flash sensor (say a tetp4400 ambient light sensor) to watch for camera flashes - assume you use a flash. Otherwise just a timing loop driving the camera remote then the motor would be sufficient for your drink tea.

Didn't suggest it was. :astonished:

But you do have a use for it. If I was to buy one - $12.33 + GST Australian - it would be to experiment with as I cannot offhand think of what I would display on it. :grin:

In general, I am not beyond buying little items simply because someone wanted to figure out how to use it here. The trouble is it takes three weeks or more for it to be delivered from China. :roll_eyes:

Thanks for the info
I bought a Jaycar Duinotech learning kit, and having some fun with it.
This is a bit like when I learnt Visual basic 6 about 20 years ago, so I understand the syntax and the construction problems
I've found a couple of programs for the stepper (and tried them) - now I've got to work out the code to do what I want the stepper to do.
This could be very helpful, as the miniature bottle club I belong to will be very impressed when I drop a lot of 360 spin videos on them.
Nearly all their displays are static (just pictures), so with a bit of luck, I might get them to start looking at a better way to display miniature bottles on their website
cheers - Graham

Hi Paul,
Yeah... when I started this exercise, I wanted a rotating display yesterday, but I had to wait.
I bought two, and promptly took one to pieces, to see what was inside

I've been playing.

First I got the Uno controlling the ULN2003 with just a small rotation of 10 degrees with a 3 second pause, just to get started

I've temporarily mounted the ULN2003 into the base of the carousel, and wired in the 16850 battery.

This is what it looks like

Seeing this site won't allow videos, I took snapshots of three of the 10 degree rotations, and combined them into a JPG. I think I will have to play with the amount of rotation, and the pause time a bit

Now what I have to do is see if I can trigger a camera during the pause, so I'll be scrounging through sketches for ideas
cheers all