discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

loooooooong f6, like 10+ minutes but works finally

GH
Gene Heskett
Tue, Jul 6, 2021 3:43 PM

On Tuesday 06 July 2021 06:56:28 dpa wrote:

Don't try this at home.

Oh dear!

Oven with convection would actually be good if you can just keep the
temperature accurate....
I constructed an Arduino with a light sensor, temperature sensor and
step motor (+ knob+display+buzzer) and can control the oven to +-0.5
degree https://youtu.be/jbKlLoTx0es. My problem is: Arduino freezes
after a while.... so I am at the same, dumb situation as before (and
fear the same result as your foto).

That sounds as if the arduino stack pointer went aglay. In one of the
OS's from 35 some years ago, that tried to do a unix on a 8/16 bit cpu
called a 6809 by Motorola back in the day, I wrote, while making liberal
use of an extension to the OS9 OS this cpu could run, called F$regsdmp,
which could spit out on screen, a complete image of the current contents
of every register in the cpu, you could even push the CC, do this dump
which destroyed the CC, return and pop the pushed CC and then "if" some
condition of the CC with the expected results.

So I wrote a ramdisk that could use any memory available while running
the C compiler as you could take advantage of its memory paging ability
and could install up to 2 whole megabytes of ram in that 64k machine.

If the arduino's os has a similar call, you could use it to determine if
the stack pointer is stable, or being slowly eaten away by poor coding.
I proved my ramdisk was stable by using it in a loop, enabling it which
reformatted it, then used it to compile rzsz-3.36. Then the script
deleted the output, disabled the ramdisk recovering every byte. Wash,
rinse and repeat 100 times, no crashes but it did take several days.

I am not fam with the arduino but it should be far more stable than that.

Cheers, Gene Heskett

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.

On Tuesday 06 July 2021 06:56:28 dpa wrote: > > Don't try this at home. > > > > Oh dear! > > Oven with convection would actually be good if you can just keep the > temperature accurate.... > I constructed an Arduino with a light sensor, temperature sensor and > step motor (+ knob+display+buzzer) and can control the oven to +-0.5 > degree <https://youtu.be/jbKlLoTx0es>. My problem is: Arduino freezes > after a while.... so I am at the same, dumb situation as before (and > fear the same result as your foto). That sounds as if the arduino stack pointer went aglay. In one of the OS's from 35 some years ago, that tried to do a unix on a 8/16 bit cpu called a 6809 by Motorola back in the day, I wrote, while making liberal use of an extension to the OS9 OS this cpu could run, called F$regsdmp, which could spit out on screen, a complete image of the current contents of every register in the cpu, you could even push the CC, do this dump which destroyed the CC, return and pop the pushed CC and then "if" some condition of the CC with the expected results. So I wrote a ramdisk that could use any memory available while running the C compiler as you could take advantage of its memory paging ability and could install up to 2 whole megabytes of ram in that 64k machine. If the arduino's os has a similar call, you could use it to determine if the stack pointer is stable, or being slowly eaten away by poor coding. I proved my ramdisk was stable by using it in a loop, enabling it which reformatted it, then used it to compile rzsz-3.36. Then the script deleted the output, disabled the ramdisk recovering every byte. Wash, rinse and repeat 100 times, no crashes but it did take several days. I am not fam with the arduino but it should be far more stable than that. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
NH
nop head
Tue, Jul 6, 2021 3:52 PM

Arduino's don't use an OS normally, they just run a simple main loop. They
are usually rock solid. I have three UNOs running day in day out
controlling the temperature of my heated filament boxes and they have never
crashed. DC motors are a nightmare for generating EMC though.

On Tue, 6 Jul 2021 at 16:44, Gene Heskett gheskett@shentel.net wrote:

On Tuesday 06 July 2021 06:56:28 dpa wrote:

Don't try this at home.

Oh dear!

Oven with convection would actually be good if you can just keep the
temperature accurate....
I constructed an Arduino with a light sensor, temperature sensor and
step motor (+ knob+display+buzzer) and can control the oven to +-0.5
degree https://youtu.be/jbKlLoTx0es. My problem is: Arduino freezes
after a while.... so I am at the same, dumb situation as before (and
fear the same result as your foto).

That sounds as if the arduino stack pointer went aglay. In one of the
OS's from 35 some years ago, that tried to do a unix on a 8/16 bit cpu
called a 6809 by Motorola back in the day, I wrote, while making liberal
use of an extension to the OS9 OS this cpu could run, called F$regsdmp,
which could spit out on screen, a complete image of the current contents
of every register in the cpu, you could even push the CC, do this dump
which destroyed the CC, return and pop the pushed CC and then "if" some
condition of the CC with the expected results.

So I wrote a ramdisk that could use any memory available while running
the C compiler as you could take advantage of its memory paging ability
and could install up to 2 whole megabytes of ram in that 64k machine.

