Andrew.
Sent from my iPhone
> --
> You received this message because you are subscribed to the Google
> Groups "Birmingham Hack Space" group.
> To post to this group, send email to birmingham...@googlegroups.com
> .
> To unsubscribe from this group, send email to birmingham-hack-...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/birmingham-hack-space?hl=en
> .
>
If you want something to start off using transistors then a very good guide
was in nuts'n'volts magazine:
http://www.parallax.com/Resources/NutsVoltsColumns/NutsVoltsVolume1/tabid/44
4/Default.aspx
It's Column #6, Silicon Steroids for Your Stamp. All the other nuts'n'volts
articles there are good for lots of beginner topics.
Best wishes,
Andrew.
At the moment I'm trying reducing the power consumption of an ardunio
based sensor platform, hopefully to within the realms of small solar
panel.
I've implemented a breadboard ardunio before so I might be able to
help people with that.
Aaron
Thanks,
Andrew (N)
Sent from my iPhone
>>>> To post to this group, send email to birmingham...@googlegroups.com
>>>> .
>>>> To unsubscribe from this group, send email to
>>>> birmingham-hack-...@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/birmingham-hack-space?hl=en.
>>>
>>>> --
>>>> You received this message because you are subscribed to the
>>>> Google Groups "Birmingham Hack Space" group.
>>>> To post to this group, send email to birmingham...@googlegroups.com
>>>> .
>>>> To unsubscribe from this group, send email to birmingham-hack-...@googlegroups.com
>>>> .
>>>> For more options, visit this group athttp://groups.google.com/
>>>> group/birmingham-hack-space?hl=en.
>>>
>>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Birmingham Hack Space" group.
>> To post to this group, send email to birmingham...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to birmingham-hack-...@googlegroups.com
>> .
>> For more options, visit this group at http://groups.google.com/group/birmingham-hack-space?hl=en
>> .
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Birmingham Hack Space" group.
> To post to this group, send email to birmingham...@googlegroups.com
Sorry to be stingy: I'd be interested in one (plus maybe a spare avr chip,
just in case). I'm with Aaron on trying to make a very low power arduino,
that would be very nice :-)
Thanks, that's an interesting link. I might try it when you do the
arduinohackshop.
I was thinking (dangerous I know) that a simple avr programmer shouldn't be
more that a tenner, and lots of people might find it useful, so would it be
a good idea if fizzpop got one to go with its other tools? Just a thought
(and maybe fizzpop could make some pin money selling bootloader enabled
chips :-)
A fizz pop avr programmer sounds like a good idea it'd probably get
quite a lot of use.
Sleep mode is pretty much a feature of most microcontrollers. The biggest problem is that to use a2d a voltage regulator is normally needed (although for some things I think avr's have an internal 1V ref), so the power supply can waste power when sleeping. It could be quite interesting to try to make a very low power arduino, and using 8mhz like in your link would help.
I can have a quick search for a programmer if needed. However, are you thinking of a cheap avr in-circuit cable, or a better zif socket multi-purpose programmer? My experience is that the latter is worth the extra cost, especially if you want flexibility for hacking, workshops, etc.
I'm considering not using a regulator and measuring Vin
(http://code.google.com/p/tinkerit/wiki/SecretVoltmeter) before using
the a2d. If the 1V ref can be access externally that might be an even
better option.
The downside of not using a regulator is the Ardunio will be more
sensitive to small changes in supply voltage.
For the programmer I have the Avr V2 ISP which can be a bit of a pain
to use with breadboards but works very well.
I seem to remember seeing in a magazine (?elektor?) ages ago a simple
regulating circuit that allows for a sleep mode. I think it was a little
chip and needed a capacitor and inductor (may have been a switch mode chip).
If I find it I'll let you know. I'll be very interested in Aaron's info on
power consumption and using an avr with just a battery :-)
I agree with Gary about a bit of veroboard. For my PicKit programmer I built
little veroboard adaptors for different microcontrollers, with a few header
pins to connect the two, and it worked quite well. Maybe if FizzPop got the
same one as Aaron we could put together a veroboard design for others to
copy (and maybe Aaron could teach us how to use it)?
Best wishes,
Andrew.
-----Original Message-----
From: birmingham...@googlegroups.com
[mailto:birmingham...@googlegroups.com] On Behalf Of G Bulmer
Sent: 20 June 2010 15:24
To: Birmingham Hack Space
Subject: [birmingham-hack-space] Re: Arduino Hack Session?
For my own use I like the daughterboard ideas, whether as Gary describes or
using a cable like Aaron's. The original plan was having one for FizzPop
though, including for Nikki to program cheap board-duinos. Would these ideas
provide something robust and flexible enough for that and FizzPop workshops?
If so, I have a couple of zif sockets and would be willing to donate one for
making a fizzpop programmer if that's the way it's heading.
Best wishes,
Andrew.
-----Original Message-----
From: birmingham...@googlegroups.com
[mailto:birmingham...@googlegroups.com] On Behalf Of G Bulmer
Sent: 21 June 2010 02:28
To: Birmingham Hack Space
Subject: [birmingham-hack-space] Re: Arduino Hack Session?
GB
--
I won't be there this week, but will be around for the 7th July diyduino
night. If you need money for my simple arduino kit and extra avr chip now
just let me know and I can paypal it to you. Perhaps best I'm not here this
week, as I'm a bit worried Evil Ted might be an ex FizzPopper who didn't pay
;-)
As you're happy with using the arduino as a programmer, and Gary knows all
about how to do it, I think I'll try to be consistent and see if I can make
a programmer using the diyduino kit. The talk of the port commander was good
too, as I would like to include i2c eeprom programming.
That's very interesting. I was thinking of a DS1307 as many low power projects need rtc and they are really low power. The DS1307 can raise a pin high at a preset alarm time, which could be used to switch a transistor prior to the regulator. I might give it a go if I can find a transistor with very low loss when switched off.
The minos10 link is very good, thanks Garry as is the Art of
Electronics reference, I've got a copy but completely neglected to
check it.
For the programmer: I think the bus pirate would be the better asset
for fizzpop maybe with custom daughterboard / zif socket. The usb tiny
based ones look amazing, if I was to buy a avr isp for myself again
I'd get one of those.
Cheers,
Aaron
Is that without a voltage regulator and a variable a2d reference? Also, do
you have a recommended link for the crystal circuit and arduino code? I
might give it a go as I've had a new idea, which is to use 3 AAA
rechargeable batteries, and then have a small voltage regulator that the
arduino can turn on using a transistor, and then use as an a2d voltage
reference. That would be easier and use a few less parts than using an RTC
chip (and lower power).
Sorry not to have emailed this sooner, have been away.
Hi andrew,
I think you might be on to something there with the transistor controlled aref. Unfortunatly I'm away this weekend so i can't draw out the circuit diagram however it is exactly the same as the link nikki posted earlier in this thread with the crystal replaced with a 32k one. The instructions for setting it up will be the same except when it comes to programming the fuse bits. You need to set the clock source to the internal ossilator.
I did mannage to upload some libraries (with example sketches) this morning which contain references to the key avr application notes.
http://www.madsie.co.uk/arduino/UnixTime.zip
http://www.madsie.co.uk/arduino/Timer2RTC.zip
Cheers,
Aaron
On Jun 25, 2010 10:08 PM, "Andrew Thomas" <andrewma...@yahoo.com> wrote:
Hi Aaron,
Is that without a voltage regulator and a variable a2d reference? Also, do
you have a recommended link for the crystal circuit and arduino code? I
might give it a go as I've had a new idea, which is to use 3 AAA
rechargeable batteries, and then have a small voltage regulator that the
arduino can turn on using a transistor, and then use as an a2d voltage
reference. That would be easier and use a few less parts than using an RTC
chip (and lower power).
Sorry not to have emailed this sooner, have been away.
Best wishes,
Andrew.
-----Original Message-----
From: birmingham...@googlegroups.com
[mailto:birmingham...@googlegroups.com] On Behalf Of Aaron Shrimpton
Sent: 21 June 2010 23:4...
--
You received this message because you are subscribed to the Google Groups
"Birmingham Hack Space" gr...
--
You received this message because you are subscribed to the Google Groups "Birmingham Hack Space" gr...
MAX are pretty good at giving free samples of chips, I've used them
before for various projects.
Cheers,
Andrew
Thanks for the info. I'll try to remember to get a small adjustable regulator before Nikki's diy arduino session, and try building the circuit then to see how it works and what the power consumption is.
The maxim chip looks very good, much lower sleep consumption than step up regulators I've seen in the past. I'd like to keep it very simple for now, but I agree that it could be a really good way to build a really low power arduino.
Have a good weekend :-)
Hi,
Personally I’m just interested in how to make an arduino with ultra-low power consumption. There are better microcontrollers around for low power stuff, but it’s nice to see what can be done that’s arduino compatible as they’re so widely used. Also, it’s nice to see just how simple and cheap such a circuit could be, as complexity and cost issues make it less interesting for beginner projects.
So, more a voyage of discovery than actually building something. However, it would be nice to see how long a vlp arduino could last on three aaa’s, as it would be quite useful for some data logging and sensing applications.
If you have any ideas I’d be interested to hear them J
Best wishes,
Andrew.
I've got most of the parts now (except avr) to try seeing how low a power consumption is possible with a 168/368 chip. Hopefully will try it soon. The idea is to run it directly off batteries as you say, but that leads to a2d difficulties due to the supply voltage change over time.
I'm hoping that a small 3.3V regulator connected to vref, and switched on/off with a transistor, will take care of that. The transistor will also power a voltage divider so the avr can check how long it can survive so that next time it turns on it'll know if the vref is going to be correct (and avoid turning on the regulator when battery power is very low).
Lots of useful sensors are 3.3V these days, hence 3xAAA to start with, so switching on the regulator occasionally could allow some useful data logging without burning too much power. It'll be really interesting to see how long the batteries last that way.
The ultra-low-power avr's will be an excellent next step. Sometime I might try to see how difficult it would be to integrate one into the arduino ide, as it would be nice to keep it arduino compatible. Unless of course you're already planning a ULPfreeduino?
Thanks for the tips :-)
Best wishes,
Andrew.
-----Original Message-----
From: G Bulmer <gbu...@gmail.com>
Sent: 30 June 2010 01:57
To: Birmingham Hack Space <birmingham...@googlegroups.com>
I've finally gotten around to drawing out the breadboard circuit I'm working on:
http://www.madsie.co.uk/arduino/low-power/
The headline figure is 7uA in sleep mode at 2.2v. Still some way off
the datasheets theoretical value of 2uA for the avr + wireless chip.
I've tried the Arduino measuring its own input voltage. The results
are a bit to inaccurate and unstable to be usable. This might be down
to my breadboard.
I found that disabling the ADC before sleeping yielded the most
significant saving (around 240 uA) also disabling serial shaved 50uA.
Interestingly one of the small 36x27mm solar cells found in pound shop
solar garden lights was able to power this circuit for several 10
second interval sample-transmit-sleep cycles during a period of
bright-ish sunshine this evening.
Cheers,
Aaron
Nice diagram :-) I read somewhere recently that to achieve the stated sleep current it's necessary to set all pins to inputs. Not sure if that helps you, but thought I'd mention it just in case.
Best wishes,
Andrew.
I'll check which pins are outputs during sleep mode and I am using the
radio to get the data out.
Cheers,
Aaron
Complete kits is fine by me, I think I was the only one being difficult.
Cheers,
Aaron
Don't worry Aaron, I was being difficult too. Nikki, I'm happy to have just a kit, thanks.
I won't be at the session after next, so if possible it would be nice if I could have it the following one (please let me know if you want paying soon if that's a problem).
I hope you're feeling better soon :-)
Best wishes,
Andrew.
-----Original Message-----
From: Aaron Shrimpton <aar...@gmail.com>
Sent: 04 July 2010 20:39
To: birmingham...@googlegroups.com
Subject: Re: [birmingham-hack-space] Re: Arduino Hack Session?
If it's any help, I'm more than happy with £4.50. As it's so cheap, can I have two now?
Best wishes,
Andrew.
-----Original Message-----
From: genzaichi <genz...@googlemail.com>
Sent: 16 July 2010 13:09
To: Birmingham Hack Space <birmingham...@googlegroups.com>
nikki
--
Cheers,
Aaron
It's difficult to tell, but if the header is on the left, in the black rectangle, then I think DTR connects to the reset pin. Some serial modules do that, like the propellor chip where the DTR line tells it that a program is being sent over serial. I don't think that's the case for arduino bootloaders though (?).
You're right, using four pins on a header is better as the usb-ttl module can be used to power the circuit, like in a full arduino. Some even provide 5V and 3.3V.
Best wishes,
Andrew.
-----Original Message-----
From: genzaichi <genz...@gmail.com>
Sent: 05 August 2010 10:23
To: Birmingham Hack Space <birmingham...@googlegroups.com>
Subject: [birmingham-hack-space] Re: Arduino Hack Session?
Hi Andrew,
The RBBB becomes powered by the USB when you connect it to the USB-BUB
to programme it.
The PCB diagram seems to show DTR as connected to something:
http://cdn.shopify.com/s/files/1/0038/9582/files/RBBBscreenshot_2_layers.png?1271986427
Suppose the way to find out is to try it!
nikki
[The entire original message is not included]
I'm more than happy to reset just by toggling power. One of the reasons is that many people might use a usb-ttl module ready built. Very often they don't provide all the ftdi-capable signals. Dtr/tx/rx/gnd/5v/3.3v are normally the most you get, but most modules you get at robot sites, ebay, etc don't have a dtr connection.
I'll be looking forward to the building :-)
Best wishes,
Andrew.
-----Original Message-----
From: genzaichi <genz...@gmail.com>
Sent: 05 August 2010 22:26
To: Birmingham Hack Space <birmingham...@googlegroups.com>
Subject: [birmingham-hack-space] Re: Arduino Hack Session?
Thanks GB,
nikki
--
As far as my limited experience knows toggling the power works as well as grounding the reset. It's just rebooting the boot loader, and I'm too lazy to do proper resetting. You're way is the proper way though, and less prone to problems most likely :-)
Best wishes,
Andrew.
-----Original Message-----
From: genzaichi <genz...@gmail.com>
Sent: 06 August 2010 16:09
To: Birmingham Hack Space <birmingham...@googlegroups.com>
Subject: [birmingham-hack-space] Re: Arduino Hack Session?
Would that still work (toggling the power) if the board's being
powered by the USB-BUB?
Can you do something like briefly connecting the reset pin to ground
or whatever?
Meanwhile, I've put a quick overview post up on the website so we've
got something to point people at. I'll do another one later that's a
bit more formal and tells people what they need to do/bring etc etc.
nikki
[The entire original message is not included]
Why do you have to pull the usb plug? If we're still talking about usb-ttl connectors wouldn't disconnecting at the header pins make life easier for vista?
I like the diagram :) If my brain is working, the 100 ohm resistor would limit the current to a maximum of 50mA, which would help disasters due to short circuits. It might make adding extra peripherals a problem without bypassing the resistor though.
Can I ask why there's a power wire to pins 20 and 21? Also, can I be (hopefully) constructively critical of the 330 ohm resistor on the led? It could use 10% of available current for small regulators, and reduce battery life, so I've always used a 1k resistor if I have a power led.
Best wishes,
Andrew.
-----Original Message-----
From: genzaichi <genz...@gmail.com>
Sent: 07 August 2010 17:31
To: Birmingham Hack Space <birmingham...@googlegroups.com>
Subject: [birmingham-hack-space] Re: Arduino Hack Session?
Just that for me, toggling the power means unplugging the USB
connection ...which means Vista then has to find it again ...which
means the Arduino's been powered up for some time... :)
I had a load of feedback about a stripboard layout shown in one of the
photos on the blog post. I've had a stab at drawing a layout as I
would try it now.
http://www.fizzpop.org.uk/wp-content/uploads/2010/08/DIYArduino1.jpg
Any feedback on the 100ohm resistor after the voltage regulator?
nikki
[The entire original message is not included]
OK, sorry, thought you were wanting feedback on a setup for beginners at the evening. Personally I wanted two so I could do a mini rtc based circuit and a low power one, so I'll be knocking up my own layout anyway.
If you want info on what Gary meant by header pins you could try:
http://wap.ebay.co.uk/Pages/ViewItem.aspx?aid=290461512260&sv=0.1 header pins&emvcc=0
I used to get them from Maplins, but they've stopped selling them. I probably wasn't very clear in my question btw. As far as I know (please correct any limitations in my knowledge here) the avr will default to the supply voltage as an aref, so you need the capacitor to prevent supply voltage noise affecting a2d readings. If you put the wire from 5v to aref you prevent use of a different external aref (which is useful for some analog inputs). The arduino ide allows for switching between supply voltage, 1v internal, and external, aref's.
Hope that helps :)
Best wishes,
Andrew.
-----Original Message-----
From: genzaichi <genz...@gmail.com>
Sent: 07 August 2010 22:35
To: Birmingham Hack Space <birmingham...@googlegroups.com>
Subject: [birmingham-hack-space] Re: Arduino Hack Session?
nikki
--
Does this extract from the ITP Physical Computing tutorial help?
# Pin 21 - AREF - Analog reference pin for ADC
# Pin 20 - AVcc - Suppply voltage for the ADC converter. Needs to be
connected to power if ADC isn't being used and to power via a low-pass
filter if it is (a low pass filter is a circuit that cleans out noise
from the power source, we aren't using one)
I now have a pack of 720 0.1" header pins, which is a little more than I need. If you want some for diy arduino stuff let me know.
Best wishes,
Andrew.
Ahh, you want female headers. The ones I just offered are male as I thought they were needed for serial programming headers. I have some female ones, but could only spare a strip of about 30 (around 6 headers after cutting them up).
Is 2x3 needed for a board with a bootloader (I don't think it has tx and rx connections)? I plan 1x4 for a veroboard circuit. A 1x4 layout with male header pins makes it easy to use a standard motherboard connector cable for programming.
If the male header pins are needed they're still on offer.
Thanks, those were sort of the same thoughts I had. I'm planning to make some mini arduino boards, so plan to dump the icsp in favour of just a serial header.
My other cunning plan is to make a bootloader programmer using one of Nikki's diyduino's after her themed evening. Perhaps I'll now be inspired to build the programmer on a proper eagle designed pcb :)
Don't feel pressured to do an eagle demo just cos I asked. I've installed eagle now and thanks to Dave have the sparkfun library installed too. Hopefully I'll find some time next week to play with it, and then try not to harrass you with questions next time I see you ;-)
Take care,
Andrew.
-----Original Message-----
From: G Bulmer <gbu...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Birmingham Hack Space" group.