Gadget or tragic? PIC Microcontroller Project

Gadget or tragic? PIC Microcontroller Project

Watch the video from YouTube

25 years on, I decided to take up an old hobby - electronics. Whereas Z80 microprocessors were the leading edge 25 years ago, today, microcontrollers are the chip of choice. So I needed to define a simple project to grown my knowledge from zero. I took an analogy on a radio controlled vehicle and decided that was it. I would re-use an ancient joystick at one end and use even more ancient fischertechnik from my childhood days to put together a joystick controlled vehicle. At the joystick end I use 16F873 microcontroller to read the voltages on the joystick and crunch the values down to a command. for each motor I have forward, backward or stop plus a pulse width modulated power rating from 0 to 100%. The command is assembled in ASCII and then sent down the wire at 1200 baud (wireless to come shortly, hopefully) . At the fischertechnik vehicle end of the wire, a 16F627 microcontroller de-serialises the message, checks the header and payload, and if it checks out OK, sets the motors directions and speeds. This is repeated several times each second. For the pulse width modulated speed control, I use a second thread kicked off 5000 times a second to prvide the pulses. An L293D dual bridge driver powers the motors at about 7v from the 4.8v logic levels of the 16F627 chip. There are about 350 lines of assembler on the vehicle and about 250 on the joystick, most of which is defensive programming, error checking and trace. I take the NASA approach to things like this, something is bound to go wrong, so made sure your code can handle it. Next I will add wireless, a fluxgate compass and a distance counter driven off the wheels. I will be able to download a sequence of commands and the vehicle should be able to move around the house following the instructions. For anything else, a larger vehicle and better chip (perhaps 16F877) will be needed.

gadget  or  tragic?  pic  microcontroller  project 

Share Video

Permalink:

Embed Code:

*** LED Cube 3x3x3 *** [with case and 22 animations / effects]

Tags: ***  LED  Cube  3x3x3  ***  [with  case  and  22  animations  /  effects] 


This is my 3x3x3 LED Cube which i put in a black case. Its based on a Atmega 8 microcontroller and 27 LEDs. Its powered with a 9V battery which is included in the case. The animation / effect changes every 5 seconds. The Atmega 8 chooses the next animation randomly. some pics too:...

Message Fan

Tags: Message  Fan 


This fan was designed in two days with less than $20 investment. 5 LEDs were placed on one of the fan blades controlled by a 16F676 Microchip PIC microcontroller.

Microcontroller game

Tags: Microcontroller  game 


A game we developed in the UIO microcontroller compo on The Gathering 2008

Introduction to the Microchip PIC C Programming

Tags: Introduction  to  the  Microchip  PIC  C  Programming 


The PIC microcontroller is quite popular in industrial and hobbyist, some of the newest 8-bit midrange Microchip PIC microcontroller with nanoWatt technology is PIC16F690, this 20 pin microcontroller has a build in peripherals such as ADC, UART, PWM, I2C, analog comparator and with 7KBytes...

Microcontroller Projects _ Water Level Sensor

Tags: Microcontroller  Projects  _  Water  Level  Sensor 


This is a project built a PIC microcontroller from Microchip. It uses a 555 timer to sense the water level in a cup. If it is too low, it turns on a pump to raise the water level. If it is too high, it shuts off the pump and allows the water to drain out. Information about the process can be...

PIC Microcontroller generating PAL TV signal

Tags: PIC  Microcontroller  generating  PAL  TV  signal 


I´m usin two PIC Microcontroller to generate a PAL TV signal. The small controller generates the signal while the big one has the real software running. They communicate with Rs-232 protocol

[Microcontroller Projects] - How to measure an Analog Distance Sensor

Tags: [Microcontroller  Projects]  -  How  to  measure  an  Analog  Distance  Sensor 


Click for Source Code!! Microcontroller Projects is a series about embedded automation, circuit design, SCADA, and user interfaces. The Source code and Schematics for this program can be found here:...

pic microcontroller

Tags: pic  microcontroller 


An overview of the PIC Microcontroller and dsPIC Digital Signal Controller.For more information please visit http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1440&redirects=university (PIC) (Microcontroller) (dsPIC) (pic microcontroller) (embedded)

8051 Microcontroller Tutorial - LED Blink

Tags: 8051  Microcontroller  Tutorial  -  LED  Blink 