If the arduino's os has a similar call, you could use it to determine if
the stack pointer is stable, or being slowly eaten away by poor coding.
I proved my ramdisk was stable by using it in a loop, enabling it which
reformatted it, then used it to compile rzsz-3.36. Then the script
deleted the output, disabled the ramdisk recovering every byte. Wash,
rinse and repeat 100 times, no crashes but it did take several days.

I am not fam with the arduino but it should be far more stable than that.

Cheers, Gene Heskett

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Arduino's don't use an OS normally, they just run a simple main loop. They are usually rock solid. I have three UNOs running day in day out controlling the temperature of my heated filament boxes and they have never crashed. DC motors are a nightmare for generating EMC though. On Tue, 6 Jul 2021 at 16:44, Gene Heskett <gheskett@shentel.net> wrote: > On Tuesday 06 July 2021 06:56:28 dpa wrote: > > > > Don't try this at home. > > > > > > Oh dear! > > > > Oven with convection would actually be good if you can just keep the > > temperature accurate.... > > I constructed an Arduino with a light sensor, temperature sensor and > > step motor (+ knob+display+buzzer) and can control the oven to +-0.5 > > degree <https://youtu.be/jbKlLoTx0es>. My problem is: Arduino freezes > > after a while.... so I am at the same, dumb situation as before (and > > fear the same result as your foto). > > That sounds as if the arduino stack pointer went aglay. In one of the > OS's from 35 some years ago, that tried to do a unix on a 8/16 bit cpu > called a 6809 by Motorola back in the day, I wrote, while making liberal > use of an extension to the OS9 OS this cpu could run, called F$regsdmp, > which could spit out on screen, a complete image of the current contents > of every register in the cpu, you could even push the CC, do this dump > which destroyed the CC, return and pop the pushed CC and then "if" some > condition of the CC with the expected results. > > So I wrote a ramdisk that could use any memory available while running > the C compiler as you could take advantage of its memory paging ability > and could install up to 2 whole megabytes of ram in that 64k machine. > > If the arduino's os has a similar call, you could use it to determine if > the stack pointer is stable, or being slowly eaten away by poor coding. > I proved my ramdisk was stable by using it in a loop, enabling it which > reformatted it, then used it to compile rzsz-3.36. Then the script > deleted the output, disabled the ramdisk recovering every byte. Wash, > rinse and repeat 100 times, no crashes but it did take several days. > > I am not fam with the arduino but it should be far more stable than that. > > Cheers, Gene Heskett > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/gene> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
GH
Gene Heskett
Tue, Jul 6, 2021 4:01 PM

On Tuesday 06 July 2021 07:14:03 nop head wrote:

The Arduino probably crashes due to the noise from the brushes of the
DC motor in the servo. Perhaps separate them physically and put the
servo wires through a ferrite ring. See
https://hydraraptor.blogspot.com/2007/09/dc-to-daylight.html

That waddles like a duck from a lack of a single point master ground. AKA
a star ground. I destroyed several mesa fpga cards and a couple rpi3's
trying to wire up a 75 yo Sheldon lathe without paying attention to such
minor details. Tore it down & rewired it from scratch, taking the noise
that was peaking at 90 MHz and 80 some volts peak to peak, and having a
proper single point ground reduced that noise, still peaking at around
90 MHz, to less than 100 milli-volts on any i/o line in the system. That
rpi3 is now an rpi4, has a small ups on it, and runs months between
reboots.

On Tue, 6 Jul 2021 at 11:56, dpa sc@pankd.de wrote:

Don't try this at home.

Oh dear!

Oven with convection would actually be good if you can just keep the
temperature accurate....
I constructed an Arduino with a light sensor, temperature sensor and
step motor (+ knob+display+buzzer) and can control the oven to +-0.5
degree https://youtu.be/jbKlLoTx0es. My problem is: Arduino
freezes after a while.... so I am at the same, dumb situation as
before (and fear the same result as your foto).


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Cheers, Gene Heskett

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.

On Tuesday 06 July 2021 07:14:03 nop head wrote: > The Arduino probably crashes due to the noise from the brushes of the > DC motor in the servo. Perhaps separate them physically and put the > servo wires through a ferrite ring. See > https://hydraraptor.blogspot.com/2007/09/dc-to-daylight.html > That waddles like a duck from a lack of a single point master ground. AKA a star ground. I destroyed several mesa fpga cards and a couple rpi3's trying to wire up a 75 yo Sheldon lathe without paying attention to such minor details. Tore it down & rewired it from scratch, taking the noise that was peaking at 90 MHz and 80 some volts peak to peak, and having a proper single point ground reduced that noise, still peaking at around 90 MHz, to less than 100 milli-volts on any i/o line in the system. That rpi3 is now an rpi4, has a small ups on it, and runs months between reboots. > On Tue, 6 Jul 2021 at 11:56, dpa <sc@pankd.de> wrote: > > Don't try this at home. > > > >> Oh dear! > > > > Oven with convection would actually be good if you can just keep the > > temperature accurate.... > > I constructed an Arduino with a light sensor, temperature sensor and > > step motor (+ knob+display+buzzer) and can control the oven to +-0.5 > > degree <https://youtu.be/jbKlLoTx0es>. My problem is: Arduino > > freezes after a while.... so I am at the same, dumb situation as > > before (and fear the same result as your foto). > > > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
GH
Gene Heskett
Tue, Jul 6, 2021 4:18 PM

