Search
Subject Area
Articles
Products
My Elektor
|
|
Topic: USB Curve Tracer
|
| Author |
Post |
|
mkstevo
2 posts
 Popping In
|
17-03-2009 10:23
Hello all.
I have built this and am struggling to get it to work. The controller PCB was bought from Elektor populated and tested.
I seem to be struggling to get the software to connect to the unit. All I see is: Status: Establishing Connection...
I have checked the installation of the USB/Serial driver, and it has created a serial port, Port 4.
I did wonder if I needed to program the Microcontroller, so have attempted to do so using the FlashSta program provided in the firmware download. I can only find a '.mot' file in the Debug directory of the firmware files and have tried to use this but keep getting messages about the ID not matching. It does appear to communicate to the device via the serial port 4 so I am reasonably sure that this is working.
Does anyone know if the microcontrollers on the populated PCB's are programmed at the testing stage, or should I be looking elsewhere?
Any suggestions would be appreciated.
|
|
mkstevo
2 posts
 Popping In
|
17-03-2009 11:51
After searching the internet I eventually found a suggestion to enter the ID code of: 00 (that is two zeros) in each of the ID code boxes, and then selecting the R8C MCU option allowed me to program the MCU.
After completing this step, the Curve Tracer worked immediately.
Perhaps those people familiar with this range of MCU devices would have known this, but it has had me confused and frustrated for far too many hours!
I should also say for anyone else looking for help on this project, T2 is shown on the parts list as a BC547, but on the circuit as BC557 (I fitted a BC557 for T2 and it appears to work correctly).
K1 on the main PCB and on the controller PCB are listed as being a 20 Pin Plug (Controller PCB) and 20 Pin Socket (Main PCB). I found that the populated Controller PCB came fitted with a socket, making 1 socket on the Controller, and 1 on the Main PCB. making two sockets, and no plugs! I then had to carefully replace the socket on the Main PCB with a Pin Header, not an easy task!
|
|
WD73383
4 posts
 Popping In
|
04-01-2010 01:33
I have exactly the same problem - the software cannot "establish connection" to the board, although the USB-serial drivers are installed and working.
I suspect the problem is the same as posted here - no firmware loaded on the microcontroller although I purchased a supposedly pre-tested controller daughterboard. This is a big disappointment - like the previous poster, I don't like spending hours and hours troubleshooting poor quality control. I guess I have no choice but to thrash around and try to load the firmware.
I have found that just about all of the Elektor projects I have built suffer from inadequate documentation. The articles are poorly organized and too much information is left out - where are the editors when you need them. The articles need to have troubleshooting information, especially for the more complex projects.
The articles do not include any way to contact the author. My feeling is, if the authors are going to go through the trouble of publishing their projects, they better be prepared to support them.
Bottom line: I won't be building any more Elektor projects and if anyone asks I will tell them to not waste their time.
|
|
WD73383
4 posts
 Popping In
|
04-01-2010 02:30
Here is an update for you poor guys who have trouble making this project work. I tried using the Flash Starter program that the Elektor article says to use. It is included in the Elektor firmware download.
But guess what. It does not work. I kept getting error windows saying the "baudrate" could not be set. I wasted a couple hours on that one, trying all different combinations of baudrate, interval and so on. Total waste of time.
Then I went to Renesas Technology's website and downloaded the same program flashsta.exe plus a bunch of other stuff included in the zip file. This apparently is a later version, and it worked the first time with no problems.
Thanks to the previous poster in this forum I knew I had to set all the ID boxes to 00.
Now, when I run the Curve Tracer application program, it connects within a few seconds and seems to work. I have not connected a tansistor yet - that will have to wait until I mount the PCB in an enclosure.
My question is, where is the quality control at Elektor? There obviously is none. The daughterboard was supposed to be pre-programmed and ready to use, but it was not. I'm very disappointed I had to waste an afternoon fooling around trying to fix their problem.
|
|
(geen)
5 posts
 Popping In
