Hey everyone,
This may seem like a dumb question. How do i wire an ESC to a picaxe?
Ok i have a project im working on and its meant to work like so;
I have a PIC 18 board and an 18m2 chip.
I have a pressure sensor as an input.
I want this input to control a motor via an esc.
I also have a potentiometer as a position feedback to use also.
My esc is behaving strangly. On the red wire i have about 5.5v, black wire is ground and white wire has 3.2 v( or there abouts). I have my esc hooked up to a 12v supply also. No im runing a program through the PIC but my motor or esc dont respond. Also i have a jumper on the PIC so i can bypass the IC2 controller as im using the esc to control the motor. If i jump the esc black and white wires it energises the motor im trying to control. I had it hooked up to the pic board as so. Black on esc goes to PIC ground. White wire i had hooked up to the output and the red was left loose. I know im doing something stupidly wrong but i can't unfortunatly see it. Any ideas??
Below is the beginning of my programing on my PIC:
servo 2,150 'Activate servo control
servopos 2,132 'Close pause 1000
servopos 2,150 'Stop pause 50
readadc 0,b5 'Take position reading and save to memory block b5
servopos 2,168 'Open pause 1000
servopos 2,150 'Stop pause 50
readadc 0,b6 'Take position reading and save to memory block b6
readadc 2,b1 'Take MAP sensor reading and save to memory block b1
This may seem like a dumb question. How do i wire an ESC to a picaxe?
Ok i have a project im working on and its meant to work like so;
I have a PIC 18 board and an 18m2 chip.
I have a pressure sensor as an input.
I want this input to control a motor via an esc.
I also have a potentiometer as a position feedback to use also.
My esc is behaving strangly. On the red wire i have about 5.5v, black wire is ground and white wire has 3.2 v( or there abouts). I have my esc hooked up to a 12v supply also. No im runing a program through the PIC but my motor or esc dont respond. Also i have a jumper on the PIC so i can bypass the IC2 controller as im using the esc to control the motor. If i jump the esc black and white wires it energises the motor im trying to control. I had it hooked up to the pic board as so. Black on esc goes to PIC ground. White wire i had hooked up to the output and the red was left loose. I know im doing something stupidly wrong but i can't unfortunatly see it. Any ideas??
Below is the beginning of my programing on my PIC:
servo 2,150 'Activate servo control
servopos 2,132 'Close pause 1000
servopos 2,150 'Stop pause 50
readadc 0,b5 'Take position reading and save to memory block b5
servopos 2,168 'Open pause 1000
servopos 2,150 'Stop pause 50
readadc 0,b6 'Take position reading and save to memory block b6
readadc 2,b1 'Take MAP sensor reading and save to memory block b1