Type: Posts; User: andre_teprom

Page 1 of 20 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies

    Closed: Re: setting bits in byte

    K-1 = 5
    k = 5 - (-1)

    I'm sure you could have inferred this by yourself.
  2. Replies

    Closed: Re: setting bits in byte

    Confusing question, review post #5 anyway, there you can find both opperators together (in a single expression, if you meant that); anyway here it is as perhaps you want in C-format :

    n = (n |...
  3. Closed: Re: Bluetooth Serial Module for PIC Microcontroller

    You are not serious wondering about something that can be fund everywhere, particularly on Arduino's Website itself. I fear if you will ask what link...
  4. Replies

    Closed: Re: setting bits in byte

    Worthy to mention that you did not copied correctly the expression from the link:

    In your above case, the result would not be the SET BIT opperation as expected.
  5. Replies

    Closed: Re: setting bits in byte

    Review C language fundamentals and search for "operator precedence chart" and you will realize that shift operations have precedence over logical operations; to avoid misinterpretation, whenever...
  6. Replies

    Closed: Re: would an engineer use this equation?

    You are asking a lot of questions expecting to have definite answers, and this is not how things works, and particularly these kind of open ended questions are not suited to ask in any forum for...
  7. Replies

    Re: learning to detect radio signal.

    For the detection of the carrier without the use of a resonant circuit (preferably variable) after the antenna, you would only pick up white noise, whose higher frequencies would certainly be...
  8. Closed: Re: Glow LED on specified counter values 0-500 in 89c52 uC

    This is an incomplete code, you are not reseting the variable flag anywhere, as well as you are no more incrementing Counter variable which should be used in additioin to other variables, when turn...
  9. Replies

    Closed: Re: LCD Menu Architecture Suggestions?

    Flowcharts is what you need on this stage, make a sketch of at least a single function of the whole, and you will see how objects will interact each other. For now, the only thing that come to mind...
  10. Closed: Re: Glow LED on specified counter values 0-500 in 89c52 uC

    Again, a well-written code ideally do not perform any task in handling interrupts other than triggering flags. In the above case, if during the execution of the program, the interruption changes the...
  11. Closed: Re: Glow LED on specified counter values 0-500 in 89c52 uC

    Not a good recommendation to insert pieces of code inside interrupt vectors. As far as possible, the only service to be performed there is the triggering of a flag to be handled in the main()...
  12. Closed: Re: Glow LED on specified counter values 0-500 in 89c52 uC

    By using state machine you would always return to an Idle state instead of being blocked within execution of a Delay function, in addition to the obvious advantage of having a better structured...
  13. Closed: Re: Glow LED on specified counter values 0-500 in 89c52 uC

    Problem 'solved' with a bad programming style, consider next time using state machine handling delays with flags instead of closed loop delays. I would not be surprised if you reopen the discussion...
  14. Replies

    Closed: Re: Programming ESP-32 ESP-12

    There is the ESP-IDF toolset available that compiles in C++, however since its is not very friendly to deal even with simple applications, it is recommended only for those who are familiar with low...
  15. Replies

    Closed: Re: Issues with driving 16x2 LCD

    In addition, most likely the working circuit running in simulation not being exactly the same on assembly; in Proteus the model is based on the HD44780 controller whose contrast voltage (Vo) is...
  16. Replies

    [SOLVED]Closed: Re: Question about MC33063

    Lesson learned: Always do functional simulations before mounting the prototype on breadboard. It gives you the opportunity to confirm even if there exists some detail you overlooked on your specs....
  17. Replies

    Closed: Re: Pulsed microwave beam conundrum

    Did you even considered any calibration issue with your meter? Was you able to determine the direction where this signal come from? MHO you are just detecting artifacts from your own electronic...
  18. [SOLVED]Closed: Re: Const shows error in sine table of a sine wave inverter code with PIC16F73

    I would try declaring sin_table as unsigned char instead of int once done as above waste memory filling with zero (const values are smaller than 255). As far as I remember, the PIC16F family has...
  19. Replies

    Closed: Re: ESP32 (WROOM-32D) ADC linearity

    Were both Wifi and Bluetooth h/w turned off during these experiments? I'm in the opinion that the ADC of this chip/module can be seen rather as a plus, than properly a reliable resource, since the...
  20. Closed: Re: Bluetooth Serial Module for PIC Microcontroller

    ...or you could consider using another microcontroller, one having available a module with either CPU and bluetooth onboard. The ESP32-WROOM-32U is a nice example of that.
  21. Closed: Re: Microcontroller pin not working after some time.

    The current driving the 7-segments display sounds comfortably dimensioned, so it is unlikely that there was a burning problem, except of course due to improper handling when energized; frankly, I...
  22. Closed: Re: framing specifications for a control problem

    Each set of specifications determines one or more methods to solve the problem that can be done by graphic and/or algebraic approaches. There is no "simple example" given such a broad question.
  23. Closed: Re: Electromagnetic interferences - how to handle?

    Without knowing exactly what the circuit is, it is difficult to make a more accurate guess, it may be for example that you have not connected anywhere a high impedance input, having a floating static...
  24. Closed: Re: Component values on 2-pole 2-zero compensation

    For practical purposes, the transfer function of this circuit is simplified to the op amp inverter topology, so the gain would be defined as ((1/sC2 + R2) // C1) divided by ((1/sC3 + R3) // R1). ...
  25. Closed: Re: Freq computation without DIV instruction for 8bit MCU

    Your requirements are restrictive; you could consider setting timer scaler to a interval between acquisitions as a rational number power of two, so that division could be replaced by a simple right...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4