Sunday, January 8, 2012

Taming the dsPIC30F4011 Monster

!±8± Taming the dsPIC30F4011 Monster

Warning! This article contains graphic descriptions. The readers may experience anxiety, confusion, or a burning desire to "start working immediately". Professional guidance it is strongly advised!

Unfortunately, it is sufficient to see the name of the beast, dsPIC30F4011, and many readers are going to shy away, or even burst into tears. No, dear friends, there is nothing to fear, and I intend to present how you could easily tame this terrifying dsPIC30F40111 monster and put it to work for you, into many beneficial applications.

Now, the first thing you need to do is to capture the beast. For this, you have to take the jungle path--also known as the "Internet". Walk up to the monsters' lair, Microchip®, and there you could capture, or purchase one dsPIC30F4011 animal for about 12 pieces of silver.

Once you bring your wild creature home, analyze its shape and, mostly, its behavior. You will see the beast looks like any ordinary monster IC of the DIP40 type, and this is good news, because it is best to use through-hole IC type of beasts, during hardware/firmware development work--some of them could pass away while experimenting, so... You think, probably, the 40 legs the monster has are not sufficient for your particular tasks. Do not worry about this, because you are going to discover means to multiply monster's legs to hundreds of them, just like the truly ferocious monsters! Well, this is all about the shape of the beast, and you can see there is nothing impressive about it. However, you also need to study monster's behavior; this time a bit more careful.

Please be aware there are thorough treaties--also known as "Data Sheets"--where the dsPIC30F4011 behavior it is described in details, and I will only point out few of the most terrifying features. First, our monster has Flash memory, about 48 Kbytes, and this is very good, because we can erase sucker's memory whenever it goes nuts, or when we want to teach it new tricks. Next, our monster has 1 Kbytes permanent memory of type EEPROM, and this allows us to store there various configuration data, or to work with adaptive-learning firmware routines. The presence of this EEPROM memory tells us, in fact, our monster is of good quality!

Now, the most terrifying aspect is, our monster belongs to the 16 bits family, but my advice is to ignore this. Handling 8, 16, or 32 bits monsters it is all the same; the only significant difference is in the tools we use to tame the beast. Another shocking feature you are going to discover sooner or later is, our monster belongs to the ferocious dsPIC® family, hence it is capable of DSP (Digital Signal Processing--please read my articles about this) and of very fast mathematical calculations. This is, again, very good news, because we need both fast and very intelligent microcontroller-creatures. Regarding its reflexes, our monster works at either 20 or 30 MIPS (Mega Instructions per Second), which should be fair enough for most demanding applications. In order to feed it properly, you should know this animal likes only regulated DC voltage of 2.5 V up to 5 V.

Our 40-legs creature is capable of UART, SPI, CAN, and I2C communications. In addition, it has 6 PWM channels, because it appears it has been specifically bred for motor control applications--ugh, scary! The beauty is, it also has ICSP (In Circuit Serial Programming), and this allows us to do many annoying and nasty things to it. Ha, ha!

What else... Ah! Nine of those ugly crooked legs are capable of 10 bits Analog-to-Digital conversion at maximum 0.5 Msps (Mega samples per second); then, about 30 legs are capable of general I/O, and 3 of them are also external interrupts. Wow, the Interrupts! Here is where the power of the monster actually lies! The dsPIC30F4011 beast has no more and no less than 30 interrupt sources, with 8 selectable priority levels.

Fact is, we could go on and on, but it is better to keep it short; besides, I would like you to discover few interesting things for yourself. Now, it seems our monster promises a lot, but the problem is: "How do we tame it?" Unfortunately, we cannot use the good, long-time tested methods of fire, hunger, and chains. What we need are MPLAB® ICD2 Debugger/Programmer and C30® ANSI C compiler. I know, they are both new tools, but they will do the job--trust me with this one. Please be aware you can download for free C30 compiler, fully functional for 60 days, from Microchip.

