Search found 231 matches

by Lord Grezington
Tue Oct 08, 2019 3:47 pm
Forum: General Programming
Topic: Modbus slave RS485
Replies: 18
Views: 587

Re: Modbus slave RS485

Hi Ben, sorry its taken so long to respond: This will largely depend on the micro your using and the speed the micro is running at. Typically the faster the micro is the harder it is to generate the slower baud rates. However, let me know your current setup and I'll investigate the code is being gen...
by Lord Grezington
Fri Sep 20, 2019 3:32 pm
Forum: General Programming
Topic: IOC dilema
Replies: 8
Views: 430

Re: IOC dilema

Thanks Ben

I have stripped the program back to bare basics, I now no longer even have the input pulse but still getting a strange output. FC program is attached and the output is below.

IOC ADC Issue.png
IOC ADC Issue.png (55.67 KiB) Viewed 294 times



Thanks
by Lord Grezington
Wed Sep 18, 2019 9:39 am
Forum: General Programming
Topic: Modbus slave RS485
Replies: 18
Views: 587

Modbus slave RS485

Hello Everyone I have run a Modbus RS485 slave program a while back, and in general seems to work OK but I have found some problems (perhaps bugs) that I need resolved if possible. 1 - When I change the baud rate to below 9600 the communication breaks down. Works fine with all other baud rates I hav...
by Lord Grezington
Tue Sep 17, 2019 2:44 pm
Forum: General Programming
Topic: IOC dilema
Replies: 8
Views: 430

Re: IOC dilema

Sorry to push

I have shown the ADC is the affecting the IOC, so how to I stop it from doing it?

Thanks
by Lord Grezington
Mon Sep 16, 2019 11:15 am
Forum: General Programming
Topic: IOC dilema
Replies: 8
Views: 430

Re: IOC dilema

Thanks Ben & Stefan Yes, its looks to be the analogue input! How/Why is the analogue input affecting the IOC though when the analogue input is is the main program? Will the anlalogue input (RC4/AN20) still affect the IOC on RC2 just because its on the same port? I am guessing I need to change RC...
by Lord Grezington
Fri Sep 13, 2019 2:54 pm
Forum: General Programming
Topic: IOC dilema
Replies: 8
Views: 430

IOC dilema

Hello All There is a part of a program (in FC8) on a 16F18344 where all I am doing is using an IOC pin (C2) which just has few pulses coming in. All I am doing is duplication this pulse onto another pin A1. However, for some reason I am getting very short drops in the positive pulses, anyone have an...
by Lord Grezington
Fri Sep 13, 2019 2:44 pm
Forum: General Programming
Topic: Parity Check for SPI
Replies: 7
Views: 340

Re: Parity Check for SPI

Thanks Martin
Worked great, implemented well in the SPI
by Lord Grezington
Mon Sep 02, 2019 12:59 pm
Forum: Flowcode V5 Issues
Topic: Flowcode V5 has stopped working
Replies: 6
Views: 561

Re: Flowcode V5 has stopped working

Most probabbly the longest time I have ever waited for a windows update!!! but yeah, I did the .Net and then the additional optional updates and V5 now starts without a problem.
by Lord Grezington
Tue Aug 27, 2019 12:15 pm
Forum: Flowcode V5 Issues
Topic: Flowcode V5 has stopped working
Replies: 6
Views: 561

Re: Flowcode V5 has stopped working

Hi Everyone

Same problem... I can open a new project without any issue, but when I try and open a project I did years ago it jsut closes down on me. Same as martin - been adapting V5 programs on this PC for at lease a few months with no issues.

Graham
by Lord Grezington
Fri Aug 16, 2019 11:30 am
Forum: General Programming
Topic: Parity Check for SPI
Replies: 7
Views: 340

Re: Parity Check for SPI

Hello Martin

I apologise for not responding sooner - I was side tracked onto a different project.

I will take a look at your example later today

Thanks
by Lord Grezington
Wed Aug 14, 2019 3:05 pm
Forum: General Programming
Topic: Parity Check for SPI
Replies: 7
Views: 340

Re: Parity Check for SPI

Hi Martin

Thanks for the responce.

I have gone through all the options, I think the best option would be the shift and add method. I am still confused however how this coule be implemented in flowcode - is it possible you could do a very quick example?

Thanks
by Lord Grezington
Wed Aug 14, 2019 1:54 pm
Forum: General Programming
Topic: Parity Check for SPI
Replies: 7
Views: 340

Parity Check for SPI

Hello All If it have an int, say 113, this gives a binary value of 0b01110001. If we count the 1's we get an even number - but how do we impliment this in code? I currently have an address of 5bits (say 10110), a data length of 10bits (0b0001110001) and the last bit needs to be the parity (needs to ...
by Lord Grezington
Mon Jul 29, 2019 3:17 pm
Forum: General Programming
Topic: LCD display showing Japanese Characters
Replies: 10
Views: 835

Re: LCD display showing Japanese Characters

Hi Ben

They were £10 each off Ebay... May be problematic, but was the only place I could find them at the time with the 16pins. I have now found some on RS components, I have ordered them. I will let you know if its resolved.

