When I released the AAduino (original post here) last year I did not really expect the coverage it rendered. Even my WordPress server was surprised as referrals from Hacker News and others brought it to its knees. Building on the ATMega 328 was a natural choice at the time but I really wanted to move to 32 bit ARM micros. One of the reasons is the great debug support available using the impressive Black Magic Probe or cheap ST-Link clones. Gone are the days of my youth when an ARM JTAG debugger would set you back €2000.
Crowd Sourcing the AAduino Zero
So here we are today, the AAduino has evolved into the AAduino Zero that will start crowd sourcing over at Crowd Supply soon. Sign up today and get notified when the campaign kicks off!
I have previously written “soonish” about the start of the campaign but now I can say “soon” with confidence 😉 I have a few hand built prototypes that are working as expected and will go into production with no design changes. I have a quotation from Seeed Studio and the campaign will launch as soon as the final details have been decided upon (pricing being one of them).
The form factor is identical to the original AAduino, as is the RFM69CW companion, but the rest has changed. The micro is now an STM32L052, the temperature sensor is a TMP102, there is polarity protection and also a serial flash which will enable wireless firmware upgrades or data logging applications. A 32kHz oscillator drives the real time clock of the STM32 and for extendability there is a 1 pin IO port (yes, one pin only). The UART (for flashing and debug output) sits on a convenient 0.1” header as on the original AAduino and there are test points for power, SWD and UART.
Here are the full specs:
- STM32L052 micro controller with 32kb flash, 8kb RAM, 2kB EEPROM
- RFM68CW radio module
- TMP102 temperature sensor
- 4Mbit serial flash for sensor data logging and wireless firmware upgrades
- 32kHz oscillator for RTC
- Activity LED
- Reverse polarity protection (the original AAduino had none)
- 1x digital/analog I/O port
- UART port on 0.1” header
- Pre-programmed with serial boot loader
- Minimum supply voltage: 1.8V
- Maximum supply voltage: 3.6V
- Minimum power consumption: 8μA. Yes, eight microamps
Software & demos
Now that the hardware design is frozen I am working on the software including some demos. The AAduino Zero is currently programmed in C using the lovely libopencm3 project. I am planning on adding Arduino IDE support as not everyone are comfortable with installing toolchains, running makefiles and so on.
The first, and most obvious demo, is to get one AAduino Zero talking wirelessly to another one acting as a gateway, forwarding the received packets to eg. a Raspberry Pi. We will see about the next demo implemented but it might be an energy monitor as the one I was using broke down recently 😉
A tiny test fixture companion
In addition to the AAduino Zero, I designed a small test jig to go with it. While the jig is useful for SWD flashing and debugging, it is not required for application development; the AAduino Zero will have an “Arduino style” serial boot loader. I designed three parts in Fusion 360 to hold the AAduino Zero in place:
The “holder” is placed on top of the “jig” and both are fastened to the PCB using M3 bolts. The AAduino Zero goes into the holder and is locked in place with the small “key”.
Pogo pins connect the device to the SWD and FTDI ports on the back and provide power from the DC jack. The unpopulated “AApins” connector is meant for a small hand held pogo pin programming adapter currently in production. It has not been decided if the jig will be included in the campaign but as mentioned previously, it is not required for working with the AAduino Zero.
As always, very much so. Both hardware and software will be published on on GitHub, with one small caveat. The Eagle design files will only be published once the campaign is over and the AAduino Zeros start reaching the backers.
10 thoughts on “The AAduino Zero”
I’m prototyping with the attiny43u, which has a built-in boost converter. It’ll run on 0.7v. It might provide an alternative implementation to the aaduino.
0.7V!? That is highly impressive, must look into that, thanks.
Are you still expecting to launch the Crowd Supply campaign? It’s been a while and hoping it hasn’t been derailed by something.
There has been some delay both on their and my end and there are still a few details to work out but the campaign will launch.
Yay! Thanks Johan.
Pingback: AAduino – Arduino Wireless in AA form factor -Use Arduino for Projects
There is nowhere to sign up for notifications for this particular project on https://www.crowdsupply.com/johan-kanflo/aaduino-zero
The only one available is for CrowdSupply in general – which I already get.
Right now I am finishing the software so the GitHub page is the best place for updates.
Thanks Johan. Email (or a brick) is the best way to remind me to order. Will try to remember to check the GitHub page 🙂