Cyclone 1

I have torn a board with Altera Cyclone chip from a defective plasma television. That’s EP1C3T100C8  chip: one hundred legs, but only 65,2910 logic elements, 59904 bits of memory and one PLL are intended for users. While my board production technology is not perfect and I still not have concept of the final product, I use a universal factory mounted adapter. I mounted the power, program and  configuration board to the adapter. I used simple wires for connection of both boards. As there was the single layer board, Kynar wires were necessary.

The right side:
Cyclone I
I shaded unusable legs and their numbers with black colour, as they distracted my attention. The inside marks do not disturb, but I think I’ll shade them too.

Here is the worse side (made by ironing technology, thus the quality is not enough):

Cyclone I
Here are mounted: two stabilizers VccIO-3.3V, VccINT-1.5V, several capacitors, oscillator 25 MHz, connected to 10th leg of the cyclone, several pull-up and pull-down resistors. A configuration chip is also soldered. I haven’t tested it yet, as my ByteBlaster, connected to printer port, is not able to reconfigure the chip. There is a way to force the cyclone to rewrite this chip itself, but I have not “grown up” to that yet. Two connector also are here: one for JTAG and the other for EPCS1 reconfiguration. 

Here are  Black and White PCB image and Cadsoft Eagle files. They differ from the bord in a photo as photo version has many mistakes. Theoretically, I corrected mistakes in the archive but probably made the new ones.

You can also find FPGA/CPLD chips in the oldest models of routers and servers, DSL modems, telecommunications equipment, “more exotic” PCI boards, i.e. in more expensive equipment of less circulation. Good hunting!

Posted in Anything, FPGA | Tagged | Leave a comment

Online Casino- how to find best

Do you want to try your luck? Or just want to have good time? Or just the boring evening? Why not to try online casino?

Sometime is very difficult to find good online casino. There are lots of Casino web sites, but how to find the best or how to filter fake ones. First of all check reviews in various web sites. Try to read some forums online to find real users reviews. Use your own brain- check all the fine print about the payout policies, check if casino have some independant financial auditors. Also, check if the game rules are not modified. Some modifications seams not very significant, but be very carefull- it may change your final results. Caveat emptor!

Rulete

There is one site I found. It differs from other sites that it have short descriptions and instructions about available games. For example, in page Online Roulette there is full description of clasic roulette game. This site even have small tips for begginner- this will not help you to get big bucks, but it will help you not to loose your money from silly errors. Mathematically it is very simple: The single-zero roulette game has 37 possible cases (36 numbers, plus 0). The double-zero roulette game has 38 possible cases (36 numbers, plus 0, plus 00). The odds vary with the type of bet. For example, the even-money bet: black/red, odd/even, high/low. There are 18 red numbers and 18 black numbers. The odds are calculated as 18 / 37 = 48.65% or 18 / 38 = 47.37%. The odds are not to be confused with the house edge or house advantage. But who cares about mathematics- there is luck and there is fun! 🙂

Blackjack

Roulette is a bit random game, but more advanced users can try Black Jack. There are more rules, more calculations, more chances to win and more fun. Just read review at BlackJack Online. It is mandatory reading for new player. In short words, you can understand how to play black jack game from this review. And not only in online casino, but even in real life casino. While there are many types of blackjack, all the basic rules apply for the most part. If you can master one, you can master them all. 🙂

Don’t forget- different Casino can use different blackjack rules. And there are lots of variants.

Posted in Advert, Anything | Leave a comment

GPS

I bought a new toy – GPS receiver (WBT300). It’s very simple  with USB and Bluetooth ports. I do not need it at all, but it’s very curious to play.

GPS

Some Chinese software is provided with this device. It shows already decoded information.  I checked, that coordinates remain quite stable. However, sometimes it’s seems to the device, that it goes somewhere at 0.16km/h speed. 

GPS

I was disappointed in height showing results. The height of my room varies from 60 till 170 m above sea level. I thought, that my house is stably fastened to the ground.

I haven’t demounted this device yet, but theoretically it should has some receiver, transmitter and RS232-USB adapter. The idee fixe appeared to bypass this USB port…

By the way, if you install virtual COM port of Windows,  the Hyper terminal program will help you to see all data “flowing” out of the device. Here is a sample:

