The Embedded Code

Cadence Orcad Layout is one of those tools that really have no end. There are so many settings and sub-tools that a few months of inactivity would render you lost. Here is one of the problems I faced.

I was trying to get the copper pour to flow and include the attached net instead of the spoke as shown below.

Well the method I know is from the menu, select pad stacks, select all pads that you want to flood and properties>> Flood Planes/Pours select. Make sure that the isolate all tracks from the obstacle is not selected.

At this point you should be get what you want but to my dismay, i repeatedly got the same thing. I tried so many other settings but to the life of me I could not remember what I did wrong. The key was very simple and I did nothing wrong.

After you make any…

View original post 36 more words


Download IR remote library from the following link

Unzip the download.Rename it as IRremote and put it in arduino’s libraries folder.

To detect the remote


Set up a TSOP sensor like the above schematic…

Load the example code from File -> Examples -> IRremote -> IRrecvDemo then click the “Upload” button.Click the “Serial Monitor” button to bring up a window that will allow us to see the codes being returned to us by the Arduino. Start mashing buttons and you should see a lot of numbers scroll by like in the image below.


The ones that start off with FF and then have numbers or letters are the codes we are after. A FFFFFFFF is a continuation code and the 0 on its own line is a read error.

Happy Hacking 🙂

View original post

Poppy Dean

Today we looked at editing the hue and saturation of a photograph.
This is the original image before I edited the hue and saturation.

This next image is after changing the hues and saturation. I brightened up the magenta on the lillies and also changed a lot of the yellowy hues in the lilly pad leafs to more of a greeny hue. Lastly I edited the cyan plant pot to a brown colour so that it blends in with the rocks and water bed as I felt it took a lot of attention away from the flowers in which I wanted to be the main point of attraction.



I then looked at changing the highlights and shadows of an image and also the levels.
As you can see the first image is too dark and has little contrast.


I first adjusted the levels so that they matched up with…

View original post 26 more words

Arduino Teaches Old Coder New Tricks

Detect And Zero Rightmost One

In September, 2012, my article of this title was published by Linux Journal magazine. A blog version of the article is below.


The first significant electronic circuit that I designed and implemented was in 1973 and consisted of several input, outputs and flip-flop logic circuits – all implemented with relays. At the time, I worked as a training instructor for AT&T-Long Lines and relays were much more obtainable than was the nascent 7400 series logic integrated circuits. Soon thereafter, however, after I was able to obtain some 7400 series ICs and started designing and implementing various circuits using wire-wrap for connections. Wire-wrap was another readily available technology in the telephony field and the circuits were simple – timers and the like. Although the Intel 4004 was in the news at that time, my first microprocessor project was with an Intel 8008. Later I worked with the Intel 8080…

View original post 6,936 more words

Bare Conductive

Edit Blocks

Electronics is a bit of a specialist, geeky area: I, for one, often find myself avoiding it and leaving it up to the experts. Bare Conductive are a small London company who challenge this by creating user-friendly materials that make electronics not just accessible, but really exciting too.


Their flagship product, Bare Paint, is a gel-like substance that conducts electricity. This material can be used in practical applications such as soldering or drawing circuits, as well as creating greetings cards, painting a capacitor or even making a light switch.

Source: bareconductive.comFrom the moment you check out their gorgeous website, it is clear these guys have integrated wonderful, user centred design into every stage of the technical electronics. With a community section alongside easy to understand tutorials, Bare Conductive are a brilliant example of a company whose best press comes from their consumers. I cannot wait to get my hands on…

View original post 21 more words

16F628A pinout and basic stuff

Chirpy's Blog


here is the pinout of the 16F628A PIC chip, VDD is +5v only, VSS is ground, MCLR is reset pin, just tie that to +5v.

when you open microcode studio, just select the 16f628a from the dropdown box at the top, and write your code.

to use PortA as digital and not the analog comparators, which is what you use for robotics and such, add this to the top of your code.

Just copy/paste it at the top.

@ __config _XT_OSC & _BODEN_OFF & _WDT_OFF & _PWRTE_OFF & _LVP_OFF

The 7805 regulators, looking at the front of it, the pinout going from left to right is

1. input, 2. ground, 3. +5v regulated out.

You’ll need the mplabs stuff installed to use that stuff, when you go to compile the code, it’ll try to autofind it.

In all, the programs that should be installed are…

View original post 106 more words

Heart Equation


Welcome new day!!!

Let have fun with Math in Matlab today,…












I have searched some heart equations to play in Matlab today. first let me introduce the heart curve in the following equation:

Then let start to make in fun with Matlab with heart curve equation one from the above equations:


In Matlab we code:

t= -pi:0.01:pi;

r = ((sin(t).*sqrt(abs(cos(t))))./(sin(t) + (7/5))) – 2*sin(t) + 2 ;
[x,y] = pol2cart(t,r);






Then let start to make in fun with Matlab with 3D heart equation:

3D Heart

In Matlab we code:

step = 0.05;

[X Y Z] = meshgrid(-10:step:10, -10:step:10, -10:step:10);
p = patch(isosurface(X,Y,Z,F,0));
daspect([1 1 1]), view(3), axis tight, axis equal


Let try the other equations,

Have Fun!!!

View original post

Anton Antonov's Blog

My first entry for the one-liner competition at the Wolfram Technology Conference 2012 makes wallpaper autostereograms. (See
Using the correct pupil focus you should see six black balls in front of a black wall, six red balls in front of a black wall with circular holes, and a red wall with circular holes in front of five black balls/disks. When you enter the gallery if you focus correctly on one of the images you will see the rest without refocusing.

You can also try to focus on the slide show. (I can focus easily on the slideshow, but this might be because I know what I am going to see and because of my high resolution screen…) Because the slideshow images are smaller the number of perceived balls / disks increases with 1. For example, apparent seven balls are seen on the first image.


Evaluating several times…

View original post 18 more words