Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked — Edited

Ez-B Disgard In Coming Buffer

Here's the debug. was working fine until then.

Code:

EZB 0: 
EZB 1:
EZB 2:
EZB 3:
EZB 4:
TCP Server stopped
TCP Server stopped
TCP Server stopped
TCP Server stopped
TCP Server stopped
Camera Disabled
Camera Disabled
Error Initializing Camera: System.ArgumentException: Value does not fall within the expected range.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at .()
at .(Control )
at EZ_B.Camera.StartCamera(String videoCaptureDeviceName, Control processedPreviewControl, Control realtimePreviewControl, Int32 captureWidth, Int32 captureHeight). Resolution: 160x120
TCP Server stopped
TCP Server stopped
TCP Server stopped
TCP Server stopped
TCP Server stopped
Speech Recognition Culture: en-US
Loaded speech recognition successfully
Attempting connection on COM15
Connected to COM15 at 9600
EZ-B reports EZ-B Firmware V16
Connected
Comm Err: The operation has timed out.
BbytesToExpect: 1

Received:
Disconnected
Disconnected
Comm Err: Not Connected
BbytesToExpect: 1

Received:
Disconnected
Disconnected
Attempting connection on COM15
Connected to COM15 at 9600
EZ-B reports EZ-B Firmware V16
Connected
Disgard incoming buffer (This should never happen)
Comm Err: The operation has timed out.
BbytesToExpect: 1

Received:
Disconnected
Comm Err: Not Connected
Disconnected
BbytesToExpect: 1

Received:
Disconnected
Disconnected


What could be wrong?

AI Support Bot
Related Content
Synthiam
PRO
Synthiam
#25  
@pranav, do you have 0 volts on the I/O?

1) Can you measure the voltage on the two 2 pins labeled GND and 5V by the status LED?

2) Do you have a flashing blue status LED when power is applied?

3) Do you have a flashing red LED on the Bluetooth module?
#26  
I have flashing blue status LED and flashing red LED on the bluetooth module... But the voltage across the two pins labeled 5v and GND is 0v, so the I/O pins are reading 0v... The voltage across the OUT and ADJ of LM1084 is 0v...

What shall I do?
Netherlands
#27  
@pranav

Your peripheral's regulator is broken, I believe Geoff has already replied to your email with the answer.
#28  
So I should replace the regulator... I would like to know about any replacement for LM 1084 as of now it is known that LM 317 cannot be used as it delivers only 1.5A.. So I am looking for any other replacement to LM 1084...
#29  
I found that LM338 is rated for 5A ... So can I use it as a replacement... Or if I had to construct an external circuit for it how shall I do it.. Kindly guide me through this...
Netherlands
#30  
The LM338 is still an adjustable regulator. The 1084 on the EZ-B is not. This means it can't be used as a drop-in replacement but you'll need to connect it through some wires and use resistors to set the output voltage to 5V.

I'm not an expert at adjustable regulators, I'm sure @Rich will reply to this thread with an answer:)
United Kingdom
#31  
Unfortunately I'm still learning about regulators so it's all a bit beyond me but if it is adjustable and/or has a different pin out then some external circuit will be the way to go.

The data sheets I've seen for adjustable regulators often have good quality schematics which should explain the circuit that is required. In fact, page 7 of this data sheet has the schematic.
#32  
Thank you @Rich , I will construct an external circuit to the regulator... But I would like to know if we can neglect the Iadj term... If so, I can take the resistor values R2 = 3R1 for a 5v output...


User-inserted image
United Kingdom
#33  
You could always use an adjustable resistor and set Vout by measuring Vout and tweaking R2 to suit - I assume.
#34  
Thanks @Rich , I'll try with different resistances and I would like to know more about the loading effect so that I don't face any problem while connecting more controls to EZ-B...
#36  
@irobot58 , that is really very useful information... But the only problem is LM317 is limited to 1.5A... If I don't find a way for LM338, I'll try to use an LM317 for powering EZ-B and take external power for all other peripherals.. I would like to know if that can work out...
PRO
Synthiam
#37  
Can we send you an lm1084 to make this easier?
#38  
Would you really do that? I will be very happy with it...
*blush* *blush* *blush*
PRO
Synthiam
#39  
Are you confident to desolde to remove the old one? It's not a very easy task - at least for me! I always screw it up:P Or would you prefer to send it to us?

If you are confident to do the work yourself - i'll have Geoff send you a lm1084 in an envelope today
#40  
@DJ , as I am limited by time... I'll try to desolde it..
Canada
#41  
Hey @pranav, I sent an email your way asking for your address. When you get that to me, I will send out the part:D
#42  
Thanks @Geoff , I mailed you my address and contact number... This should really solve my problem...
Netherlands
#43  
@pranav good luck!