EmbDev.net

Forum: µC & Digital Electronics yet another try on transistor tester


von Tirdad S. (tiranoid)


Attached files:

Rate this post
useful
not useful
Hi there.
I made a simple 16x2 LCD TTester a few days ago based on the schematic 
provided in the pdf file from github. it looked like the attachment.

then, as I read there, I could use a relay extension for more safety. I 
modified the circuit a little based on the instructions(the other 
attachments, just leaving the voltage reference out and connecting a 
relay) and made a quick PCB. the problem is:

1) using an atmega8 using the flash and eeprom in the trunk mega8
tester works flawlessly. absolutely right. relay working, values 
calculated perfectly.

2) using an atmega328 using the flash and eeprom in the trunk mega328
it doesn't work at all. I played a lot with the makefile and many 
recompiles, no luck.
when it starts up, it just shows some random blocks on the LCD. if I 
leave it for a few minutes, some random test procedures pop up which 
don't respond to anything. e.g. when it says connect probes together, 
and I connect them. nothing happens.

what could be the problem ?

von Carl D. (jcw2)


Rate this post
useful
not useful
Try adding -v to compiler flags and have a close look to the compiler 
output. Is it realy Mega328 you are compiling for?

von Tirdad S. (tiranoid)


Attached files:

Rate this post
useful
not useful
Carl D. wrote:
> Try adding -v to compiler flags and have a close look to the compiler
> output. Is it realy Mega328 you are compiling for?

I used the prebuilt hex/eep files in the folder mega328.
anyway, I added a -v to CC (it's applied in the attached makefile). it 
compiles with just a warning :
../make_frequency.c:11: warning: 'wish_freq' may be used uninitialized 
in this function. I went to source file, despite there was no problem as 
the values were explicitly applied to that variable, there was a 
commented out line which gave it a initializing value of 1. so I 
uncommented it and the warning dissapeared.
I tried the newly compiled, and it was the same problem.
a few minutes of nothing on screen.
then the self calibrating test from T1 start (with telling me to short 
probes). the self calibrating test doesn't end ( I go to that level 
which wants me to use a 220nF capacitor for calibration). it is stuck 
after that.

I'm gonna disable self tests to see what happens.

von elecnic (Guest)


Rate this post
useful
not useful
hex 328

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.