Asked
— Edited
Hey!
Yesterday i was driving around with my robot powered by EZ-B when it got stuck in forward (not the software but the ez-b itself) and i couldn't stop it, i rebooted and it got stuck in turning.
Now i powered it up but the Bluetooth module light won't come on, then it finally came on and everything works as normal but the status led doesn't work. not even when i try to turn it on in ARC *blush*
I suspected my problem to be with my Bluetooth adapter, but if you have the same issue maybe its more then that.
Here is a full list of what happens to me:
- EZB connects the first time.
- I have a little fun controlling and testing various sensors and servos.
- Then when I test my movement, I get stuck in either forward or reverse.
- The robot will not stop going forward or reverse until it is turned off.
- When I try to re-connect, I get an error saying "Could not connect to EZB"
- This error comes up until I either re-boot ARC, or re-booting the Bluetooth module on my EZB.
- Then I get stuck in reverse/forward, Or the EZB just disconnects randomly.
Lyron, are you getting the same sequence?
The exact same happens to me, except mine got stuck in turning and my status led doesn't work anymore..
OH Lyron! I forgot to ask. Is your PING sensor detecting objects using the Object control? Mine says there is an odject 64 inches ahead...but in reality my hand is no more than 3 inches ahead. Do you get this too?
But did you all notice the same it is always when the battery or accu pack is used for a while.
Say 15 to 20 minuts with the bat-pack
After comparing both my boards i have a clue but one of you smarter folks will need to tell me for sure.
I have different resistor values in different locations? The resistor value on board 1 in the r2 spot (next to the led) is the same as r3 and r4 on board 2 and visa verse.
The board that works is the one shown on top in the pic.
could this be the problem with your board too?
and could a mix up like this be the cause of other problems folks are having?
Ron
R2 is a 4k7 (or 4700 ohm) resistor yellow purple red
R3 and R4 are 220 ohm red red brown so the same as board 1 above and this board works
R2 is just a current limiter for the LED looks like so if it had only 220 it would have blown. I can't tell what the other resistors are for but this is a considerable difference in values so thats not going to help but may not be important?
Looks like an assembly issue. I would consider changing R2, R3, R4 and LED (get this round the right way as well) and see what happens
However looking carefully at the V3 board pics on this site I can see some early V3 boards could be different. As my board has R1 missing for instance possibly the early V3 components have found their way onto later boards with a different layout but I'm just guessing. Someone needs to try out the resistor swap I guess?
Good spot brw_racing
R2 is a 4k7 (or 4700 ohm) resistor yellow purple red.
R3 and R4 are 220 ohm red red brown.
I suppose you all have a Diode jumping from D1 to R1 on the left side of the board (side with power adapter). This looks strange to me, any answers?
First of all, for TXTCLASS: sorry your connection problems probably not resistor, LED, or D1 related. It's gotta be either your Bluetooth module on board or the Bluetooth dongle you are using (maybe it's even a worn out USB port).
For the rest: You have stumbled onto the minor issues that came up when building the EZ-B, the weird D1 mounting was as a result of a PCB error, if you look close you can see that C1 was shifted and it wasn't picked up until the PCBs were out of production. Sometimes small flaws like these are unavoidable, anyway the mistake was patched with the re-orientation of D1 and the imposing pads of shifted C1 were corrected and tested on every board.
Another small mistake in manufacturing was the ol' switcheroo of the 4.7K resistors with 220 ohms. The designed values are R3 & R4 = 4.7K and R2 = 220. While the boards with the opposite will work just fine the only difference would be that the LED would be much dimmer with R2 = 4.7K ohm due to the high resistance. The resistor being 220 ohms was designed around the standard current limitations of 5mm LEDs which is ~20mA. So here's the calculation: A 5V signal (high) from the EZ-B through the 220ohm resistor (5V/220ohm) = 22.7mA and this is quite a reasonable value for the LED. Be aware that in previous versions of the EZ-B the LED was tied to the PIC chip directly without a current limiting resistor, this would have run the LED constantly at 25mA and no problems were seen that I'm aware of.
I can also add that I've been running my EZ-B board for months with the 220 ohm resistor on the LED. I would guess that issue here would be a cold solder joint on the LED or resistor pins on the boards that don't light up the LED. I would suggest to try resoldering the LED pins, R2 pins and the LED pin on the PIC chip (on the underside of the board) to see if that'll remedy the situation.
So for R3 & R4, they are I2C pull-up resistors for the I2C breakout header, 220 or 4.7K ohms doesn't seem to matter, my I2C BlinkM module works flawlessly with either. 4.7Kohms is just a standard value across the industry so that's why that value was chosen.
Well there's the long winded answer for you guys so you'll never have to wonder :). In short try resoldering a few pins.
I pulled the led and replaced it with another i had... Its all working great. All that for just a bad diode.
sorry my big idea was no big deal as for helping anyone else... But i got to play with my soldering iron.
Ron
The resistors won't affect the LED or performance. Please don't change them
As for some LED's not working at all, that is strange because Colin doesn't ship any EZ-B's without the flashing status led. Unless he missed some. From what I hear, there may have been some IR LED's in the random pile. Every EZ-B has a random status LED (by my choice). I thought it'd make it fun
As for the bluetooth light stop flashing... It may be due to two reasons:
a) almost 100% of the time that it happens to me it is power releated. The 5 AA battery pack only lasts around 30-60 minutes in my robots. This is because servos draw a lot of current, specifically when they're holding position. The EZ-B will eat up batteries because peripherals are hungry little guys. I purchase a box of 100 AA's from Future Shop from $25 CDN. I go through them in no time
b) on occasion the bluetooth module may unseat itself if it has been removed before. It's connected by a 4 pin plug and it may come lose. At least mine have because they don't have sticky tape holding them on.