Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Search results

  1. O

    program that counts all the vertices in a given tree

    I'm supposed to write a program that counts all the vertices in a given tree. Any language can be used. (I've been using Perl mostly but could do C too. C++ would be ok too, if it was significantly easier.) I'm not making much progress because I don't even know what the input is supposed to...
  2. O

    Cantilever beam bending

    I'm trying to calculate the tip deflection of a horizontal cantilever beam for various materials and lengths, assuming the only force is gravity. According to the lecture notes, the formula is this: \[y^{tip}_{gravity} = \frac{3 \rho (L^4)}{2 E t^2}g\] (Just in case the picture doesn't show...
  3. O

    Need switch for Xbee bidirectional i/o? (note: assume xbees working)

    Need switch for Xbee bidirectional i/o? (note: not a wireless question) Not a wireless question, assume xbees work. I'm considering Xbee bidirectional i/o line passing. I would have a situation like this one: (Note: I've been told that on an Xbee, some pins can be input and some can be...
  4. O

    Translating C code into words

    This is code for an Atmega32-based PS/2 mouse controlled with accelerometers. I'm looking at the function for generating the packet. Right now I'm only considering pointer movement, not scroll or buttons, so those have been omitted from the code sample below. I'm trying to figure out what this...
  5. O

    How to debug PS/2 protocol?

    The attached Codevision code is for an Atmega32a-based accelerometer mouse that interfaces to the computer via PS/2 protocol. (Notice this is not PlayStation2, it's this: **broken link removed**) I have been able to show that the ADC portion works, which is dataFromMouse(), however I'm still not...
  6. O

    Accelerometer mouse, PS/2 interface

    The code in the attachment is for an accelerator-based mouse, interfacing it to the computer via PS/2 protocol. It compiles error free, (note: it's written for Codevision, I've included the hex file in the zip) however when loaded onto a uC, no movement of the mouse cursor is produced. If...
  7. O

    Is it possible to mix and match different antenna types in XBees?

    Is it possible to mix and match different antenna types in XBees? i.e., pair a chip antenna Xbee with a wire antenna Xbee? Also, if one of them says "Digi International" and the other one says "Maxstream" can they be paired? They are all series 1. Thanks
  8. O

    Miix and match xbees?

    Mix and match xbees? (sorry for double post, mod please delete this one) Is it possible to mix and match different antenna types in XBees? i.e., pair a chip antenna Xbee with a wire antenna Xbee? Also, if one of them says "Digi International" and the other one says "Maxstream" can they be...
  9. O

    Xbee I/O line passing

    Hi, I have a pair of Xbees that work when sending from one terminal to another, but I'm trying to do I/O line passing on a breadboard. I only need 4 i/o pairs but I might as well get all of them to work. I'm doing digital inputs on the remote unit by setting all the DIO values to 3, and digital...
  10. O

    Open-collector interface

    Hi, The attached code has three 1-axis accelerometers sending data to an Atmega32, which interfaces with the PS/2 port of the computer. I have some questions about this: (1) At the beginning of the code: I'd like to know how this relates to the following diagram of an open-collector...
  11. O

    XBee standalone communication

    I am trying to get two Xbees to communicate without a microcontroller. I am following the instructions given in this pdf, (just the programming on page 7, not the PCB, just breadboarded it.) The following settings were used: (This was done in the modem configuration tab, not the terminal)...
  12. O

    Quick question: if the uart baudrate was wrong...

    If the UART baudrate was wrong, would the output be nothing, or would I just miss data? I think it's the latter, just asking to make sure.
  13. O

    AVR studio 4 - am I doing these fuses right?

    Hi, I am trying to use a 3.6864 MHz external crystal on an ATmega32a. I set the fuses as "Ext. Crystal/Resonator Medium Freq.; Start-up time. 1K CK + 4 ms (CKSEL=1100 SUT=11)." When I click verify, the message is "Reading fuses...0x99, 0xFC...OK!" Are these the correct settings? I'm asking...
  14. O

    Proteus simulation ATmega32 UART

    I am trying to do a Proteus simulation of UART using ATmega32. I'm using the sample code given here: winavr.scienceprog.com/example-avr-projects/running-tx433-and-rx433-rf-modules-with-avr-microcontrollers.html My problem is the receiver micro seems to be dead, TXD remains low all the time...

Part and Inventory Search

Top