|
07-01-2010 21:56
Hello All of you.
I had exactly the same problems you had, but I have been able at least to load the FW and make the connection to the CURVE TRACER application
Now the Curve tracer application estabilish the connection and exit from the initial status. It seems that the FW is not loaded when you buy the PCB already assembled and tested.
The thing is that the TRACER still does not completely work, this because the PWM signal from TIMER Z stay stady, while the PWM signal Y works correctly (oscilloscope display).
Of course this gives an error.
Now, I think the FW is not correctly loaded.
Is there anybody of you that knows the ID that should be given for the R8C/13 microcontroller to correctly load the FW?
I have not been able to find ii anywhere, or else I have not been able to understand what the manual says (Renesas MC16 FLASH STARTER USER MANUAL )
if ever someone of you can say something, will be much appreciated..
thanks
roberto (Italy)
|
|
(geen)
5 posts
 Popping In
|
07-01-2010 22:03
I have also tried to load the FW with the ID all ZEROs but, the same.
The Z PWM signal does not move, that means that the application gives an error
|
|
nick
1 post
 Popping In
|
09-03-2010 19:24
My tester is working , maybe you got the wrong pl-2303 driver . I run vista so i when to the prolific sitre and downloaded the correct driver . PLEASE ALL OF YOU THAT HAVE COMPLETED THIS PROJET WE CAN MEET AT THIS ADRESS " http://www.flickr.com/photos/31603983@N05/sets/72157623347203458/
ask question , post answer , comment etc ..
i have included ( see attachment ) vista driver and the XP .
first i install the driver
second the software
then plug usb then power then load the software . work every time.
My only problem is that i dont know how to interpret the curves and if the result curves are correct .
PLEASE MEET AT THE LINK ABOVE .
PL2303Vista.exe
PL-2303 Driver Installer.exe
|
|
(geen)
5 posts
 Popping In
|
09-03-2010 21:36
I got it work.
There was one of the quad Analog switches not working.
Substituted it and now everything works fine.
thanks for your attention
regards to all
r
|
|

Elektor Editor
584 posts
 Power User
|
10-03-2010 12:45
Excellent Roberto and thanks for letting us know.
Jan
|
|
agrubert
2 posts
 Popping In
|
04-05-2010 00:01
Jan,
I haven't looked into this project for a while but I did send comments to Elektor directly and to the German forum on May 7, 2009. Unfortunately I never got any response reagrding my analysis from Elektor and I didn't follow up as I got busy with other projects and also moved back to the US.
Here is my summary from the German forum:
I did some measurements and analysis of the curve tracer's analog part and noticed that when in the negative voltage mode (for PNP, P-Mosfet, P-JFet) the curve tracer does not output the full voltage range between 0 to -10V but only goes up (or if you want down) to -6.6V! The reason is a wrongly designed circuit. Looking a the circuit, you will notice that in the positive mode everything is ok as analog switch IC9 switches the output voltage throughh R33 to the input of IC10. Due to the high input resistance the full voltage of +10V is fed to IC10. However, in negative mode, this doesn't work as now R32, R33 and R51 are forming a voltage divider. Thus, only 2/3 of the output voltage and thus approximatey 6.6 volts are fed to pin 3.
I recommend to get rid of R51 and the tracer will work just fine, at least mine does.
Unfortunately, his bug cannot be detected easily as the PC software apparently only assumes the correct voltages are output by the device. Hence, the supplied PC software just displays these assumed values. For the positive mode everything is peachy but as mentioned above not so for the negative mode.
Andy
Post edited by agrubert
on 04-05-2010 20:43 Post edited by agrubert
on 04-05-2010 20:51
|
|
(geen)
5 posts
 Popping In
|
04-05-2010 09:35
Yes, Andy,
I found the same problem and did the same as you.
I got rid of R51
bye
roberto
|
|
lasse
1 post
 Popping In