On Tuesday 06 July 2021 09:07:37 Ray West wrote:

Maybe we need a new section, entitled 'Gene's Blog', or something. The
fact remains, although this is now not about openscad, openscad is a
tool to get to a destination, whether that is a physical object or
something more ephemeral, so keeping to the new theme within this
thread  wrt filament drying, it seems a bit daft,  to keep a whole
spool of filament dry, when all you need is the few metres you are
printing. It is OK, if you are, say, continuously printing the same
filament type, but when experimenting with different colours/types,
you can end up with a dozen or so spools to keep dry. There are plenty
of solutions, vacuum sealing/desiccant, etc. but it is a bit of a
hassle/expense. Why not keep the spools as is, no packaging, and
condition what you need as you use it? that makes more sense to me.
So, we could use a relatively small diameter, slightly heated tube,
heating element wrapped around the outside, holes in tube to let the
moist warm air escape - a foot or so ptfe perforated bowden tube would
most likely do, or possibly a larger tube with warm air blown through.
I expect it's been invented before, and most likely being produced
somewhere, but where's the fun in buying your way out of problems?

There are plenty of cheap temp controllers - I've used this type
https://smile.amazon.co.uk/gp/product/B08RDJZM7X/ref=ppx_yo_dt_b_asin_
title_o06_s00?ie=UTF8&psc=1 (If I'd not bought my way out of that
problem, the components would have cost much more than the completed
item.

and there are flexible heating elements for home brewing, seed
raising, etc. Could probably make the whole thing for thirty quid.

An acquaintance of mine, lives in Arizona, has no problems with
moisture in 3d print filament, no need for vacuum sealing/whatever.
I'm not sure, if instead of a heated bed, he has a cooled bed...

Chuckle. Probably to sleep on... I spent a couple years in Farmington NM,
swamp coolers were preferred air conditioners but you still had to wring
out your towels after a shower. 3d printers had not been invented yet.

You missed one src Ray, on this side of the pond, MPJA has some of those
at about a 10 spot each. Bring your own thermo couple or even an si
diode for a sensor. Choice of C or F displays.

Cheers, Gene Heskett

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.

On Tuesday 06 July 2021 09:07:37 Ray West wrote: > Maybe we need a new section, entitled 'Gene's Blog', or something. The > fact remains, although this is now not about openscad, openscad is a > tool to get to a destination, whether that is a physical object or > something more ephemeral, so keeping to the new theme within this > thread  wrt filament drying, it seems a bit daft,  to keep a whole > spool of filament dry, when all you need is the few metres you are > printing. It is OK, if you are, say, continuously printing the same > filament type, but when experimenting with different colours/types, > you can end up with a dozen or so spools to keep dry. There are plenty > of solutions, vacuum sealing/desiccant, etc. but it is a bit of a > hassle/expense. Why not keep the spools as is, no packaging, and > condition what you need as you use it? that makes more sense to me. > So, we could use a relatively small diameter, slightly heated tube, > heating element wrapped around the outside, holes in tube to let the > moist warm air escape - a foot or so ptfe perforated bowden tube would > most likely do, or possibly a larger tube with warm air blown through. > I expect it's been invented before, and most likely being produced > somewhere, but where's the fun in buying your way out of problems? > > There are plenty of cheap temp controllers - I've used this type > https://smile.amazon.co.uk/gp/product/B08RDJZM7X/ref=ppx_yo_dt_b_asin_ >title_o06_s00?ie=UTF8&psc=1 (If I'd not bought my way out of that > problem, the components would have cost much more than the completed > item. > > and there are flexible heating elements for home brewing, seed > raising, etc. Could probably make the whole thing for thirty quid. > > An acquaintance of mine, lives in Arizona, has no problems with > moisture in 3d print filament, no need for vacuum sealing/whatever. > I'm not sure, if instead of a heated bed, he has a cooled bed... Chuckle. Probably to sleep on... I spent a couple years in Farmington NM, swamp coolers were preferred air conditioners but you still had to wring out your towels after a shower. 3d printers had not been invented yet. You missed one src Ray, on this side of the pond, MPJA has some of those at about a 10 spot each. Bring your own thermo couple or even an si diode for a sensor. Choice of C or F displays. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>