Forum: Assembly 21 Days Ago |
| Replies: 1 Views: 405 The baud rate in bits/sec is the timer overflow frequency divided by 32. It has to be divided by some number because the timer works faster than the standard serial port baud rates. It;s divided by... |
Forum: Assembly 33 Days Ago |
| Replies: 6 Views: 459 But does your simulation work when you apply a logic high or low to the port pin, by means of, say a switch?
When you connected a voltmeter to the output of the LDR, what readings did you get when... |
Forum: Assembly 33 Days Ago |
| Replies: 6 Views: 459 You don't need a ADC. Put the LDR in series with a resistor of about 10K and connect the output of the LDR to a port pin. When the Laser shines on the LDR, its resistance will be much lower than 10K... |
Forum: Assembly 34 Days Ago |
| Replies: 6 Views: 459 You've explained what you need to do, but you haven't asked a question.
An LDR in a voltage divider would replace the switch, if your code works for a switch, it will work with a LDR. But it's not... |
Forum: Assembly Oct 24th, 2009 |
| Replies: 6 Views: 442 |
Forum: Assembly Jan 15th, 2009 |
| Replies: 1 Views: 624 If you can send data, why would you think you couldn't send the name or contents of a text file? If there's more text than there is RAM available, the answer is no though. |
Forum: Assembly Jan 8th, 2009 |
| Replies: 12 Views: 1,223 Learning assembly helps you understand how the hardware works.
On certain platforms, learning how the hardware works is necessary to program the hardware, in any language.
Learning the hardware... |
Forum: Assembly Nov 27th, 2008 |
| Replies: 9 Views: 2,263 An EXE file is a Windows file. Your assembler should output a binary file, which would probably need to be converted to an Intel Hex file, the standard for burning to EPROMs, depending on where the... |
Forum: Assembly Nov 17th, 2008 |
| Replies: 11 Views: 1,294 Writing FNAME in the program will be the same as writing 9EH. |
Forum: Assembly Oct 21st, 2008 |
| Replies: 9 Views: 848 04H is read from 571AH. 13H is read from 571BH.
04H is the opcode for INC A.
13H is the opcode for RRC A. |
Forum: Assembly Oct 21st, 2008 |
| Replies: 9 Views: 848 http://www.ustr.net/lcd001.shtml
You need to see the diagram to understand what's happening. P0 is the low byte and P2 is the high byte of the address bus. 2A67H is placed on the address bus. ALE... |
Forum: Assembly Oct 20th, 2008 |
| Replies: 4 Views: 575 If P1.2 is set and you move P1.2 to C, then C is set. |
Forum: Assembly Oct 20th, 2008 |
| Replies: 4 Views: 575 MOV C, P1.2 simply moves the value on the port pin to the carry. |
Forum: Assembly Oct 20th, 2008 |
| Replies: 9 Views: 836 You've stepped passed the end of your program. Are you asking stupid questions on purpose? |
Forum: Assembly Oct 20th, 2008 |
| Replies: 9 Views: 836 Only line 12 tests if the pin is clear.
Line 13 might never be executed. |
Forum: Assembly Oct 20th, 2008 |
| Replies: 9 Views: 836 Line 12 says jump to next if P0.2 is not set.
You need to clear P0.2. |
Forum: Assembly Oct 20th, 2008 |
| Replies: 9 Views: 836 There isn't anything wrong with it. |
Forum: Assembly Oct 20th, 2008 |
| Replies: 9 Views: 836 What's your question? You've just posted your assignment. |
Forum: Assembly Oct 20th, 2008 |
| Replies: 9 Views: 754 Your circuit is wrong. You've no current limiting resistors at the base of the transistors, which causes the chip to drive them at it's maximum output high current, which will cause it to overheat.... |
Forum: Assembly Aug 28th, 2008 |
| Replies: 3 Views: 680 You'll need a 8051 with USB support, or a UART-USB
converter. Try here for that.
http://www.ftdichip.com/ |
Forum: Assembly Aug 2nd, 2008 |
| Replies: 8 Views: 3,695 The AT89C2051's output drops to 2.4V when it's output high is only 80uA. The base current of Q2 will never reach 1.9mA. The chip sinks 20mA so PNP transistors should be used. |
Forum: Assembly Jul 22nd, 2008 |
| Replies: 3 Views: 3,087 Some 18F's have multiple PWM outputs.
I'm sure you could also implement it in software using interrupts. If you can generate PWM on
one pin, you can do the inverse on another. |
Forum: Assembly Jul 22nd, 2008 |
| Replies: 3 Views: 3,087 There's free versions of compilers for writing in other languages like C and Basic which come with libraries. If you used a few PICs, this wouldn't be difficult I wouldn't think. PICs can come with... |
Forum: Assembly Jul 17th, 2008 |
| Replies: 8 Views: 3,695 Create a variable for units and a variable for tens.
Decrement the units variable, then pass each to a subroutine which checks its value and sends out the particular code. If the units variable is... |
Forum: Assembly Jul 13th, 2008 |
| Replies: 1 Views: 757 http://forum.allaboutcircuits.com/showthread.php?t=12948
When you post your question all over the internet, people don't know what answers you've been given and then waste their time by giving the... |
Forum: Assembly Jun 29th, 2008 |
| Replies: 6 Views: 1,109 See the rules. The purpose of these forums is to give ideas and explain how to do things, not do people's work for them. |
Forum: Assembly Jun 29th, 2008 |
| Replies: 6 Views: 1,109 Do you have a question you want to ask?
It's not clear what you want to know. |
Forum: Assembly Jun 28th, 2008 |
| Replies: 6 Views: 1,109 |
Forum: Assembly Jun 20th, 2008 |
| Replies: 18 Views: 3,693 The L293D has diodes, you don't need extra. See (http://www.ikalogic.com/art_pics/wfr2/l293d.jpg).
I don't know about the PT2262.
There is a simpler design for a 4-bit RF Tx/Rx halfway down the... |
Forum: Assembly Jun 19th, 2008 |
| Replies: 18 Views: 3,693 There's no part no. shown for the RF transmitter module. The datasheet for the encoder shows it interfaced to a transmitter you must build. Are you building the transmitter yourself? The IC in your... |
Forum: Assembly Jun 17th, 2008 |
| Replies: 18 Views: 3,693 PIC memory.
According to the PIC16F84A data sheet, it has 68 bytes of general purpose RAM and 1K of program code.
I don't use that micro. It's all in the link I gave you if you read it.
... |
Forum: Assembly Jun 16th, 2008 |
| Replies: 18 Views: 3,693 Taking the simplest case, say your car only moves forwards and backwards. For every command you send, you store the values in memory, and your car moves for a certain time for each.
When you send... |
Forum: Assembly Jun 16th, 2008 |
| Replies: 18 Views: 3,693 Read the tutorial I linked. It explains how to move a port value to a register.
Store the value on an input port to memory. Compare the value on the port to others. Then send a certain value to an... |
Forum: Assembly Jun 14th, 2008 |
| Replies: 18 Views: 3,693 After you read the command, it would be a case of one instruction to move a value into an address or a register. Why not spend a day at this tutorial.... |
Forum: Assembly Jun 12th, 2008 |
| Replies: 4 Views: 795 Download MPLAB from Microchip's website. Then go over your course notes. If they're not good enough, google for a tutorial. |
Forum: Assembly May 3rd, 2008 |
| Replies: 1 Views: 1,171 You might want to look at the PICkit 2 Debug Express.
I haven't used either but it supports ICD and you could save yourself 100 euro if it's good enough for what you need. |
Forum: Assembly Apr 12th, 2008 |
| Replies: 2 Views: 726 The 7485 compares two 4-bit numbers, and tests if one is larger, smaller or equal to the other. The logic diagram is shown in the datasheet.... |
Forum: Assembly Apr 7th, 2008 |
| Replies: 3 Views: 1,149 What you normally do is create a timer interrupt to control the pulse width, so the processor can be doing something else.
I haven't used Microchip's line of micros yet so pic asm is gibberish to... |
Forum: Assembly Apr 7th, 2008 |
| Replies: 3 Views: 1,149 Well, If you don't want to start with asm, you could use BASIC. You don't need PWM if you just want to turn LEDs on and off. Any fixed square wave will do it. In other words, just toggle the pins.... |
Forum: Assembly Apr 5th, 2008 |
| Replies: 1 Views: 542 Do you have any C knowledge. Is there much code? |