|
07-05-2010 12:33
Hello,
I am experiencing two problems with my curve tracer, which may be related, don't know yet.
1) All measured transistors are low on gain. I think that largest hfe I measured is around 35-40. Thats not all, the curves displayed does not look at all as in the datasheets. At low collector currents the hfe~1-5, where a small signal transistor should be maybe ~100. see pic (bc547a).
2) When measuring some transistor types, mostly npn i get the response - no collector current at maximum base current. Even though I am totally sure that I connected the correctly.
I have currently no clues what the problem can be.
I have: checked all resistors, capacitors, changed opamps, analog switches. Have to do some more measurements later.
|
|
Ludzinc
1 post
 Popping In
|
26-05-2010 03:49
Hi all,
I managed to get my curve tracer to work. Thanks to the tips here in the forum regards programming the firmware!
Anyway, I want to modify mine to prduce higher base currents, so I can measure some power transistors (specifcally Ihave some ASI BLV20's that don't respond with less than 1mA of base current).
It's a walk in the park to mod R20 - R23 to give me the currents I want (and verified during test) but the software gives bad HFE figures (as it thinks the base currents are lower than being used).
I want to modify the software (I can compile it in Visual Basic Studio) to correctly calculate the base currents, but I have no idead how the scalers as defined in the article are derived.
Can some one explain this process to me?
|
|
Nik_2213
1 post
 Popping In
|
22-07-2010 01:45
Are these problems of bad chips and no loaded firmware common to the 'assembled and tested' boards, or just to the kits ?
I want to characterise a tube of 6n139 split-darlington opto-isolators with a view to extending the published 6n136 spice model (*). A simple curve tracer which can uplink to PC+Excel seemed to fit the bill.
I don't have the skill to trouble-shoot the circuit or program a PIC, so I'm concerned that I might have to send the unit back if it does not 'plug and play'...
I'm also concerned that the basic circuit may be 'buggy', even a year after publication-- This isn't how I remember Elektor !!
===
(*) Took a LOT of research, but a HP document (c)1977 mentioned that LED-->diode CTR is ~0.16% for their range of optos. This figure is quoted for 6n136, but not for 6n139. I'd planned to use it as my default value, but nice to have it confirmed...
Post edited by Nik_2213
on 22-07-2010 01:47
|
|
csnuebi
1 post
 Popping In
|
03-11-2011 10:34
Hey there. We have Build this Project and transferred the Firmware. The curve Tracer Software recognizes the Curve_Tracer V1.2 without a Problem, but when we connect any kind of Transistors (PNP,NPN) the Software gives an error Message :" No Collector Current at max Base Current". We have tryed a lot of Transistor but the error message does not dissapear.
Has somebody the same Error and knows a solution ?
Thx for your Help
with best regards
|
|
(geen)
5 posts
 Popping In
|
03-11-2011 19:31
the problem you have is the same i had in the past, when one of the analogue switches was not working. see my previous post were I say:
"The thing is that the TRACER still does not completely work, this because the PWM signal from TIMER Z stay stady, while the PWM signal Y works correctly (oscilloscope display).
Of course this gives an error"
The error that was given was the same you are mentioning
NOw I suggest you to have a look to the ana switches, or maybe substitute them all if ever. If one does not correctly work, you won't be able to have the collector current, this is ONE of the reason of that particular error.
take care..
bye to all
|
|
Subscribe now
Subscribe to our free E-weekly Newsletter!
Enter your Email address:
Follow Elektor
Act now!
Sponsored
FAQ
Before submitting questions, review our FAQ section!
Bestseller
Controller Area Network Projects The aim of this book is to teach you the basic principles of CAN networks and in addition the development of microcontroller based projects using the CAN bus.
Package Deals
Elektor Bundles Check our Package Deals and save money! Discounts up to 19% now available!
Price Slashed
Elektor OSPV This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.
|
|