Skip to main content

Topics

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

Topics - arhi

46
General discussion / home made solution for pcb cleaning in ultrasonic bath
I have a small (0.5L) ultrasonic bath that I used to use to clean some plastic parts and some other "metal" parts using some expensive ultrasonic bath chemicals. Now, I know bunch of ppl use bunch of home made solutions that work nice in ultrasonic bath but I never tried any of those... The question I'd like to know if any of you ever tried some home made solution that works well for PCB's (don't care about jewelry etc :D )
47
General discussion / logo
Ian,
I just added DP to the list of links on my elco blog and if you look at it it looks kinda ugly :D ... is there an image hosted on dp.com that's only the triangle, without the text? Or any other image suitable for links like this?

It could be used then for all others that wanna add link to DP :)
48
General discussion / Anyone have access to HAKKO 937 station?
Anyone have access to HAKKO 937 station?

What I need is to test something on a "real" HAKKO 937 station, not the clone.
What I want from someone who have access to a real HAKKO 937 station (not a clone) is to first disconnect the soldering iron from the station. Then to attach a 100-200R potentiometer (multiturn would be cool but any would do) instead of iron sensor (you can see pinout here: http://elco.crsndoo.com/wordpress/wp-co ... ektori.jpg ) and to make a small table from 200C to 480C what value of the potentiometer display what value on the display of HAKKO 937. (set the iron to 200C then turn the pot until it turns the heater led off, measure resistance, set the iron to 220C, turn the pot until heater led go off, measure resistance .. 250C, 300C, 350C, 400C, 450C) .. I only have analog HAKKO driver so I'd like to have the table bit more precise then what I have attm for the HAKKO sensor.

Thanks in advance
49
General discussion / PACE PS-90, TD-100 with and without intellisense
I'd like to add more soldering iron types to my coldering iron driver and I noticed that PACE irons are quite well built so I'd like to be able to use those (not so cheap) handles with my controller too. Does anyone know anything about this irons like pinout, what power they use, what type of sensor they use ? What is the difference between PS-90 with and without intellisense etc etc .. These handles cost more then a whole hakko station so they are not that big in the hobby community so I was unable to find any data about them so if anyone can share any info ...
50
General discussion / LTSpice IV
Anyone have a clue how to get this darn thing to work :(

I have a super simple example here, voltage source and 2 resistors. What I want is to add noise to readout of one of the resistors. I can (as you see commented on the pic) do the .STEP PARAM Rx from to step and it works ok, but what I want is to use white() or rand() or random() function (that I see in the ltspice manual) to add garbage on that resistor but I can't manage to get it running. Everything I try I get stuff like: "cant find definition of model white" or "can't find definition of model time" or "can't resolve .param rx=white(time)" ...

So if you know how to make this happen - please share :)
51
Client software / analyzer feature request
feature request, when you are looking at data in analyzer (the big table) it would be super cool if by double clicking on the row in the table the screen with signal scrolls so that clicked row is in the middle of the screen. Also a vertical line (like a cursor) that appears when you single click on a row to point out where the row is on the signal trace would also be cool.
52
Client software / Jawi client - bug in 1wire analuzer
I was just testing 1wire (q on forum so I tried sniffing talk between mcu and DS18B20) that "works" (mcu reads the temperature from DS18B20 without a problem) and while codes sent from mcu to 18B20 are decoded properly, codes returned by DS18B20 are "bus errors" so I'd say there's a bug in the analyzer. If it was other way around (mine code sending codes to the bus was not being decoded ok and DS's code was decoded I'd assume mine code is wrong, but since the code that DS is sending is wrong I think issue is with analyzer).

Screenshot + sniffed data attached

btw this is 0.9.4
53
General discussion / TO220 switching hybrid !? anyone
2-3 years ago I seen in a shop that was fairly close to my house a 5V and 3V3 regulator in black case bit bigger then TO220 but with same pinout as to220 regulator 780x. Thing was a small board with some smd stuff on it all cast in a solid block of some semi hard black gue. The stuff behaved like standard 7805 or 7803 had no marking on it and was bit more expensive then 7805 (iirc it was 3$ piece) but the stuff was DC/DC converter. I remember that it was not very optimal (50-60% effectiveness) but it was a "remove 7805 from board and put this" 1/1 replacement for a TO220. Now, the store closed over a year ago and I have no idea where they used to source it ... does anyone have a clue what I'm talking about and where can one source such a board? I have a device that is improperly designed (34VDC is lowered down to 3V with 7803) and LDO is burning out .. they put a large heatsink on it but it's not working ... I don;t have much choice, either I can replace it with a device I just described or I need to make my own dc/dc and wire it up on a separate board (something I'd really like to avoid)
54
General discussion / project cases for 10x10cm and 5x5cm pcb
Hi guy's

As ITead and SEEED have this great super cheap PCB service with 5x5cm and 10x10cm being the most popular (cheap) board sizes, anyone know a good / cheap project case that can house 5x5cm and 10x10cm board? Something 5.5x5x5x2cm in size or 10.5x10.5x4cm ? Most boxes I have are "long" (so 10x5x5cm for e.g.) and I don't have any available that are cheap .. so .. since I see a bunch of projects on 10x10cm boards I think I should check out what's available in that field
55
Project development, ideas, and suggestions / PCI/PCI-e DEV ?
I'm following viewtopic.php?f=19&t=2657 thread with envy for a while now as I remember how easy was to develop ISA cards back in the day. It gets even simpler nowdays with fast and cheap devices (cpld/fpga/mcu's), but unfortunately getting hold of a ISA port on a computer is getting harder and harder. My last computer where I used some (E)ISA cards I worked with was some old VLB pentium1 board that died year ago ..

So to the point... I'm interested in some PCI or PCI-E (x1) dev tools. I seen some online but they go from 1000US$ and up, are packed up with stuff and are mostly unusable as a "blank slate dev tool".

I have no clue on how exactly PCI/PCI-E works. (e)isa was simple... Is there a "BLINK LED" example for pci-e x1 somewhere that could be then expanded to a "blank slate" dev tool. With "blank slate" I mean something that would have the connector on (to plug into MB) and only devices necessary to "work the" protocol. So that the rest of the board is "empty" for the test project.
56
General discussion / Ethernet LED driver - PCB Build
Ian kindly sent me Ethernet LED driver PCB. It is a stalled/abandoned DP project but since I never had a chance to try to embed ethernet into my projects it is a good starting point.

I had few issues with it. First, I hate soldering Al electrolytes in SMD version. They have no pins, they do not like heat so I can't use my heat gun and I do not have a soldering plate/oven and controlling anything on your kitchen glass plate ain't fun at all .. so initially I soldered the nasty buggers but I could not say with certainty they are on so I removed them and replaced them all with tantalum ones. Then I found out that 3 out of 4 were actually with footprint for tantalum one and only one had a can footprint... anyhow just gave me excuse to order a batch of SMD_A tantalum 10uF caps that I did not have in the drawer :)

