skunkworks is now known as skunkworks__
skunkworks__ is now known as skunkworks___
huh, this is an odd way to modulate a signal: http://www.picbasic.co.uk/forum/showthread.php?p=45597
jepler: It makes perfect sense for LED's and such.
I'd suspect that it would save battery life too
jymmmemc: doubt it, switching is wasted power during slew
that looks like way more switching per period
like, real full cycle periods, not like they define them
100Hz period with two switch slews (standard low speed led pwm) is def way more efficient in that sense
With 8-bit PWM, you would have to Interrupt 256 times per cycle to accommodate multiple outputs switching at different times.
And at 100 Hz refresh rate, it would need 25,600 interrupts per second.
um, on your avg uC you would allocate a pwm peripheral and youd only interact with it to change duty
also 25000 KHz isnt a very fast int rate if youre already doing a timered main loop
since led cycling period isnt essential, you can likely integrated into your faster timered mainloop, and do as many pwm out ports as you want in most situations just tracking a count reg and comparing against pwm duty values
* renesis done led on uc alot =
the power advantage in that scheme is that the CPU only has to be running for 8 interrupts/second instead of 256 (all this is assuming that there's no hardware PWM)
err - per period that is
im pretty sure it kills you resolution too
not sure tho
in any case that didnt occure to me
it just uses the bit weights to get proportional time slices
because running enough leds to make it valueable, that much power saved wouldnt make a huge diff
also, you can just shift the duty cycle out the port bit
there is that - the LED probably uses 10x the power of the uC
depends on the uC alot
you're right - maybe the LED is 100x the CPU (for one LED)
avr i dont think gets under half a mA in sleep mode
like special conditions you maybe get lower
running lower speeds at lower voltages, but now youre having issues just interfacing the leds
in sleep it should be well under 1mA unless you're using a >40 pin mega
so now youre losing power in voltage conversion cercuits
not much, but some
i dount well under .5mA tho
theres alot of variables w/ running peripherals
oh - I may be thinking of power-down mode
well i just mean the low power mode
WDT, clocks, edge interrupts all add to it
fuck if i remember which mode was called which
yeah, me either
typical power consumption, active mode, 1MHz, 1.8V: 230uA -- attiny2313 datasheet
I assume that's exclusive of power for I/O
who the fuck uses them at 1MHz 1.8V
has to be
itll hold state in powerdown so you can be full shutdown and sinking 10mA off a pin
11mA for 20MHz, 5V
i think they had graphs
but yeh in any more realistic mode its like around 1-5mA
and running them full speed its almost not even worth it
depends -- in a device that's not battery operated, why not
in a device that's battery operated, well, maybe you'll be interested in the power consumption at 32kHz...
i think you can actively throttle 2313
maybe just hit the /8
but im pretty sure some of the parts you can modify main clock
so yeah, throttle down, load timer with adjusted value for wakeup if its not event based, shut down
the 2313 has a system clock prescaler from /1 to /256
the tiny2313 that is
in the fuses
can you adjust from the prom code?
yes, you can program CKDIV8 in the fuse
im pretty sure there was something you could do in realtime
but you can also change the scale at runtime
is that ll of them or just 2313?
I'm only looking at the 2313 datasheet
I can't look at them all at once :-P
i think it exceptional in that respect but i havent even thought about this shit in forever
i cant even program on
new pc doesnt have serial or parport
and my dragon is esd fucked
i have a usb to serial thinger but i cant find my rs232 cable =(
pick up arduino or make a board based on something from the at90usb series -- both program nicely over usb
$25 or $30
oh, $34 now. bummer
speaking of at90usb, the at90usb162 has an interesting clocking feature: it can switch from the external oscillator to the internal calibrated RC at runtime
(I think this is to help the device get close to the USB requirement for consumption in powerdown, though according to the errata they didn't make it:-P)
useful for devices that may get plugged/unplugged from USB ports
erratum: rd Release
High current consumption in sleep mode
oh - if by external oscillator you mean that it can clock from USB :)
USB waiver allows bus powered devices to consume up to 2.5mA in suspend state.
SWPadnos: no, that's not it
you have to have a nice high quality multiple-of-1MHz clock on board to generate the required clock for USB data from some internal PLL
but USB requires a suspend mode with x00uA current draw, which your 3.3V, 1MHz AVR is not likely to hit
hence the switch to a slow RC oscillator during USB suspend
so you swap between the 32khz (or whatever) and the real clock depending on power state
oops, past my bedtime -- goodnight all
another 4 inches of snow today.. It is offically winter
was frosty Monday and the battery needed charging to start the car
looks like 64F tomorrow here
only 55 today
61f indoors here
hey the java update this morning fixed the displaying of the smiley faces here.
27deg here today
* skunkworks_ keeps the house at 60deg
not much snow here, but all the roads are covered in ice
nasty driving conditions
sixty degrees holy jesus
as long as I don't sit still long, the shop is fine at 55
hmm.. that's a bit too cold for me ;)
I fed up with being cold
archivist: move sto somewhere over here :)
cheaper living probably
lots more headaches though
hmm.. google reader is really nice
archivist: Yeah, vampire bats and such
alex_joni: Well, I was trying to keep the village from panicing
alex_joni: Don't wanna see too many CNC pitchforks ya know
alex_joni: But a bunch of a CNC Holy-Water cannons would be very cool!!!
garlic + slingshot ftw
this sounds like fun btw: http://en.wikipedia.org/wiki/Slingshot_paintball
Hello. I kindly want to ask about end-switches for a 3-axis cnc mill. Can emc2 run an automated homing with all 3 switches in series or parallel (depending if they are NO or NC ?
yes plenty IRC is not instant
Which version of ISO would you take for a VIA C7 CPU?
I see that there's a new one based on Ubuntu 8.x, but this CPU is a bit weak with its 1GHz.
1 ghz should be ok, depends what latency you get
boKono: try the 6.06 first
if it's ok, then there's no need for 8.04
if you have some driver issues, then try 8.04 (should be ok performance wise too)
Oh, that's not really the problem. I want to build a little CNC mill, I don't have to win a race...
regarding the switches: you can set it up the way you need it
either series or parallel, and you can home them automatically (just not at once)
you use a command (home-all) and they'll home one by one
boKono, I have 606 on an 800 meg athlon and 8.04 on a P4
boKono: where from?
So I cannot click "home" and the mill homes automatically, first Z, then X, then Y, as an example?
yes you can
I am from Austria.
one click, and it will home Z first, then X, then y (if you like that order)
a bit more to the east
quite an assorted crowd in here
boKono: far from wien?
quite a sordid crowd too
No. I am almost in its centre. :)
boKono: there's a company just outside (in moedling) that uses emc2 on small mills
Really? What is its name?
never heared from.
villeicht ist ein kleines metalline von denen ja genug :) (weiss ja net was du vor hast)
Ich habe eine kaputte Graviermaschine gekauft (Elektrokik ist durchgebrannt gewesen), aber die Mechanik ist 1A. Ich will damit Kunststoff bearbeiten.
boKono: it's best to keep it in english in here (most people understand that better than german)
Ok, back to english..
do you have motors already?
Steppers and mechanics is OK. I also built new drivers, but I cannot supply more than 0.7A. Though that should be enough, I want to use only very fine tools.
ok, sounds good
I only have no time. :/
0.7A might be a bit weak, but there's always possible to up that later :)
Have the mill since ~ 1 year...
it's eather time or money that is short usually
I use 2.4A on my steppers
So you have a really high torque then. :)
no not that high
depends on the size of the machine
boKono: are you familiar with IRC/private messages?
I found out that the chipset of this little computer (VIA CN700 graphics) is not well supported (graphics). Which ubuntu should I try first?
alex_joni: why you ask?
I sent you a message
Didn't see it... moment.
boKono: you probably end up using the vesa driver on both ubuntu versions, so it shouldn't matter
so - is yahoo down?
or is it just me?
yahoo.com is working here
ok - working here now