The first "Hello World!" project I prefer for Microcontroller is LED Blinking. I have used ATMEL's 89C51 (40-pins DIP) 8051 architecture microcontroller which is ideal for first time learning MCU Chip.

Teach Yourself Microcontroller Programming

Tags: Teach  Yourself  Microcontroller  Programming 


Introduction to the course on Teach yourself PIC Microcontroller programming.

PIC Microcontroller Spud Gun - Featured on Hacked Gadgets

Tags: PIC  Microcontroller  Spud  Gun  -  Featured  on  Hacked  Gadgets 


Featured on Hacked Gadgets http://hackedgadgets.com

What is a Microcontroller?

Tags: What  is  a  Microcontroller? 


Visit http://www.microchip.com/mchptube to learn more. This video is intended for beginners unfamiliar with Microcontroller. The basic components of a Microcontroller are compared to a common household PC to help reinforce concepts.

How to make your own robot!

Tags: How  to  make  your  own  robot! 


**Edit** A lot of people have asked for more information on how to make this robot. I'm afraid a step by step tutorial is a little more than what can fit it a 10 minute video, as a lot of background in programming and wiring is needed. However, it is not too hard to make a simple robot, and...

PIC Project - DICE

Tags: PIC  Project  -  DICE 


This is my first PIC project - a electronic dice.

Microcontroller programmer robot

Tags: Microcontroller  programmer  robot 


This is a home-made microcontroller programmer robot.

First PIC Microcontroller Program

Tags: First  PIC  Microcontroller  Program 


This is my first time using a microcontroller, I just got the Pic Kit 3. I use the Pic18F45K20 controller demo board to animate LED lights. I also use a separate pin out to control a Piezoelectric buzzer harvested from an old dial up modem. The buzzer is driven with a digital square wave: on...

DIY Life project: programming PIC microcontrollers

Tags: DIY  Life  project:  programming  PIC  microcontrollers 


See the full project at http://www.diylife.com Music: Radio Martini Kevin MacLeod (incompetech.com) Licensed under Creative Commons "Attribution 3.0"

Simple PIC 16F628A programmer (serial port)

Tags: Simple  PIC  16F628A  programmer  (serial  port) 


This is a PIC PROGRAMMER. Using a simple circuit controlled by Serial output, you can insert your source code right into your PIC16F628A. It doesn't need any other IC. The software in your PC will do all the job in sending the information via Serial cable to your PIC's memory. I made the...

Control of Stepper Motor with PIC Micro-Controller

Tags: Control  of  Stepper  Motor  with  PIC  Micro-Controller 


© http://EduMation.org Microchip's PIC16F84 was programmed to control a 4-coil, 6-lead hybrid stepper motor. Done by Naji Talaq for

PIC Series: Blinking LED using PIC Microcontroller

Tags: PIC  Series:  Blinking  LED  using  PIC  Microcontroller 


This video shows how to start with PIC Microcontroller using CCS C Compiler and Proteus Simulation

LED Tetris - Microcontroller Project

Tags: LED  Tetris  -  Microcontroller  Project 


Hi Guys, This is a clone of Tetris runing on a Pic 16F877A microcontroller. See my other videos for other demos of my 144 LED Display Project. Cheers, Art.

8-Bit PIC Microcontroller doing 64-bit calculations

Tags: 8-Bit  PIC  Microcontroller  doing  64-bit  calculations 


It is makeing a fake 64-bit array (8byte) in it´s memory, and has them all connected to each other. I wanted to see if there was any idea to make some sort of simple decryption program for codes, but has understood that it´s not going to happen with a 64-bit based encryption key. Simply because...

The Propeller Clock

Tags: The  Propeller  Clock 


http://tinyurl.com/propclocks See another clock: http://www.youtube.com/watch?v=6dygwdisUj0 The prototype of the propeller clock made of the rotating 33 LEDs line and the HDD motor. See more: http://www.elektroda.pl/rtvforum/topic944484.html

PIC LED chaser www.josepino.com

Tags: PIC  LED  chaser  www.josepino.com 


PIC12F629-LED chaser2 schematic www.josepino.com

PIC Microcontroller RF-module with LED

Tags: PIC  Microcontroller  RF-module  with  LED 


This is just a test setup to see if everything is working as it should. I didn´t. The transmitter device did I build several years ago, and has only upgraded it with the transmitter module. The reciever is meant to be build into my livingroom lamp and there it will do some cool light effect...