Mturk Jobs

Mturk Jobs
Mturk Jobs

Tank

Saturday, December 12, 2009

16F84 POV AirText

POV (Persistence Of Vision)


This is a post of LEDs project. The project is called POV (Persistence Of Vision). If you are not familiar with this concept, it works as an LED matrix display.

The difference is that POV display consists of one column of LEDs only and is mechanically scanned through space to give the vision of a 2D LED Matrix Display.







Many projects are built in rotating ( circular motion ) or in oscillating layout ( moving left and right) .

I 've seen this project "AirText " based on the Sun Microsystems Sun Spot , then I wanted to make a similar yet more simple project.


There are many Microcontroller projects based on the POV concept. But i think this is the simplest circuit that can do the job with minimum hardware.





The only drawback with this circuit is that it has no sensor for direction of motion. The
Sun Microsystems Sun Spot has a built in motion sensor called accelerometer. Which senses the amplitude and direction of acceleration. So when the module is moved in one direction it draws the scanned characters according to this direction.

But with this simple circuit using PIC16F84, the characters are drawn in one direction independently of the circuit direction of motion.






You can find the source code , Hex file and Proteus 7 design file here.



تستطيع قراءة هذه المقالة بالعربية
You can read this post in Arabic


http://arabic-embedded-egypt.blogspot.com/2010/05/pov-persistence-of-vision.html



Here is the project on my profile at instructables.com

http://www.instructables.com/id/Cheap-16F84-POV-Message-AirText/





If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
This means that you can enjoy something for free and still support our blog to keep posting useful stuff.


Amazon.com - Read eBooks using the FREE Kindle Reading App on Most Devices


This is the well-know Amazon Kindle platform. If you sign up for the free reader from Amazon to read any book, we get commission. 
There are many useful book for free on Amazon Kindle. Even you can find best sellers offered for free on Kindle format.
The best part is you can have the application on any platform. You can even read any book without installing any application by using Amazon Cloud-Reader on your browser.


Join Amazon Kindle Unlimited 30-Day Free Trial

You can join Amazon Kindle for 30 days free to have access to many paid book for free. You can cancel you subscription anytime.


Try Amazon Prime 30-Day Free Trial


The Amazon Prime is a special paid service from Amazon that offers good promotions and one-day free shipment for Amazon Shoppers. You can try this service for 30 days. You can cancel you subscription anytime.

Shop Amazon - Give the Gift of Amazon Prime


Try Audible and Get Two Free Audiobooks


Audible is the audio books website from Amazon. Many Kindle books are sold on Audible. You can try this service for free and get 2 free book. You can cancel you subscription anytime.


Shop Amazon - Create an Amazon Baby Registry

If you have a new baby borne or expecting one, you can create your free baby registry to easily save products and get offers and promotions on baby requirements.

  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Wednesday, November 25, 2009

PIC 16F84 Tetris Video Game

This is an old project that uses the Microcontroller chip PIC16F84 for the famous game Tetris. The output of this circuit is displayed on a TV screen. It also produces sound signals and can be controller by joystick.

I didn't design this circuit nor wrote the software for it , but I found it here and assembled it and found it very interesting. That's why I wanted to share it with my friends.




Here is a screen shot of the game.








And this is the schematic diagram for the circuit.



There is a free Emulator for the Microchip PIC that contains TV screen plug-in for viewing PIC signals that is directed to the TV. I found it here . I also uploaded the file Here.

You can get the project package form here . It contains the schematics , PCB and software .



If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Monday, October 5, 2009

Moway robot

Moway is a robotic system based on the famous Microchip PIC Microcontroller. It is very useful for students of robotics and embedded systems courses.




Moway is a small autonomous robot designed mainly for practical applications of mobile robotics.





Technical Specifications:

The robot is controller by a 4Mhz PIC16F876A Micorcontroller.


As for the drive system, Moway has a dual servo-motor unit enables it to move.



