Search found 13880 matches

by Benj
Wed Feb 05, 2020 4:25 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 56
Views: 3565

Re: Dc voltmeter 0-55v

Hello, It's saying your out of ROM Flash memory, can you move to a chip with larger amoutn of Flash? It could be the changes I made to the seg calculations to force the floating point calculations, these will be a lot bigger then the integer calculations. Maybe try putting these back to 10 instead o...
by Benj
Wed Feb 05, 2020 4:15 pm
Forum: Flowcode V8
Topic: Pololu P-Star 45K50 Bootloader
Replies: 12
Views: 266

Re: Pololu P-Star 45K50 Bootloader

Hello, The system cannot find the file specified means that it cannot find the p-load.exe application. The path doesn't seem quite right as it should be inside the Flowcode v8/tools folder. Try this instead as the path. $(appdir)tools\Pololu\USB Bootloader Utility\bin\p-load.exe the Spaces in the US...
by Benj
Wed Feb 05, 2020 3:24 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 56
Views: 3565

Re: Dc voltmeter 0-55v

Hello, With 7-segs you need to be spending an equal amount of time outputting each character or one character will appear much brighter then the other. In your program you were outputting digit0 and then immediatley digit1 and then onto digit2. I have tweaked your program so it now uses a timer inte...
by Benj
Wed Feb 05, 2020 1:38 pm
Forum: Flowcode V8
Topic: mLoader_4.0.0.1 and BL080 no function
Replies: 5
Views: 187

Re: mLoader_4.0.0.1 and BL080 no function

Hello Peter, Many thanks. It be worth installing all the latest Windows updates including any visual C++ related updates as these might be having an impact on the function of mLoader on your system. Which build of Windows 10 are you currently running? Windows Key + R then type in winver and press ok...
by Benj
Wed Feb 05, 2020 12:52 pm
Forum: General Programming
Topic: ADC 16bit conversion to 1µm
Replies: 10
Views: 254

Re: ADC 16bit conversion to 1µm

Aha, yes thanks that one's slightly better, I would still vote for the SM324 as for the ATL025 you need a microcontroller with differential ADC which we don't currently support. Or you might be able to get away with a bridge amplifier e.g. A HX711 but again it's not as straightforward.
by Benj
Wed Feb 05, 2020 11:48 am
Forum: General Programming
Topic: ADC 16bit conversion to 1µm
Replies: 10
Views: 254

Re: ADC 16bit conversion to 1µm

Hello,

The SM324 looks good, I'll have a read through the datasheet and see how easy it would be to generate a component for it.

I did find a datasheet for the ATL025 but it wasn't giving much away :wink:
by Benj
Wed Feb 05, 2020 11:14 am
Forum: General Programming
Topic: ADC 16bit conversion to 1µm
Replies: 10
Views: 254

Re: ADC 16bit conversion to 1µm

Hello, The number of ADC bits is dictated by the microcontroller, you can use the read as int to read a full bit depth value, normally 10-bit or 12-bit on most microcontrollers. Often noise can become quite a large part of the problem and so you often find magnetometers with their own dedicated on-b...
by Benj
Wed Feb 05, 2020 11:07 am
Forum: Bug Reports
Topic: UART / circular buffer - performance - non-performance..
Replies: 25
Views: 461

Re: UART / circular buffer - performance - non-performance..

Hi Spencer, Have you looked at the SIM800 datasheet. It details the process for running the auto baud function which is to keep sending AT in a loop until OK is received. Section 4 of this document. https://cdn-shop.adafruit.com/product-files/2637/SIM800+Series_Serial+Port_Application+Note_V1.01.pdf...
by Benj
Tue Feb 04, 2020 10:48 am
Forum: Flowcode V8
Topic: mLoader_4.0.0.1 and BL080 no function
Replies: 5
Views: 187

Re: mLoader_4.0.0.1 and BL080 no function

Hello,

Do you have more then one copy of mLoader open? Or do you have more than one E-block connected to your computer?

You version of mLoader looks correct but the about window looks different to mine. Which version of Flowcode 8 are you running? Current is v8.2

About.jpg
About.jpg (13.55 KiB) Viewed 163 times
by Benj
Tue Feb 04, 2020 12:30 am
Forum: General Programming
Topic: FLOAT to INT and back again.
Replies: 31
Views: 609

Re: FLOAT to INT and back again.

