CocoMake7
There was loads of new developments over the last few weeks. Thanks to the intense coconut research geek-in-residency iyok!
Updates:
- Switch to attiny85
- bring the BabyGnusbuino back to life!
- loads of optimizations
- Use velocity as signal, no need for re-calibration and detection of on and off state
- filtering if AC noise
- got the multiplexed version to work
- Loads of new boards
To Do:
A jugaad and low-cost educational platform for digital interactivity, compatible with Makey Makey (TM), using QTouch ADC and Attiny85.
Now on GitHub !!!
Follow all updates on our GitHub
Contents
- 1 Below are notes of the earlier developments
- 1.1 Board Design
- 1.2 On GitHub
- 1.3 Make Your Own CocoMake7
- 1.3.1 Programming the Attiny84 from the Arduino as ISP
- 1.3.2 ISP Programmable CocoMake7 on protoboard
- 1.3.3 Using the simple CocoMake7 as PWM-CV or Theremin
- 1.3.4 V-USB implementation for CocoMake7
- 1.3.5 Other Prototypes of the CocoMake7
- 1.3.6 CocoMake7-Hackathon
- 1.3.7 CoconutResearch Residency at a.n.y.m.a.
- 1.4 Comparison to Makey Makey
- 1.5 Which AVR microcontroller to use?
- 1.6 Design Concept
- 1.7 Working prototypes
- 1.8 Logarithmic LUT generator
- 1.9 Related Projects
- 1.10 Questions and Considerations
- 1.11 Prototypes
Below are notes of the earlier developments
A jugaad ultra low-cost clone to the Makey Makey, but based on QTouchADC sensing, local manufacturing and coconutshttp://hackteria.org/wiki/QTouchADC_Library_for_Arduino
Board Design
On GitHub
Make Your Own CocoMake7
Programming the Attiny84 from the Arduino as ISP
Similar to our prototypes it's very easy to just make one on a protoboard. You need to first program the Attiny84 using ISP-programming.
At the moment we are still using an FTDI or other USB-2-Serial converter to connect it to a laptop. V-USB is coming soon..
ISP Programmable CocoMake7 on protoboard
avrdude -P /dev/ttyUSB0 -b 19200 -c avrisp -p t84 -v
Done:
- add LED with resistor on pin 5, aka PB2, formely known as pin 8 in the Arduino IDE
- solder the USB port, still need to figure out the pin layout...
Using the simple CocoMake7 as PWM-CV or Theremin
V-USB implementation for CocoMake7
Next steps:
- connect the USB port D+ and D- to pin 2 and 3, aka PB0 and PB1.
- Figure out the V-USB stuff... stahl is working on it!
- make some PCB's
KiCad, schematics and PCB design by pin
Eagle PCB design as USB stick by stahl
3d laser cuttable case made in openscad (will add d/l link after quality check is approved hehe)
Issues:
- we have to add a crystal oscillator 16MHZ... so 2 pins less :-(
- redesigned hardware core and schematics to put the USB on PB07 and PB06
Done:
- v-usb MIDI is working, sometimes still issues with timing and the Touch-reading seems to be more noisy?
- v-usb KEYBoard, also kinda working, hurray to staaaahhhll!
Other Prototypes of the CocoMake7
CocoMake7-Hackathon
June 20 & 21 we are doing the CocoMake7-Hackathon in Zug... let's see what nice educational and sound/performative elements we can develop!
CoconutResearch Residency at a.n.y.m.a.
13 - 15. December Stahl and dusjagr went to anyma to further develop the CocoMake7...
Things to do:
- think deeply about Coconuts...
Example to use with CocoKeys: http://www.patatap.com/
Comparison to Makey Makey
Resistive sensing vs. capacitive sensing
NO NEED FOR SECOND ALLIGATOR-CABLE!
These schematics compare the resistive sensing from makey makey to the CapSense library (needs a high Ohm resistor, on the digital pins). There is a huge difference in the interactivity if the "user" doesn't need to be hooked up to a wire. everybody can interact, multiple people can play at the same time etc..
By using the QTouch ADC method, the analog pins of the microcontroller can be turned into capacitive sensor, without the need of any external circuitry.
Low-Cost?
The Makey Makey kit incldudes, the board, some alligator clips, USB cable and a booklet, cost 49$, or 3'500 IDR. Far too much for many schools in india or worldwide.
We are aiming at Bill of Materials prize of approx 3$ for small scale production (5-25pieces). can be reduced to 1.6 - 2$ for large production series (1000 pieces).
Just a general thought about different interpretations of "low-cost" in the West... in China... and in India?
Makey Makey GO
just now, May 2015, they announced a new product, already heavily hyped online and fastly supported on their kickstarter campaign (please not the address -> Cocoa Beach :-)
This one seems to use CapSense, maybe on an attiny? no open hardware as it seems...
- 1 single Capacitive butten
- detected as keyboard, spacebar press it seems
- magnetic to clip on aligators, or put it on the fridge
- nice and small
- 19$, prize is soso... for only 1 button
- attached to smart phone via the usb-converter plug
Jugaad
We make it as cheap as possible, including capability for local manufacturing. DIL-package, easy available parts, 1 sided PCB design and protoboard design, fancy PCB for collectors and geeks.
Which AVR microcontroller to use?
ATTINY 84
- availability ok, prize starting around 150 IDR (2$), 1.50$ from Mouser, goes to 0.83$ if you buy 1000.
- 8 ADC channels
What's the difference beetween attiny84A and attiny84 or Attiny84V (Low Power and expensive?) or Attiny841 (new edition of attiny84 or attiny84A)?
ATTINY 25/45/85
- availability ok, prize starting around 85 IDR (1.20$)
- only 4 ADC channels
- adding a 4051 multiplexer, prize?
- connection to other projects, like the ATtami
ATMEGA 328P
- very widely available, prize starting around 220 - 250 IDR (3$), 3.48$ from Mouser goes to 1.82$ if you buy 1000.
- The smd chip has 8 ADC channels, but the DIL seems to only have 6 ADC channel on Port C, ADC0 - ADC5
- other extra pins for doing stuff
Download ATMEGA328 datasheet
ATMEGA 32u4, same as leonardo or the makey makye
- only smd package
- High prize, 6.32$ from Mouser
- Hardware USB support!
ARM Cortex-M4 -> Teensy 3.1
yeah, it's cheating, not Jugaad, but rich-bitch Swiss stayle. But it works....
Nuvoton or hacked toys
http://www.nuvoton.com/hq/?__locale=en
Raspi? zero
https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget?view=all#other-modules
Design Concept
Download pdf: File:CocoMake7_concept_Diagram.pdf
Working prototypes
Attiny84 4 Channel QTouch -> PWM and serial out
Controlling a synth on puredata
Triggering samples on puredata
Attiny84 I2C communication to Mozzi Sound processor
not developed further
CocoMake7 USB-stick - Attiny84
Testing MIDICocoMake7
Download the pd test-MIDICoco patch here: File:test_MIDICocoMake7.pd.zip
Here is a nice webSynth: http://webaudiodemos.appspot.com/midi-synth/index.html
- Figure out the most important control values for this. and we can play the keys and the midi simultanoulsy!!
Testing KEYSCocoMake7
CocoMake7 rev 0.0.1
Download schematics: File:cocomakey.pdf
Download KiCad files: File:cocomakey1.zip
USB plug version of CocoMake7 using attiny84
To Do:
- add LED on PB2
- change silkscreen to Make7
- add a reset button?
- Redesign the ISP port on backside to have additional standard size
NanoCocoBabyMake7 - Attiny85 and MultiPlexer
Going back to the 85. Why?
- Cheaper
- much wider availabibility
- no crystal needed
- because we can
https://oshpark.com/shared_projects/Qk02TStg
Schematics: File:cocobabygnusb1_06a_schematic.pdf
Where to get a good micro-USB to hand-solder:
- http://de.aliexpress.com/store/product/25pcs-Female-Micro-USB-Connectors-Plug-2-feet-DIP-5P-V8-Port-Charge-Socket-jack/1354140_2036190324.html?storeId=1354140
- http://de.aliexpress.com/item/Free-Shipping-500-Pcs-Micro-USB-B-Female-5Pin-SMT-Socket-Connector/2048074789.html?detailNewVersion=2
- from our friends at ATtami: http://telavivmakers.org/ATtami
NanoCocoFetus - Attiny85 pure!
https://oshpark.com/shared_projects/zLk4hSvO
CocoTeens7
Works very fine, but not so much "jugaad". See github.
Nice stand alone sample player easy to be implemented... see more about audio on the Teensy 3.1.
CocoTeens7 - Taipei Edition
Testing the new CocoTeens7 at Dimension+ and Openlab Taipei:
CocoTeens7 - v2 break-out
Download the board: File:Teens7Coco_pcb_dusjagr_MASK.pdf
Logarithmic LUT generator
Related Projects
HID Keyboard emulation
V-USB virtual USB emulation on ATMEGA
V-USB HID devices on attiny, loads of well written code
Gnusbuino by Michi Egger - anyma
Easy Logger V-USB keyboard on Attiny
- http://www.obdev.at/products/vusb/easylogger.html
- http://codeandlife.com/2012/02/22/v-usb-with-attiny45-attiny85-without-a-crystal/
Virtual Keyboard (vusb-for-arduino library) for Arduino
- http://www.practicalarduino.com/projects/virtual-usb-keyboard
- https://code.google.com/p/vusb-for-arduino/
- http://www.hackster.io/rayburne/arduino-to-excel-using-v-usb
- http://blog.petrockblock.com/2012/05/19/usb-keyboard-with-arduino-and-v-usb-library-an-example/
Trinket Pro, ATMEGA 328 with bootloader and HID key libary:
Turn your Arduino UNO into a HID keyboard
Makey Makey - From $49.95 was $69.95
Makey Makey on Sparkfun - $49.95
- https://www.sparkfun.com/products/11511
- Datasheet, Schematics: Makey Makey Schematics
Make something like the Makey Makey with Arduino Leonardo
Make your own Makey Makey, based on Shrimp (Bareduino)
Makey Makey GO - 25$ coming soon
- 1 single button
- 1 red aligator clip
- some non interactive LEDs for stayle
- magnetic clip
- direct usb plug on device (like the BabyGnusbuino)
- is it reprogrammable to choose the keystroke? function buttons?
- instructions.. .following
On Kickstarter since May, delivery until november?
BareConductive Touchboard - £90.00
Based on ATMEGA 32u8 Leonardo, uses capacitive sensing, conductive paint
Seems they use an additional chip for the capacitive sensing, MPR121. Prize ca 1-2$ on the real!
At sparkfun a breakout board is available for 9$.
Nice they don't do any "open-washing". good engineering and in the end... all the code is here:
ototo.fm - 60£
Based on ATMEGA 32u8 Leonardo
can be detected as USB device
play dircetly some sounds, using the mozzi library
https://www.youtube.com/embed/pFRl5bvVOnY
Beetbox
http://openmaterials.org/beetbox/
MPR
https://learn.adafruit.com/metal-inlay-capacitive-touch-buttons
Scratch - free
Create stories, games, and animations Share with others around the world. A creative learning community with 8,808,476 projects shared. With Scratch, you can program your own interactive stories, games, and animations — and share your creations with others in the online community. Scratch helps young people learn to think creatively, reason systematically, and work collaboratively — essential skills for life in the 21st century. Scratch is a project of the Lifelong Kindergarten Group at the MIT Media Lab. It is provided free of charge.
Questions and Considerations
Vendor ID ?
What about this vendor ID. Does anyma have one?
From Adafruit Trinket Pro:
From V-USB
Prototypes
Gallery
Coconut speakers, made in ANET by Chandni Venkataraman
Videos
The Center for Alternative Coconut Research
More about Coconuts
The Center for Alternative Coconut Research
- website coming soon...
Deejay: The World’s Trendsetter in Hybrid Coconut Seedling Production!
The Coconut Palm Man
The other... Coconut Research Center. Dr. Bruce Fife a.k.a. “Dr. Coconut” answers your questions about coconuts:
The Coco-Mic - The DIY Studio Quailty USB Mic (MEMS technology)
31 Unusual Uses For Coconuts$
An eco-friendly alternative to Coconut Fibre Processing
Global distribution of the Coconut Palmtree
Coconuts in Pop-Music