robomaster
@robomaster
Member
Joined: 2021-08-28 3:26 pm
Last seen: 2022-05-13 3:25 am
Topics: 0 / Replies: 36
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

@will Sorry about not using the replay right, The record button just starts the record function loop and putting the servo position on the SD Card....

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

I will look at it and will get the buttons working. I will send you the updated code.

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

Also, the servos are not moving as I move the pots.

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

I run the 5A code and above is the Serial Monitor Screen dump. I have to hold the record button down to make read.

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

I am sorry I just discovered the 5A program and I am looking at it right now. I guess I did not read through all the replies as carefully as I thought...

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

It reading into a 700-byte array. I need more storage space that is why I need to use the SD Card. I will be will also down the road I will be adding ...

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

This is a version that reads and stores the four channels into an array. Would using this as a start point be easier to switch to record and playback ...

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

Will, I have been going over the new functions and I am not quite sure how to modify the record and playback functions so I can use them. I guess I ...

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

Let me work on it and get back to you on it.

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

It is not compiling here and an image of the error message I am getting. I am in the process of making the changes to the code that you suggested. Aga...

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

No, what I am saying if you look at the single-channel code in the record mode it moves the servo as well as records it to the SD Card. I am sorry if ...

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

Here is a version with what you suggested added to it.

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

I thank you for your help I like the use of the subroutines. I need to see the servos moving in the record subroutines. I will try this out and let y...

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

The program as it sits right is reading A0 which is connected to a potentiometer that sends a 0 volt to 5volt voltage to it which is mapped to 0 to 18...

3 years ago
Forum
Reply
RE: Using SD Cards with Arduino - Record Servo Motor Movements

I look at that and now have it all working but I am having a problem coming up with a good approach to it get it to do four channels of record/playbac...

3 years ago
Forum
Page 2 / 3