Search found 15 matches

Return

by medelec35
Sun Jan 02, 2011 9:07 pm
Jump to forum
Jump to topic

Re: Latching switches?

Hiya TomasS The Very simplest way to toggle bits of a port in flowcode is like this: Bit Toggle.jpg Or you can control individual bits of a byte by: Bit_Toggle = (Bit_Toggle XOR 0b11111111) AND 1 in a calculation box. The value of 1 on the right is the bit of the byte you want to toggle. E.g to togg...
by Benj
Wed Jan 26, 2011 1:19 pm
Jump to forum
Jump to topic

Re: Simple servo program

Ah great well that makes things easier. You should be able to look at the servo component help file for an explaination of the different macros and their function. A simplified version of the program might look like this. while 1 { Read Switches into a variable If variable = 0 yes: move to position ...
by JohnCrow
Thu Apr 26, 2012 9:47 pm
Jump to forum
Jump to topic

Re: LCD question

Hi
Ok, hope you can get it sorted now.
by Benj
Thu May 03, 2012 10:05 am
Jump to forum
Jump to topic

Re: Servo problems

Hello Tomas, Have you confirmed that the device is running at the speed you are expecting by performing a one second flasher test? I think AVR's come factory programmed with a divide by 8 prescaler on the clock so you have to change the config to get them to work at the correct speed. Maybe also try...
by Benj
Fri May 11, 2012 4:45 pm
Jump to forum
Jump to topic

Re: Distance measurement using HC-SR04

Give it a go and post up your Flowcode program if you get stuck and we should be able to help you get this device up and running.
by Benj
Fri May 11, 2012 4:17 pm
Jump to forum
Jump to topic

Re: Distance measurement using HC-SR04

Hi Tomas, That looks like a great little module. May have to get one myself and have a play :) Not done anything with these but looking at the sample PICaxe code it looks quite straightforward. Here is some simple psudocode I came across for driving the device. symbol trig = 3 ‘ Define output pin fo...
by JohnCrow
Sat May 12, 2012 11:06 am
Jump to forum
Jump to topic

Re: Distance measurement using HC-SR04

Ive played with the SRF05 (which is the same pin out as the SRF04) ranger using the projects in Bert van Dams Flowcode book which work well. These were done in FC3 but certainly worked fine in FC4 (Not tried them in FC5 but should work). Im currently trying an SRF10 which is a lot smaller than the S...
by medelec35
Sat May 12, 2012 9:46 am
Jump to forum
Jump to topic

Re: Distance measurement using HC-SR04

The module has now been bought - $3.41 including shipping Wow that sounds like a bargain! hope it's all going to work for you. With all the experts on here, (and me of course :P ) I'm sure we would be able to get a working project for you. I have already started working on ultrasonic range finder. ...
by Benj
Mon Oct 01, 2012 10:37 am
Jump to forum
Jump to topic

Re: Inverting text on LCD

Hello Tomas, There doesn't seem to be a setting on the display you can use to control how the text is displayed but there is an option for custom characters. I think you only get so many customisable characters on the display so you may have to define the character and then diaplsy it and then draw ...
by dazz
Tue Nov 20, 2012 7:29 pm
Jump to forum
Jump to topic

Re: Problems using ATmega324

A quick and very dirty fix is this in your flowcode folder in tools go to the AVRDUDEusb folder create another folder called BACK and in to this place your original avrdude.conf file then unzip the attached file into the AVRDUDEusb folder, and try again let me know how you get on if it works theres ...
by Benj
Tue Jun 17, 2014 4:35 pm
Jump to forum
Jump to topic

Re: Charlieplexing

Hello,

I have added a new Charlieplexed LED component into Flowcode v6 which should hopefully be available in the upcoming release (6.0.8).
by Benj
Tue Jun 17, 2014 5:21 pm
Jump to forum
Jump to topic

Re: Charlieplexing

Hello, The component I created has two macros: AllOff - Switches all the LEDs off by converting all associated I/O to inputs. LEDOn - Switches a specific LED on by using a switch statement depending on the number of pins available and the LED you wish to light. Multiple LEDs can appear on at once by...
by kersing
Wed Aug 19, 2015 5:45 pm
Jump to forum
Jump to topic

Re: Changing size of LCD

There are additional LCD components available. As listing all available components would clutter the user interface only a subset of the components is visible by default. You can use the 'Search' option in components toolbox to open the component search window. Use 'LCD' for the search filter to get...
by Benj
Tue Mar 22, 2016 7:03 pm
Jump to forum
Jump to topic

Re: Plotter/CNC machine

Hello, Yes I have built CNC machines and 3D printers, they are both essentially the same thing with a different tool on. Here is a 3D printer component that can be simulated in Flowcode. http://www.matrixtsl.com/wiki/index.php?title=Component:_ID_62b6ca37_eb0a_4b5f_b2e1_9a732c4e05ce There is a G Cod...
by Steve001
Wed Mar 23, 2016 10:55 am
Jump to forum
Jump to topic

Re: Plotter/CNC machine

Hello i started to make a 3 axies CNC Machine several years ago for making my own pcb prototypes bellow are a few links you may find useful https://cnc4you.co.uk/ http://www.probotix.com/CNC-CONTROL-SYSTEMS/BREAKOUT-BOARDS/PBX-2-CNC-Parallel-Port-Breakout-Board http://linuxcnc.org/ https://buildyour...