EPG Testing sequential pulsar using the Arduino

KevinW_EnhancedLiving

RE: EPG Testing sequential pulsar using the Arduino
« Reply #151, on August 7th, 2011, 11:09 PM »
Big Up's to txqNL on your new arduino interface. I had a peek on Russ' live feed and it looks totally sick. Cant wait to try it sometime !! I am working on learning the code... but it is extremely time consuming...

My Russ G Replica box :)

firepinto

RE: EPG Testing sequential pulsar using the Arduino
« Reply #152, on August 8th, 2011, 06:20 AM »
Quote from dirtwill on August 7th, 2011, 11:09 PM
Big Up's to txqNL on your new arduino interface. I had a peek on Russ' live feed and it looks totally sick. Cant wait to try it sometime !! I am working on learning the code... but it is extremely time consuming...

My Russ G Replica box :)
Sweet!  I love using mine. :cool:  It makes experimenting just that much easier.  

I can't wait for the GUI either.  I've been putting off learning the code.:s

Nate

~Russ

RE: EPG Testing sequential pulsar using the Arduino
« Reply #153, on August 8th, 2011, 09:54 AM »
Quote from dirtwill on August 7th, 2011, 11:09 PM
Big Up's to txqNL on your new arduino interface. I had a peek on Russ' live feed and it looks totally sick. Cant wait to try it sometime !! I am working on learning the code... but it is extremely time consuming...

My Russ G Replica box :)
That looks really good. I also have now way or time to learn the code! Good luck!

Haha

It's deep! Amazing Job to All!

I'm out!

~Russ

rawbush

RE: EPG Testing sequential pulsar using the Arduino
« Reply #154, on August 9th, 2011, 06:14 PM »Last edited on August 9th, 2011, 07:05 PM by rawbush
Link to the newest sketch? I should have driver coils ready tonight and want to use the pulse fire to run the motor. I am sure I will have some questions, but first I need the sketch.
Peace
rawbush

is latest version .8 ?

~Russ

RE: EPG Testing sequential pulsar using the Arduino
« Reply #155, on August 10th, 2011, 07:19 AM »
Quote from rawbush on August 9th, 2011, 06:14 PM
Link to the newest sketch? I should have driver coils ready tonight and want to use the pulse fire to run the motor. I am sure I will have some questions, but first I need the sketch.
Peace
rawbush

is latest version .8 ?
.9

Se this post on the last page...

07-25-2011, 09:39 AM (This post was last modified: 07-25-2011 01:18 PM by txqNL.) Post: #137 |

Thanks! And happy pulsing!

~Russ


txqNL

RE: EPG Testing sequential pulsar using the Arduino
« Reply #157, on August 10th, 2011, 03:51 PM »Last edited on August 10th, 2011, 04:22 PM by txqNL
Quote from dirtwill on August 7th, 2011, 11:09 PM
Big Up's to txqNL on your new arduino interface. I had a peek on Russ' live feed and it looks totally sick. Cant wait to try it sometime !! I am working on learning the code... but it is extremely time consuming...

