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.
4 Comments »
Leave a comment
-
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
Sounds interesting. Any pictures?
thanks for the post
Hi…
I have set up an arduino single side serial board using gEDA. Please check that and reply how is it…
http://jeffrey.co.in/gnudino
Hi,
Please check out our website, we sell arduino/Freeduino/Sanguino boards and kits…Our recently launched Basic Components Kit will get you started really on Arduino Platform.
Even single sided Arduino boards (Severino) are available in RoHS and Non-RoHS version
We ship all over the world…if you order in bulk we can give discounts..
regards
Sid