18 servo controller

Status
Not open for further replies.
Thanks Nigel. Looks like I have quite a few options then. I may just use a 5 cell NiMH 3300 GP pack, but was hoping to use a single large LiPo. But I can't seem to find an inexpensive DC-DC boost converter that would supply enough current. I figure with 6 legs at 3 servos each, there should be around 9 servos running at once. Stall current for these servos is 1.2-1.5A, + 3A for PIC, misc. So that comes out to around 16.5A @ 5V (or 6Vif I can find one). I will keep looking. For now I should probably just use a 5-cell and a modular design so I can change the PS later.
 
Hi,

I know this has 2 different servo controllers in one thread... but I am trying to make a servo controller using an 18f4550 and this first 2 pages seem exactly what I want, is there a recommended schematic/pcb as I am new to pics and am not sure what resistors and capacitors I need where to make the clock and usart happy....

any help would be great.

thanks.
 

Tried to compile the above code but I get the following errors:
Code:
error: 173	303	Identifier "USART_Init" was not declared	SERVO30.mbas
error: 173	304	Syntax error: Expected "end" but "USART_Init" found	SERVO30.mbas
error: 173	304	Syntax error: Expected "." but "(" found	SERVO30.mbas
error: 0	102	Finished (with errors): 02 Mar 2010, 15:05:12	SERVO30.mbppi
 
Hi, 3W

It seems you try to compile a MikroBasic file with the MikroBasic PRO compiler ...

You have to IMPORT ( IDE function that translates automatically the project ) the full project before asking for compilation ...

May be some lines to modify by hand ... but compiler will show the lines to be modded.

Used libraries also must be hand choosen ( not automatic ... eh ! )

Alain
 
Last edited:

In Mikro C the code compiled fine.But,
1)What is the format of the string that is to be sent to the PIC and
2)What should the config bits be?
3)How should I give the PIC 40 Mhz (will a 40 Mhz crystal connected to PIC do?The data sheet does not mention of a HS 40Mhz!!)
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…