Search found 2032 matches

by LeighM
Tue Feb 23, 2021 6:26 pm
Forum: Flowcode V8
Topic: BL0011 Baud Rate problem
Replies: 6
Views: 286

Re: BL0011 Baud Rate problem

Do you have a DVM to check the power supply voltage on the Click module?
Also check the RS232 Tx output voltage.
Presumably the Click RS232 is connected to COM1 PC port?
by LeighM
Mon Feb 15, 2021 9:20 am
Forum: Feature Requests
Topic: Raspberry Pi Pico
Replies: 3
Views: 130

Re: Raspberry Pi Pico

Yes, it's going to take some work (new toolchain, CAL etc)
Raspberry Pi modules to date use a Broadcom device and run an operating system (Linux) the Pico does not.
But it's a very interesting device :D
by LeighM
Fri Feb 12, 2021 6:35 pm
Forum: General Programming
Topic: voltage divider values
Replies: 8
Views: 615

Re: voltage divider values

In that case you might as well use high value resistors. Two the same will limit the maximum ADC voltage to 4.5v. The ADC input current draw when sampling will cause the ADC voltage to drop. But in this scenario you could calibrate the ADC readings for your own purposes. That is, determine the ADC v...
by LeighM
Fri Feb 12, 2021 5:57 pm
Forum: General Programming
Topic: voltage divider values
Replies: 8
Views: 615

Re: voltage divider values

Hi Bob, 68k resistors would not provide a low enough source impedance. Do you need to measure the voltage accurately, or is it just a "battery low" indicator? Is this for a "maker" project, or a product designed for quantity production? This will help determine the best way to go with this, as there...
by LeighM
Fri Feb 12, 2021 9:11 am
Forum: General Programming
Topic: voltage divider values
Replies: 8
Views: 615

Re: voltage divider values

The datasheet gives a sampling current of about 250uA
which as you say will equate to a parallel resistor, of ~20K
So depends what kind of accuracy you require
by LeighM
Thu Feb 04, 2021 10:38 am
Forum: Flowcode V8
Topic: OLED W Click mikroe
Replies: 3
Views: 1691

Re: OLED W Click mikroe

Hi,

If you are using...
BL0032 E-blocks2 dsPIC Programmer
BL0101 E-blocks2 Click Adaptor board
Then the port pin mapping is as follows...

Reset - 7
CS - 2
SCL - 5
SDA - 3
DC - 6

For Port D/G this would map as...

Reset - G9
CS - D10
SCL - G7
SDA - D11
DC - G8
by LeighM
Wed Jan 27, 2021 5:24 pm
Forum: Forums d'aide en français
Topic: probleme lors d'utilisation de timer + timer interrupt mega 2560
Replies: 3
Views: 153

Re: probleme lors d'utilisation de timer + timer interrupt mega 2560

The compile error is because you had a Timer component in your project, but did not have any of its functions on your flowchart. L'erreur de compilation est due au fait que vous aviez un composant Timer dans votre projet, mais que vous n'aviez aucune de ses fonctions sur votre diagramme. Timer.png T...
by LeighM
Thu Jan 14, 2021 3:42 pm
Forum: MIAC
Topic: MIAC CAN Interrupt
Replies: 4
Views: 902

Re: MIAC CAN Interrupt

There are no spare inputs.
But you could link across to either (UART0 RX) Port E1, or (UART1 RX) Port E3
Assuming you don't require both UARTs
These are available if you remove the UART selection header link ...

MCP2515.jpg
MCP2515.jpg (73.54 KiB) Viewed 875 times
by LeighM
Thu Jan 14, 2021 11:37 am
Forum: MIAC
Topic: MIAC CAN Interrupt
Replies: 4
Views: 902

Re: MIAC CAN Interrupt

Which version of MIAC are you using?
by LeighM
Thu Jan 07, 2021 12:39 pm
Forum: MIAC
Topic: MIAC dsPIC Keypad
Replies: 2
Views: 218

Re: MIAC dsPIC Keypad

Hi,
Sorry for the omission.
It's the same for V3 MIACs, dsPIC etc.
Thanks
Leigh
by LeighM
Wed Jan 06, 2021 2:58 pm
Forum: General Programming
Topic: Communicating between pics
Replies: 6
Views: 846

Re: Communicating between pics

Similar to Ben and Steve, a two wire RS485 or single wire-or'd (open collector driver) if data rates are slow. As a very simple protocol .. If you connect to an 8 bit UART you have 256 codes or addresses for the slaves If you reserve 2 codes for on/off you could then use the master to poll each slav...
by LeighM
Wed Dec 30, 2020 5:26 pm
Forum: MIAC
Topic: dsPIC MIAC RS485 Communication
Replies: 5
Views: 372

