Search found 16 matches

by rstechnics
Thu Jul 16, 2020 11:34 am
Forum: User Components
Topic: PowerStep01 component - Stepper motor driver
Replies: 2
Views: 3240

Re: PowerStep01 component - Stepper motor driver

Hello Ben, many thanks for this Powerstep example! Still had problems sending the right SPI protocol so we had the first system build with a simple digital pulse controlled for now. With this example can try to change it to the better PowerStep01 driver, indeed needed a working basic example wich i ...
by rstechnics
Fri Jul 03, 2020 1:23 pm
Forum: Flowcode V8
Topic: SPI send data
Replies: 1
Views: 1175

SPI send data

Hi, after struggling some days with sending bytes from Arduino/ATMEGA328P to a L6470PD steppingmotor driver chip, using the SPI-master component, please your tips how to sort out this function. An Arduino.INO example for this L6470 chip does work on the same hardware configuration, so this is good. ...
by rstechnics
Fri Jul 03, 2020 12:10 pm
Forum: Flowcode V8
Topic: set SPI-master DataMode and BitOrder
Replies: 2
Views: 1329

Re: set SPI-master DataMode and BitOrder

Many thanks LeighM,
with this knowledge now i can cross these settings to the corresponding SPI Modes!
spi-mode.png
spi-mode.png (37.89 KiB) Viewed 1313 times
by rstechnics
Fri Jul 03, 2020 7:29 am
Forum: Flowcode V8
Topic: set SPI-master DataMode and BitOrder
Replies: 2
Views: 1329

set SPI-master DataMode and BitOrder

Hi, using the SPI master function for programming an Arduino / ATMEGA328P, we would like to setup the SPI mode and Bitorder. In the SPI Master component found no settings for this, and copying the C-code from a arduino.INO file does not work because of missing SPI.library.... Like to set these 2 par...
by rstechnics
Wed Jul 01, 2020 12:55 pm
Forum: User Components
Topic: PowerStep01 component - Stepper motor driver
Replies: 2
Views: 3240

PowerStep01 component - Stepper motor driver

Hello, searching for a Component or Flowcode example for controlling a PowerStep01 driver chip (ST) as single chip or on a X-nucleo-ihm03a1 prototyping module. See https://www.st.com/en/motor-drivers/powerstep01.html My hardware setup runs in a factory demo application, but now try to control it tro...
by rstechnics
Tue Jun 16, 2020 7:34 am
Forum: Flowcode V8
Topic: Undeclared Errors when using Stepper motor component
Replies: 3
Views: 1634

Re: Undeclared Errors when using Stepper motor component

--SOLVED-- Oops, just found out the cause for this errors.. At placement the Stepper motor components it is standard initialised at PortA0-A3. The Arduino chip has only PortB-PortD. Configuring the coil output properties to Port C0-C3 did the trick, now works fine without errors. Anyway Medelec35, t...
by rstechnics
Tue Jun 16, 2020 7:20 am
Forum: Flowcode V8
Topic: Undeclared Errors when using Stepper motor component
Replies: 3
Views: 1634

Re: Undeclared Errors when using Stepper motor component

Test_v0101.fcfx
For testing it now is just a basic Steppermotor setup rotating one direction in endless loop.
(8.64 KiB) Downloaded 174 times
by rstechnics
Mon Jun 15, 2020 3:34 pm
Forum: Flowcode V8
Topic: Undeclared Errors when using Stepper motor component
Replies: 3
Views: 1634

Undeclared Errors when using Stepper motor component

Hi, trying to get a Stepper motor working in FC8 with Arduino Uno R3 SMD. Tried with both OUTPUTS/GENERIC and NEMA8 components in a new file. At compiling only getting ERROR CODE 1 after a series of Undeclared.... lines, see below. Updated version of FC8.2 and the Stepmotor components seem to have n...
by rstechnics
Fri Sep 20, 2019 6:55 am
Forum: Flowcode V8
Topic: Arduino read ADC6+ADC7 in FC8
Replies: 1
Views: 1632

Arduino read ADC6+ADC7 in FC8

Hi, using FC8 and Arduino Uno SMD rev3 i would like to readout ADC6 (pin 19) and ADC7 (pin 22). These pins are available directily on the TQFP-CPU, but they are normally not connected to the headers on the Arduino Uno board. After transferring this CPU circuit to our own PCB board design they are av...
by rstechnics
Tue Oct 14, 2014 3:13 pm
Forum: Flowcode V6
Topic: How to change PIC18F4523 wich is recognized as PI18F4520
Replies: 7
Views: 6062

Re: How to change PIC18F4523 wich is recognized as PI18F4520

Thanks for the quick reply Ben!
While waiting for a corrected Mloader version we will use the PPP workaround.
regards
Luuk
by rstechnics
Tue Oct 14, 2014 2:25 pm
Forum: Flowcode V6
Topic: How to change PIC18F4523 wich is recognized as PI18F4520
Replies: 7
Views: 6062

How to change PIC18F4523 wich is recognized as PI18F4520

Hello, after upgrading from Flowcode PIC v4.5 to the new V6.1 we would like to start using PIC18F4523. However, at programming the PIC18F4523 at the EB006 programmerboard, via PROGRAM TO CHIP command, the Mloader Error message appears: Onboard chip does not match the given chip. Version 3.01 Board T...
by rstechnics
Thu Feb 04, 2010 7:17 am
Forum: General Programming
Topic: defining un-connected pins
Replies: 2
Views: 2840

Re: defining un-connected pins

Thanks Ben, will leave unused pins floating then!
regards, Luuk
by rstechnics
Tue Feb 02, 2010 9:12 am
Forum: General Programming
Topic: defining un-connected pins
Replies: 2
Views: 2840

defining un-connected pins

Hi, in most digital designs the un-connected input pins of any chip have to be connected to the GND or VCC level, as floating pins can pickup noise etc, causing instable circuits. In wich way this is neccessairy for the Microchip PIC-controllers? Now using Flowcode4 at a PIC16F883, wich has about 12...
by rstechnics
Tue Jul 22, 2008 10:35 am
Forum: Components (Other)
Topic: LED 7segment blanking and negative numbers possible?
Replies: 5
Views: 12311

LED 7segment blanking and negative numbers possible?

Hello, for a new project i need to display an actual temperature value on the 4x 7Segment display E-block. For normal positive values this is working fine: the integer-variable Actual_TEMP is separated in 4 digits (by the MOD/100 etc. lines) and then via an TRM0_INT send and multiplexed to the LED-d...
by rstechnics
Mon Oct 29, 2007 1:57 pm
Forum: Flowcode V2 & V3
Topic: fill and use multiple variables by using a counter
Replies: 2
Views: 2915

Thanks for the quick reply Steve!
i understand, this must be useable.
Bye Luuk
by rstechnics
Mon Oct 29, 2007 12:35 pm
Forum: Flowcode V2 & V3
Topic: fill and use multiple variables by using a counter
Replies: 2
Views: 2915

fill and use multiple variables by using a counter

Hi, as new user of Flowcode with little C/Pascal experience i really think this is a great way of programming, in just one morning have created a full functioning switching thermometer with LCD display. Would have not done that in any way on the good old MPLAB environment ;-) But, still some questio...