Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - sa5bke

2
Project development, ideas, and suggestions / Re: Dangerous component/part tester
[quote author="BrentBXR"]
By power do you mean just +5v on the 5v ISP rails? or do you mean the USBTINY completely connected too the ICSP lines?[/quote]

I just connect the USBTINY to the 6 pin programming port and the circuit seems to come to live (naturally as it will get power directly from the USBTINY and bypass the 'test button circuit').

[quote author="arupbsk"]From the posted picture (Look a the unusual characters, and I bet the underscore is flashing) it looks like the LCD was initialized improperly.
I've made my one with the Atmega8 also(PCB credit: MickM). I had used the files from original archive. There's only small bug in capacitor value measurement there, but rest everything is fine. I attached those again.[/quote]

I was using the original files first downloaded from a webpage where it built a custom archive of what my choices were. This morning I tried Arupbsk files and now I ran the avrdude in one line

Code: [Select]
avrdude -c usbtiny -p m8 -U flash:w:TransistorTestNew.hex -U eeprom:w:TransistorTestNew_English.eep

but unfortunetly the same issue when I power it up with battery and push the button. One new thing noted though: now it did not say anything about Battery when I again reattached the programmer, only a '0' (if I remember correctly as it was only a short moment on the screen) and then it went to 'Timeout!' and stayed there.

Thanks for all the the suggestions. I only had a short moment this morning before work to try Arupbsk files. I will try Markus suggestion later tonight or other ideas you might have. I forget to check if the underscore was flashing.

BTW, I did also test the LCD with the bus pirate yesterday and it seems ok.

Eric
3
Project development, ideas, and suggestions / Re: Dangerous component/part tester
Hi all,

I have built the circuit with free PCB from Markus_B, thanks again! I am having some problem, so I wonder if I could get a hint on what to check. The problem is that the LCD is full of 'garbage' when I push the test button. See attached image.

The software seems to work though, because when I push button the LCD comes to life and goes black after a while. When I power the circuit from the programmer via ISP port it first says something about battery low (because it is not connected) and then into 'Timeout!' so the LCD is actually working. My thinking was that I have some power problem or problem with writing to the AVR (eeprom?). The only thing I checked so far is that the voltage to the AVR is almost 5 V.

Some more comments:

- I am using a Atmega8L-8PU
- The avrdude commands I have used is:

avrdude -c usbtiny -p m8 -U lfuse:w:0xc1:m -U hfuse:w:0xd9:m
avrdude -c usbtiny -p m8 -U flash:w:Transistortester.hex
avrdude -c usbtiny -p m8 -U eeprom:w:Transistortester.eep

- I have replaced the contrast resistors with a trimmer that is mounted below the PCB.

Please give me some advice on next steps.

Eric

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01502294136session_write_close ( )...(null):0
20.01532425736ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01532426512Database_MySQL->query( ).../DatabaseHandler.php:119
40.05652565256Database_MySQL->error( ).../Db-mysql.class.php:273