Second issue I had was with the smd switch. I was unable to find locally (and I failed locating one at Farnell - probably was not looking hard enough) so I decided to use another SMD switch I ordinary use in my own projects that is 2 pins only but I placed it diagonally so it fits ok. (I still can't believe I was unable to find smd version of normal micro switch with 4 pins).

Third issue was with the Ethernet connector. I never used these so my exp is still noob. I noticed significant price differences in connectors. Noticed that there is 2 major versions - with some "coils" and without. Those without are seriously cheaper then one with so I assumed I need one with coils. Then among ones with coils there are ones with leds and without ... The connector I managed to find in Farnell (locally I only had ones without coils and without leds) is 113-7983. Looks identical to what this board needs. Now the "problematic" part; other then sucker costing a lot for a connector (over 6eur when it gets here) the footprint was not 100% same :( .. led's are 0.5-1mm closer to the other pins then on the footprint so there's some nasty tension to place to connector and the led leads are now under angle but connector is on board and should work properly :)

Final problem was the power connector. This one destroyed me .. the hours searching lead me to this baby on Farnell that looked like perfect match. When I wanted to mount it on board I noticed that center wire goes to ground and that outside of the connector goes to Vcc. As I hate having connectors wired that way (as all other connectors I have are center live and outside gnd) and there's no room for a gretz on board I had to do some nasty cutting so I cut the pads on the pcb and rewired the pcb so connector is "properly" connected.

The i2c pwm drivers are not soldered on as attm I do not plan to use them (I have only one anyhow) as I first need to get board to talk to ethernet first. I believe I'll go with UDP first as it should be simplest to implement, and try to send data to i2c (there will be bus pirate there waiting for data)... when I make something out of it, I'll create a new post in the "project log" section :) for now just few pics of the "assembled" board.
57
Client software / UART analyzer
I had no issues with it so far but today it failed to get me data I needed (luckily I have bus pirate but ..)

anyhow, attached is the dump, the device sends some sentences on 38400bps speed (buspirate read it properly at that speed) but UART analyzer for some reason always read it as 57600 and reads wrong data from it :(

I assume problem is that none of the timings are perfect (this one is around 39200bps if you look at timings) so the analyzer decides what the closest "regular" speed is.

Question: is there a way to tell UART analyzer what the speed is so it can properly scan / decode data? I think it would be a great addition to the client :)

