- 2
- 26 964
Robotics101
Приєднався 8 бер 2018
Simplifying the world of robotics :D
How to program a QTR-8RC Reflectance Sensor Array
Purpose of this video is to explain what parts of the code you actually need in order to use the "Line following sensor", since the majority of the code includes buttons, servos and an UltraSonic sensor. If you have any questions please feel free to comment down below. I hope this video was useful and please leave a like and subscribe if this video was useful. I might create more "Tutorial" videos similar to this but further explain the coding functionality part of it, so subscribe for future videos.
Link to Code:github.com/siko408/Sensor_Code
Link to Code:github.com/siko408/Sensor_Code
Переглядів: 26 319
Відео
Line Following robot with 360 degree servos
Переглядів 6476 років тому
This is a short Video of my MiniBot. I will be giving a tutorial in my next video on how to actually use the 8-array reflective sensor and the code to run it. Please leave a like and subscribe for future videos.
is there a problem in arduino qtrRC exapmle code?
GENIO
funny coincidence our school science team needed these sensors for a project and the owners of pololu had their sons on the team which we didn;t know until we ordered.
Bro I want to meet him I need to use it for a contest 😂
What's the Emitter_Pin for??
Can i have code
This library has undergone a radical update
Yeah, version 4.0.0. pololu.github.io/qtr-sensors-arduino/md_usage.html
NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEERD
How often does it need to calibrate, every time robot turns on/off?
If your talking about turning it off/on by using the switch then you don't but if your turning it off by the battery then unfortunately you do. Unless you have a RAM module on ur board the data will erase everytime it's shut off from power. Sorry for responding late, didn't get the notification 😓.
ok you used only 4 sensors thats right and how to connect switches? and where? any schematic bro?help me please.
Switches are very much like LED's, have one of either side connected to a resistor to GND. Then have the other side connected to the Arduino or any other micro-controller. Do this for the two switches and the pins are shown in the video and link but you can always change them. I recommend using a 100 to 200 resistor for both switches to insure precision of 'off' and 'on' modes. Unfortunately, i don't have a schematic of my robot at the moment but if you need further help please don't hesitate to ask, i would love to help as much as i can :D
Do you need to do anything else like passing the sensor over white surface while its calibrating. I am building a line follower and the codes I have seen have calibration in them but don't say anything about if you are to do anything.
Kelenna Anyanwu. Yes, you do need to calibrate first. Simply have the sensor look at the white surface until the calibration is over. Don't use a white surface where it's not gonna detect. Ex. If your program is going to run on a white table with black tape, don't use a white piece of paper for it's calibration.have it calibrate on the white surface of the table.It has to calibrate on the white surface of It's environment. I Also recommend having an LED as in indicator for the calibration, saves alot of problems 👍