Search:

Type: Posts; User: jdh_1984

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    3,582

    Closed: Re: 555 timing problems with ceramic capacitor

    I found what can be the cause of the problem. It seems that a 10uF+/- 10% 6.3V and a 10uF+/-10% 10V ceramic capacitor don't have the same characteristics, so when I change from a 6.3V to 10V the...
  2. Replies
    7
    Views
    3,582

    Closed: Re: 555 timing problems with ceramic capacitor

    I have tested without Q8 just to isolate the timing circuit, and I have the same results (12s and 18s).
  3. Replies
    7
    Views
    3,582

    Closed: 555 timing problems with ceramic capacitor

    Hi
    I am using an TLC555C chip from Texas instrument to form a monostable timing circuit (see attachment). When simulated this circuit gives a delay of approximately 17s, in real tests using a 10uF...
  4. Replies
    0
    Views
    893

    Closed: Memory mapping in AvrStudio 5 (AVR GCC)

    Hi
    I am trying to address an external device from an atmega 128. I want to set the external device start address at 0x8000
    Here is an example how this was done in an old version of codevisionAVR:...
  5. Replies
    0
    Views
    928

    Closed: CPL commands question

    Hi
    I am trying to write the code for connecting a device to Matlab, I have got the documentation for the device and the code is written on the EMT platform and use CPL commands. I have no experience...
  6. Closed: Re: Problem with including subcircuit in Quartus

    Hi

    I included PwmOut.Vhd and compiled PwmOut before PwmController was compiled, now quartus finds the file but I get some errors on the In and Out Signals on the Port map. I have attached my code,...
  7. Closed: Problem with including subcircuit in Quartus

    Hi
    I am trying to include a sub circuit into my VHDL code. But quartus gives me the following error: design library "work" does not contain primary unit "PwmOut", this happens when I move the whole...
  8. Replies
    12
    Views
    6,025

    Closed: Re: Debugging problems in AVR studio 4

    Thank you Alex
  9. Replies
    12
    Views
    6,025

    Closed: Re: Debugging problems in AVR studio 4

    I did some change in the code sequence, and no its debug correctly until the line:

    angleFloatBeta = acos(argument); /*calculate the arc cos */

    when stepping through this line the debugger jump...
  10. Replies
    6
    Views
    1,169

    Closed: Re: Help to find bug in atmega 16 code

    Hi
    To avoid the size problem you mention, I am using the If-statement to check the size of the in value.
    Could the problem be that I am reading a 10bit value from the ADCW(ADCL+ADCH) into a 16 bit...
  11. Replies
    6
    Views
    1,169

    Closed: Re: Help to find bug in atmega 16 code

    Tnx for replay Alex

    I did the change that you suggested, and downloaded the code to the target. I am still getting strange outputs at the atmega16.
    The out value is much to high. I did a test...
  12. Replies
    6
    Views
    1,169

    Closed: Help to find bug in atmega 16 code

    Hi
    I hope someone can help me to find the bug(s) in my code (Atmel Atmega16). I have tried to debug the code, but could not get the debugger in AVR studio4 to work properly.
    I have tested and know...
  13. Replies
    12
    Views
    6,025

    Closed: Re: Debugging problems in AVR studio 4

    Hi
    Tnx for good advice. I will check out the documentation. Do you have any tip where I mess up in my code? I know the interrupts is working and that the ADC value is read, but after this I have a...
  14. Replies
    12
    Views
    6,025

    Closed: Re: Debugging problems in AVR studio 4

    Hi
    Tnx for replay. I am new to atmel/AVR studio so this optimization doesn't give my any meaning. I found in the configuration that I am using -Os optimization. What does this mean? What is the...
  15. Replies
    12
    Views
    6,025

    Closed: Debugging problems in AVR studio 4

    Hi
    My program is not working as expected, and of this reason I am trying to find the bug with help of the debugger in AVR studio 4. When I step throw the code the debugger would not step into the...
  16. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    Tnx that explains a lot
  17. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    Hi
    I did a discovery today, in the datasheet it is written (p.211): “VREF can also be measured at the AREF pin with a high impedant voltmeter.” I did so and measure a reference voltage = 2.488V not...
  18. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    The accelerometer I am using is from sparkfun (education board)
    IMU Analog Combo Board - 5 Degrees of Freedom IDG500/ADXL335 - SparkFun Electronics . I don't know the input impedance, but I measure...
  19. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    Tnx again for replay
    I have tested your code and this gave me the following results:

    The input ref signal:1.833V the digital output:802bit, which corresponds to 2.005V
    The input ref...
  20. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    PortB are connected to the eight lowest outputs(LED) and PDO and PD1 represents the two MSB outputs(LED). I see on the last attachment I have the DDRD register = 0xfb, but it should be 0xf3, I have...
  21. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    Here is the build output
  22. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    Yes, same results as before
  23. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    I have no digital output when ADC is grounded.
  24. Replies
    19
    Views
    5,260

    Closed: Re: Atmel ADC gives wrong results

    Tnx for replay

    I am using the studio4 compiler (I am new to uC so I just found one at Atmels homepage). The code is compiled and downloaded to the atmega16 and it is responding to the interrupt as...
  25. Replies
    19
    Views
    5,260

    Closed: Atmel ADC gives wrong results

    Hi
    I am doing a project where a Atmel Atmega 16L(3.3V) is used as a AD converter. To start the ADC converting cycle I am using a external interrupt (INT0), and the resulting readings (10 bit) are...
Results 1 to 25 of 53
Page 1 of 3 1 2 3