(p.s. I got same issue with obls and logic shrimp, from 1MHz to 200MHz sampling rate)
58
Project logs / HAKKO (907ESD) and SOLOMON (SL-10/30) soldering iron driver
I found few minutes to redraw my soldering station driver so I can send it to itead before I go to vacation :) ... software is still not done (the old one works but is not using encoder, not reading thermocouple properly etc etc ..)

Upgrades from v1
1. thermocouple is read properly. The circuit used to get the K-type to go 0-5V came from microchip's app note
2. 3 buttons are replaced with rotary encoder with button
3. DS18B20 is added to read ambient temperature (thermistor returns difference in temp between hot and cold join so you need to know temperature of the cold join to know what is the temp of the tip. I decided to go with DS18B20 because I just figured out I have 10+ of those in the drawer)

Software upgrades (not done yet)
1. deal with hardware upgrades
2. use PI or PID instead of simple hysteresis to control tip temperature

Future upgrades
1. make nicer PCB (I make ugly pcb's... especially when dealing with slow speeds like here)
2. there are some free pins that might be used for something ..


ONE SUPER IMPORTANT THING!!!
SID do not have a FUSE on the power input. You MUST HAVE FUSE!!! I do not use fuse on PCB because all fuses I have are for "wires" so I have 2.5A glass fuse on the wire bringing 24 VAC into the PCB. BE SURE TO ADD THAT FUSE. 2.1-2.5 A is what you need depending on what type of LCD you use. The whole circuit (48W heater + everything on board + standard lcd) takes 2100 mA MAX. On top of that you need current for lcd back light. I have here LCD's that pull 30 mA and I have some that pull 280 mA for the back light, and I used some earlier that pull a whole amper!!! Anyhow whatever you do ADD A DARN FUSE TO THE POWER INPUT!!! DO NOT TURN ON SID WITHOUT IT!!



LOOK HERE FOR UPGRADES

PIC16F690 BASED LATEST VERSION SCHEMATIC (NO PCB AVAILABLE)

PIC18F2550 BASED LATEST VERSION SCHEMATIC AND PCB

PIC18F2550 BASED LATEST VERSION HEX AND COF

SID source is moved to SourceForge so available there

CASES
DangerousPrototypes Version of the Soldering Iron Driver (all trough hole)




















.
59
Project logs / LCD driver with i2c (and possble uart/spi) interface
Well, here's one old project of mine that I brushed up a bit ...

Licence: Do whatch ya want with it just don't bug me about it, if you credit me for work, great, if you don't want to that's not a problem also, if you get rich from it send me a beer :D

What: it is a 16F690 pic driving a 2x16 LCD .. nothing too smart .. it acts like i2c slave with address 0xB0 but you can select any other address in the source. You talk to it using standard i2c by reading and writing to its registers. Registers 0-15 represent 16 characters in the first row, registers 16-31 represent characters in the second row. Other registers (up to 72 iirc) are not used attm.

Why: I hate how many pins the lcd takes, especially when I'm using powerful mcu's with low pin count .. that's why while back I decided to whenever possible use i2c bus for all the io (lcd, buttons, leds etc etc)

Improvements: There's bunch of unused ram on the pic so bunch of unused registers that you can use for temporary storage or you can add some code to the 16F690 to use unused pins as inputs or outputs so you can set/read data from those pins via unused registers. The pic also have hardware uart that could be also used as interface to display data and there's also the SPI there...

Example:
this is the sample code that runs on the master mcu sending data to this controller:
Code: [Select]
    void i2c_putc(unsigned char c){
      unsigned char static position = 0;
      if (c == 'f'){ // f will clear screen
        I2C_Start();
        I2C_Wr(0xB0);
        I2C_Wr(32);
        I2C_Wr('x');
        I2C_Stop();
        position=0;
      } else if (c=='n'){  //move position to beginning of the second line
        position=16;
      } else {
        I2C_Start();
        I2C_Wr(0xB0);
        I2C_Wr(position++);
        I2C_Wr(c);
        I2C_Stop();
        if (position > 31) position=0;
      }
    }

    void i2c_print(char *c){
      unsigned char i;
      i=0;
      while (c[i]){
          i2c_putc(c[i]);
          i++;
      }
    }

    char x[] = "fHello World!nsecond line";

    void main(){
      Delay_ms(200); //wait for the i2c slaves to come online
      I2C_Init(100000); //"fast" i2c initialisation
      i2c_print(x);
    }
60
Bus Blaster JTAG debugger / IMPACT
anyone figured out if it is possible to use IMPACT with busbluster .. or at least, is there a way to somehow use it from ISE directly ?

( ! ) 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.01522454480session_write_close ( )...(null):0
20.01552586088ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01552586864Database_MySQL->query( ).../DatabaseHandler.php:119
40.06012725616Database_MySQL->error( ).../Db-mysql.class.php:273