Homework Statement
How many bytes does a variable of float data type occupy in the data memory of PIC microcontroller?
Homework Equations
None
The Attempt at a Solution
All I know, is that float data type has a size of 4 bytes, that's 32 bits. I'm not sure if it occupies...
Hi I'm currently doing a design project for my engineering class, and we have to select either an FPGA and use VHDL or a microcontroller. The project entails following a line, and using IR communication to change the colors of LEDs.
I know that FPGAs might be better because you can do...
Hello all,
I am in need of a microcontroller. The only problem is that I do not know where to start as I have never used or programmed a microcontroller before.
I need the circuit to perform the following functions:
-Drive a coil
-Scan through a range of frequencies
-Be able to...
I'd just like to apologize in advance for asking this, I understand that it's probably been asked many times but I couldn't find an answer exactly applicable to me. Anyway, I want to buy a microcontroller kit, and am unsure which one to buy. I am going for my masters in computer science so the...
Hi all,
I am building a LED tomography system (think of it as a simple transmitter and receiver). I would like to do signal processing on the received data, so I am needing to convert my analog, received signal to a digital signal.
The ADC I have chosen is the ADC0831 (DIP package). The...
I have just joined EE senior design class. We have decided on making a synthesizer box with bunches of controls available to us. Ultimately, we would like to be able to output sound analog straight to headphones or external speakers through a 3.5 mm jack (standard headphones plug).
I was...
Hey everyone. I'm new on physics forums, and I have a project that I would appreciate some help...
This project is to make a wireless fencing unit (olympic fencing, not like farming...) that can connect via usb or bluetooth into a smartphone to simplify the tools for local referees. So, I...
Hi guys... be kind as I am a software engineer by trade and this is my first little side-project in EE.
So I'm building a custom motorcycle from the ground-up and it is nearly complete. I decided for the brake light and various indicator lights, that I would control them using a pic...
I drew picture of microcontroller and microprocessor based on what I read earlier. I am not sure if it's right. Tell me if I am missing anything here. If possible give me detailed figure of microcontroller's and microprocessor's internal stuff or give me a website that describes a real...
i want to make a 5v dc power supply for microcontroller i know how to make it i am going to use a 220v to 15v transformer and then by using capacitor and 7805 regulator ic i will convert it to 5v my question is as in transformer pout=pinput (ideally) by decresing the voltage from 220 to 15...
For those of you who have toyed with microcontroller kits as a hobby, how would you rate the kit(s) you've used in the following categories?
1) Price - how much is the total cost of the development hardware and software?
2) Usability of an IDE for development?
3) Ease of starting - how long...
Hi, I'm doing a project to send messages from a PC to a micro controller using WiFi. The MCU will intern display the message on an LCD. I have doubts about what devices I should buy to make the wifi communication and also what type of MCU I need to buy?...Any suggestions...
I know this question is so simple and probably stupid that it will enrage some people, but bear with me. :)
When connecting a bench power supply that does 5V@3A, to let's say a P16F88, should I use 25 ohm resistor to bring those 3 Amps down to 200 ma?
According to the p16f88 datasheet...
Would this work? If I had a microcontroller output a 400mhz signal through one of its I/O then to a loop of wire. Would it transmit a RF signal at 400mhz?
Hi,
I am brand new to micro-controllers, but have thus far been able to do basic programing of one.
I have now reached a stage where I would like to transmit data from the micro-controller to my PC; in this particular case, the number stored in a register of a PIC16F690. Unfortunately I...
hi. I'm new to SNMP protocols. i have a general understanding about snmp is that, we can monitor sensors attached to atmega8 microcontroller by sending their data through max232 to pc on serial port and a software running on pc with snmp protocol supported can be used to monitor this...
Hey guys
i'm putting together a shopping list for my first microcontroller project.
One thing i need is a slotted photoswitch (to count rotations of an anometer)
The project will be powered by a 9v battery, regulated to 5v.
The photoswitch has an led on one "post" and the other post has...
I have a microcontroller here that's dead. I want to get inside it and look at the actual die. Last time I tried this I used a sander, and it scratched it quite badly. I know there is the industry method of dumping hot acid on the device, but I don't have the equipment to do that safely.
I...
Hey guys
I've been toying with the idea of building a diy digital annometer
I'm hoping it can be achieved with a device which rotates in the wind
which will generate pulses from a light interupted switch.
The pulses will be sent to a microcontroller which will use the info to
calculate...
Hello, I have to make a project using AT89c51 microcontroller with a keypad to input a passcode, then compare this passcode to the one stored in ROM of microcontroller and finally operate a lock connected with relay. Keypad is 4*3 Axis. Can someone guide me on how to interface the keypad with...
Hi there. Why is it that when programming PIC microcontrollers, you are forced to select the correct bank/page for registers like TRISA, but you can always do operations on STATUS?
From the PIC that I am using (PIC16F690) STATUS is stored in Bank 0 and TRISA is stored in Bank 1.
I get it...
Hi all!
Does anyone know of any good sites for how to build a DIY embedded linux microcontroller?
I know that I'll need a processor of some sort (was thinking maybe an ARM device), a ROM for the bootloader and kernal, RAM for the general processing, and a JTAG or programming interface of...
Hi, i have a LabJack UE9 microcontroller, and i have no idea how to connect the hitachi hm55b compass module to the labjack, the picture of the pins are located here: http://foxlx.acmesystems.it/?id=114 For the Labjack the I/O ports are here...
Hi to all.
I am into my last semester of graduation, i have assigned a project "Design of a micro controller using verilog in a fpga"
i am studding the following books for help.
Advanced_Digital_Design_with_the_Verilog_HDL-M.D.Ciletti
and Verilog HDL (2nd Edition) by Samir Palnitkar
i...
Hi Forum , i am planning to communicate with the microcontroller via serial communication and a GUI in matlab.
On microcontroller , I can make a serial terminal program that waits for data from MatLab coming through a serial port on the computer. From there I can make it so that MatLab can send...
our proposed thesis will be about solar panel..we want to design a circuit that will maximize the usage of the energy of the sun, whenever it is available in greater amount using microcontroller. we would like to ask some ideas to realize this project in order for us to complete our requirements...
Which Microcontroller??
i am supposed to build a VARIABLE DIGITAL NOTCH FILTER using a microcontroller (either avr atmega-32 or 8051) for my lab project.
I don't know which one to chose please help me out.
And suggest any nice tutorials to learn about microcontrollers.
Homework Statement
1. SPI
2. i2c
3. RS232
4. RS485
Match The following interfaces to their category
a. Asynchronous Serial, point-to-point
b. Synchronous Serial with CS line
c. Asynchronous data bus
d. synchronous with address on the same line as data
Homework...
I have a few questions.
1. Which programming language should I use? I am thinking of using C++. I know assembly but am not very good at it, so I am trying to avoid assembly.
2. Which program should i use to compile the PIC code? I am thinking of using MPLAB IDE. Is it sufficient/ok?
3...
Hi..please help me in designing a temperature measurement device using 8051 microcontroller.
some one please help me out...with the circuit diagram please:confused:
Hi
i'm doing a circuits lab in physics at the moment based on programming a PIC16F819 microcontroller. What i don't understand is how the program is executed.
I kind of understand that when a pin is logic high voltage then the bit of the number is one and when it is logic low it is zero...
Hey Guys
I have been experimenting with electrical engineering for the past few months and I now am interested in buying my 2nd micro-controller. My first was Basic Stamp II but that got friend and was not really suitable. I have read several articles on microcontrollers but am confused where...
Hi. I am planning to build a controller for a machine I have built. I can handle all the normal operation with any standard microcontroller and a few other components. However, I want my board to be able to communicate over a wireless network as well as wired network.
Can anyone point me to...
HI,
I'm currently using a microcontroller 16f877A. The Tx and Rx pins of my microcontroller will output either 1 or 0 respectively. The microcontroller is connected to my laptop using RS232-USB converter. The microcontroller has been programmed and the connection was tested. May i know what is...
Hello, I am designing and eventually constructing a high current DC motor controller to be used in an electric vehicle for a senior design class. Right now I am at the stage of selecting the PWM source for the MOSFET drivers. A team member wants to use dedicated PWM TTL chips, I wish to use a...
Hi people!
I am a student of Electrical engineering (5th semester) and have a profound interest in HDL (ie. verilog) Programming. For my 5th semester project of Digital System Design i have designed and implemented a primitive microcontroller Hardware architecture from scratch having...
Dear,
I want to make a project to switch-n a device on day-date-time basis i.e. I want to lighup a lamp on 30/08/2008 at 02:00PM .Is it possible to make a circuit for this by using PIC microcontroller.I want to use it in my company for rotational under frequency relay which trips off the...
Hello.
I need to know the mechanism of drilling my printed circuit board (PCB) with two step motors x,y using microcontroller.
How to use eagle or orcad to control two step motors to drill and how can the microcontroller accept the eagle file to locate the coordinates of the driller...
I'm using a freescale DEMO9S12XDT512 microcontroller as a control system for an airship. The airship uses ultrasonic transducers to detect obstacles so it can then avoid them, to do this I want to send out a pulse from the transmitter sensor and measure the time that it takes to return to the...
HI ,
I have this question from the book " software and hardware engineering for freescale HCS12 microcrontroller from CADY"
I was not sure where to post it so I did it here. Sorry about that.
Here is the problem:
A microcontroller memory map shows 16K bytes of Flash EEPROM in memory...
I am an ee student and i want to start a project with a microcontroller and i was wondering how i would go about useing/creating input buttons in my circuits... possibly i would like something like the button arangement on a channel changer. Can someone direct my to a resource about how i could...
I have to design, test and build a project for my final year of my HND Electrical & Electronic engineering course, and I am unsure of what I will do.
I would appreciate any ideas, no matter how difficult or easy they are, these will just be ideas which I might use to adapt into my own...
Hello All,
I'm still working on the ultimate programmable precision pulse control circuit for my experiments. Most of the stuff I have made so far has used discrete components and analog parts to do the job but I'm ready to start looking into some of the more advanced approaches.
As the...
Hi,
I am using a light sensor connected to an analog input of a microcontroller. My circuit turns an output high when there is a voltage of 2.5V or higher at the analog input i.e when there is a light shining on the sensor. But sometimes my output goes high even though I have no light shining...
hey ny1 can give me the 8051 microcontroller programming... to control dc motor ...? we r making a radio conrol car...with the help of mobile...when we press 2 ...car move if forward direc. when 4 then move in left n when press 6 move in...right ...whe press 8 thne backward ..when press 5 then...
I'm thinking about buying a few DIP microcontrollers just for fooling around's sake. I think I'll be able to figure most things out except this: how do I send the necessary file (for example, .s19 for freescale mcs) to the microcontroller.
In school we have development boards which sort of...