Email Detail
Show an email
GET /hyperkitty/api/list/[email protected]/email/VVUKWQYWHVPAD6ABC3OXEB6DB2PQ4GRY/
{ "url": "https://mailman.amsat.org/hyperkitty/api/list/[email protected]/email/VVUKWQYWHVPAD6ABC3OXEB6DB2PQ4GRY/", "mailinglist": "https://mailman.amsat.org/hyperkitty/api/list/[email protected]/", "message_id": "007201ca4bfd$ab3dbec0$01b93c40$@be", "message_id_hash": "VVUKWQYWHVPAD6ABC3OXEB6DB2PQ4GRY", "thread": "https://mailman.amsat.org/hyperkitty/api/list/[email protected]/thread/MH5TBPK46SEOSBNTP2LYWFBPAMKQON6E/", "sender": { "address": "amvm (a) skynet.be", "mailman_id": "340c1832ff0445bf8868c926b32e84a5", "emails": "https://mailman.amsat.org/hyperkitty/api/sender/340c1832ff0445bf8868c926b32e84a5/emails/" }, "sender_name": "Marc Vermeersch", "subject": "[amsat-bb] Re: PIC rotator control", "date": "2009-10-13T12:07:00Z", "parent": "https://mailman.amsat.org/hyperkitty/api/list/[email protected]/email/PNVI3J243Y7MIZZR23AXBGLCJSH7NFLL/", "children": [], "votes": { "likes": 0, "dislikes": 0, "status": "neutral" }, "content": "Hi Andrew,\n\nLet's take azimuth as an example. The PC sends a string containing the ascii\nvalue of the required azimuth. That value is converted to a binary value.\nThat binary value (0-360) is converted to an \"expected\" 10-bit ADC value\n(theoretically 0-1024) for that angle. \n\nThe range I get from my rotor is not 0-1024 but roughly 100-950 on one rotor\nand 50-800 on the other. Therefore I use a lookup table to do the\nconversion. After that I drive the rotor to make the measured angle equal to\nthe expected angle within a certain tolerance. That makes the motors run\nsmoothly without \"chasing\" the desired value.\n\nThis can be done in Perl on a LINUX PC, no doubt about that. The control\nloop will be longer and you would have to solve some additional problems\nlike how often do you need to communicate between the PC and the PIC to make\nthe motors run smoothly.\n\nGood Luck,\n--\n/\\/\\arc\n\n> -----Original Message-----\n> From: Andrew Rich [mailto:[email protected]]\n> Sent: dinsdag 13 oktober 2009 13:50\n> To: Marc Vermeersch; [email protected]\n> Subject: Re: [amsat-bb] PIC rotator control\n> \n> Kewl\n> \n> Do you convert\n> \n> \"067\" from ascii to binary and then compare that to an A/D value ?\n> \n> I have worked out how to do binary to ascii\n> \n> Sometime I wonder if just programming in perl on the LINUX side might\n> be\n> just as easy\n> \n> I think potentiometers are used on most rotators ?\n> \n> Unless stepper motors have entered the scene ?\n> \n> Andrew\n> \n> \n> ----- Original Message -----\n> From: \"Marc Vermeersch\" <[email protected]>\n> To: \"'Andrew Rich'\" <[email protected]>; <[email protected]>\n> Sent: Tuesday, October 13, 2009 9:44 PM\n> Subject: RE: [amsat-bb] PIC rotator control\n> \n> \n> > Hi Andrew,\n> >\n> > I have a PIC based solution currently in the prototype stage. It uses\n> a\n> > PIC18F4455 and drives a Yeasu AZ/EL rotor without the Yeasy control\n> box.\n> >\n> > The PC sends information to the PIC (RequestedAZ,RequestedEL) and the\n> PIC\n> > sends back status information to the PC\n> > (RequestedAZ,RequestedEL,CurrentAZ,CurrentEL,Status).\n> >\n> > Everything is done by the PIC:\n> > - Control of the rotor motors based on either move-every-n-seconds or\n> > move-when-error-angle-is-greater-than-n\n> > - Measurement of the actual AZ/EL with 10-bit resolution\n> > - Parking when no signal has been coming from the PC in x seconds -\n> or- an\n> > explicit park command is received\n> > - Stall protection\n> > - Some horizon protection: EL cannot go below x when AZ is y to avoid\n> > pointing into my neighbors' bedroom.\n> > - Over the top rotor control (under development)\n> > - ...\n> >\n> > I'm using a PIC18F4455 and it is very well capable of doing all that\n> and\n> > more. I have chosen this path for several reasons:\n> > - Eventually I want to run a tracking algorithm in the PIC too\n> > - To make the control loop shorter\n> > - To avoid dependence on the PC part specifically on safety related\n> > aspects\n> > like stall control and horizon protection.\n> > - To explore the capabilities of the PIC18\n> > - (Because it's my job to do embedded HW/SW)\n> >\n> > BR,\n> > --\n> > /\\/\\arc\n> >\n> >> -----Original Message-----\n> >> From: [email protected] [mailto:[email protected]]\n> On\n> >> Behalf Of Andrew Rich\n> >> Sent: dinsdag 13 oktober 2009 12:22\n> >> To: [email protected]\n> >> Subject: [amsat-bb] PIC rotator control\n> >>\n> >> Hello\n> >>\n> >> I am re-visting a rotator controller.\n> >>\n> >> I am curious, should I push the processing of the \"compare and make\n> a\n> >> decision\" onto the PIC, or pull that function back into the PC ?\n> >>\n> >> PC is LINUX\n> >>\n> >> I/O is serial\n> >>\n> >> PIC is 16F877\n> >>\n> >> Andrew VK4TEC\n> >>\n> >> _______________________________________________\n> >> Sent via [email protected]. Opinions expressed are those of the\n> >> author.\n> >> Not an AMSAT-NA member? Join now to support the amateur satellite\n> >> program!\n> >> Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb\n> >\n> \n> \n> -----------------------------------------------------------------------\n> ---------\n> \n> \n> \n> No virus found in this incoming message.\n> Checked by AVG - www.avg.com\n> Version: 8.5.421 / Virus Database: 270.14.12/2431 - Release Date:\n> 10/12/09\n> 13:01:00\n\n", "attachments": [] }