Leave a comment:
Dear Spammers and Trolls: All comments are checked by myself before publishing!
The manual inspection is why it takes some time until your text appears in the comment section (as long as it passes my inspection) - be patient...

I don't answer comments by mail!
Note the rules and my mail address in the column contact!

Norbert

Name:
Comment:
Formular:


----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2023.05.05 20:40:34 (UTC+1)
Name: Florian

Kommentar:
Hello,
this is a great page! I am also experimenting with encoders from old printers and had problems with losing pulses at higher speeds. If the encoder disk has enough stripes then one can add an index signal to detect the zero position and reset the counter eventually.
I recently got an iC-MD from ic-Haus which have built in quadrature encoders and counters. You can read them via SPI. To one IC up to 3 quadrature encoders can be hooked up. The count speed is very high. No more pulses get lost

Me: Thanks for pointing to the SPI ICs capable of reading the input signals at a very high rate. However, the issue is that reading the currrent position via SPI also means there is a delay in processing the signals. The good thing is that there won't be a loss of position readings.
For beginners there is: Lower the number of lines / teeth on your sensor disc if you start loosing steps. In hobby projects this is the way to go, because usually the mechanics is the weak point so that you can rarely make use of the theoretical high resolution of rotatiy encoders having hundrets or thousands of pulses per turn.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2023.03.22 18:47:14 (UTC+1)
Name: Angel

Comment:
hola quiero saber que programa o software ocupaste para hacer el encoder. soy nuevo en esto  no entiendo como poner los dientes que yo quiera con el espacio correcto y el tamaño que quiera. se me complica esa parte. saludos desde mexico

Me: As written in the column Contact I don't speak languages other than German and English.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2023.03.22 00:24:13 (UTC+1)
Name: Darko

Comment:
HI Like your project!
Can this setup be used as a dedicated driver for a servo?
Or as driver for a spindle  

Me: A servo based on a rotary encoder is this PICO servo, whch also demonstrates how to use this setup for constant speed.




----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2023.01.09 20:20:43 (UTC+1)
Name: Allister

Comment:
Many thanks, great work.

Me: You're welcome!



----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2022.08.29 10:54:43 (UTC+1)
Name: Holger

Kommentar:
Hallo. Ich experimentiere mit den Motoren, Encodern und Interrupts aus einem alten Drucker. Aber ich habe nach viel Testen ein Problem gefunden. Meine Motoren senden eine starke EMV Störung aus. So stark, dass sie Interrupts auslösen und sich mein Encoder verzählt. Nur auf hohe Distanz (ca. 50cm) zwischen Motor und Controller klappt es besser, aber nicht zuverlässig. Ich schaffe keine funktionierende Abschirmung. So komme ich nicht weiter und verliere langsam die Lust. Ich bin dankbar für Hilfe.

Me: Bei Stärspannungen hilft es immer, einen möglichst großen Kondensator an der Versorgungsspannung, möglichst nahe an die zur Ansteuerung verwendete H-Brücke anzuschließen.



----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2022.08.16 11:57:00 (UTC+1)
Name: Dorcas Bukumba

Comment:
Good day. Could you kindly make an example code for the arduino algorithm that you used in this video. It would be really helpful.

Me: The sample codes are all available on my pages, or do you miss a special one?



----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2022.08.29 10:54:43 (UTC+1)
Name: Holger

Kommentar:
Hallo. Ich experimentiere mit den Motoren, Encodern und Interrupts aus einem alten Drucker. Aber ich habe nach viel Testen ein Problem gefunden. Meine Motoren senden eine starke EMV Störung aus. So stark, dass sie Interrupts auslösen und sich mein Encoder verzählt. Nur auf hohe Distanz (ca. 50cm) zwischen Motor und Controller klappt es besser, aber nicht zuverlässig. Ich schaffe keine funktionierende Abschirmung. So komme ich nicht weiter und verliere langsam die Lust. Ich bin dankbar für Hilfe.

Me: Bei Stärspannungen hilft es immer, einen möglichst großen Kondensator an der Versorgungsspannung, möglichst nahe an die zur Ansteuerung verwendete H-Brücke anzuschließen.



----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2022.08.16 11:57:00 (UTC+1)
Name: Dorcas Bukumba

Comment:
Good day. Could you kindly make an example code for the arduino algorithm that you used in this video. It would be really helpful.

Me: The sample codes are all available on my pages, or do you miss a special one?



----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2021.12.28 01:23:27 (UTC+1)
Name: Jim

Comment:
Just wanted to thank you for the great tutorial!

I'm using what I've learned here to update my 22-year-old Meade LX200 telescope. The scope blew the original motherboard when the tantalum capacitor failed and shorted out. The motor design on the scope is interesting and heavy duty for the size of the optical tube. Here is the link to the schematics. http://www.lx200classic.com/docs.HTM. The plan is to replace all the electronics with a RPI /Arduino combination and keep all the functionality.

Me: Great project, keep me updated! Also great that the manufacturer publishes all the schematics, because there is nothing better to keep a machine running. Open Source hard- and software is for the shepherds, not for the sheeps ;-)
I hope to find some time to continue my series on Physical Computing, especially to add chapters on servo and stepper motors.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2021.12.19 18:35:19 (UTC+1)
Name: Iqrar

Comment:
Sir I want a dc servo motor with optical encoder ( RE30-2-500) with lcd(16*2) 5 push button (1=reverse) (2=forward) (3=stop) (4= position save1 by pulse) (5 = position save2 by pulse) and 1 potentiometer for pwm arduino code plz help me

Me: Sorry, but I am not your cost free personal code writer.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2021.05.21 17:57:58 (UTC+1)
Name: Arda alanyalı

Comment:
For satellite dish.
I used interrupt with pic18f4520. (Clock 4 * 20mhz pll)
It worked fine. Thanks a lot.

Me: Great!

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2021.03.23 12:21:53 (UTC+1)
Name: Antonio Stefanelli

Comment:
I want to use a rotary encoder to measure distance, my reasoning is:
Knowing the number of lines per revolution of the encoder wheel, I divide it by the pitch of the screw, to know the number of pulses per feed.
Example: 3000 line disc and 0.9mm pitch screw are 3333.33 pulses for 0.9mm of feed.
Now I divide 3333.33 by 0.9mm and I know the number of steps per millimeter.
It's correct?

Me: If a screw has a pitch of 0.9, the movement is 0.9mm for one revolution, which is 3000 pulses ob the disc, thus you have 3333 pulses per 1mm, not per 0.9mm! No need for another division. That is true if you only consider one of the outputs of a rotary encoder or if you use only one light sensor at all to scan the disc, by what you can't see if the disc turns into the "wrong" direction.

----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2020.12.22 22:55:11 (UTC+1)
Name: Oliver Thiel

Kommentar:
Du bist Klasse, man.

Me: Danke, man!

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2020.11.04 12:56:07 (UTC+1)
Name: Y divya

Comment:
I want learn Optical encoder program

Me: Great! My chapters are:
Optical sensors
Encoder disk 1
Encoder disk 2
More will follow...

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2020.02.10 13:48:01 (UTC+1)
Name: Kari bench

Comment:
Encoder-Disc
good days
I'm fanns by you great project.
I have a question I hope you can help me.
I have Canon pusher and wolte encoder read out and stepper motor control the same function as DTG PRINTER. is the example suitable or still needs to be edited. thank you in advance


Me: The only person that can say if my sample fits for you purpose is: you. Because the devil is in the details (which you did not tell me)...

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2020.01.11 17:59:37 (UTC+1)
Name: Michael R. -USA

Comment:
I have devised a basic calculator spreadsheet for the purpose of designing encoder disks with different number of teeth and sensors. Currently, it can solve for pulses/revolution and accuracy per cm or inch. It's main function is to calculate the accuracy of a DIY draw-wire encoder for a milling machine conversion project.
https://tinyurl.com/encoder-calc

Me: Nice work, thanks for sharing.

----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2019.12.09 10:16:38 (UTC+1)
Name: Michael

Kommentar:
Hey,
Super Video! Im Video sprichst du bei zu vielen Pulsen und vom dadurch bedingten "überlesen" von Pulsen. Wenn man nun den Mega nimmt und 6 Drehgeber ausliest, (von den auf eBay mit 360p per Umdreh.) bei welcher Geschwindigkeit stößt der Mega dann an seine Grenzen, kann man das errechnen??
Vielen Dank und Grüße,
Michael

Me: Wo die Grenze liegt, hängt davon ab, was der Microcontroller sonst noch so abzuarbeiten hat. Je umfangreicher das Programm, um so niedriger die Frequenz. Verwendet man die Hardware-Interrupts (der Mega hat 6 derartige Pins) und programmiert in diesen Routinen nur sehr wenig Code, so können problemlos 10.000 und mehr Pulse pro Sekunde abgearbeitet werden.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: (UTC+1)
Name: Luis Huayhuameza

Comment:
Buenas noches, saludos desde Perú_Cuzco ,soy estudiante y recién estoy aprendiendo a programar en arduino, por favor podrías compartirme su código de programación.

 https://www.youtube.com/watch?v=XIUrnR8bLAI


Me: The source code of the programs I have written is linked on my page, isn't it? Read it all before posting a comment.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2019.08.27 20:52:51 (UTC+1)
Name: Yamen

Comment:
Can you please give a reference for the information about the needed voltage in figure 2?

Me: The maximum voltage of this kind of sensors depends on the maximum collector-emitter-voltage of the phototransistor on the sensor side, which is listed in the datasheet. Common types can easily withstand 12V and more. With the maximum forward current of the LED (diode) as well as the maximum current of the phototransistor you can calculate the minimum values of the needed series resitors (a bit more is recommended).

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2019.07.16 10:42:31 (UTC+1)
Name: Chaithanya

Comment:
I tried your cnc 3.0.1 it not working and motors are not rotating but sensor are working plz tell me how to solve it

Me: "motors are not rotating" is no precise error description. Make pictures or a video showing what exactly you have done and what is happening. For details see column Contact.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2019.06.28 09:14:32 (UTC+1)
Name: Greg

Comment:
Dear Norbet,
Regarding Encoder disc page Figure 7
I believe you have pins labelled "5" & "6" swapped.
Thank you for you wonderful efforts in educating and the world.
Regards Greg

Me: You are right, I have corrected that. Thanks for your feedback!

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2019.06.07 01:25:24 (UTC+1)
Name: Usiju Elijah

Comment:
Waw this is awesome I viewed through its earnestly an eye opener. Thank u so much.

Me: You're welcome!

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2019.02.27 10:44:33 (UTC+1)
Name: Vishal

Comment:
I want code in encoder using dc motor control project

Me: The source codes I was using in my video are part of the download package.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.12.03 10:37:31 (UTC+1)
Name: Athar Kaludi_Pakistan

Comment:
Found Arduino connected - Now how to run your program
How it will run motor
Instruction
What to press on key board to run motor

Me: Follow the instructions in the readme.txt. Once again: What download package (name of zip file) are you using and what is the name of the subfolder in that package? I am no mentalist.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.11.21 10:42:11 (UTC+1)
Name: Athar Kaludi_Pakistan

Comment:
Under folder printer_motor I seen code
in which there is option where serial port is waiting for user input in end it checks against user input
i am talking about this code section.

what to enter at Serial input - I am talking about ASCII input from 13 to 20

Input is waiting from user - otherwise it just write X on terminal ? What valid input is accepted
I refer to Figure 8 on this web page on  my left

Me: Than means your computer can't find the Arduino. Start yopur computer with the Arduino not pluged in. Open a Terminal and type:
ls /dev
Now plug in your Arduino and type:
ls /dev
again. There should be one more entry in the list. What's the name of it?



----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.11.20 20:21:57 (UTC+1)
Name: Athar Kaludi_Pakistan

Comment:
Very helpful information to understand Encoders and Motor control.
I programmed Rotary encoder Printer Motor code and uplaod in Arduino - connected all setup motors and L298 as described.

What are commands to send by Serial port ?
Did you mention any where - what are commands from 13-20 in read Byte
How to move motor ?

Me: What program exactly (download package and subfolder) are you talking of? I have written more than just one example.

----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2018.11.19 19:20:11 (UTC+1)
Name: roland

Kommentar:
Hallo Norbert, die Schaltung sieht folgendermaßen aus:
Arduino Leonardo
16*2 LCD (8,9,10,11,12,13)
2 Gabellichtschranken an Pin 2 und 3
L298N enable Brücke gesteckt. IN1 an Pin 5 und IN2 an PIN 6, DC-Motor mit Sensorscheibe 15 Zähne.Die Software mit der Interrupt-Pulszählung funktioniert.
Die Software Stepper-Motor mit der commands-host geht nur so, dass der Motor in eine Richtung dreht und  bei wiederholter Richtungstaste auch auf Dauerbetrieb läuft. Die andere Taste bewirkt max. Stillstand. mf

Me: Was ist "die Software mit Interrupt Pulszählung"? Welche "Software Stepper Motor mit der commands-host"? Ich habe mehr als zwei Programme veröffentlicht. Eine genaue Angabe, auf welches Download-Paket (Name der heruntergeledenen Datei, welches Programm aus dem Paket) du dich beziehst ist nötig - meine Fähigkeiten als Gedankenleser sind seeeehr begrenzt. Richtungstaste habe ich bei meinen Beispielen nie verwendet (glaube ich zumindest). Ich habe immer noch keine Bilder von dem was du gebastelt hast...




----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2018.11.19 07:50:18 (UTC+1)
Name: Roland

Kommentar:
Hallo Norbert,
ich habe den Aufbau nach Abb. 5 nebst der zugehörigen Software nachempfunden und leider funktioniert das nicht so recht. Da die H-Brücke mit nur zwei Signalen angesteuert wird (so meine Lesart) müssten diese Leitungen einen Festpegel haben um jeweils die gewünschte Drehrichtung zu erreichen. Nach der Software gibt es einen DIR und einen PWM Ausgang. Wie genau werden die dann auf die H-Brücke gelegt? Ich komme da nicht wirklich weiter. mfg Roland

Me: "Es funktioniert nicht so recht" ist keine Fehlerbeschreibung mit der ich dir weiter helfen kann (viiiiel zu ungenau).
Welcher der beiden Eingänge der H-Brücke als PWM Eingang gewählt wird ist egal, der zweite wird somit zum DIR Eingang. Abbildung 5 ist auch nur ein Foto, kein Schaltplan. Was genau hast du aufgebaut, welchen Microcontoller verwendest du usw. usf.
Bilder deiner Schaltung wären hilfreich. (siehe Rubrik Kontakt).

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.08.25 09:13:31 (UTC+1)
Name: ted spark

Comment:
I try to compile printer.c . But it was not successful. So i would like to know how to compile in proper way.

Me: If you don't tell me EXACTLY what you have done and what error messages appear, I can't offer you any help. Would also be nice what download package you are talking about.


----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.08.24 15:56:44 (UTC+1)
Name: gustavo nevarez

Comment:

an absolute encoder of 5 bits could be used in an arduino, to know the position in degrees of the movement of a lever and to control 2 relay outputs. the concept would be that turning the lever to the left activates an output of the relay and turning it to the right control the other relay output and know the position of the lever at each moment the movement would be in the range of 0 to 180 degrees.

Me: Is this comment meant as a question or did you just want to throw in your idea?

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.08.10 04:14:56 (UTC+1)
Name: Dhir Along

Comment:
Greeting Sir
We had watch your video details on Youtube and it's help us almost 70% of our final project at diploma level. Our project included Power Window Motor, Driver Motor L293D, and rotary encoder type Re08A and Arduino Mega. Our supervisor need the power window to turn clockwise and Anti-clockwise 45 degree. We have tried your coding in the video that we have watched and modified it a little bit but still does not working. Could you give us some advice or any suggestion?

Me: I can try to help, but not with such a vague description of your project. Have a look at the column contact to get my mail adress (and so how to give me more input about your problem).

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.06.30 11:36:08 (UTC+1)
Name: Gustav Linde

Comment:
Good day

I was just wondering how you attached the encoder to the back of the wiper motor. Aren't they normally closed and wouldn't opening it up have a effect on the operation of the motor itself.

Thank you in advance

Me: I cut off the back of the motor housing and glued the encoder wheel on the motor shaft. It still works fine. Most wiper motors have simple bush bearings.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.06.17 15:52:30 (UTC+1)
Name: Sandro

Comment:
Hello Sir,,

I am confused on your "Stepper Motor" program where I found DutyCycle , and I had learned about it, but I'm still confused about how to determine MaxDutyCycle and MinDutyCycle.. Can You Help me?

THX

Me: You must find those values experimentaly. MinDutyCycle is the duty cycle when your motor starts spinning. MaxDutyCycle limits the maximum power delivered to your motor. So if your setup shows to much overshooting or "bad vibrations" and you can't stop that by reducing the proportional factor, you should reduce MaxDutyCycle.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.04.10 20:14:39 (UTC+1)
Name: minow

Comment:
tnx bro :)

Me: You're welcome!




----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.04.07 06:20:10 (UTC+1)
Name: philip

Comment:
hi! where i can find the the code and schematic for wiper motor digital servo thanks! this video is so helpfull

Me: Read all of the page before posting a comment, because on the bottom there is a link to the source file named "rotary-encoder.zip".

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2018.03.23 20:14:46 (UTC+1)
Name: seamiki

