Search found 2067 matches
- Fri Mar 12, 2021 4:40 pm
- Forum: Flowcode V8
- Topic: HT16K33 fault stops program execution
- Replies: 11
- Views: 4713
Re: HT16K33 fault stops program execution
If the HT16K33 controller gets disconnected from the micro for any reason Do you mean the "shield" is removed from the Arduino? If so, it could be that, if the I2C pull-up resistors are on the shield board, then their removal could be causing the issues. If disconnection of the hardware is a known ...
- Fri Mar 12, 2021 11:52 am
- Forum: Flowcode V8
- Topic: HT16K33 fault stops program execution
- Replies: 11
- Views: 4713
Re: HT16K33 fault stops program execution
Seems odd to lockup on I2C, could you post your program?
That would be of help to us.
If it's occasional, it could be hardware/PSU related, in which case, as already suggested, a watchdog is the solution.
Thanks
That would be of help to us.
If it's occasional, it could be hardware/PSU related, in which case, as already suggested, a watchdog is the solution.
Thanks
- Thu Mar 11, 2021 3:42 pm
- Forum: Flowcode V8
- Topic: RPi 4B HDMI Component Touchscreen
- Replies: 8
- Views: 5645
Re: RPi 4B HDMI Component Touchscreen
Hi, Thanks for the spot with this, GetTouchCoordinates was indeed blocking (when no mouse/touch movement) I've now fixed this and an update should be available soon. The 'hover hints' of the functions give information about usage, but not very detailed. As you have found, GetTouchCoordinates should ...
- Thu Mar 11, 2021 10:47 am
- Forum: Flowcode V8
- Topic: RPi 4B HDMI Component Touchscreen
- Replies: 8
- Views: 5645
Re: RPi 4B HDMI Component Touchscreen
Sorry for the delay in answering.
I was hoping to look at this issue later this morning.
I'll be back ...
I was hoping to look at this issue later this morning.
I'll be back ...
- Wed Mar 10, 2021 11:44 am
- Forum: Flowcode V8
- Topic: RPI 4B HDMI Component on Flowcode V8
- Replies: 5
- Views: 2152
Re: RPI 4B HDMI Component on Flowcode V8
You will need to change the Raspberry Pi Configuration to "Boot to CLI"
(not "Boot to Desktop")
This is preferable anyway, because the desktop needs to be disabled to use the Flowcode display component.
(It uses the whole screen via the frame buffer)
(not "Boot to Desktop")
This is preferable anyway, because the desktop needs to be disabled to use the Flowcode display component.
(It uses the whole screen via the frame buffer)
- Wed Mar 10, 2021 11:23 am
- Forum: Flowcode V8
- Topic: RPI 4B HDMI Component on Flowcode V8
- Replies: 5
- Views: 2152
Re: RPI 4B HDMI Component on Flowcode V8
Thanks.
I have now confirmed it is not working on the latest Pi OS,
(was OK on my Raspbian Buster)
looks like the goalposts have moved
I will need to investigate further
I have now confirmed it is not working on the latest Pi OS,
(was OK on my Raspbian Buster)
looks like the goalposts have moved
I will need to investigate further
- Wed Mar 10, 2021 9:34 am
- Forum: Flowcode V8
- Topic: STM32F072
- Replies: 12
- Views: 4804
Re: STM32F072
Hi,
You can use a Flowcode calculation icon
For example to put port C pin 13 high ...
Or this code to read the input state of port C pin 13 into a variable "Button" ...
You can use a Flowcode calculation icon
For example to put port C pin 13 high ...
Code: Select all
$PORTC.13 = 1
Code: Select all
Button = $PORTC.13
- Tue Mar 09, 2021 12:25 pm
- Forum: Flowcode V8
- Topic: RPI 4B HDMI Component on Flowcode V8
- Replies: 5
- Views: 2152
Re: RPI 4B HDMI Component on Flowcode V8
It's working for me (on HDMI0)
What operating system and version are you using? (on the Raspberry Pi)
What operating system and version are you using? (on the Raspberry Pi)
- Tue Mar 09, 2021 9:12 am
- Forum: Flowcode V8
- Topic: STM32F072
- Replies: 12
- Views: 4804
Re: STM32F072
In an attempt to keep things simple, for the Nucleo "Arduino" format compatible boards we limited the IO pins to those on the "Arduino" headers. If you click View->Target Device you will see this and the pins available. If you need more than those pins I will look at creating a device file for the 3...
- Mon Mar 08, 2021 9:18 am
- Forum: Flowcode V8
- Topic: STM32F072
- Replies: 12
- Views: 4804
Re: STM32F072
Best to upgrade to V9 and the ARM pack https://www.flowcode.co.uk/
You can see the contents of component packs here ...
https://www.flowcode.co.uk/buy/process/
And get an upgrade price here ...
https://www.flowcode.co.uk/buy/upgrade/
You can see the contents of component packs here ...
https://www.flowcode.co.uk/buy/process/
And get an upgrade price here ...
https://www.flowcode.co.uk/buy/upgrade/
- Tue Feb 23, 2021 6:26 pm
- Forum: Flowcode V8
- Topic: BL0011 Baud Rate problem
- Replies: 6
- Views: 2983
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?
Also check the RS232 Tx output voltage.
Presumably the Click RS232 is connected to COM1 PC port?
- Mon Feb 15, 2021 9:20 am
- Forum: Feature Requests
- Topic: Raspberry Pi Pico
- Replies: 3
- Views: 11260
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
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
- Fri Feb 12, 2021 6:35 pm
- Forum: General Programming
- Topic: voltage divider values
- Replies: 8
- Views: 6922
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...
- Fri Feb 12, 2021 5:57 pm
- Forum: General Programming
- Topic: voltage divider values
- Replies: 8
- Views: 6922
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...
- Fri Feb 12, 2021 9:11 am
- Forum: General Programming
- Topic: voltage divider values
- Replies: 8
- Views: 6922
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
which as you say will equate to a parallel resistor, of ~20K
So depends what kind of accuracy you require
- Thu Feb 04, 2021 10:38 am
- Forum: Flowcode V8
- Topic: OLED W Click mikroe
- Replies: 3
- Views: 3366
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
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
- 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: 5459
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...
- Thu Jan 14, 2021 3:42 pm
- Forum: MIAC
- Topic: MIAC CAN Interrupt
- Replies: 4
- Views: 10698
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 ...
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 ...
- Thu Jan 14, 2021 11:37 am
- Forum: MIAC
- Topic: MIAC CAN Interrupt
- Replies: 4
- Views: 10698
Re: MIAC CAN Interrupt
Which version of MIAC are you using?
- Thu Jan 07, 2021 12:39 pm
- Forum: MIAC
- Topic: MIAC dsPIC Keypad
- Replies: 2
- Views: 3578
Re: MIAC dsPIC Keypad
Hi,
Sorry for the omission.
It's the same for V3 MIACs, dsPIC etc.
Thanks
Leigh
Sorry for the omission.
It's the same for V3 MIACs, dsPIC etc.
Thanks
Leigh
- Wed Jan 06, 2021 2:58 pm
- Forum: General Programming
- Topic: Communicating between pics
- Replies: 6
- Views: 7518
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...
- Wed Dec 30, 2020 5:26 pm
- Forum: MIAC
- Topic: dsPIC MIAC RS485 Communication
- Replies: 5
- Views: 4648
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
but external extra TVS sounds like a good idea in your application
- Wed Dec 30, 2020 12:07 pm
- Forum: MIAC
- Topic: dsPIC MIAC RS485 Communication
- Replies: 5
- Views: 4648
Re: dsPIC MIAC RS485 Communication
Hi,
No, there is no internal termination resistor.
Or pullup/pulldown
Regards
Leigh
No, there is no internal termination resistor.
Or pullup/pulldown
Regards
Leigh
- Tue Dec 15, 2020 5:11 pm
- Forum: Flowcode V8
- Topic: ESP8266 as target chip
- Replies: 43
- Views: 44184
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...
- Thu Dec 03, 2020 11:03 am
- Forum: Flowcode V8
- Topic: STM32F407ZG I2c ( software only)
- Replies: 2
- Views: 1713
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
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