Search found 128 matches

by George_B
Sun Oct 07, 2018 6:54 pm
Forum: Electronics products
Topic: RS485 Battery Stack and Common Ground
Replies: 13
Views: 16881

Re: RS485 Battery Stack and Common Ground

Hello all. Leigh, thank you very much for your help. I would be very thankful if you will draw a circuit with your suggestion. When you are saying that the new circuit inputs need to cope with higher voltage what do you mean? What i want is to measure the voltage of each cell and collect it onto my ...
by George_B
Sat Oct 06, 2018 7:29 pm
Forum: Electronics products
Topic: RS485 Battery Stack and Common Ground
Replies: 13
Views: 16881

Re: RS485 Battery Stack and Common Ground

Hello again! I did a really quick test with some draft boards that i had from a previous project. I used 1.5V batteries for my test and connected all in series. I connected the MCU boards as the attached picture shows and i powered all the boards from a single power supply 12V. Note that each board ...
by George_B
Thu Oct 04, 2018 12:07 pm
Forum: Electronics products
Topic: RS485 Battery Stack and Common Ground
Replies: 13
Views: 16881

Re: RS485 Battery Stack and Common Ground

Hi all, thank you for your time and help. What i am trying to do is a battery monitoring system. I want to monitor a few batteries which are not close each other. All batteries will be connected in series and each of them must have it's own microcontroller for the purpose of this project. I really w...
by George_B
Wed Oct 03, 2018 12:17 pm
Forum: Electronics products
Topic: RS485 Battery Stack and Common Ground
Replies: 13
Views: 16881

RS485 Battery Stack and Common Ground

Hello everyone, I an working on a project that requires several 3.7V batteries to be connected in series. I would like to use a microcontroller for each battery to monitor and to make some other adjustments as well. Each microcontroller board will be powered from it's battery which will be connected...
by George_B
Sat Jun 02, 2018 9:02 pm
Forum: Programming Tips & Tricks
Topic: spi 12bit digital to analog chip
Replies: 14
Views: 17094

Re: spi 12bit digital to analog chip

Hi QMESAR, Thank you for your reply. I understand what you mean and i will use it in case that i am going to make a parallel use of devices sharing the I2C lines. 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...
by George_B
Wed May 30, 2018 7:45 pm
Forum: Programming Tips & Tricks
Topic: spi 12bit digital to analog chip
Replies: 14
Views: 17094

Re: spi 12bit digital to analog chip

Hi all, I finally managed to read in full scale mode the MCP4821. I would like to use 4 devices connected to the same micro controller. Would it be possible to connect each device to separate pins ? I tried to do a program with four DAC devices connected in separate pins and the result is not the ex...
by George_B
Mon May 28, 2018 3:52 pm
Forum: Programming Tips & Tricks
Topic: spi 12bit digital to analog chip
Replies: 14
Views: 17094

Re: spi 12bit digital to analog chip

Hi, i am making some experiments with the MCP4821 DAC DEVICE. At the moment i can only read 2.05 V at the output of the device(pin8). Probably i am running the device using a gain of 1 I would like to use a full scale and a gain of 2 but i can't figure out how to send a command to the MCP4821. Any i...
by George_B
Fri May 25, 2018 9:23 am
Forum: Bug reports
Topic: PIC18F26K80 I2C read problem
Replies: 4
Views: 7655

Re: PIC18F26K80 I2C read problem

Hello, i want to use the MCP3421 Analog to Digital converter chip. Could you please let me know if you have any flowcode example for this specific chip?

Thank in advance
George
by George_B
Thu May 04, 2017 7:10 pm
Forum: Bug reports
Topic: Corrupted Fast Interrupt Shadow Registers
Replies: 10
Views: 9904

Re: Corrupted Fast Interrupt Shadow Registers

Hi George, v6 used the BoostC compiler which had a library for dealing with floats. They were kind of an after thought and it took a third party to write the float library to support floats at all. v7 uses the XC8 compiler which supports floats natively and much more efficiently. Are you performing...
by George_B
Tue Apr 25, 2017 8:28 pm
Forum: Bug reports
Topic: Corrupted Fast Interrupt Shadow Registers
Replies: 10
Views: 9904

Re: Corrupted Fast Interrupt Shadow Registers

Thanks for your time Benj, I probably left this setting (rising edge on INT0) while trying different settings to figure out what might be the problem. My hardware is developed so as to use "falling edge" setting like my FC6 program. I changed this setting to falling edge(as it should be) in FC7 prog...
by George_B
Mon Apr 24, 2017 10:36 pm
Forum: Bug reports
Topic: Corrupted Fast Interrupt Shadow Registers
Replies: 10
Views: 9904

Re: Corrupted Fast Interrupt Shadow Registers

Benj, if you don't mind.. you can comment my program issues in this topic so everyone can learn something..

Thanks in advance for your support

George
by George_B
Sun Apr 23, 2017 7:42 pm
Forum: Bug reports
Topic: Corrupted Fast Interrupt Shadow Registers
Replies: 10
Views: 9904