My Russ G Replica box :)
Hi Dirtwill, nice to see a mega build there, with some spare room for some more pots.
The first beta release will be there in couple of days had a long way to package software correctly and split it up so serial is plugin so ethernet can be implemented later.
Current (java/gui) build gives output like this;
[INFO] Reactor Summary:
[INFO]
[INFO] pulsefire-root .................................... SUCCESS [4.122s]
[INFO] pulsefire-java .................................... SUCCESS [1.678s]
[INFO] pulsefire-wire .................................... SUCCESS [1:02.953s]
[INFO] pulsefire-device .................................. SUCCESS [5.921s]
[INFO] pulsefire-rxtx .................................... SUCCESS [0.632s]
[INFO] pulsefire-rxtx-lib ................................ SUCCESS [0.815s]
[INFO] pulsefire-wire-serial ............................. SUCCESS [10.770s]
[INFO] pulsefire-device-ui ............................... SUCCESS [21.869s]
[INFO] pulsefire-rxtx-linux-armv71 ....................... SUCCESS [0.264s]
[INFO] pulsefire-rxtx-linux-ppc32 ........................ SUCCESS [0.229s]
[INFO] pulsefire-rxtx-linux-ppc64 ........................ SUCCESS [0.352s]
[INFO] pulsefire-rxtx-linux-x86 .......................... SUCCESS [0.526s]
[INFO] pulsefire-rxtx-linux-x86_64 ....................... SUCCESS [0.472s]
[INFO] pulsefire-rxtx-mac-10.5 ........................... SUCCESS [0.536s]
[INFO] pulsefire-rxtx-openindiana-x86_64 ................. SUCCESS [0.449s]
[INFO] pulsefire-rxtx-windows-x86 ........................ SUCCESS [0.565s]
[INFO] pulsefire-rxtx-windows-x86_64 ..................... SUCCESS [0.596s]
[INFO] pulsefire-rxtx-all-native ......................... SUCCESS [0.152s]
[INFO] pulsefire-build ................................... SUCCESS [0.017s]
[INFO] pulsefire-build-ui-webstart ....................... SUCCESS [23.409s]
[INFO] pulsefire-build-ui-launch4j ....................... SUCCESS [8.381s]
[INFO] pulsefire-build-ui-dist ........................... SUCCESS [4.121s]
[INFO] pulsefire-build-project-src ....................... SUCCESS [4.252s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:33.938s
[INFO] Finished at: Thu Aug 11 00:45:34 CEST 2011
[INFO] Final Memory: 78M/566M
[INFO] ------------------------------------------------------------------------





Quote from CaptainBay77 on July 28th, 2011, 10:59 AM
Info for all
Enjoy CaptBay
Thanks for the links, checked some of then out and some with (almost) the right pin mapping can work on pulsefire like this one;
http://www.robotshop.com/arduino-compatible-mega-motor-shield-1a-5-28v.html
(but needs one wire extra to get output on 0)

But best is a real custum board without Arduino board so no power problems will make vid about that after opto-ing an usb serial module to test it first.

After code is stable on Arduino/avr-cpu I need to port it to bigger and faster platform like this arm 72Mhz;
http://www.watterott.com/en/LPC1343-QuickStart-Board
or this 400Mhz;
http://www.watterott.com/en/FriendlyARM-Micro2440-64MB
Which both work on 3.3v and require different board :(

txqNL

RE: EPG Testing sequential pulsar using the Arduino
« Reply #158, on August 10th, 2011, 05:22 PM »Last edited on August 10th, 2011, 05:34 PM by txqNL
Quote from rawbush on August 9th, 2011, 06:14 PM
Link to the newest sketch? I should have driver coils ready tonight and want to use the pulse fire to run the motor.
What kind of motor is it ? do you want to rotate only or is it a generator ?
In all cases having a good high rotation clock seems the way to go, like 16-360 times the rpm and use it as external input clock.

I think then use ppm or ppma mode to have special pulse trains per output.
When using as motor & generator split motor in phases and use multiple outputs per phase.
For example on 9 coil config wire into 3 phase and use 2 or 3 outputs per phase to pulse(mosfet or h-bridge) and short on peak in generator mode.
Then use 2 doc ports with 2 mosfets with 2 quad duel contact relays and wire up a 4 caps or batteries to have automatic bank switching of output stage.

In the current lastest version I did already find 3 bugs;
- stv going from max to warn sets mode on normal and not to warning mode.
- pwm_loop 0 does not work, pwm_loop 1 will but /2 the output freq i think
- pwm_on|off_cnt of last step looks like it uses next velue.

Ofwhich the two lastest maybe important when using direct feedback controlled output based on external clock input.
After beta gui is done I go back to arduino code to fix and rewrite serial code current code misses to much cmds from gui.

Also when code is converted to C then will try to switch to precalculated data output so max output will be X times higher.
For example if current code uses 1000 instructions to do all thinks of one step in pulse train.
Then real max output is 16Mhz/1000=16Khz but there is a watchdog so we need some instruction left to run other code so maybe need half of it so max is ~8Khz for 0.5 of outputs step, so 1=4Khz, 2=2Khz, 4=1Khz.

So when pulse 3 h-bridges per leg so phase differential can be changed and using 1 output for shorting per phase that needs 15 output for 3 phase motor/generator which is currently only doable on low speeds.
I think current step is using about 500-600 instructions in precalulated output hope to bring it down to 25-150 instructions.

Go go really fast you have to wait on the port to arm chips, but even on the fastest platform 1Ghz with only 25 inst. it is not meeting my requirements yet.




Quote from wilgluck on August 10th, 2011, 07:21 AM
I am in search of an open source software for open source manufacturing, I have heard that these days ERP is very much famous for getting the better outcomes in open source. Is it true?
Please do not read my mind :)
And all ERP packages only work good when you align your own processes to the once defined in the ERP software flow.
If your not willing to change then you need some dynamic options which are in some packages or custom written modules.


txqNL

RE: EPG Testing sequential pulsar using the Arduino
« Reply #160, on August 15th, 2011, 04:53 PM »
[attachment=180]
(Windows 32 and 64 bit)
[attachment=181]
(Linux 32/64,macosx,windows32/64)

This is the first GUI release which only connects to PulseFire version 0.9.
I only tested on, so hope others are also working;
-Linux 64 bit (Debian amd64)
-Windows 32 bit (Vista)

Cheers,
Willem

firepinto

RE: EPG Testing sequential pulsar using the Arduino
« Reply #161, on August 15th, 2011, 06:03 PM »
Quote from txqNL on August 15th, 2011, 04:53 PM
(Windows 32 and 64 bit)

(Linux 32/64,macosx,windows32/64)

This is the first GUI release which only connects to PulseFire version 0.9.
I only tested on, so hope others are also working;
-Linux 64 bit (Debian amd64)
-Windows 32 bit (Vista)

Cheers,
Willem
Looks awesome Willem:cool:  I can't wait to get back home to my arduino so I can try it!  I need to make a compact travel version for the road. lol  

Great work!

Nate


txqNL

RE: EPG Testing sequential pulsar using the Arduino
« Reply #163, on August 16th, 2011, 02:57 PM »
[attachment=183]
PulseFire Arduino code 0.9-fix

Fixed the bugs I saw;
- Fixed pulse_trig_delay to last step instead of step zero.
- Fixed last step offset of pwm_* values of last step in train/ppmi mode.
- Fixed STV set correct warn mode if input goes from error to warning.
- Fixed indexA/indexB max checking when set/get variable falls back to idx=zero.
- Fixed output of set all index values at once, cmd worked but printed only one.
- Fixed info_ppm output to print per bank was per output.   

Where the first two are important if pulsing rotating magnet systems :)

