Completed

Looking for programmer able to write Arduino PID (DIY servo) sketch (library) -- 2

Hi,

Kindly carefully read the bellow description, before pacing you offer.

I'm currently working on a DIY servo (closed loop DC motor) project, and completely stuck on Arduino Pro Mini (Atmega 328p) code.

I want to achieve following smooth and precise results with non blocking code, as on this video:

[url removed, login to view]

In my project geared DC motor target position is controlled by DYI "digital potentiometer" which integrates AS5601 12 bit I2C magnetic rotary encoder (angle sensor) with 4096 "steps"

The actual position of the DC motor shaft (position feedback) is also send to arduino from another AS5601 sensor coupled with motor's shaft.

Motor is connected to the MC33926 driver (1 pin for direction and 2nd pin for PWM speed control)

I wrote simple code which reads the data from both AS5601 sensors , connected via PCA9544A (4-channel I2C multiplexer)

but now need the sketch part which will compare those values.

I tried to use a simplistic program with "IF" statements, which compares the input sensor value with output sensor value, and turn to the direction of calculated difference (CW or CCW) and some when motor reach target position, but unfortunately the results are terrible.

Here is the results video:

[url removed, login to view]

Also will need change the frequency of arduino PWM to 20KHz to suppress the audible noise, and create adjustable Input-output ratio, so I can "MAP" it in such manner that one full 360° degree rotation of the input "poteniometer" will rotate the motor shaft from 90° to 720°.

I believe that the result can be easily achieved with Arduino PID library by someone wich good PID knowledge, but my hobby programming level is not enough to do it.

So I'm looking for a person who is able to write required code.

I also may need your knowledge for other parts of my DIY project, such as: I2C OLED (U8glib library) refresh rate update, RFM69W signal level indication tweak, and so on.

Don't hesitate to contact me for any additional information you may need.

Kemahiran: Arduino, Pengaturcaraan C++, Ujian Perisian

Lihat lagi: write programming code, the cw programming, sketch programming, servo programming, pro programmer, programming degree, programming as a hobby, programming arduino in c, programmer degree, pid programming, need for programmer, need arduino programmer, mini pro programmer, map cplusplus, library part, i looking for a programmer, for loop in c programming, for loop c programming, degree for programming, dc programming

Tentang Majikan:
( 9 ulasan ) Paris, France

ID Projek: #9835858

Dianugerahkan kepada:

$25 USD dalam sehari
(0 Ulasan)
0.0

4 pekerja bebas membida secara purata $24 untuk pekerjaan ini

Anthony989

Hello, I am Anthony. I am working FULL TIME as freelancer. I have double degrees in Mechatronics and Applied Science fields. I have very good feedbacks on freelancer.com . Please check the lin Lagi

$25 USD dalam sehari
(1 Ulasan)
2.2
Engrjunaid015

I am working at software house. I am professional in itself

$20 USD dalam 3 hari
(0 Ulasan)
0.0
ahmedsonic

I have already built and PID arduino code and make it as a library to be added in many projects as i use it in quadcopter project and this library has many features.

$25 USD dalam 0 hari
(0 Ulasan)
0.0