$GPGSA,A,3,25,20,02,04,,,,,,,,,3.5,2.8,2.1*3E
$GPGSV,3,1,12,25,67,177,25,23,39,086,19,20,11,140,20,02,35,276,38*7C
$GPGSV,3,2,12,16,27,057,,29,06,344,17,27,49,200,14,13,83,064,13*75
$GPGSV,3,3,12,04,30,232,29,06,04,011,,08,19,208,,10,13,308,*75
$GPRMC,183101.000,A,5453.5577,N,02356.2293,E,0.00,214.57,120208,,,A*67
$GPGGA,183101.000,5453.5577,N,02356.2293,E,1,04,2.8,66.1,M,28.9,M,,0000*65
$GPGSA,A,3,25,20,02,04,,,,,,,,,3.5,2.8,2.1*3E
$GPGSV,3,1,12,25,67,177,25,23,39,086,19,20,11,140,19,02,35,276,38*76
$GPGSV,3,2,12,16,27,057,,29,06,344,16,27,49,200,14,13,83,064,12*75
$GPGSV,3,3,12,04,30,232,29,06,04,011,,08,19,208,,10,13,308,*75
$GPRMC,183102.000,A,5453.5577,N,02356.2293,E,0.00,214.57,120208,,,A*64
$GPGGA,183102.000,5453.5577,N,02356.2293,E,1,04

Smarter people can identify the place and time of the experiment from that rubbish. I also understood several rows. But others remain mysterious.

Posted in Anything | 2 Comments

Dread

Here I introduce Dread to you. Her nickname is “Skurokas”. 

Skurokas

Click here for more details: http://www.gwaten.com/. 🙂

Posted in Anything | Leave a comment

Joule Thief

To light blue and white light-emitting diodes (LEDs) the voltage of 3V is required. By the way, white LED is the same as blue LED with additional luminophore inside. This luminophore is activated by blue light and lights up. Finally it lights as white.

What to do if you wish to connect a white or blue LED to a simple AA or AAA battery or even worse to the dead battery? It’s very simple. It’s enough to assemble a self generator on one transistor and the LED will light. That’s a real sample:

Dziauliu vagis

On the Internet this scheme is often called “Joule Thief”. Though the idea of self generation is well known and used in various strange devices.

What do you need for repeating the experiment? A simple transistor firstly. I used the transistor NPN 2N3904.  Secondly, you need 1K resistor  and  a small transformer wound on a ferrite ring. The ring can be very small, as device is not very powerful. My ring has 2 x 30 winds of thin copper wire.

Wind the transformer as follows: take 1m of  thin wire and fold it in half. So you have two wires. Wind them on the ring simultaneously. When the ring is wound, crop and tin each end of the wires. Connect the beginning of one wind to the end of the other wind and to the positive post of a battery. (Check with a tester or in any other way if the connection was made correctly. You can use coloured wires, it will be easier to recognize them).  The second wire of the transformer should be connected to the resistor, the third – to the collector. Connect Led’s anode (+) to the same collector and free end of the resistor to transistor base (to the central leg). Transistor emitter and LED’s cathode (-) should be connected to the negative post of the battery.

 Scheme is here:

Dziauliu vagis

Theoretical remarks (untested).

You can use PNP transistor, but it will be necessary to reverse emitter with collector, anode with cathode and to connect the power supply in opposite way. You can also use old Russian germanium transistors. Then the device will work more stable at low voltage. Such device could be powered from “primary power sources” as lemons or apples with two different wires inside… 🙂

Posted in Anything | 2 Comments

DVD laser lights up part 2

I adapted the collimator of the higher quality. The voltage 250 mA is enough to light a match. And there is no need to hold it long.

Naujas kolimatorius

The collimator was tore out from a copier. It’s quite good, that you can precisely focus the laser beam by turning a screw. You minimize the power and focus the laser beam till minmum. It it impossible to notice that the laser beam is minimized when everything around is light due to full power.

Video: DVD with New Collimator (Xvid, ~1Mb).

I tried to turn “a laser arrow” to the sky, but the beam gone into nonexistence. But it was perfectly visible on all the nearest objects. I tried to make some photos, but they came out so so…

Laser pointer from hell

After digital “processing “:
Laser pointer from hell

Youtube version:

Older lazeriniai postai.

Posted in Anything | Leave a comment

Advanced LED torchlight

At last I finished (2008.02) my torchlight project. I was looking quite a long time for good LED driver. When I found driver chip, I’ve lost all my white LEDs. So I used white LEDs from bad USB web cameras’. There are 4 LEDs in one web camera. I dissasembled several ones and collected 12 (in last edition 16) bright white LEDs.

baltų šviesos diodų projektą.

