Hacking up some Arduino-derivative hardware.
I was having a chat with some people the other week at linux.conf.au – I’m sorry, but I’m terrible at learning and remembering new names and faces, and I can’t remember who – about the idea of a future LCA workshop on the subject of the Arduino platform, where delegates are actually given their own kit that they can solder together – getting a little more hands-on with the hardware than using (the admittedly good) pre-assembled Arduino reference-design dev boards.
I mentioned the notion of having such a kit based exclusively on through-hole components, so that it’s easy to assemble by people with minimal experience with SMD soldering. However, the FTDI USB UART devices aren’t available as through-hole devices, only as SMD, so you’re going to need at least one SMD component. That is, unless you want to use RS232 as the interface to the PC, not USB. However, compared to RS232, USB is kick ass.
So, I thought, why not use a Arduino-style dev board that includes both RS232 and USB as well – so, you can have a fully functional board with USB interface if you’re brave enough to solder the SMD – but if you don’t, that’s OK, but you will need to use RS-232 as well as an external power supply.
That’s a pretty good idea, I thought. The people I mentioned it to agreed.
But no such hardware platform is available off the shelf anywhere.
So I created it.
This has been occupying my free time in between free moments for a significant part of the week at LCA ![]()
Doesn’t a conference such as LCA just totally put you in a hacking groove? It does for me. Of course, I’m a hardware, more so than software, hacker.
Please feel free to download and check out the schematic file and the PCB layout files.
Hardware IP released under the TAPR Open Hardware License (http://www.tapr.org/OHL).
These are CADsoft EAGLE files; they’re also sufficiently small such that the freeware licensed version of EAGLE is perfectly fine to work with them. Yeah, I know, I know, it’s proprietary software. I’ll have to learn gEDA and re-do the designs for extra FOSS satisfaction.
So, what hardware do we have?
The hardware is extremely close to the Arduino Duemilanove reference board schematic design, which it is based on. I’ve just added the MAX232A and D9 port for RS232, really. The UART connections are bought out to a 2×3-pin header block, so that jumpers can be used to patch the ATMega into either the FT232RL USB UART chip or the MAX232A level translator for RS232.
In theory, if you wanted to, for some strange reason, and you’ve populated both sets of interface components, you could have Tx routed to the USB UART, and Rx routed to the RS232 interface, or vice versa, if you wanted to. Also, you can, in theory, put the jumpers in to connect the hardware UART in the AVR to the USB port, and then code up a secondary UART in software using other DIO pins on the microcontroller, and then patch those DIO pins onto the UART select jumper block so that they’re connected to the MAX232, then you can plug the Arduino into the PC via USB, and then plug some completely separate RS232 peripheral into the microcontroller, too!
(Anyone for an OpenWRT router under microcontroller control?)
Additionally, all components are through-hole, except the FT232RL chip. Because through-hole components are used throughout, it’s a bit bigger than ordinary Arduino boards, and is physically not compatible in terms of form factor; that is, it is not (as the PCB currently stands) presently compatible with Arduino-compatible “shield” plug-in daughterboards. Perhaps somebody with elite PCB-routing skills could overcome that with a revised board layout?
The PCB as it currently stands maybe isn’t perfect. Perhaps it could be better. Perhaps you could make it better.
I’ve routed tracks on both layers so that there are no vias, instead, component leads are used as vias by soldering them to both layers – this can be difficult for certain types of components, and can affect the best component choices – eg. machined-pin IC sockets are easier to use. I find this method faster and easier when using home-fabbed PCBs, but if you can get professional PCBs fabbed inexpensively in China, then it might not be as important because you can get plated through-holes done at fab time for cheaper than you might think.
Unfortunately, I had to cave in in the end and include two conventional vias, near the FT232 chip, in order to route everything. Putting in manual vias with a bit of wire isn’t a big deal for just a couple of vias, anyway.
Some notes:
* You must use a MAX232A, not a MAX232, since the charge-pump capacitors are only 100 nF.
* Power input autodetection is implemented exactly as it is on the Arduino Duemilanove reference design.
* Most components are standard off-the-shelf things available from the workbench of the well-stocked hardware geek or the local Jaycar, with very few exceptions.
* Those exceptions include the ATMega168 itself, the FT232RL, the voltage regulator IC (If your input voltage is high enough I suppose you could use ye olde 7805 instead of the more exotic LDO regulator, but remember that it has a different pinout.) The FT232RL is available from DonTronics, in Australia.
* I wasn’t sure which P-channel MOSFET to use to switch the USB power rail – it probably doesn’t need to be a big honking TO-220 device, but I couldn’t find a more compact TO-92 device that I could confirm easy availability for (that is, from Jaycar or Altronics or whatever, in Australia). Finding a TO-92 packaged device that takes less board real estate would be nice.
* If you’re using the board as it stands now with the TO220 FET, don’t get the FET and the regulator swapped around! Also, all the capacitors are just identical 100 nF, with the exceptions of the two 22 pF crystal load capacitors and the two large electrolytics in the power supply.
* Also, there is the little fuse included in series with the USB power rail. The Duemilanove reference board includes some sort of little resettable polyswitch-style circuit breaker. I’m not sure where you could source one.
In any case, I hope you like it, I hope you find it useful, and I’d love you hear your comments.
Clean coal project ‘will fail’ under emissions trading scheme.
http://www.abc.net.au/news/stories/2009/01/19/2468820.htm
Opposition environment spokesman Greg Hunt says a major clean coal project in central Queensland will fail unless the Federal Government changes its emissions trading scheme.
ZeroGen is working to develop a low emissions plant but says under the proposed carbon pollution reduction scheme it may be forced to buy permits.
If this “clean coal” is so clean, and actually does not have any significant emission of carbon dioxide to the atmosphere, why are GHG emissions permits any significant issue at all? Any and all technologies which are truly “clean” obviously have a competitive advantage under the emissions trading scheme – so how exactly is the coal industry able to complain about a financial disadvantage faced by “clean coal”?
Of course they should be forced to buy permits – as should every power station – corresponding to their quantitative greenhouse gas emissions. If you don’t want to sink money into GHG permits, then you deploy low-emissions or zero-emissions technologies.
Even after what is basically an admission that “clean coal” is still associated with very high emissions of carbon dioxide to the atmosphere, more than natural gas and more than essentially any other energy generation technology with the exception of conventional coal-firing, the coal industry is still expecting even more handouts for the government for purported “clean coal” – and the government will probably give in, since “clean coal” is the only example the Australian Government has that they can try and meaningfully show as evidence of their supposed commitment to the management of anthropogenic greenhouse gas emissions. If Big Coal threatens to walk away on the “clean coal” projects if they don’t get the additional taxpayer-funded pork they demand, the government is left with nothing to show off.
In a letter to Resources and Energy Minister Martin Ferguson the company said it should be exempted from buying carbon permits as it is a research and development project.
It has warned that if it has to buy permits the project may become unviable.
The Queensland Government has provided $100 million for the project and Prime Minister Kevin Rudd has voiced his support for it.
Mr Hunt has accused the Commonwealth of “turning its back” on clean energy.“The project will fail under Mr Rudd’s regime,” he said.
“Very clearly ZeroGen, clean coal, the future of Australian clean energy will fail under Mr Rudd’s regime.”
What a bunch of ridiculous rhetoric.
Given that we’re seeing so much government money being handed out to the coal-fired generation industry in relation to coal and emissions trading, and so many exemptions from emissions trading and the issuing of free permits, it might almost come as a surprise that there is interest in “clean coal”, when there is no real significant economic disincentive to the use of conventional coal-fired technology. The answer does indeed seem to be that these mendaciously small-scale “clean coal” projects seem to be an attractive source of easy government handouts for Big Coal.
Mr Hunt says the Government’s stance on emissions trading has already hurt the company.
“We’ve learnt that there are already job losses at ZeroGen,” he said.
The entire business development and corporate affairs section has been sacked in the last few days, the company is already winding down.”
A spokesperson for Mr Ferguson says the minister will address the issues raised in ZeroGen’s letter in “due course”.
Last year the Government allocated $100 million to the formation of the Carbon Capture and Storage Institute.
About 80 per cent of Australia’s electricity is created by coal-fired power generators.
Under the proposed carbon pollution reduction scheme, all revenue from the sale of permits will be used to compensate households for rising costs.
The Government’s climate change adviser, Professor Ross Garnaut, had urged the Government to allocate about a third of collected revenue to clean energy research and development.
The environmental footprints of coal and uranium mining.
Here’s something worth thinking about.
This is a coal mine. Specifically, it’s the Blair Athol coal mine in central Queensland, Australia, but there’s no special reason why I chose this specific example of a coal mine. The mine produces 12 megatonnes of coal per year. (This is just a satellite image taken from Google Maps, which anybody can of course easily access.)

Coal has a thermal energy content of about 25 MJ/kg, and therefore 12 megatonnes of coal corresponds to a primary energy content of about 2.9 x 1017 J.
This is the Ranger uranium mine, near Jabiru in the Northern Territory of Australia. Again, nothing special about this specific uranium mine, it’s just an example.
All these satellite images are at a consistent scale factor, or zoom level/resolution.

In 2007-2008, Ranger produced 5273 tonnes of U3O8.
A conventional, relatively inefficient low-enriched uranium fuelled LWR with a thermal (primary energy) power output of about 3 GW requires approximately 200 tonnes of U3O8 to be mined to fuel it for one year, assuming that newly mined uranium is used for all its fuel.
Therefore, the annual uranium output from Ranger corresponds to about 2.5 x 1018 J of primary energy, or about 8.6 times the primary energy content supplied by the coal mine.
That is, that one uranium mine supplies the same amount of energy content as nine of the coal mines – one seemingly quite small uranium mine, which is about a third of the size of the coal mine, supplies the same amount of primary energy content as this. (I won’t embed that image in the post, since it will probably completely destroy the formatting of the page.)
-
Archives
- October 2009 (2)
- May 2009 (2)
- March 2009 (4)
- February 2009 (3)
- January 2009 (3)
- December 2008 (3)
- November 2008 (9)
- October 2008 (20)
- September 2008 (11)
- August 2008 (7)
- July 2008 (15)
- June 2008 (5)
-
Categories
- ABC
- Abengoa Solar
- abuse of units
- academia
- activism
- alternative energy
- americium
- Amory Lovins
- analytical science
- Andrew Bolt
- ANSTO
- anthropogenic climate change
- anthropogenic greenhouse gases
- anti-nuclear activism
- anti-nuclear ignorance
- anti-nuclear movement
- anti-nuclear quote of the day
- anti-nuclear quote of the week
- anti-nuclear-energy activism
- anti-nuclear-energy dogma
- anti-nuclear-energy ignorance
- anti-nuclear-energy stupidity
- atmospheric science
- atomic engines
- Australia
- Australia 2020
- Australian Greens
- AWU
- bad science
- banana dose
- Barack Obama
- beryllium
- black holes
- blogging
- blogs
- Blue marble
- books
- bullshit
- cap and trade
- carbon dioxide
- cargo cult science
- Carl Sagan
- CCS
- CERN
- chemistry
- Chernobyl
- China
- clean coal
- clean energy
- climate change
- coal
- coal mining
- community engagement
- construction time for nuclear energy
- construction time for renewable energy
- cost of solar energy
- cost of solar power
- cost of wind power
- dangerous fossil fuels
- David Lochbaum
- debate
- defence
- democracy
- depleted uranium
- desalination
- dirty bombs
- distributed energy
- dubious claims
- Earth Hour
- earth science
- economics
- economics of solar power
- education
- Edward Teller
- EFMR monitoring network
- electric vehicles
- electricity generation
- electronics
- emissions trading
- energy
- energy analysis
- energy conversion
- energy demand
- energy density
- energy economics
- energy generation
- energy independance
- energy intensity
- energy policy
- energy politics
- energy resources
- energy systems
- energy technology
- environment
- environmental protection
- environmental remediation
- environmental science
- environmentalism
- EROEI
- Europe
- fast reactors
- Feynman
- Fischer-Tropsch
- fossil fuel waste
- fossil fuels
- france
- free energy
- fruitcake
- FUD
- fuels
- fusion
- Garnaut review
- gas turbines
- Gavin Mudd
- geeky stuff
- genepax
- georeactor
- georeactor hypothesis
- geosequestration
- GNEP
- greenhouse forcing
- greenhouse gas emissions
- greenhouse gas emissions reduction
- greenhouse gases
- Hanford
- Hans Bethe
- health effects of energy systems
- health physics
- heat engines
- Helen Caldicott
- humor
- hydrogen
- HyperCar
- Hyperion
- IDGCC
- idiocy
- IFR
- industry
- Integral Fast Reactor
- IPCC
- Israel
- italy
- John Gofman
- John McCain
- John Wheeler
- Joseph Mangano
- Joseph Romm
- junk science
- Kansas
- Kashiwazaki-Kariwa
- Kentucky
- Kevin Rudd
- kilotons
- Kyoto protocol
- Large Hadron Collider
- LFTR
- LHC
- life-cycle analysis
- linear no-threshold
- linear-non-threshold
- linux.conf.au
- liquid fluoride reactor
- loan guarantees
- Manhattan Project
- Mark Lynas
- materials science
- media
- Media irresponsibility
- meet the millirem
- microcontrollers
- micropower
- Middle East
- mineral extraction
- mineral resources
- mining
- Naive Environmentalist Quote of the Day
- nanomaterials
- natural gas
- natural nuclear fission reactors
- neutrinos
- neutron science
- new build
- NNadir
- not even wrong
- nuclear astrophysics
- nuclear bailout
- nuclear chemistry
- nuclear debate
- nuclear energy
- nuclear energy economics
- nuclear energy institute
- nuclear engineering
- nuclear fission
- nuclear fuel cycle
- nuclear fuels
- nuclear fusion
- nuclear madness
- nuclear medicine
- nuclear physics
- nuclear power
- nuclear power education
- nuclear proliferation
- nuclear pulse propulsion
- nuclear reactors
- nuclear reprocessing
- nuclear safety
- nuclear terrorism
- nuclear waste
- nuclear weapons
- nukefree.org
- numbers
- Oklo
- olympic dam
- OPAL
- open hardware
- oxygen
- Paducah
- particle physics
- petroleum
- photovoltaics
- physics
- planetary science
- plutonium
- politics
- polling
- pollution
- probabilities
- proliferation
- proliferation studies
- propaganda
- psuedoscience
- public policy
- radiation
- radiation hormesis
- radiation safety
- radioactive decay
- radioactive waste
- radioactivity
- radionuclides in the environment
- radiophobia
- radon
- reactor physics
- reactor technology
- renewable energy
- renewable energy costs
- renewable energy economics
- renewables
- reprocessing
- resources
- rhetoric
- risk
- Rod Adams
- Russia
- safety of energy systems
- science
- scientific method
- Scott Ludlam
- SLS
- small-scale nuclear power
- society
- solar
- solar energy
- solar power
- solar thermal
- space exploration
- stars
- StormSmith
- sustainability
- sustainable energy
- synroc
- Syria
- terminology
- The Oil Drum
- their actions
- thermal engines
- thermodynamics
- thorium
- three mile island
- transportation
- Uncategorized
- unions
- units
- uranium
- uranium mining
- uranium resources
- van Leeuwen
- Victoria
- VVER
- waste
- water
- water use of energy systems
- white elephant
- wind energy
- wind power
- Yucca Mountain
-
RSS
Entries RSS
Comments RSS