Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD Module not responding #196

Closed
Sid0li opened this issue Nov 14, 2024 · 5 comments
Closed

SD Module not responding #196

Sid0li opened this issue Nov 14, 2024 · 5 comments

Comments

@Sid0li
Copy link

Sid0li commented Nov 14, 2024

Hi, Im Santiago from Argentina ive been building ethoscopes this year and now I wanted to build a couple SD modules. Ive already soldered everything and charged the progam into the Arduino nano every but it does not respond to the commands that appear below the "Module control" section in the Ethoscope Manual. My question is, how do you talk with the module? I have the Arduino connected via USB to my computer and no serial connection is opening and sendig the commands through the Arduino serial monitor does nothing at all.
Im sure im just not getting how this is supposed to work, ive read the manual quite a lot and it doesent sink in.
So I would be very pleased with any kind of help jaja

@ggilestro
Copy link
Member

Hi @Sid0li - yes, you should be able to connect to the arduino driving the SD module using the arduino IDE. Just make sure that you have selected the right port for communication, the right board, the right speed (115200). Did you manage to upload the code on the Arduino without issues? If you did, then you should have no problems communicating with it. Just send the H (as in HELP) command and you should receive a message back. Hope this helps.

@Sid0li
Copy link
Author

Sid0li commented Nov 19, 2024

Thanks Giorgio! I was selecting the wrong speed, its communicating flawlessly now. I'll take this opportunity to ask you another thing, the command "T" to teach the ethoscope about the function of the module requires the module to be connected to the raspberry pi? Or how do the module teaches its functions to the ethoscopes? Is it through the node?

@ggilestro
Copy link
Member

No prob. I don't actually remember if we are using the teaching capability at the moment. The idea was to have a protocol so that the ethoscope can learn about the abilities of a new machine without having those hard coded inside. Say you build your own new machine that does something and you want to integrate it with the UI, teaching could do that. But in all truth I don't remember whether this is something that I did to future proof the platform or whether I am already using it!

@Sid0li
Copy link
Author

Sid0li commented Nov 19, 2024

Ohh okay okay, so the teaching function is not intended for the Ethoscope right? The Ethoscope does already know how to interact with the module when you plug it in the USB port of the raspberry pi?
While i'm here let me ask you one more thing, about the motors and the way they rotate the tubes. Is it all done by friction between the silicon tubing in the motor shaft and the tube? I have the setup shown in the file attached but it doesnt rotate the tube consistently, any advice on how to improve this?
Motorcito y tubo

And thank so much for your help Giorgio!! <3

@ggilestro
Copy link
Member

Yes, it should simply work by friction but depending on the printer you use, the position of the motor could be a fraction of a millimeter too down and lose grip. You could try using thicker silicon. Alternatively, I think someone made a little modification that uses a 3D printed glass cap in the shape of little gear that matches a larger gear installed on the motor. I don't remember if this was in the lab of Sha Liu at the VIB or whether it was Orie Shafer at Bloomington Uni.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants