You can see the outcome video of this project attached here. Code is available as a .rar file below (remove .txt extension).
Good luck,
Edmunds
Good luck,
Edmunds
Attachments
-
7.4 KB Views: 83
I suppose there'll be code to follow the other tracks?
Scale truck following the line is quite impressive. Well done!Maybe in some time. Now there will be code to drive the line without the line present if I manage to do it
Edmunds
I have tried the invisible ink (IR reflective thing), but I cannot distinguish it from grey surface. Maybe, I could turn the thing around to see dark portion as a line and then I could see it on white surface. As this would only have a value of cute experiment at the moment, because white streets would look very odd on model train layout, this will have to wait till I have less crazy complicated stuff on my mind with inertial navigation and eCompasses .Scale truck following the line is quite impressive. Well done!
Try invisible ink for the line
Maybe your scanner can still pick up such a line.
Some such inks for security purposes are visible under U/V light.
Some information as to what result you got, what process you followed and where that failed, might help others advise how you might resolve that problem. It works for me.I couldn't unrar the file to see.
If you mean the .rar file, then the answer is no. There are 5 or 6 files if I remember correctly and at least one of them is too large to paste. Just download, rename the file to whatever.rar by removing the .txt extension. Sorry for the trouble, but forum would not take .rar files.Any chance of seeing the code for this in the standard forum way?
Dear James,Good day Edmonds I to am working on some 1:87 scale controls may be we could get our heads together. Great with the line follower I to thought of using UV ink and adding dots and dashes into a separate line to tel the vehicle to put indicators on slow down speed up etc.i managed to get the photo transistor to read the UV line by adding a uv diode to highlight it. I am currently working on a magnetic proximity sensor to bring the vehicle to a gradual stop rather than an abrupt one when passing over a stop coil. I also want to make a reversing feature so 1:87 scale trucks could reverse into deposits and fire trucks back into the fire station. Lots of work to do to get it to work and my programming skills are out of date (6502 BBC micro language) learning picaxe is taking time. Any way let me know many we could get some ideas and code together
James