Type: Posts; User: Aussie Susan

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Closed: Re: ADC simultaneous sampling of 4 channels

    Feel free to select any other ADC (and possibly any other MCU) that meets your requirements.
  2. Closed: Re: ADC simultaneous sampling of 4 channels

    Check out the Family Reference Manual (FRM) ADC section for that device. The FRM documents often provide greater detail (and code examples) about how to use the modules than the data sheet. However...
  3. Replies

    [ARM]Closed: Re: Enc28j60 with STM32F4

    @Santi - this is the 5th thread you have started on this topic (,...
  4. Replies

    Closed: Re: Enc28j60 with stm32f4

    All that 'tutorial' does is now how to set up the SPI interface on an MSP430! That is not the same MCU you are using.
    Looking at this and other questions with (basically) the same title, I think you...
  5. Replies

    [ARM]Closed: Re: Enc28j60 with stm32f4

    Have a look at the demo code on the Microchip site. While that is written for the PIC families of devices, they are in C and the communication between the MCU and the ENC28J60 is via an SPI interface...
  6. Replies

    [ARM]Closed: Re: Enc28j60 with stm32f4

    Don't forget that the ENC27J60 provides just the bottom layers of the IP stack. You still need to provide the upper layers where things such as web pages, HTML code etc. are defined.
  7. [SOLVED]Closed: Re: dsPIC33F I2C" Start hold time violated"fuse configs

    General comment: if you use a simulator then you have just added another layer of potential bugs to your project.
    Especially for the sort of thing you are doing, I would recommend that you use the...
  8. Replies

    Closed: Re: dspic30f2010 Used Sinewave Inverter

    Also, if you are starting off a new project, then why use that MCU - there are more modern, powerful and cheaper devices available.
  9. Closed: Re: Proteus Error, No Source Line at PC Address

    Glad you have solved it, but that error message (or one very like it) can also occur when an error is detected within library code where only the object library has been linked in. Such library code...
  10. Replies

    Closed: Re: HP 54520A Blown Fuse Problem

    Just a WAG - Capacitors across the supply lines that have gone leaky?
  11. Closed: Re: XC8 C delays for PIC micros not right timing

    The max value for the delay macro is in the XC8 user guide.
    The delay is also affected by interrupts.
    Have you set the correct value of _XTAL_FREQ?
    You have not told us the clock source (or...
  12. Closed: Re: pic16f877a + spi + 93LC46A-I/OT EEPROM

    OK - I had not seen that. Thanks for pointing it out.
    AN1023 (linked from the EEPROMs data sheet page you linked to) certainly shows the MSSP module being used. What it also shows is that the EEPROM...
  13. Closed: Re: pic16f877a + spi + 93LC46A-I/OT EEPROM

    The EEPROM says that it is "microwire compatible" and while mirowire and SPI are related, they are NOT the same.
    You haev two choices: 1) use a newer EEPROM that has a standard SPI or I2C interface...
  14. [SOLVED]Closed: Re: ADC reading , Timer interrupt - dspic33ch128mp508

    You should not need to set the GIE bit to 1 as that is its Power-on default setting.\
    Look at the ADC FRM section for that MCU - it has a whole section of examples.
  15. Closed: Re: dsPIC30F2010 - 30 I/SP restarts at interval of 20seconds for no known reason

    The answer, as so often happens, is in the data sheet. The last paragraph of Section 19.4.2 says that, if you turn off the config bit, then the WDT is controlled by software with the SWDTEN bit. Make...
  16. Replies

    Closed: Re: Ascii to BCD Conversion

    Also be aware that strings in most compilers are null terminated which mean that "1234" is actually 5 characters long.
  17. Closed: Re: Error while publishing data from ESP32 Using MQTT

    Show us the code you have and we might be able to help you from there.
    Also tell us the values you expect and the values that are being displayed.
  18. Closed: Re: [Microcontroller] Voltage Reading without ADC

    If all you are interested in is if a voltage is above or below a given value, then use a comparator and a stable voltage source (e.g. a zener or you want something cheap and nasty). T
    That can feed...
  19. Closed: Re: ESP8266 sends temperature and humidity data to IFTTT using MQTT

    How does the ESP8266 relate to the device you link to? It looks like it does the job for you.
    What have you come up with yourself?
    What is your experience with WiFi programming? MQTT? Embedded app...
  20. Closed: Re: Help with PIC16F886 0-55VDC Voltmeter (code adapted fm Arduino)

    I had assumed it was an attempt to round to the nearest 10mV. Anyway that would not really make much difference - given the domain of 0V to 55V in a 10-bit ADC, the LSB equates to just over 5mV....
  21. Closed: Re: Help with PIC16F886 0-55VDC Voltmeter (code adapted fm Arduino)

    @mcmsat13 - your code might be working but what is the point of the 2nd and 3rd 'delay_ms(1)' statements on either side of the calculation of 'vout'?
    I can understand the delay after selecting the...
  22. Closed: Re: Help with PIC16F886 0-55VDC Voltmeter (code adapted fm Arduino)

    As far as I know the 'delay_xxx' functions ARE blocking but so is the code that @mcmsat13 asked about in Post #11 (and you quoted).
    They are also unreliable in terms of accuracy as they don't take...
  23. Closed: Re: Help with PIC16F886 0-55VDC Voltmeter (code adapted fm Arduino)

    The alternative is to start by understanding what the code is doing - in this case it is providing a delay for a given period of time.
    I've not used CCS C for many (many) years but it has a...
  24. Closed: Re: Loading PIC micro programming pins ICSPDAT and ICSPCLK

    When you use the programming pins as ordinary GPIOs then you can do what you want with them. However, when you want to use them as programming pins then they should be unloaded.
    You can achieve this...
  25. Closed: Re: diffrentiate between lost wire detection and zero input in a terminal

    If you can design this yourself, then shift the voltage up by a known amount. That way, if the line s disconnected, it will show as 0V, where as the lowest valid voltage will show as the offset...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4