Graham
by Lord Grezington
Fri Jul 26, 2019 11:21 am
Forum: General Programming
Topic: LCD display showing Japanese Characters
Replies: 10
Views: 835

Re: LCD display showing Japanese Characters

Hi Ben

Just to make sure...

Do you want me to change the F5 or the V8 RawSend .c file?

Then do I need to use the RawSend function on the LCD macro?

Thanks
by Lord Grezington
Fri Jul 26, 2019 9:45 am
Forum: General Programming
Topic: LCD display showing Japanese Characters
Replies: 10
Views: 835

Re: LCD display showing Japanese Characters

Hi Ben

Sorry to push, but I need to try and get this resolved. Do you have any other idea's I can try? I am under a little bit of pressure to get this resolved.

Thanks
by Lord Grezington
Wed Jul 24, 2019 4:17 pm
Forum: General Programming
Topic: LCD display showing Japanese Characters
Replies: 10
Views: 835

Re: LCD display showing Japanese Characters

Hi Ben Unfortunatly the Fix for V5 did not work, I still had the Japanese charactors. With V8, I did a hello world and then ran it on hardware on both display types. I have attached the program and below are the pictures. WhatsApp Image 2019-07-24 at 16.04.37.jpeg WhatsApp Image 2019-07-24 at 16.06....
by Lord Grezington
Wed Jul 24, 2019 3:30 pm
Forum: Flowcode V8
Topic: Maybe Issues with SPI update?
Replies: 3
Views: 247

Re: Maybe Issues with SPI update?

Hi Ben

Switching to Channel 2 and re-mapping the pins seems to have worked. Not sure why channel 1 is not working.

Thanks for your help
by Lord Grezington
Wed Jul 24, 2019 1:40 pm
Forum: Flowcode V8
Topic: Maybe Issues with SPI update?
Replies: 3
Views: 247

Re: Maybe Issues with SPI update?

Hi Ben

Thanks for the reply

I will try using channel 2 and remap the pins.

I dont think the SPI component starts the reset, I think it just prevents some of the other features working (like the flash on the pin)

Thanks
by Lord Grezington
Wed Jul 24, 2019 1:35 pm
Forum: General Programming
Topic: LCD display showing Japanese Characters
Replies: 10
Views: 835

Re: LCD display showing Japanese Characters

Hi Ben

Thanks, I will try the fix on V5.

I do have a licence for FC8, but using FC8 has the same problem (with all the patches and all updates).

If I add the delay in the folders you suggested, would this prevent the stander LCD's from working correctly when compiled?

Thanks
by Lord Grezington
Wed Jul 24, 2019 12:33 pm
Forum: General Programming
Topic: LCD display showing Japanese Characters
Replies: 10
Views: 835

LCD display showing Japanese Characters

Hello All I have been using the WH0802A-YYH-JT display for a long while now without any issues (datasheet attached). But I have recently redesigned the PCB to make simpler use of the backlight. So in order to do this, I changed the display to the RC0802A1-LLR-JWVE (again attached), however, the char...
by Lord Grezington
Tue Jul 23, 2019 2:23 pm
Forum: Flowcode V8
Topic: Maybe Issues with SPI update?
Replies: 3
Views: 247

Maybe Issues with SPI update?

Hello Everyone I did a program a while back in FC6, I then did an update to the program where I needed to add Modbus Slave back in November last year. Back then it seemed to work fine, but now I am having issues... And its defenitly based on FC8 and its updates... So, I have attacehd the FC6 Program...
by Lord Grezington
Tue Jul 02, 2019 8:45 am
Forum: Freelance Embedded Engineers
Topic: Bluetooth, android App & Bootloader
Replies: 3
Views: 731

Re: Bluetooth, android App & Bootloader

Hi Kersing I guess doing the bootloader in C would be OK as we could embed the code into a flowcode program (or compile to C and embed into the bootloader). I am not too familiar with bootloaders so let me know if I am wrong. There is no specification for the Android app language. Preferably written...
by Lord Grezington
Mon Jul 01, 2019 9:01 am
Forum: Freelance Embedded Engineers
Topic: Bluetooth, android App & Bootloader
Replies: 3
Views: 731

Re: Bluetooth, android App & Bootloader

Hey guys

I have not had many takers on this, do you think its too much? Should I break the requirement down into smaller tasks?

Thanks
by Lord Grezington
Fri Jun 21, 2019 8:19 am
Forum: Freelance Embedded Engineers
Topic: Bluetooth, android App & Bootloader
Replies: 3
Views: 731

Bluetooth, android App & Bootloader

Hello all We have a potiential project that we need to price together, however there are aspect of the project I have not done before and not too familiar with. We basically need a freelancer who is happy to create an android application and communicate with a PIC micro via a bluetooth module. The a...
by Lord Grezington
Wed May 29, 2019 12:53 pm
Forum: Flowcode V8
Topic: Potential project requiring minimium 180Mhz clock speed
Replies: 2
Views: 324

Re: Potential project requiring minimium 180Mhz clock speed

Hi Stefan

Yeah, I think it might work..

Thanks