Search found 37 matches

Return

by medelec35
Sat Feb 04, 2017 6:20 pm
Jump to forum
Jump to topic

Re: Interrupt On ShutDown

I created a flowchart to count the number of times the INT0 macro was accessed and store in EEPROM on power failure. Result was twice. You you must do is just ensure the EEPROM components only send the data once only. A way to do that is is set up a variable called DisableDataSend or something like ...
by medelec35
Sat Feb 04, 2017 10:16 pm
Jump to forum
Jump to topic

Re: Interrupt On ShutDown

Hi George,
I don't know the actual reason, that's why cant answer question.
All I know is interrupt pin is set to trigger on a falling edge.
The voltage on the pin must fall, rise then fall again.

Martin
by EtsDriver
Tue Apr 11, 2017 2:27 pm
Jump to forum
Jump to topic

Re: Need some suggestion for a project

Could you use markings on the ground maybe, or does the route change etc?
by Benj
Wed Apr 12, 2017 12:11 pm
Jump to forum
Jump to topic

Re: Need some suggestion for a project

Some sort of ultrasonic ping might work, if you can make it loud enough to travel the distance. You would need to have a way of synchronising the moving point with the non moving point so that the distance can be measured e.g. a wire between the two. e.g. the electric wire goes from high to low. The...
by Benj
Tue Apr 18, 2017 10:58 am
Jump to forum
Jump to topic

Re: Corrupted Fast Interrupt Shadow Registers

Hi George, What is the reason this is happening? The same program compiled with FC6 gives no warning or errors during compilation. The Flowcode v7 compiler is simply letting you know more about what it is doing. The new compiler is made by Microchip and so is more able to provide helpful and up to d...
by Benj
Mon Apr 24, 2017 10:27 am
Jump to forum
Jump to topic

Re: Corrupted Fast Interrupt Shadow Registers

Hi George,

Would you mind sending me a PM with the program so I can investigate for you. Sounds like something is maybe blocking the interrupt from firing correctly?
by AqaFlow
Sun Mar 18, 2018 5:49 am
Jump to forum
Jump to topic

Thanks to Flowcode

Hi Guys, I just finish a project that help me in my business !! This all I salute to Flocode as FC make it very easy for me to create code as I have to only plan action flow and FC create code for me. I can say that Flowcode is REALLY effective. specially for people who have idea, have action plan b...
by QMESAR
Fri Jun 01, 2018 8:25 am
Jump to forum
Jump to topic

Re: spi 12bit digital to analog chip

I tried to do a program with four DAC devices connected in separate pins and the result is not the expected. Normal configuration for multiple SPI devices on the same bus is SDO All connected in Parallel SDI all connected in Parallel SCK all connected in parallel Then each chip(IC) has its own CS l...
by QMESAR
Sun Jun 03, 2018 5:34 am
Jump to forum
Jump to topic

Re: spi 12bit digital to analog chip

The issue that i have is that the chip that i want to use, is the MSP3421 which has not got a CS pin and therefor this is not possible at this time. Well yes looking at the datasheet of the device it does not have an SPI Interface therefore it will also not have a CS pin. To communicate with the ch...
by LeighM
Thu Oct 04, 2018 5:49 pm
Jump to forum
Jump to topic

Re: RS485 Battery Stack and Common Ground

If the distances are not too great, and your UART data rate low, then you could probably use simple (darlington) opto-couplers between the Tx and Rx on the processor side and wire OR’d together onto a single communication signal wire on the common bus side, with it’s own ground and power supply rail.
by LeighM
Sun Oct 07, 2018 4:32 pm
Jump to forum
Jump to topic

Re: RS485 Battery Stack and Common Ground

It probably works with 1.5v batteries due to a few differences, such as the total voltage is less than your supply voltage, And the RS485 ground differential has a maximum less than 8 volts. Depends on the exact RS485 driver you are using, but max ground offset is usually in the -7 to +10 volt regio...
by LeighM
Mon Oct 08, 2018 3:12 pm
Jump to forum
Jump to topic

Re: RS485 Battery Stack and Common Ground

Hi George,
Regarding the isolated RS485, just don't connect anything from the bus side to the processor side, see VDD!
I've not much experience with batteries, unlike Steve001, so you ignore his advice at your own peril :lol:
Leigh