
The email address is already associated with a Freelancer account. Enter your password below to link accounts:
Username:
Link your Facebook account to a new Freelancer account
Email address:
Valid username
Project Description:
Ok this should be a pretty simple project for any Microchip PIC programmer.
I have bought this board to control the speed of my son Power Wheels ride electric atv:http://www.canakit.com/30a-motor-speed-controller-pwm.html
It use a PIC12F615 to control the PWM duty cycle and the frequency. It is working fine, but the problem is that when we got a uphill, the car slow down way to much and when going downhill, it is going way to fast. So the project is to create code for this chip and board to make it closed loop. I already have a 0-5volts signal for the current motor speed, so at full speed i got 5 volts 1/2 speed i got 2.5volts and stopped 0 volts.
Right now the left potentiometer on the picture you see if for adjusting frequency, i want to remove this potentiometer and use this analog port as the motor speed input. and the right potentiometer is the duty cycle adjustement, i whant to change that as the desired speed adjustement. The frequency can be fixed at what should be the best for this type of application. I would ike to have the speed as steady as possible and the acceleration as fast as possible. I have attached the current circuit diagram of the board i got. When the motor speed sensor input is lower then the desired speed input, it should get the duty cycle higher and when the motor speed input is higher then the desired speed input, it should get is lower.
Thanx a lot!
Freelancer.com (formerly GetAFreelancer, Scriptlance and vWorker/Rentacoder) is the world's largest freelancing, outsourcing and crowdsourcing marketplace for small business. Hire freelancers to work in software, writing, data entry and design right through to engineering and the sciences, sales and marketing, and accounting & legal services.
Find freelance jobs and make money online! We have freelance coders, writers, programmers, designers, marketers and more. Getting the best web design, custom programming, professional writing or affordable marketing has never been easier!
© Copyright 2013 Freelancer Technology Pty Limited (ACN 142 189 759)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)