Old 06-23-2010, 01:40 AM #1
Junior Member
 
Join Date: Sep 2009
Posts: 12
Rep Power: 0
Reonarudo is on a distinguished road
Reonarudo Reonarudo is offline
Junior Member
 
Join Date: Sep 2009
Posts: 12
Rep Power: 0
Reonarudo is on a distinguished road
Default 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?


Reonarudo is offline   Reply With Quote


















Old 06-23-2010, 02:37 AM #2
Banned
 
Join Date: Jan 2009
Posts: 390
Rep Power: 0
carmangary has a spectacular aura aboutcarmangary has a spectacular aura about
carmangary carmangary is offline
Banned
 
Join Date: Jan 2009
Posts: 390
Rep Power: 0
carmangary has a spectacular aura aboutcarmangary has a spectacular aura about
Default 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.
carmangary is offline   Reply With Quote
Old 06-23-2010, 02:39 AM #3
Junior Member
 
Join Date: Sep 2009
Posts: 12
Rep Power: 0
Reonarudo is on a distinguished road
Reonarudo Reonarudo is offline
Junior Member
 
Join Date: Sep 2009
Posts: 12
Rep Power: 0
Reonarudo is on a distinguished road
Default Re: Drawing circumference

...I was wondering if any one has had the same problem, and if they have, how did they solved it...
Reonarudo is offline   Reply With Quote
Old 06-23-2010, 02:49 AM #4
Banned
 
Join Date: Jan 2009
Posts: 390
Rep Power: 0
carmangary has a spectacular aura aboutcarmangary has a spectacular aura about
carmangary carmangary is offline
Banned
 
Join Date: Jan 2009
Posts: 390
Rep Power: 0
carmangary has a spectacular aura aboutcarmangary has a spectacular aura about
Default 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.
carmangary is offline   Reply With Quote
Old 06-23-2010, 02:58 AM #5
Junior Member
 
Join Date: Sep 2009
Posts: 12
Rep Power: 0
Reonarudo is on a distinguished road
Reonarudo Reonarudo is offline
Junior Member
 
Join Date: Sep 2009
Posts: 12
Rep Power: 0
Reonarudo is on a distinguished road
Default 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
Reonarudo is offline   Reply With Quote
Old 06-23-2010, 03:08 AM #6
Junior Member
 
Join Date: Sep 2009
Posts: 12
Rep Power: 0
Reonarudo is on a distinguished road
Reonarudo Reonarudo is offline
Junior Member
 
Join Date: Sep 2009
Posts: 12
Rep Power: 0
Reonarudo is on a distinguished road
Default 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
Reonarudo is offline   Reply With Quote
Old 06-24-2010, 05:22 AM #7
Cyparagon's Avatar
Class 4 Laser
 
Join Date: Sep 2007
Location: Wisconsin
Posts: 9,293
Rep Power: 211757
Cyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond repute
Cyparagon Cyparagon is offline
Class 4 Laser
Cyparagon's Avatar
 
Join Date: Sep 2007
Location: Wisconsin
Posts: 9,293
Rep Power: 211757
Cyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond repute
Default Re: Drawing circumference

There are 10 types of people in this world...
__________________
A problem well stated is a problem half solved.
Cyparagon is offline   Reply With Quote
Reply





Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On

























Privacy Policy | Advertising Disclaimer | Terms of Use


 


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


Powered by: vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
Privacy Policy | Advertising Disclaimer | Terms of Use
Copyright (C) 2017 Laser Pointer Forums, LLC