Comment:
I had a look at the source code "LCD_rotary_encoders_nterrupts" and the ISR (checkState()) is fairly complex.
I usually attach the interrupt (change) to only one sensor, leaving the second sensor as a normal input.

In the ISR is then:
If both sensors are on the same voltage level
Increase the counter
Else
Decrease the counter

I always use this concept with good results. I think it may increase the max freequency of detectable pulses. I'd be interested in your opinion.
Regards,
Seamiki

Me: You get more pulses per second, but only half the resolution possible. I will add a chapter about interrupts and rotary encoders in my series about "Physical computing".

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.12.10 16:56:50 (UTC+1)
Name: Glenis Torres

Comment:
Rotary encoder or: How to build a digital servo using an Arduino and photo sensors

hola como estas referente a lo que haces en este video estoy trabajando en algo muy similar ya vi tus codigo en descarga pero no estan completo soy un poco novato estoy aprendiendo te esplico lo que necesito

1 inicio con un pulso en la entrada x
2 ejecuta salida en x
3 cuenta pulsos hasta cantidad programada
4 tiempo de espera.
5 ejecuta salida en x1
6 cuenta pulsos hasta regresa a punto 0 de inicio
7 fin

adicional mente agregar potencio-metro para aumentar y disminuir cantidad de vueltas (programar)
pantalla de 16x2 lcd. para reflejar información de vueltas programadas 1/10 (0,0)
y números de ciclos ejecutado (este se debe de reiniciar con pulsador)

estoy tratando de utilizar tu código pero no doy para combinar todo podrías ayudarme?


Me: First of all post in German or English to save my time. Using Google translate costs me a couple of minutes to do that job.
Secondly, I am not the guy that does your coding work for free ;-)
Try to understand my sample code and modify that source to get the results you need. I am teaching the basics, it's up to you to become an advanced programmer. That won't happen on an afternoon, instead weeks/months/years will pass by until you are an expert...

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.11.05 18:30:53 (UTC+1)
Name: Daniel

Comment:
Hi Norbert,

I am struggling with the code to use a DC motor with encoder from a printer. Is it possible to have a look at your code?
I am using a Raspberry Pi, programming with C++ and using the bcm2835.h library

Thanks,
Daniel

Me: My codes are available in the column Download.
However, you won't succeed in using a Raspberry Pi with a printer encoder, because those encoders have a high resolution and so change state quickly when moving the print head (or the paper feed).
The Raspberry Pi has no realtime operating system and so will inevitably loose input pulses. I am using an Arduino with hardware interrupts to read the printer sensor in this chapter.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.11.05 11:35:04 (UTC+1)
Name: Mario

Comment:
Hello
I did watch the "Rotary encoder - sensor arrangement" and the animation describe very well the different working steps of the encoder.
Can you please advice few softwares to do this kind of animation?
thankyou
Mario

Me: I did the animations with OpenGL 3D programming using "Geany" as text editor for the source code.


----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.10.18 15:23:11 (UTC+1)
Name: Harshith

Comment:
https://www.amazon.in/gp/aw/d/B074CYJB5G/ref=mp_s_a_1_3?ie=UTF8&qid=1508148521&sr=8-3&pi=AC_SX118_SY170_FMwebp_QL65&keywords=photoelectric+speed+sensor&dpPl=1&dpID=41FCyLAUuwL&ref=plSrch
  Can you say me in this which wire is +,gnd,rx,tx and what is the input of voltage and what ppr it has

Me: What about asking the seller for the datasheet?
I guess red has to be connected to the anode (usually +5V), black is ground and yellow and blue are the sensor outputs.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: (UTC+1)
Name: Antonio Gabriel Claramonte

Comment:

Can you make a rotary encoder with hall effect sensors?

Me: Hall sensors will become part of my series about "Physical computing", but not in the near future - currently too many other projects are on my list...

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.08.20 11:32:22 (UTC+1)
Name: Mike

Comment:
Can I use Vishney TCUT_1600X01 as alternative in this project?
Thanks
Mike

Me: What project are you talking about? I am no mentalist...
The sensor you refer to is a double sensor, thus you only need one TCUT_1600X01 to creare an encoder. Have a look at the datasheet to find the series resitors needed and it should work.

----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2017.07.27 12:22:21 (UTC+1)
Name: David

Kommentar:
Könntest du auf YouTube bitte mal ein Video über die Software für die CNC und Lichtschranken machen. Also die für den Arduino und wie das mit dem GCODE ist.

