Search found 25 matches

by fausto.tromba
Mon Apr 27, 2020 11:30 am
Forum: General Discussion
Topic: serial command analog input
Replies: 5
Views: 1901

Re: serial command analog input

Sorry but in the user manual I didn't find any description about ReadSingnals in the Packet Serial. what is the command number? Can I have more details about it so I can implement it in the library? if you write directly the code witch i should write in the library we could avoid some ping pong mess...
by fausto.tromba
Sun Apr 26, 2020 11:28 pm
Forum: General Discussion
Topic: C++ library for Raspberry
Replies: 1
Views: 1101

C++ library for Raspberry

How can I use MCP236 with Raspberry programming in C++ ? do you have a library?
I saw that there are for Arduino in C, but not for Raspberry.

do you have an easy example? Like how to read the version of MSP236.
by fausto.tromba
Sat Apr 25, 2020 1:00 pm
Forum: General Discussion
Topic: serial command analog input
Replies: 5
Views: 1901

Re: serial command analog input

Hi thank you for your feedback.
I m using MSP236 with Raspberry and your Python library.
How can i read the adc value by UART?
Tkx
by fausto.tromba
Fri Apr 24, 2020 12:36 am
Forum: General Discussion
Topic: serial command analog input
Replies: 5
Views: 1901

serial command analog input

I would like to use the ADC in the MCP236. That signal will be not used to control the motor driver, but simply like a normal ADC. So instead to implement in my circuit an ADC, I thought to use the internal ADC of the motor driver. I set in the configuration setting: [ing] [/img] Mode Setting: Posit...
by fausto.tromba
Tue Feb 25, 2020 2:39 am
Forum: General Discussion
Topic: E-Stop Reset by Python
Replies: 1
Views: 3404

E-Stop Reset by Python

How to stop the motor by python? is it possible to receive a code example?
I was reading E-Stop Reset Method, but there is not so much description and the Python library doesn't include the methods.

Thamks

Fausto
by fausto.tromba
Thu Nov 14, 2019 12:01 am
Forum: General Discussion
Topic: R and L setting by serial
Replies: 15
Views: 5097

Re: R and L setting by serial

I will send you all. The firmware is 1.1.7 of MCP236. I cand set and get many parameters from the driver in the same python file (version, PIDs, set current and speed, etc). I will send you not all project but a test-file with few lines code: import time from roboclaw_3 import Roboclaw #Windows comp...
by fausto.tromba
Wed Nov 13, 2019 12:36 am
Forum: General Discussion
Topic: R and L setting by serial
Replies: 15
Views: 5097

Re: R and L setting by serial

Firmware Version 1.1.7 I can read and set many parameters and work fine by python library. Probably there just is an issue or bug. Reading the PID position by Python library, I receive the same value of PID speed I will send you an email with the library modified and the few code lines to read the R...
by fausto.tromba
Tue Nov 12, 2019 7:45 am
Forum: General Discussion
Topic: R and L setting by serial
Replies: 15
Views: 5097

Re: R and L setting by serial

Dear I modified what you said without any result. My model is MCP236. Can you try on your laboratory with the same model? What I receive is (1,0,0). So the data[0] is 1 (the command executed properly). I treid to attached here the sources, but it is not possible. Can I send you it by mail in support...
by fausto.tromba
Fri Nov 08, 2019 12:30 am
Forum: General Discussion
Topic: Position control by serial
Replies: 7
Views: 3071

Re: Position control by serial

I have used the command SpeedAccelDeccelPositionM1(). Now all is fine. Sometimes the motor driver went in error: M1 Position Error Limit. In the manual, I don't' find any explanation about it. The same for Error Limit. I just noticed that increasing Error Limit, the Position Error Limit Error decrea...
by fausto.tromba
Fri Nov 08, 2019 12:20 am
Forum: General Discussion
Topic: R and L setting by serial
Replies: 15
Views: 5097

Re: R and L setting by serial

Hi I have set the Resistance and the Inductance by BasicMicroStudio (see the picture) RL.PNG surly is in the memory of the MCP because even if I switch on all system and i restart the PC+ motor driver etc, I could read those values. I would like to read those values and write them by a serial comman...