Welcome to Laser Pointer Forums! If you are looking for a laser you may want to check out the Laser Company Top Sites List. The link will open in a new window for your convenience.

Colorful 2018, Colorful Laser Power Meter
 Laser Pointers Drawing circumference

LPF Laser Pointer Company Database (link opens new window)

06-23-2010, 01:40 AM #1
 Junior Member Join Date: Sep 2009 Posts: 12 Rep Power: 0
Reonarudo
Junior Member

Join Date: Sep 2009
Posts: 12
Rep Power: 0
Drawing circumference

Hi,
I assembled a SCANLSP20 and I'm using an arduino to control it. My problem is drawing circles they come out with som pointy edges like the ones in the photo

Does anyone know what is happening? Can you help me please?

06-23-2010, 02:37 AM #2
 Banned Join Date: Jan 2009 Posts: 390 Rep Power: 0
carmangary
Banned

Join Date: Jan 2009
Posts: 390
Rep Power: 0
Re: Drawing circumference

My car sounds funny. Can you tell me what is wrong with it?

Seriously, though, it looks like the problem is in your Y. So check for funny business there.

06-23-2010, 02:39 AM #3
 Junior Member Join Date: Sep 2009 Posts: 12 Rep Power: 0
Reonarudo
Junior Member

Join Date: Sep 2009
Posts: 12
Rep Power: 0
Re: Drawing circumference

...I was wondering if any one has had the same problem, and if they have, how did they solved it...

06-23-2010, 02:49 AM #4
 Banned Join Date: Jan 2009 Posts: 390 Rep Power: 0
carmangary
Banned

Join Date: Jan 2009
Posts: 390
Rep Power: 0
Re: Drawing circumference

Have you scoped your arduino output to verify you are sending proper signals to the scanner amps? That would be my guess. It looks like the pulses are somewhat periodic in X time. Almost as if you have a square wave riding on your Y output. Since scanners are analog devices, that strongly suggests that the problem is not with them. So, my guess is something funky is going on with your arduino output. How are you converting the arduino output to analog voltages? Hopefully, not PWM.

06-23-2010, 02:58 AM #5
 Junior Member Join Date: Sep 2009 Posts: 12 Rep Power: 0
Reonarudo
Junior Member

Join Date: Sep 2009
Posts: 12
Rep Power: 0
Re: Drawing circumference

I don't have an oscilloscope to make a proper diagnostic from the output wave. The wave is analog it sent from a 12 bit DAC that is connected to the arduino. I'll probably try changing the DAc it might be having some output problem to the Y axis.

Thank you

06-23-2010, 03:08 AM #6
 Junior Member Join Date: Sep 2009 Posts: 12 Rep Power: 0
Reonarudo
Junior Member

Join Date: Sep 2009
Posts: 12
Rep Power: 0
Re: Drawing circumference

Oh just found the problem! It was a stupid mistake on my programming. passing a 0x1100 code to the DAC when it should be a 0x1000

06-24-2010, 05:22 AM #7
 Class 4 Laser Join Date: Sep 2007 Location: Wisconsin Posts: 9,293 Rep Power: 211757
Cyparagon
Class 4 Laser

Join Date: Sep 2007
Location: Wisconsin
Posts: 9,293
Rep Power: 211757
Re: Drawing circumference

There are 10 types of people in this world...
__________________
A problem well stated is a problem half solved.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

All times are GMT. The time now is 06:39 PM.

 -- DarkShadows V5 -- Responsive LPF -2562016 -- Default Style Contact Us - Laser Pointers - Archive - Top