txqNL

RE: EPG Testing sequential pulsar using the Arduino
« Reply #164, on August 27th, 2011, 11:13 AM »
Does it work correct for everybody ? No bugs, features or other questions ?

Found one bug in the external triggering which restart the pulse train when next trigger comes I would like to skip until full pulse is finished, but both options are valid so have to make it a feature/option.

firepinto

RE: EPG Testing sequential pulsar using the Arduino
« Reply #165, on August 27th, 2011, 02:02 PM »
Quote from txqNL on August 27th, 2011, 11:13 AM
Does it work correct for everybody ? No bugs, features or other questions ?

Found one bug in the external triggering which restart the pulse train when next trigger comes I would like to skip until full pulse is finished, but both options are valid so have to make it a feature/option.
I haven't spent a lot of time on my PulseFire box lately, but I did notice what your describing in earlier versions.  Is it possible to ignore a certain number of external triggers?  Like if I was to use a hall sensor on my rodin coils with a neo ball.  Since I have 4 coils being fired by 4 steps in the train, the neo would actually trigger the hall sensor 2 times per full pulse train.  So a setting like, trigger pulse train on every 3rd external input?

Nate


KevinW_EnhancedLiving

RE: EPG Testing sequential pulsar using the Arduino
« Reply #166, on August 28th, 2011, 08:14 PM »
Quote from txqNL on August 27th, 2011, 11:13 AM
Does it work correct for everybody ? No bugs, features or other questions ?

Found one bug in the external triggering which restart the pulse train when next trigger comes I would like to skip until full pulse is finished, but both options are valid so have to make it a feature/option.
I will Try to test this week :)


~Russ

RE: EPG Testing sequential pulsar using the Arduino
« Reply #168, on August 29th, 2011, 07:13 AM »
Quote from txqNL on August 27th, 2011, 11:13 AM
Does it work correct for everybody ? No bugs, features or other questions ?

Found one bug in the external triggering which restart the pulse train when next trigger comes I would like to skip until full pulse is finished, but both options are valid so have to make it a feature/option.
can we change the colors? im still having a ard time seeing some of it... its not easy of the eyes if in the light... looks sweet in dark!

get out of the cave man!!!! lol just kidding!

doing some testing soon

~Russ

txqNL

RE: EPG Testing sequential pulsar using the Arduino
« Reply #169, on August 29th, 2011, 07:14 PM »
[attachment=220]
(Windows 32 and 64 bit)

[attachment=219]
(Linux 32/64,macosx,windows32/64)

The B&W version 'fixed' the colors :P
Will check into the trigger code this week asp have the same problem with single hall sensor feedback.