Re: Corrupted Fast Interrupt Shadow Registers

Hello, i observed something strange on hardware during testing the same program from both FC6 and FC7 which are completely the same without any modifications at all. I am using the INT0 which is receiving some ( low frequency < 5Hz) pulses from a proximity sensor. In the interrupt macro i only have ...
by George_B
Tue Apr 18, 2017 12:49 pm
Forum: Bug reports
Topic: Corrupted Fast Interrupt Shadow Registers
Replies: 10
Views: 9904

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 ...
by George_B
Thu Apr 13, 2017 11:59 am
Forum: Bug reports
Topic: Corrupted Fast Interrupt Shadow Registers
Replies: 10
Views: 9904

Corrupted Fast Interrupt Shadow Registers

Hello, I recently upgraded my FC6 to FC7 version :D I opened an old program which i created using FC6 I tried to compile the program without making any modifications. I got the following message during compilation.. Target folder: Title: Description: Device: PIC.18F.18F4680 Generated by: Flowcode v7...
by George_B
Wed Apr 12, 2017 4:06 pm
Forum: General Programming
Topic: Need some suggestion for a project
Replies: 6
Views: 6132

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. Th...
by George_B
Tue Apr 11, 2017 3:02 pm
Forum: General Programming
Topic: Need some suggestion for a project
Replies: 6
Views: 6132

Re: Need some suggestion for a project

The route changes.. unfortunately neither this is possible.
by George_B
Tue Apr 11, 2017 11:17 am
Forum: General Programming
Topic: Need some suggestion for a project
Replies: 6
Views: 6132

Re: Need some suggestion for a project

Hi Benj, Thanks for your reply! unfortunately it is not possible to use encoder for measuring the distance at this time, that is why i need something like GPS or so. If i was able to use encoders i could easily measure the speed of the vehicle as well. I tried to see if there is any other way of get...
by George_B
Mon Apr 10, 2017 7:10 pm
Forum: General Programming
Topic: Need some suggestion for a project
Replies: 6
Views: 6132

Need some suggestion for a project

Hello all, I need to use a GPS for tracking a very low speed vehicle (1-100 meters/hour). I actually need to measure the distance between two points which one of them is a fixed point and the second is a moving point. I also need to monitor the current speed of the moving point at all times. I need ...
by George_B
Wed Feb 08, 2017 8:06 pm
Forum: Flowcode V6
Topic: Gyroscope L3G4200D
Replies: 7
Views: 7097

Re: Gyroscope L3G4200D

Hello, I was trying to communicate with a gyro module MPU-6050 but i was unable to do so. I think the two versions have a different controlled technique? Any idea of how i can get some data out of this module? http://www.ebay.co.uk/itm/MPU-6050-Module-3-Axis-Gyroscope-Accelerometer-Module-For-Arduin...
by George_B
Sat Feb 04, 2017 8:59 pm
Forum: Flowcode V6
Topic: Interrupt On ShutDown
Replies: 6
Views: 7475

Re: Interrupt On ShutDown

Hi Martin, thank you very much for your detailed reply.

Until now your description looks understandable to me... except one thing. I just cannot understand why you are saying that the Interrupt macro is accessed twice? Could you please explain that in low level? :wink:




Thanks
George
by George_B
Fri Feb 03, 2017 8:23 pm
Forum: Flowcode V6
Topic: Interrupt On ShutDown
Replies: 6
Views: 7475

Re: Interrupt On ShutDown

Hi Benj and Martin, thank you for your replies both. Benj, really good idea to move up on a new location in eeprom once you reach the write times limit! I will make some tests on this, however i need to study you reply again and again because i didn't catch the way you mention properly. I would pref...
by George_B
Thu Feb 02, 2017 11:11 pm
Forum: Flowcode V6
Topic: Interrupt On ShutDown
Replies: 6
Views: 7475

Interrupt On ShutDown

Hello, i hope you all be well. I am working on a project that i need to keep some important variables saved in Eeprom in case of power off of the device. At the moment i save the variables in Eeprom in approximately every 1 minute. I worry that i use the Eeprom write command too often and i expect t...
by George_B
Sat Dec 03, 2016 5:00 pm
Forum: Flowcode V6
Topic: KEYBOARD USB HID
Replies: 17
Views: 15203

Re: KEYBOARD USB HID

Benj wrote:This should hopefully help.
USB_HID_Keyboard_Strings.fcfx


Thank you very much Benj! That was exactly what i was looking for! :D


George
by George_B
Thu Dec 01, 2016 10:00 am
Forum: Flowcode V6
Topic: KEYBOARD USB HID
Replies: 17
Views: 15203

Re: KEYBOARD USB HID

Hi George, It looks to me like you're close though I haven't spotted anything incorrect yet. Are you getting anything out of it at the moment? Maybe the CheckRx needs to be in the loop after the KeyUp macro? Hi Benj, At the moment i get only the "Hello From Your USB Keyboard Device! 12345\n" text e...