Here is last PCB test before finishing assembly:
LED light

I compared light output using simple cheap incandescent bulb, but powered from one Liion battery. Bulb is 2.4V and 0.75A. As it was powered from 4…3.7V source, output power is much more. And it was very hot- plastic details near lamp melted.

Variantas Voltage, V Current, A Power, W efficiency, %
Incandescent light 3.6 0.95 3.4 100
12 x LED 3.5 0.4 1.4 41

LED apsvietimas

“Light power” comparison:
LED apsvietimas

Conclusions:

After comparing both types of the lamp I can definetely tell, that LEDs are better in case of energy use. But only if LEDs are connected using special driver chip. Cheap China torches are made without any driver and are not very good for advanced use. Looking from spent money, the situation may be different. LED driver chips and custom hardware is expensive. Another advantage using drivers chips is that light power is constant during all liftime of battery.

Continue reading

Posted in Anything | Leave a comment

DVB-T in Kaunas

This is not up to date post (post date 2008.02)

I rescanned DVB-T channels using areal antena and found some new stations. As my antenna is quite big I am receiving TV stations from some near cities. I find new transponder at 778MHz. Maybe it is TEO? During tests all channels were uncoded. Now I need card to view.
Some changes in free to air channels. Also, picture size is smaller. Size is reduced from 720×576 to 544×576. But bandwidth is same, so overall quality is same. Also, less CPU power is needed to decode TV programs. Maybe size is changed because cheap TV tuners are with very “thin” CPU.

The are only 3 channels in 786Mhz…

Screenshots:

DVB-T Kaune

More cropped pictures: Continue reading

Posted in Anything | Leave a comment

Laser burn

Warning! LaserAt last I repeated experiment from youtube about burning DVD laser. I dissasembled old DVDRW drive. I noticed small crack in laser diode, so I removed the glass. As open laser is very prone to external damage, keep it from water, dust and agresive liquids. I placed laser diode to some colimator from old laser printer. I pumped power up to max- I have few diodes, so decided to burn it to death.
Best way to tune laser beam is to use black, matte material. I used side of the match box- it is brown, but no shiny spots. Also, phosphor on it make nice little smoke. I recorder this experiment with camera, but as the beam is very shiny, the quality of the image is not very good.

Snapshots from video:
laser burns
laser burns
laser burns

And here is the movie about it (Xvid, ~1Mb):

First Run, double matches.
Second run. Single match.

Current is about 0.5A.

More links form my blog (Lithuianian, still not translated):

Next you can see images of laser diode modification. Continue reading

Posted in Anything, Laser | Tagged | 3 Comments

Class-D amp

Maybe you noticed, that new home cinema systems, LCD/Plasma screens, receivers have very small amplifiers. Physically small. But the power output is quite big. And there is no big, heavy heatsinks on these devices. And no big transformers. At a first glance I thought that all this output power is represented in “Chinese wats”. But in this case, the wats are real. And these devices are using “digital” D-class amplifiers.

What a hell is D-Class amplifier? It is old-new invention- digital amplifier. “Digital” means only one bit 🙂 The analog output is made using pulse width modulation (PWM) output. Some sound is converted to digital form using CPU ar special chips and this PWM sygnal is fed to powerfull MOSFETS. Real DAC conversion is made on small inductors near the output.

Here is image of one such amp:

Class-D

I removed small heatsink from the top of chips. There is no need for big heatsinks as efficiency of such amp is about 90% (acording datasheet).

Class-D

Here is closeup of the PCB. Note the size of SMD resistors and compare to the size of the chips. Chip is TAS5111 and TAS5112 made by Texas Instruments.

TAS5111 is buwoofer driver. Output of the chip is 70W RMS (@ 0,2% THD+N), 95dB dynamic range. And all this for single polarity 30V PSU (3.3V for logic). Other chip, TAS5112 is stereo amp (two channels) 2 x 50W (@ 0,2% THD+N).

The principle of operation is very simple. PWM sygnal from sound processor is fed to the chip. The chip is driving output mosfets in H-Bridge connection. As there are two PWM channels, the output is connected in full bridge. The chip is full of various protection circuits. All DAC is made on quite small 10uH coils (blue cylinders on PCB).

All amp is 6+1. Total 370W RMS from board sized like a CD box. Heat sink need to sink only 40W of heat during max load!

This particular board is damaged, I didn’t examined what is bad is this PCB, I picked up this PCB for weblog ilustration only.

Posted in Anything | Leave a comment