Overunity.com Archives is Temporarily on Read Mode Only!



Free Energy will change the World - Free Energy will stop Climate Change - Free Energy will give us hope
and we will not surrender until free energy will be enabled all over the world, to power planes, cars, ships and trains.
Free energy will help the poor to become independent of needing expensive fuels.
So all in all Free energy will bring far more peace to the world than any other invention has already brought to the world.
Those beautiful words were written by Stefan Hartmann/Owner/Admin at overunity.com
Unfortunately now, Stefan Hartmann is very ill and He needs our help
Stefan wanted that I have all these massive data to get it back online
even being as ill as Stefan is, he transferred all databases and folders
that without his help, this Forum Archives would have never been published here
so, please, as the Webmaster and Creator of these Archives, I am asking that you help him
by making a donation on the Paypal Button above.
You can visit us or register at my main site at:
Overunity Machines Forum



Tommey Reed's Pulse Magnet/Generator project

Started by TommeyLReed, January 22, 2023, 12:26:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TommeyReed


Dog-One

Suggestions...

Make all portions of your code that are time critical to be interrupt driven.

Languages...

I have had good success using CircuitPython, especially on my Teensy 4.0.
Be sure to include the asyncio library so you can process menu commands
and do stats or other housekeeping operations without impacting the main
signal processing.  This gives you a pseudo-RTOS and once you build yourself
a framework that makes sense to you and works, you'll use it as a template
for everything else you do.

Like anything else, there is a bit of a learning curve, but once you get the
hang of it, it's a new tool you have in your toolbox for later use.

For the project itself, I think with the sensors you have and the design you're
striving for, it looks good to me.  Should be able to run the guts out of that
window motor and collect all sorts of data to find an angle where you can
maximize the effect you're after.

TommeyReed


TommeyReed

Hi All,

Ok, got it up and running with the Arduino running on 1 hall effect at this time.

https://www.youtube.com/watch?v=78L9R1eoHU8

Tom

Dog-One

Quote from: TommeyReed on February 12, 2023, 02:13:35 AM
Ok, got it up and running with the Arduino running on 1 hall effect at this time.

Yeap, yeap, yeap, there you go...


Push-pull with a half-bridge?  Yes you can.  Just need a bipolar power source--two batteries.


"If" statements, also known as fuzzy logic.  You can reduce much of this by coordinated
logic.  For example:

Instead of:
   if ((x && y && z) || (a && b)) { digitalWrite(A0, HIGH); }

Change things to:
   digitalWrite(A0, ((x && y && z) || (a && b)));

A novice programmer will have a more difficult time reading the second expression
I fully get that, but the idea is to let the power of logic do the work for you.  Once
you begin to think in logical operations, your code can be transformed directly to
pure hardware if ever need be.  When I first started writing VHDL and later Verilog,
it took me quite a while to change my thinking and one day after many days fussing
with my code, the light came on for me.  I never looked back.  Now I can sit down
and draw up a state machine, map it directly to logic components and have it work
flawlessly.  And the beauty in all this is, with logic you can't drive an Arduino pin
both high and low at the same time--one expression defines exactly what that
pin needs to do.  You can execute that expression as often as you need to and
it will always do the right thing defined by your logic.  Should you get in a situation
where you simply cannot process the logic changes fast enough, grab some actual
logic gate chips and wire them up the same way.  It will run as fast as the chips can
go, usually in the MHz range.