EmbDev.net

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


von Tirdad S. (tiranoid)


Attached files:

Rate this post
0 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
0 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
0 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.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.