That's really cool Nrets. Could you send or post the M file? I took an image processing course in college using Matlab years ago. My term project was blur reduction using image deconvolution.
Sure no problem. I attached the file. It accepts inputs of dtheta, R, and image_in.
dtheta is the change in angle for each step
R defines the radial 'resolution', it will be the number of LEDs used to generate the image
image_in can be defined with the following code:
image_in = imread('filename','filetype');
The output of the file is a matrix containing a column of angles in radians, a column of the LED number, and a column of 1 or 0 to indicate if that LED should be on or off.
The code also plots your image, so it may take a while to run. Get rid of this line if you just need the data.
View attachment topolar.txt
(had to attach it as a text file, wouldn't let me attach an m-file)
What PIC is that? It says 16F83P. There's no such thing.
You have the PIC's ground (VSS) connected to VCC, which would be 5V, and you have the PIC's VDD connected to a ground symbol. OH! I see you did the same thing on the 5450 connections. You'll smoke chips if you wire them that way. VSS=Ground. VDD=Power.
Ground symbols should always point down, and power symbols (VCC) should always point up. Some people like to draw a ground rail across the bottom and a power rail across the top and connect everything to them, but that's optional.
I sure wouldn't pull up the OSC1 pin like that. Remove that resistor. MCLR should be pulled up as you've done, though I'd use a 22K or 33K resistor instead of the 10K. The 10K is ok though. It just wastes a little more power.
One more fairly big mistake is that you have all your LEDs backwards. The MM5450/5451 chips' outputs are designed to sink current. That means that when they switch on, they switch to ground. They're not able to source current. So you should connect the LED cathodes to the chip and supply power to the anodes.
That's all I can see with a quick look though. Not too bad for a start.
Wow, yeah, I'm really glad I don't have the parts yet, haha!
I fixed those problems and added a few wires and capacitors for brightness control, but not sure if it's configured properly.
I'll also go ahead and add some wires for IC programming since I have free pins.