Now we have everything we need to start the infernal process of taming the beast, and I am certain you think this is a long and very difficult burden. Well, it is not. What you need is a good incantation, like the multitasking one described in... No, I will not make it that easy, but I will give you a hint: you will discover the book with the ritual I am talking about at Corollary Theorems--my home site. You will also discover a good cage there to contain the monster, securely: its name is HCK (Hardware Companion Kit) V2.2.

This is all! It should take you a couple of months to break the dsPIC20F4011 monster down. Then, you will have a yoke-beast ready to perform everything you need: all your tasks and all applications! I am certain your little monster is going to repay you back nicely, for all your efforts. In time, you two are going to become good friends, and you will come to love and respect your little dsPIC30F4011.


Taming the dsPIC30F4011 Monster

Captiva Elliptical Machine Decide Now Good Bargain Remote Desktop Program Soy Formula Side Effects Grand Sale

Tuesday, December 27, 2011

Power Bright VC2000W Voltage Transformer 2000 Watt Step Up/Down 110 Volt - 220 Volt

!±8±Power Bright VC2000W Voltage Transformer 2000 Watt Step Up/Down 110 Volt - 220 Volt

Brand : Power Bright
Rate :
Price : $88.39
Post Date : Dec 27, 2011 19:30:05
Usually ships in 24 hours



This is a voltage converter or transformer that can be used as a step up transformer in 110/120 volt countries or as a step down transformer in 220/230/240 volt countries. This heavy duty voltage transformer can be used for continuous duty. It will convert voltages of 220-240 volts to 110-120 and will also convert voltages from 110-120 to 220-240 volts.

Cookware Induction Cooking Ideas Weed Eater String Trimmer Get It Now!

Friday, December 16, 2011

LiteFuze convertingbox 1000 Watt Light Weight Premium Voltage Converter Transformer - Step Up/Down - Lifetime Warranty - Full Grounded Cord (Free Euro Plug) 110/120 - 220/240 Volts - No Noise - Circuit Breaker Protection

!±8±LiteFuze convertingbox 1000 Watt Light Weight Premium Voltage Converter Transformer - Step Up/Down - Lifetime Warranty - Full Grounded Cord (Free Euro Plug) 110/120 - 220/240 Volts - No Noise - Circuit Breaker Protection

Brand : LiteFuze
Rate :
Price :
Post Date : Dec 16, 2011 14:45:50
Usually ships in 24 hours



Key Features: * Up to 1000 Watt continuous use capacity * Step Up/Down Functionality: o Step Down: Converts Single Phase 220/230/240-volt Electricity to 110/120-volt o Step Up: Converts 110/120-volt Electricity to Single Phase 220/230/240-volt * 2 x US Patented Universal Output Socket - accepts virtually any plug from around the world. * convertingboxTM Noise reduction technology * convertingboxTM half-weight technology * *Efficiency Factor: 1.25 * Dynamic casing design offers ventilation to the voltage transformer * Fully Grounded Transformer from Input to Output for safe operation * CE Certified * Lifetime Warranty * Circuit Breaker Protected - no need to replace fuses * Free Euro Plug AdapterSpecifications: * Weight: 8.5 lbs * Size: 9" x 8" x 6"*Efficiency FactorUse this factor to calculate the correct wattage transformer needed for your items. Multiply the WATT rating on your product with this factor and purchase transformer of at least that size.Example:If your blender requires 350W, then multiply 350 x 1.25 (efficiency factor of convertingboxTM) = 437.5W. Thus, convertingbox 500 is recommended for this particular blender. To use multiple products, simply add watt rating of each product and multiply the combined watt rating with the efficiency factor. Always purchase a larger transformer than your appliances required wattage to handle any power surges during operation. Feel free to contact or call us if you have any questions.

Discount Powdered Milk Evaporated Milk


Twitter Facebook Flickr RSS



Fran�ais Deutsch Italiano Portugu�s
Espa�ol ??? ??? ?????







Sponsor Links