Danke.
Gruß David

Me: ...über Software macht man keine Videos. Wie Programme funktionieren lernt man nämlich nicht durch "angugge" von Quellcode, sondern durch Lesen und Verstehen. Den Quellcode zu meinen Programmen gibt's aus diesem Grund als Download.
Geschriebene Kapitel zu Software und zum Basteln eigener Geräte gibt's demnächst mehr unter dem Schlagwort "Physical Computing". Ist nicht an einem Nachmittag geschrieben und um Programmieren zu lernen bedarf es mahr als nur mal eben eines 15-Minuten-Videos. Das dauert Wochen, Monate, Jahre, um richtig gut zu werden. Hab Geduld.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.07.04 16:32:39 (UTC+1)
Name: James

Comment:
Hi there,

Thought I'd just say that this has been really helpful in creating my own rotary encoder for a project I am doing. I just wanted to add that in paragraph 2 under the heading Figure 1 you mention calculating the required current for the LED and state in your calculation you used 180 ohm but just before that said 180k ohm. Think that's just a typo, but everything is very thorough and well explained. Thanks for doing all!

Me: Yes, 180Ω is the correct value for the resistor. I have fixed that, thanks for your feedback!

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.05.31 19:13:24 (UTC+1)
Name: ambar Ali

Comment:
i want to get three integer from the keypad and want to use them with encoder..

Me: A keypad is part of the microcontroller set I made a review of. You can find the sample codes in the chapter to see how to read a key matrix.


----------------------------------------------------

Seite: technics-base-circuits-encoder-disc_ge.htm
Datum: 2017.04.17 10:03:01 (UTC+1)
Name: Max

Kommentar:
Hallo Norbert

Hab da mal ne Frage.
Bin was interrupts angeht ein nockabatzl (kenn mich nicht aus)
:)
Denkst du, könnte man auf die interrupts bei der feinen sensorscheibe verzichten, wenn man
anstelle des uno eine arduino due platine verwendet.
Sollte laut hersteller schneller sein.
Ist nur so ein gedankenspiel.

Schönen gruss aus österreich
und weiter so.

PS: Was hast du eigentlich für eine ausbildung?
Dein wissen und deine fähigkeiten sind ja phänomenal!

Me: Mit einem schnelleren Mikrocontroller kann man die Sensorscheibe natürlich schneller abtasten (Faktor 5 auf Grund der Taktgeschwindigeit). Aber auch der Arduino Due kann die Scheibe noch deutlich schneller abtasten, wenn Interrupts verwendet werden. Nicht auskennen ist keine Entschuldigung, wir alle wurden als nockabatzl geboren, haben aber die Fähigkeit zu lernen in die Wiege gelegt bekommen ;-)
Appropos Ausbildung:
Ich befinde mich nach wie vor in meinen Lehrjahren. Mit jedem neuen Projekt lerne ich was dazu und muss mich in die ein oder andere Thematik erst einlesen. Begonnen habe ich mit Elektrotechnik im letzten Jahrtausend während meiner Ausbildung zum Physiklaboranten.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.04.09 12:31:41 (UTC+1)
Name: Tharindu

Comment:
How can i open that "commands-host" file in windows 7... ?

Me: You need Linux to execute my software. I am using Ubuntu and you can get it for free at ubuntu.com (don't forget to make a backup of your data before installing a new operating system).




----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.03.23 00:20:13 (UTC+1)
Name: Philip

Comment:
Sorry Norbert for the lack of detail in my earlier question (2017.03.21).  I had been trying to run the c++ software with visual basic in windows 10 but to no avail.  I dusted down an old  pc, installed Ubuntu and the  c++ program starts up no problem and so my journey towards constructing a v-plotter continues.  Thanks so much for this incredible resource, v grateful.

Me: Good to know that you started using Open Source Linux, the free operating system. Hope to see your V-plotter, soon.

----------------------------------------------------

Page: technics-base-circuits-encoder-disc_en.htm
Date: 2017.03.21 10:14:17 (UTC+1)
Name: Philip

Comment:
Norbert,  I am trying to use the c++ program to enable manipulation of the motor (I am using a dc motor with crenellated disc).  When I run the program, there is a query as to the location of the ".h" files .  Are these part of a library that I need to download from somewhere?  Many thanks, Philip

Me: Would be nice if you tell me EXACTLY what you did, what file you tried to compile with what command and what error message exactly appeared - I am no mentalist...

----------------------------------------------------