Hello, I might start with checking that the float calculations are producing what you expect. Maybe convert the float to a string and send the string via the serial connection as a sanity check. This type of calculation could be causing problems. .T_FLOAT = fdiv (.T_DATA,65536) .T_FLOAT = fmul (175,...
by Benj
Mon Feb 03, 2020 10:49 pm
Forum: Bug Reports
Topic: UART / circular buffer - performance - non-performance..
Replies: 25
Views: 461

Re: UART / circular buffer - performance - non-performance..

Hi Spencer,

You are not allowing any time after sending out the command for the remote terminal to receive, process the message and reply.

Here I use the circular buffer "wait for" command to provide up to a 2 second wait for reply.

PIC16F1824-UART-test-FC8.2.1.13.fcfx
(18.35 KiB) Downloaded 12 times
by Benj
Mon Feb 03, 2020 4:46 pm
Forum: Bug Reports
Topic: UART / circular buffer - performance - non-performance..
Replies: 25
Views: 461

Re: UART / circular buffer - performance - non-performance..

In your original program, inside the RXD_B macro you are both reading from the circular buffer and writing to the circular buffer. I beleive you should instead be reading from the UART component connected to the hardware UART channel. RXINT.jpg Warning using interrupts in the same program with a sof...
by Benj
Mon Feb 03, 2020 4:41 pm
Forum: Flowcode V8
Topic: stepper with display
Replies: 1
Views: 125

Re: stepper with display

Hi Roy,

Can you simply set DISPLAY1 = 1 using a calculation icon before your first loop?
by Benj
Mon Feb 03, 2020 12:19 pm
Forum: General Programming
Topic: FLOAT to INT and back again.
Replies: 31
Views: 609

Re: FLOAT to INT and back again.

Hello,

Please can you post your project that demonstrates this problem and we will have a look for you. STM32 shouldn't cause any problems regarding Floats and byte conversion.
by Benj
Fri Jan 31, 2020 11:47 pm
Forum: Bug Reports
Topic: Shift Register 74HC595
Replies: 16
Views: 367

Re: Shift Register 74HC595

Ooh excellent, thanks Jorgen much appreciated :D

Yes that address is correct thanks.
by Benj
Fri Jan 31, 2020 3:46 pm
Forum: Flowcode V8
Topic: Output Issues with individual Port addressing
Replies: 4
Views: 183

Re: Output Issues with individual Port addressing

Excellent, glad to be of service. Thanks for letting us know.

Certainly is a headscratcher when that sort of thing starts happening :D
by Benj
Fri Jan 31, 2020 2:35 pm
Forum: Flowcode V8
Topic: W5500 question
Replies: 5
Views: 189

Re: W5500 question

These warnings are worth paying attention to if you haven't already. C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/AVR\AVR_CAL_SPI.c:146:3: warning: #warning "Important user information. Please read." C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/AVR\AVR_CAL_SPI.c:147:3: warning: #warning "Hard...
by Benj
Fri Jan 31, 2020 2:15 pm
Forum: Flowcode V8
Topic: Shift Register 74HC595
Replies: 13
Views: 510

Re: Shift Register 74HC595

Hello Derrihj, Hi Martin according to your flowchat, for me to understand this easily suppose i have arranged my output like in the image below and i want to display a 5 on digit 1 (D1), then a 7 on digit 2 (D2) and a 8 on digit 3 (D3) how will the flowchat be like for an output arrangement like bel...
by Benj
Fri Jan 31, 2020 2:10 pm
Forum: Flowcode V7
Topic: ghostboard
Replies: 2
Views: 112

Re: ghostboard

Hello, The board in the first link you sent is the board only and does not include the backing board. We can certainly supply this too though. I think we can also do the 4-digit display for you, it's something we use internally so I don't see why not. I would either phone or email our sales team and...
by Benj
Fri Jan 31, 2020 2:07 pm
Forum: Flowcode V8
Topic: W5500 question
Replies: 5
Views: 189

Re: W5500 question

Hi Tom, There are some examples here that might help. https://www.matrixtsl.com/wiki/index.php?title=Component:_ID_e18e39d3_2e05_4a15_b8aa_e8ada16cd3ef I've just got some hardware with the W5500 chip mounted so I'm going to be playing with it very soon and hopefully I can help more then. Leigh may k...
by Benj
Fri Jan 31, 2020 1:24 pm
Forum: Flowcode V8
Topic: Output Issues with individual Port addressing
Replies: 4
Views: 183

Re: Output Issues with individual Port addressing

Hello, Do you have anything connected to the pins. It seems strange I've not come across this recently. What seems to be happening is this. First you set bit 2 of port c and the portc register gets this value portc = portc | (1<<2) = 0x04 Then when you set bit 1 of port c the reading of the portc re...
by Benj
Fri Jan 31, 2020 1:00 pm
Forum: Bug Reports
Topic: Shift Register 74HC595
Replies: 16
Views: 367

Re: Shift Register 74HC595

Hi Jorgen, I beleive I have now fixed the problems that you and Martin have reported. The one missing is the missing G segment on hardware. Can you test the DP segment and see if the G and DP are reversed on your hardware. If they are then I might have to create some kind of a mapping function to al...
by Benj
Fri Jan 31, 2020 12:09 pm
Forum: Bug Reports
Topic: 7Seg(HC595)
Replies: 1
Views: 105

Re: 7Seg(HC595)

Thanks Martin,

I've now fixed these problems Just looking through Jorgen's thread now to see if I can work through these issues too.
by Benj
Fri Jan 31, 2020 11:28 am
Forum: Flowcode V8
Topic: PID control
Replies: 4
Views: 202

Re: PID control

Another thing I noticed is your I coeffient is greater than 1, ideally this should be less than 1.

The main deal breaker I beleive is the properties of the timer interrupt icon, currently set to no clock :D
by Benj
Fri Jan 31, 2020 11:22 am
Forum: Bug reports
Topic: SSD1322 macro crashes FC7 test
Replies: 12
Views: 385

Re: SSD1322 macro crashes FC7 test

Hello, Please can you try these components, I've re-built them using v7 and can't see anything in them that would cause a crash but maybe this will solve the problem for you? gLCD_SSD1322.fcpx gLCD_SSD1322_buffered.fcpx If not then do both components cause a crash. e.g. if you have only one or the o...