The drive system is a closed loop system that uses PWM signals to control the speed of the motor and an encoder signal to measure the speed.








The movement of Moway can be controlled through different parameters:

Speed control, Time control , Distance traveled and Angle control.

Also, Moway is equipped with sensors used for advanced autonomous motion control :



Line sensor : Mounted on the lower front part of the robot to determine the shade of color on which the robot is standing.

Obstacle detection sensors : These sensors operate in the same way as the line sensors, but they can determine the presence of obstacles ( in digital mode ) and the distance of it ( in analog mode ).

Light sensors : Measures the intensity of ambient light and the change in it.




Moway has an expansion connector to which an RF module can be connected to communicate with other Moways or with a PC.

There are four LEDs used for indication.



http://www.moway-robot.com/



If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
  4. Visit our new website outatime.tech.

Thank you for visiting our blog.



Sunday, September 20, 2009

16F917 CCP Block PWM

PIC 16F917 PWM Generation:

PWM can easily be generated on the PIC 16F917 using the CCP block . If you are new to this concept then let me introduce it to you.

New Microcontrollers contain dedicated hardware blocks for generating signals and for doing special functions. An example of these blocks is the CCP block in many Microchip Microcontrollers.

In this post, I 'll introduce you with the CCP block of the PIC 16F917 Microcontroller.

It is called Capture , Compare and PWM block. Here, we explain the PWM function.

As the name implies, it generates PWM signals in hardware instead of the software PWM signal we generated using the PIC 16F84 in an old post of this blog.

The advantage of this concept is that you save code space and processing time for another functions and tasks.

So how can you configure this block ?

You 'll find an extensive explanation for this topic on the PIC 16F917 datasheet.

And I used this link to calculate the values for the block configuration registers.

http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator



You can find the design files and source code for the project here .

Now you can use this project to control any circuit with PWM signals generated with PIC 16F917 CCP PWM block as you did before by using PIC 16F84.

You can control DC motor speed , LED intensity and make Mood Light.

If you have any questions or feedback, contact me.





If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Wednesday, July 29, 2009

PIC 16F84 Sound Generation

Do you know that you can generate tones of sound with the PIC16F84?

Yes you can generate these tones similar to the Midi tones of the old mobile phones. This is a very simple and funny circuit and you can try it on the simulation software Proteus ISIS 7 before building it.

Actually the circuit is so small nearly contains no components other than the microcontroller, the crystal oscillator and some resistors.



The software generates the tones according to the predefined words which represent tones.

The circuit lets you choose one of two tones with two push buttons.

You can find the Proteus ISIS Design files DSN, Code ( Assembly ) and HEX file as a sample project in Proteus ISIS 7. From the menu bar , press open file . You 'll find the project under the Proteus --> Samples --> VSM for PIC16 --> PIC Doorbell.

So , open the design now and if you like , start building the circuit and make you own tones.

Have a nice time.




If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Monday, July 13, 2009

New Microcontroller Chip : PIC16f917

Microchip PIC 16F917

I used the Microchip PIC 16F917 in simple programs and tried the good features of it. I ordered some samples from Microchip.com and they sent them to me. I searched online for a simple programmer that I use it to program the chip the same way I do with the PIC 16F84. I found it here . And I uploaded it here in case you couldn't find it .

The programming circuit is very simple and uses the serial port.

Here is the schematic diagram :



After you build this simple circuit, you can use the program to load the HEX file.

This is a snapshot of the software :





The Microchip PIC 16F917 microcontroller is a very nice and modern chip. You can find its datasheet here :



You can see the circuit I built lately here :



You 'll see more projects using this chip. And I 'll be posting projects for the PIC 16F84.

By the way, The PIC 16F917 is backward compatible with the PIC 16F84. That means if you write a code for PIC 16F84 in assembly or C or even compiled it to HEX file , you can still use it with the PIC 16F917 without a change in code or a recompilation.


Happy programming. Have a nice time.




If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Tank