-
Notifications
You must be signed in to change notification settings - Fork 20
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
Resistor configuration #33
Comments
These resisistors are all adjust-on-test. You will need to try some values and see how you get on. The aim is to make the emitters as bright as possible without overloading them. Take care to ensure they are never left running continuously. For the detectors, you want the lowest value load resistor that gives a good range of results. With the board placed so that the detector gives the largest possible result, that value should be no more than about 80% of full scale. In that way you have some headroom for when/if the detectors are operating in a very bright environment. |
Can you give me the resistance values used for the Dorothy Bot? |
Sorry - I gave that one away and did not write down the values. |
Hey I just Built a new UKMARS bot with the advanced wall follower module,is there any full fledged code to run it,can I get the code you used for the Dorothy bot? |
There is a version of the code for four wall sensors here: |
The link seems to be broken or the repo might be private |
My mistake. Try this one: This is not proven code though versions of it have run successfully in robots in a number of recent contests. It is subject to sudden, large changes so take care if you pull a version later. |
I've tried this code but it doesn't seem to be working on my advanced wall follower module , can you share any other code that is meant specifically for the advanced wall follower |
It is not meant to be plug-and play. All the code is meant to be for guidance rather than a working solution. |
I still can't seem to figure out a code solution. Is there anyway I could possibly get an alternative code? The main bot is not the issue the advanced wall follower seems to be causing problems |
Perhaps you could describe in more detail exactly what the issue is? |
No values are being read from the receiver its a constant zero |
Do you have access to an oscilloscope? If you read zero at all times then it is likely that there is some other fault. Maybe the detectors are connected the wrong way round? With a multimeter, you should see some voltage on the detector load resistor. That voltage will change when you shine a bright light onto the detector. |
should the detector's negative terminal be connected to the board's positive terminal? because my detector is reading some values when light is shined at it but the arduino keeps reading only zero value and another issue is that my emmiter is always on but as far as I know it shouldn't do that and it should only be on when it is required by the code my led on the wall board also never seems to glow ,what coupd be the issue |
We are still talking about the wall-sensor-advanced design right? The detector is phototransistor. It must have the COLECTOR connected to supply positive and EMITTER connected to the load resistor. The voltage measured across the load resistor should vary with the amount of light shining on the phototransistor. Try this with the sensor board disconnected from the robot (use a jumper wire to connect only the power leads) and with it plugged in. The behaviour should be the same. If it is not, thene you may have a soldering problem on the mainboard. While you have the sensor board disconnected, check the emitters. They should all be off. If not, you have a soldering error on the sensor board. If the emitters are always on when the sensor board is connected to the mainboard, try with the Arduino disconnected. If the emitters are still on, the problem is with the mainboard wiring. If it is only happening when the Arduino is plugged in, it is likely that you have a software problem. |
What must be the value of the load resistor for the bpw96B photo transistor?Is there a code to just test out the wall follower module? The phototransistor when tested separately reduces in resistance when light is shined on it ,but there are no values when soldered to the pcb and tested on code. It'd be very helpful if we could get the Resistance values used in the Dorothy bot. |
The schemtatic shows values of 1k8 for the detector load reistors. Start with those values. Change them as needed to get an appropriate response. Another board I have uses 1k0 load resisotrs. Every build is likely to be different a we have no control over the exact devices that you choose. It sounds like you have the phototransistors soldered in the wrong way round. |
There is sample code for nearly everything: |
Hey,We got the wall sensor board to work .but now in our main board the function switch resistors are acting a bit weird. The values of the resistors increase slowly till they reach their actual value. Example: the resistor r1's value starts at 6.5k ohms slowly climbs to 10k ohms . This leads to inconsistent resistance values for the board while using the dipswitch. We've tried changing the resistors multiple times,We even started with a fresh pcb but ran into the same issue,the resistors show accurate resistance values once removed from the board but as soon as they are connected in series in the board this problem occurs .Any idea what the problem might be? |
What did you do to make the sensor board work? |
We recreated the schematics on a breadboard and adjusted the emitters and collector pins properly then tweaked the resistances a bit and it worked. Any suggestions for the function switch situation? |
But did that result in the actual sensorboard working after you adjusted the component values. There have been many UKMARSBOT mainboards built without these issues. The board layout and resistor values for the switches are all proven correct. I suspect either that the boards are not being soldered correctly or the microcontroller is somehow faulty. As far as I am aware, you are the only builder that has experienced these problems. |
Were the values tested in the mainboard v1.3a |
yes |
What should be the resistor configuration for r1-r8 if TLCR5800 is used along with BPW96 instead of SFH4550 and TEFT4300 emitter and transistors in the wall sensor advanced board?
The text was updated successfully, but these errors were encountered: