Search found 359 matches

by Jay Dee
Wed Nov 27, 2019 1:17 pm
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 22
Views: 504

Re: RPI and long distance radio

Hi, sorry can only give basic support on this as customer is bashing me to sort other projects! ... who needs customers! the Gamma is OFDM not Lora so sorry about the file name. I'm pretty sure this was a working Gamma testing FlowCode. LoRa_Test_GAMMA_Program1.fcfx from a quick look, i noticed a fe...
by Jay Dee
Tue Nov 26, 2019 11:08 am
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 22
Views: 504

Re: RPI and long distance radio

That is indeed interesting... I worked with the Gamma's a few years back and despite the settings changes as advised by RF we managed a patchy 200m around the industrial estate, reliable behavior was at 100m. Talked a lot with RF solutions, ran recommended antennae direct from the module etc.. RF so...
by Jay Dee
Mon Nov 25, 2019 10:27 am
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 22
Views: 504

Re: RPI and long distance radio

Hi, Yes I was also a bit disappointed with the gamma... in wide open space it was much better. The LoRa Lambda module was much much better... the time to react to the siganls (send/recieve) is a couple of seconds but the range is much farther. For triggering relays, you can just use the normal Input...
by Jay Dee
Thu Nov 21, 2019 11:07 am
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 22
Views: 504

Re: RPI and long distance radio

Hi Abhijit, For long range I used the Lambda module which is LoRa based. I have used the Gamma but only achieved around 100m in our wooded environment (no where near the claimed max distance ), you would get much more in wide open space I expect. Check the version you have as some are 3.3V and some ...
by Jay Dee
Sun Nov 17, 2019 12:54 pm
Forum: Flowcode V8
Topic: STM32 Nucleo F746 - ST Cube code modules - IOTA
Replies: 0
Views: 100

STM32 Nucleo F746 - ST Cube code modules - IOTA

Hi, Been away from the forum for a few months but back with another idea.. which typically is a bit beyond my current knowledge! ST have their code solutions under the name STM32Cube, I think this is like there equivalent of matrix components.. pre proven code blocks to help rapid dev. Well.. they h...
by Jay Dee
Sun Nov 17, 2019 12:43 pm
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 22
Views: 504

Re: RPI and long distance radio

Agreed, it was not too hard (ish! :) )to get a simple flowcode setup to send SMS over GSM. You may want to drop your update rate but it does give you almost any range you want.
by Jay Dee
Sun Nov 17, 2019 12:23 pm
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 22
Views: 504

Re: RPI and long distance radio

Hi, I've played with various telemetry systems over the years... 3 miles is actually quite a distance. It really depends on line of sight (in a RF sence) what is your operating enviroment? If you are in urban or wooded countryside, you'll need quite a rig to get data between two vehicles at 3 mile (...
by Jay Dee
Mon Aug 05, 2019 6:23 pm
Forum: Flowcode V8
Topic: SPI - CPHA CPOL
Replies: 0
Views: 261

SPI - CPHA CPOL

Hi, I always get myself confused on this one, could someone with more knowledge let me know if I have got this correct! FC SPI Settings for Motorola definitions Clock Polarity CPOL = 0 FC = Idle Low CPOL = 1 FC = Idle High Clock Phase CPHA = 0 FC = Leading Edge CPHA = 1 FC = Falling Edge Sample Poin...
by Jay Dee
Fri Jun 07, 2019 10:46 pm
Forum: Freelance Embedded Engineers
Topic: Circuit Design and PCB layout for existing concept design
Replies: 1
Views: 836

Circuit Design and PCB layout for existing concept design

Hey FreeLance Engineers! I have a back ground project that has slowed down due to customer projects taking priority but I really need to get it back on track! Stage one: I am looking for someone with good Digital Circuit design and PCB layout skills. Including an understanding of mechanical packagin...
by Jay Dee
Thu Mar 14, 2019 11:21 am
Forum: Flowcode V8
Topic: Force a Fixed Memory location for Variable
Replies: 7
Views: 1067

Re: Force a Fixed Memory location for Variable

Great stuff Ben, I'll have a play next week. Currently trying to climb out from under the bulk of work that built up whilst away from the office! J. :)
by Jay Dee
Mon Mar 11, 2019 4:09 pm
Forum: Flowcode V8
Topic: Force a Fixed Memory location for Variable
Replies: 7
Views: 1067

Re: Force a Fixed Memory location for Variable

Hi Kersing, I agree it may well be less than optimal and yes currently the extraction is currently perfomed by a PHP script. This chain works but I'm just trying to speed up some aspects of the process. I have found during deveolopement, that sometimes I need to re-run through the process, this can ...
by Jay Dee
Sun Mar 10, 2019 1:04 pm
Forum: Flowcode V8
Topic: Force a Fixed Memory location for Variable
Replies: 7
Views: 1067

Re: Force a Fixed Memory location for Variable

Ah yeah.. the compiler. Forgot that step.. could be kinda hard to work around that. Currently I have a tool that allows me to read values stored at a specific address and that works in my testing so far. So the tricky bit of reading the data back from the PIC over USB Serial is basically sorted. The...
by Jay Dee
Sun Mar 10, 2019 12:06 pm
Forum: Flowcode V8
Topic: Force a Fixed Memory location for Variable
Replies: 7
Views: 1067

Force a Fixed Memory location for Variable

Hi, Is there a way to force FC to store a variable in a specific memory location? Why I'm looking to simplify how an external program accesses variables from a PIC via USB serial. If I could force a variable to save to a specific address location, I could then always use this location in future FC p...
by Jay Dee
Fri Mar 08, 2019 7:18 pm
Forum: Feature Requests
Topic: (cheap), Long range module (node to node) RFM95?
Replies: 15
Views: 2221

Re: (cheap), Long range module (node to node) RFM95?

Hi, Bit late on this one... but I've also used various versions of the the RF Solutions LoRa tranciever modules (Gamma). Through trees and varying countryside terrain I achieved a very reliable 1Km connection. Beat any other small low power RF tansmitter I've tested by a long way. In its simpliest f...
by Jay Dee
Fri Mar 08, 2019 3:20 pm
Forum: Flowcode V8
Topic: ECIO28 USB Serial - will not compile.
Replies: 2
Views: 552

Re: ECIO28 USB Serial - will not compile. - Solved

Hi. Odd...that USB folder was locating the the CAL\PIC\ directory. It was however an early install of V8 and it was not liking the update feature. So I borrowed a better network connection and downloaded the latest release, removed and re-installed FC8. All seems fine now. Thanks for support, lucky ...
by Jay Dee
Thu Mar 07, 2019 11:16 pm
Forum: Flowcode V8
Topic: ECIO28 USB Serial - will not compile.
Replies: 2
Views: 552

ECIO28 USB Serial - will not compile.

Hi, just put FC8 on a spare machine, win10 and installed PIC toolchain. A ran a basic flash program, this loaded to the ECIO28 fine. If i place the USB Serial component into FC, it throws an error when trying to compile. I've been on other projects most of last year so quite behind with FC8, are the...
by Jay Dee
Fri Oct 05, 2018 12:00 pm
Forum: Programming Tips & Tricks
Topic: Working with Registers
Replies: 10
Views: 3135

Re: Working with Registers

Can someone confirm this is a sensbile way to do the following! :) I wish to over write the lower 4 bits of a 8 bit register....so I think my process should be 7 6 5 4 3 2 1 0 Bit Number 1 0 1 0 1 0 1 0 This is the Original Register Value 1 1 1 1 0 0 0 0 AND by this mask to clear lower four bits 1 0...
by Jay Dee
Mon Sep 24, 2018 7:26 pm
Forum: Programming Tips & Tricks
Topic: Working with Registers
Replies: 10
Views: 3135

Re: Working with Registers

Great stuff! suggestions added into original doc. Thanks Guys.
by Jay Dee
Sat Sep 22, 2018 1:03 pm
Forum: Programming Tips & Tricks
Topic: Working with Registers
Replies: 10
Views: 3135

Re: Working with Registers

Thanks Kersing!
Yep, my mistake. Original post now updated.
Its good to have online proof reading! :)
by Jay Dee
Sat Sep 22, 2018 10:57 am
Forum: Programming Tips & Tricks
Topic: Working with Registers
Replies: 10
Views: 3135

Working with Registers

Working With Registers. Hi Guys, as someone who drops in and out of Flowcode I often forget things so I started to write some of it down. Working with registers is something that took a little while for me to get my head around, so the following may help others who are new on the path to knowledge! ...
by Jay Dee
Sun Sep 02, 2018 8:00 pm
Forum: Flowcode V8
Topic: Simple Pulse Duration measurement using Int0 Pin
Replies: 6
Views: 1208

Re: Simple Pulse Duration measurement using Int0 Pin

Ah...So if I was to use the CCP module, each module can only be set to detect either the rising or falling edge.
So you need two CCP modules, one to detect the rising edge and one to detect the falling edge.
Unfortunately the chip in use the lower pin count PIC18F2580 only has one CCP module.
by Jay Dee
Sun Sep 02, 2018 7:28 pm
Forum: Flowcode V8
Topic: Simple Pulse Duration measurement using Int0 Pin
Replies: 6
Views: 1208

Re: Simple Pulse Duration measurement using Int0 Pin

Yeah, I agree it certainly is a clunky way to do the task. I'll have a read of the Microchip App note on the CCP and see if I can make sense of it.
Thanks J.
by Jay Dee
Sun Sep 02, 2018 6:00 pm
Forum: Flowcode V8
Topic: Simple Pulse Duration measurement using Int0 Pin
Replies: 6
Views: 1208

Simple Pulse Duration measurement using Int0 Pin

Hi, If I wished to measure a pulse duration, can I.... Trigger on INT0 Rising edge. Start timer Tmr2 and index a counter, on each tick. Trigger on INT0 Falling edge. Read Timer value and reset counter. I've been playing with FC in simulation only and I dont seem to be able to get sensible behavior t...
by Jay Dee
Tue Aug 14, 2018 7:41 pm
Forum: 8-Bit PIC
Topic: How to Create a variable frequency output
Replies: 4
Views: 1239

Re: How to Create a variable frequency output

Thanks for the alternate PWM method Martin,
FYI, I previously posted the wrong file, swapped for correct one, which has also been tweaked to improve stability.
Its based on a PIC 18F2580 with 20Mhz Crystall so would need relevant tweaks if anyone wanted to use it on a alternate chip or clock freq. J.
by Jay Dee
Tue Aug 14, 2018 2:54 pm
Forum: 8-Bit PIC
Topic: How to Create a variable frequency output
Replies: 4
Views: 1239

Re: How to Create a variable frequency output

Hi Martin, Thanks for that, I did not follow all of it ! :D but it certainly triggered an idea for the use of interrupts, which was a great shout. For anyone else playing along, attached is a very simple Interrupt based fixed-frequency output signal. An interrupt macro counts up to a rollover value,...