Some small fixes in gui;
- Made application settings work
- Created simple data log outputs for measurements and moved to settings tab.
- Added setting for color schema currently 3 supported.
- Fixed console layout and enabled input field.
- Fixed automatic graph display over info after connect.
- Note: all settings work but only after application restart !

~Russ

RE: EPG Testing sequential pulsar using the Arduino
« Reply #170, on August 30th, 2011, 04:54 AM »
Quote from txqNL on August 29th, 2011, 07:14 PM
(Windows 32 and 64 bit)


(Linux 32/64,macosx,windows32/64)

The B&W version 'fixed' the colors :P
Will check into the trigger code this week asp have the same problem with single hall sensor feedback.

Some small fixes in gui;
- Made application settings work
- Created simple data log outputs for measurements and moved to settings tab.
- Added setting for color schema currently 3 supported.
- Fixed console layout and enabled input field.
- Fixed automatic graph display over info after connect.
- Note: all settings work but only after application restart !
ah.....

lovin the color change :)

to make it work i got to check the color. then close out and open it back up and then it works. is that right?

thanks!!!!!!!!

more testing on the way.

~Russ

Casper

RE: EPG Testing sequential pulsar using the Arduino
« Reply #171, on August 30th, 2011, 12:38 PM »
Quote from txqNL on August 29th, 2011, 07:14 PM
(Windows 32 and 64 bit)


(Linux 32/64,macosx,windows32/64)

The B&W version 'fixed' the colors :P
Will check into the trigger code this week asp have the same problem with single hall sensor feedback.

Some small fixes in gui;
- Made application settings work
- Created simple data log outputs for measurements and moved to settings tab.
- Added setting for color schema currently 3 supported.
- Fixed console layout and enabled input field.
- Fixed automatic graph display over info after connect.
- Note: all settings work but only after application restart !
This is really nice! I was going to try to get a friend of mine to help me making the code for a program with some of the functionality you have made, this is just amazing!!

What do you think about making a separate thread for the pulsebox software? that way new releases will be gathered in a nice structured list.

Casper

RE: EPG Testing sequential pulsar using the Arduino
« Reply #172, on August 30th, 2011, 03:34 PM »
Quote from txqNL on August 29th, 2011, 07:14 PM
(Windows 32 and 64 bit)


(Linux 32/64,macosx,windows32/64)

The B&W version 'fixed' the colors :P
Will check into the trigger code this week asp have the same problem with single hall sensor feedback.

Some small fixes in gui;
- Made application settings work
- Created simple data log outputs for measurements and moved to settings tab.
- Added setting for color schema currently 3 supported.
- Fixed console layout and enabled input field.
- Fixed automatic graph display over info after connect.
- Note: all settings work but only after application restart !
Hey, bear with me please... How can i get this code into my arduino mega?

Casper

txqNL

RE: EPG Testing sequential pulsar using the Arduino
« Reply #173, on August 30th, 2011, 03:59 PM »Last edited on August 30th, 2011, 04:07 PM by txqNL
Quote from Casper on August 30th, 2011, 03:34 PM
Hey, bear with me please... How can i get this code into my arduino mega?

Casper
The current setup is a few steps something like these;
- Get Arduino IDE working. (http://arduino.cc/en/Guide/Windows)
- Create "PulseFire" sketch. (with the capitals)
- Close Arduino ide
- Download PulseFire 0.9-fix from forum
- Unpack PulseFire and move/copy all the *.pde/*.h files into the directory
  where the PulseFire sketch is. (I think "My Documents\sketechbook\PulseFire")
- Start Arduino IDE, select sketch and compile/flash into Arduino.
- Possible tweak IO settings in "vars_define.h" and flash again.
- Download PulseFire-UI from forum
- Unpack PulseFire-UI and run pulsefire.exe or run.bat

The 0.9-fix download is in this post; http://open-source-energy.org/?tid=56&pid=910#pid910

Quote from Casper on August 30th, 2011, 12:38 PM
What do you think about making a separate thread for the pulsebox software? that way new releases will be gathered in a nice structured list.
Yeap is almost time for that :) I wanted to do that when arrived at 1.0 or when release plugin is configed so it will be automaticly uploaded to distributed release servers on http://download.savannah.gnu.org/releases/pulsefire/
Quote from Rwg42985 on August 30th, 2011, 04:54 AM
to make it work i got to check the color. then close out and open it back up and then it works. is that right?
Yes, for realtime changes need to add some event listeners to the settings to support that.