How can the rotary encoder be connected to the same pins as the display (PD1/3) without interfering with it?
Ah. So the 328 and the display respond to different voltage thresholds then?
I still don't understand how the MCU can perform two actions simultaneously on the same pins (such as when scrolling though a menu): receive rotary encoder signals, and send display signals.
Unless ... they are carefully interleaved?
Are there any benefits to connecting the 7565 CS (CE) pin to PD5? The board which came with my kit simply connects it to ground.
I want to add a relay to the tester to protect it from charged capacitors. Should I include a series resistor to limit the discharge current?
I know that when the "screwdriver method" is used with high energy caps, there is a visible arc, and then damage to the surface of the piece of metal used. Maybe the arcing would eventually destroy the relay contacts, or possibly weld them shut. I think a 1R3 resistor would do the trick.
The relay is just a crude protection. A series resistor limits the current but increases the discharge time, and the delay might be long enough to destroy the MCU. The question is more likely to be whether the MCU or the relay is cheaper. I'd suggest to have a simple process in place to measure the voltage with a DMM and discharge the cap with a resistor before using the Transistortester. This is a good advice anyway when repairing a device.+1 , without protection an ESR meter would not last long in a real repair scene. I have burnt a Russian cute tiny ESR 4 times and last time it became non-repairable. Same to my capacitance meter. Make it able to withstand 600V, even at 50V, I can retire my Bob Parker ESR.
@micro88
Maybe it will help (parts of leanid indman archive).
MK-328 Tester:
https://yadi.sk/d/yW8xa5NJgUo5z/Mk-328/Foto
https://yadi.sk/d/yW8xa5NJgUo5z/Mk-328/Firmware
However, before using the new firmware I recommend to carefully check the LCD connection with the MCU. Especially shortcut between the data signal.
I want to add a relay to the tester to protect it from charged capacitors. Should I include a series resistor to limit the discharge current?
I know that when the "screwdriver method" is used with high energy caps, there is a visible arc, and then damage to the surface of the piece of metal used. Maybe the arcing would eventually destroy the relay contacts, or possibly weld them shut. I think a 1R3 resistor would do the trick.
The relay is just a crude protection. A series resistor limits the current but increases the discharge time, and the delay might be long enough to destroy the MCU. The question is more likely to be whether the MCU or the relay is cheaper. I'd suggest to have a simple process in place to measure the voltage with a DMM and discharge the cap with a resistor before using the Transistortester. This is a good advice anyway when repairing a device.+1 , without protection an ESR meter would not last long in a real repair scene. I have burnt a Russian cute tiny ESR 4 times and last time it became non-repairable. Same to my capacitance meter. Make it able to withstand 600V, even at 50V, I can retire my Bob Parker ESR.
I want to add a relay to the tester to protect it from charged capacitors. Should I include a series resistor to limit the discharge current?
I know that when the "screwdriver method" is used with high energy caps, there is a visible arc, and then damage to the surface of the piece of metal used. Maybe the arcing would eventually destroy the relay contacts, or possibly weld them shut. I think a 1R3 resistor would do the trick.
The relay is just a crude protection. A series resistor limits the current but increases the discharge time, and the delay might be long enough to destroy the MCU. The question is more likely to be whether the MCU or the relay is cheaper. I'd suggest to have a simple process in place to measure the voltage with a DMM and discharge the cap with a resistor before using the Transistortester. This is a good advice anyway when repairing a device.+1 , without protection an ESR meter would not last long in a real repair scene. I have burnt a Russian cute tiny ESR 4 times and last time it became non-repairable. Same to my capacitance meter. Make it able to withstand 600V, even at 50V, I can retire my Bob Parker ESR.
I asked in the German forum about newer hardware project files. It would be nice to do an Open Hardware contest for it. I myself would like to try to do it both in OrCAD and KiCad, if my mind gets in better shape
What would be the better AVR to be supported?
I asked in the German forum about newer hardware project files. It would be nice to do an Open Hardware contest for it. I myself would like to try to do it both in OrCAD and KiCad, if my mind gets in better shape
What would be the better AVR to be supported?
The ATmega 664 or 1284. There's a circuit in Karl-Heinz' documentation but I think it would be a good idea to change some I/O pins to be more flexible with future extensions and options. My idea is to have a complete port just for the display which allows to have a SPI with 2 or 3 /CS and an interrupt input. That would be nice for a graphics LCD, touchscreen and some other SPI device (SD card, GPIO?).
Hi, will this encoder work with this tester? It doesn't say that it has a switch but I think all of them have one and I can see it has 5 pins. http://www.ebay.com/itm/Rotary-Encoder-Module-Brick-Sensor-Development-Board-Test-For-Arduino-New-GU-/371451401545?hash=item567c3a9549:g:hIoAAOSwVL1WCV1O
Thanks, one more thing. Do you or anyone else know, does this one have the code builtin for the rotary encoder or I have to re flash the AVR?
@ryanna
Procedure for flashing firmware:
Required hardware:
- USBasp programmer (price around US $1.87)
- AVR Development Board (price around US $1.55) - or other AVR ISP adapter
Note:
Alternatively, it can use USBasp with a breadboard (for example 400 pin) - see attached picture.
Required Software (download links below):
- USBasp Driver
- AVRDUDE
- Firmware
1. Unzip the downloaded files into a separate directory and then perform installation of the USBasp driver.
2. Then remove MCU from the socket and insert it into the AVR ISP adapter.
3. Through the ISP cable connect the USBasp programmer with the ISP connector on the AVR ISP adapter.
4. Navigate to the folder with the unpacked software and perform this following command from command line:
avrdude -c usbasp -p m328p -B 4.0 -e -U flash:w:"TransistorTester.hex":i -U eeprom:w:"TransistorTester.eep":i -U lfuse:w:0xF7:m -U hfuse:w:0xD9:m -U efuse:w:0x04:m
This command (also includes a section for writing fuses) can be copied and saved as e.g. "flash.bat" and stored in a prepared folder. In the future you can simplify this flashing of the firmware by the usage of "flash.bat".
5. After, if MCU is successfully burned, fit it back into the socket of the tester.
6. The first time the tester is suitable to calibrate. The procedure can be found in the manual.
Links:
USBasp - Driver:
http://www.fischl.de/usbasp/usbasp-windriver.2011-05-28.zip
or
http://www.protostack.com/download/USBasp-win-driver-x86-x64-v3.0.7.zip
AVRDUDE:
http://download.savannah.gnu.org/releases/avrdude/avrdude-6.1-mingw32.zip
Firmware:
http://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/mega328_2X16_menu/?view=tar
USBasp - How to install driver on Windows 8:
http://letsmakerobots.com/node/36841
USBasp - How to install driver on Windows 8.1:
http://openchrysalis.wordpress.com/2014/09/26/installing-usbasp-driver-software-in-windows-8-1/
USBasp - User Guide:
http://www.protostack.com/download/Users%20Guide%20(AC-PG-USBASP-UG-V2.0).pdf
I tried edit config.h in ComponentTester-classic-1.21m but there is no define SW_ESR option for < 32kB Flash
Please help me out if possible, my equipment is the standard mcu atmega168 with the classic 2x16 screen
I have an m168 with smd parts ...
Tried the 1.11k but prints cell! and is unusable.
... my equipment is the standard mcu atmega168 with the classic 2x16 screen