Re: dsPIC MIAC RS485 Communication

The transceiver is a SN65HVD10DR which has built in ESD Protection,
but external extra TVS sounds like a good idea in your application :D
by LeighM
Wed Dec 30, 2020 12:07 pm
Forum: MIAC
Topic: dsPIC MIAC RS485 Communication
Replies: 5
Views: 372

Re: dsPIC MIAC RS485 Communication

Hi,
No, there is no internal termination resistor.
Or pullup/pulldown
Regards
Leigh
by LeighM
Tue Dec 15, 2020 5:11 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 4111

Re: ESP8266 as target chip

Hi Stefan, I've now fixed the SSID reading, I will ask Ben to push this out on the update system. Please note that we currently limit the maximum SSID count to 8 (to conserve memory), but we can change this in the CAL if it becomes necessary. Also the SSID information is an array so starts at 0, not...
by LeighM
Thu Dec 03, 2020 11:03 am
Forum: Flowcode V8
Topic: STM32F407ZG I2c ( software only)
Replies: 2
Views: 240

Re: STM32F407ZG I2c ( software only)

Please try the attached update file, and restart Flowcode, to go into ...
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM

Please note that STM hardware I2C will only work in "transaction" mode
Please use the I2C CAL component Transaction..() API
by LeighM
Thu Dec 03, 2020 10:40 am
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 4111

Re: ESP8266 as target chip

gLCD_SSD1306_i2c
I2C Channel 1
SDA PORTA.5
SCL PORTA.15
by LeighM
Tue Dec 01, 2020 12:58 pm
Forum: Flowcode V8
Topic: STM32F407ZG Uart ( Software Mode)
Replies: 6
Views: 434

Re: STM32F407ZG Uart ( Software Mode)

Could you please try the attached updated file,
to go into directory ...
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\STARM
Thanks
by LeighM
Tue Dec 01, 2020 9:16 am
Forum: Flowcode V8
Topic: STM32F407ZG Uart ( Software Mode)
Replies: 6
Views: 434

Re: STM32F407ZG Uart ( Software Mode)

Could you post your project fcfx file?
by LeighM
Mon Nov 30, 2020 2:33 pm
Forum: Bug Reports
Topic: Bug: round function causes compile error.
Replies: 17
Views: 1804

Re: Bug: round function causes compile error.

Thanks for the spot.
Please try the attached, to go into ...
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC32BIT
by LeighM
Mon Nov 30, 2020 1:12 pm
Forum: Bug Reports
Topic: Bug: round function causes compile error.
Replies: 17
Views: 1804

Re: Bug: round function causes compile error.

Looks like the updated PIC CAL file is now in the update system OK.
Can you check you are up to date?
If you still have an error could you please post a sample program demonstrating the issue that you have?
Thanks
by LeighM
Mon Nov 30, 2020 10:09 am
Forum: Flowcode V8
Topic: error code when programming
Replies: 6
Views: 471

Re: error code when programming

I think the issue is that you will need to use the Software I2C mode with this Gyro component.
by LeighM
Thu Nov 26, 2020 10:07 am
Forum: Flowcode V8
Topic: error code when programming
Replies: 6
Views: 471

Re: error code when programming

Might be worth starting with reading the temperature instead, that should give a more stable output.
Also, there is a "console debugger" component for Raspberry Pi, where you can print out values to a console display.
Just search for debug components to find it.
by LeighM
Tue Nov 24, 2020 10:23 am
Forum: Bug Reports
Topic: STM 32Nucleo
Replies: 23
Views: 1088

Re: STM 32Nucleo

Hi Jorgen,
Thanks for your update.

Could you please try just printing something simple on the display, such as "1234567".
then take a photo in orientation 0 and 1
(I don't have one of these displays)

Hopefully we will get the FCDX changes to the auto-update system soon.

Thanks
Leigh
by LeighM
Mon Nov 23, 2020 12:00 pm
Forum: Bug Reports
Topic: STM 32Nucleo
Replies: 23
Views: 1088

Re: STM 32Nucleo

Hi Jorgen,

If a previous version of the gLCD component worked OK for you,
could you try rolling back to that version via the update system?
let us know how that goes and it will help us to track down the issue ...

rollback.jpg
rollback.jpg (61.13 KiB) Viewed 1031 times
by LeighM
Fri Nov 20, 2020 2:58 pm
Forum: Bug Reports
Topic: STM 32Nucleo
Replies: 23
Views: 1088

Re: STM 32Nucleo

Problems with the ILI9341 gLCD?
Can you give more details? Perhaps a photo?
Can you check your SPI settings?