![]() |
Tachymetre - Printable Version +- Forum (https://forum.yuriystoys.com) +-- Forum: General Discussion (https://forum.yuriystoys.com/forumdisplay.php?fid=5) +--- Forum: DIY Controller Builds, etc. (https://forum.yuriystoys.com/forumdisplay.php?fid=10) +--- Thread: Tachymetre (/showthread.php?tid=82) |
Tachymetre - Georges GUAL - 12-15-2016 Hello, I ask you a question: Who, in all members of this forum, to the tachometer that works with the MSP430? Nobody talks about it, so I assume all installed systems are working 100%. I deduce that I am a truffle and that has that I who do not know how to make it work. See you... Bonjour, Je vous pose une question: Qui, dans tous les membres de ce forum, à le tachymètre qui fonctionne avec le MSP430 ? Personne n'en parle, donc je présume que tous les systèmes installés fonctionnent à 100%. J'en déduis que je suis une truffe et qui a que moi qui ne sait pas le faire fonctionner. A la prochaine... RE: Tachymetre - Yuriy - 12-15-2016 (12-15-2016, 11:26 PM)Georges GUAL Wrote: Hello, Hi Georges, It could be that not many people use tachometer with the mixed scale controller. I tested the kit and it worked but I don't have a scratch-build controller right now to test. I will test/debug it when I have time, but it will be in a couple of weeks: I need to finish two projects before I will have any time to spend on it. If you are sure that your signal is correct (you can see it at the pin with an oscilloscope), it might be a problem in code. If it is I will try to have a fix in a couple of weeks. Thank you Yuriy RE: Tachymetre - Georges GUAL - 12-16-2016 Hello Yuriy, Thank you for answering me. I will try to explain my montage on the tour. It is a hall effect sensor. I have a metal disk (photo attached) that rotates in the fork. This gives me a square signal with a duty cycle of 50%. (attached photo). I checked the scope and the signal is good. I also understand that you have other projects going on. So I'll wait. Georges Bonjour Yuriy, Merci de me répondre. Je vais essayer d'expliquer mon montage sur le tour. C'est un capteur à effet hall. J'ai un disque métallique (photo jointe) qui tourne dans la fourche. Cela me fournit un signal carré avec un rapport cyclique de 50%. (photo jointe). J'ai vérifié au scope et le signal est bon. Je comprends aussi que vous avez d'autres projets en cours. Je vais donc attendre. Georges ![]() ![]() RE: Tachymetre - Eskimo2k - 12-18-2016 Georges, This is a common problem with the original firmware. No idea why, the code should work perfectly. If you built a MSP430 setup from the basic kit and you are using original iGaging scales or Accuremote scales, I wrote firmware that does get the tachometer to work correctly. Here is a link to that source code, as well as the compiled versions. There are 2 different set ups, so if you use this, make sure you read the text file. https://drive.google.com/open?id=0B3j4jKGC7Lo6SFpzZ01KRzQxbVk Note that is ONLY for the original iGaging protocol. RE: Tachymetre - Georges GUAL - 12-19-2016 Hello Brian, Thank you for these explanations. The PACs I use are Chinese with the attached protocol. In terms of programming I do not have enough knowledge to modify your program for my Chinese pacs. I am obliged to wait until Yuriy corrects his program unless you can help me adapt your own program. cordially Georges Bonjour Brian, Merci pour ces explications. Les PAC que j'utilise sont chinois avec le protocole en pièce jointe. En terme de programmation je n'ai pas assez de connaissances pour modifier votre programme pour mes pacs chinois. Je suis obligé d'attendre que Yuriy corrige son programme à moins que vous puissiez m'aider à adapter votre propre programme. Cordialement Georges RE: Tachymetre - Eskimo2k - 01-19-2017 (12-19-2016, 09:32 AM)Georges GUAL Wrote: Hello Brian,Sorry for the delayed reply Georges. I'll take a look and see if I can track down the 24 bit chinese protocol and adapt it to work. It may take a while to get it right since I don't have those type of scales and you will be the only tester. What type of sensor are you using for the tachometer? The pin set up changes depending on if the sensor is powered or not powered. Brian Edit: Nevermind about the sensor, just saw the file on your sensor. That will work with the powered sensor version I wrote, I just need to make the code work with the 24 bit protocol. How many calipers are you using, btw? I'm going to assume 3, but I can always modify the code to use the 4th axis as well. RE: Tachymetre - Georges GUAL - 01-19-2017 Hello Brian, I use 3 caliper and with an RPM reading. Thank you for your help. Georges RE: Tachymetre - Eskimo2k - 01-19-2017 (01-19-2017, 09:00 AM)Georges GUAL Wrote: Hello Brian, Oh, another question. Are you using one of Yuriy's boards, or is it a scratch built MSP430? Yuriy has already done all of the decoding of this format: http://www.yuriystoys.com/2013/07/chinese-caliper-data-format.html and http://www.yuriystoys.com/2013/07/MSP430-mixed-scale-dro.html I've got a couple of questions I'm trying to figure out, but I don't think there are any show-stoppers. Brian RE: Tachymetre - Yuriy - 01-20-2017 (12-15-2016, 11:26 PM)Georges GUAL Wrote: Hello, Hi Georges, Sorry for the late reply. I've been pretty busy this week with work. I uploaded v1.0 to the site. I tested it with the kit hardware and it work stable down to about 2-3 Hz. Regards Yuriy RE: Tachymetre - chapulino - 01-20-2017 ![]() ![]() Tried on my circuit hand made and run perfect A senson hall 3144 Powered by 5v A resistance of 10K between V. Out of the sensor and GND Another resistance of 4.7K between V In of the sensor and GND Sensor V. Out (check 3.3V voltage) connects to input 1.4 of the MSP430 ![]() Thanks very much |