My Pumpkin and Code!
Arduino / Intel Galileo Code <<< GitHub
Painted and Made in about an hour! Recipe on SeeedStudio.
A costume I made from some Cardboard and Twine I made for my Boss the day of in about 30 minutes.
I decorated my own, a coworker, and my director’s Home Depot apron for a contest in the Office. I Won!
I made these for the Big Android BBQ and some of the female Presenters.
All are Plastic or Resin-Cast in multiple pours just due to the mature of the shape, but you might never know.
These clear resin with Glitter ones were part of the Charity Raffle and helped raise money for Rapha House
These are the Full Glittered out ones which were given to people like Chiu-ki Chan (Dev Awesomer), Natalie Villalobos (Head of Women Techmakers), Joanna Smith (Google Dev. Advocate), and a Blank female-only one made for Virginia Poltrack (Artist Extraordinaire).
Just got my OnePlus 2 today and took a sec tonight to check out a suspicious set of connectors on the Styleswap cover.
We have a VERY easy way to add hardware Buttons and Sensors to the Phone.
On the OnePlus 2 StyleSwap cover connectors :
That connector is just a SMALL sticker with a single thin-film resistor in it.
The Bamboo cover has a 22.1k ohm resistor.
It means that ONE pin supplies the voltage (Lower Pin) while the other is a weak pulldown GND.
It shows the Voltage running across those two pins is 2V. This explains the relatively high values chosen for the resistor as it is already a weak pull and easily poll-able. I do not like however, that this pin set is set to 2V constantly in my limited testing that means a weak power drain and something to add noise to a system. At least its not adding more ground noise… a problem which plagued the ONEPLUS ONE which had weak starr-ed ground and virtually no smoothing capacitance or ground loop isolators which caused the most problems with AUDIO. The ground noise was beyod fixable for the Qualcomm DSP to be able to compensate for in something like a high end IEM.
There is no possible way to connect NFC to the back plate UNLESS they devellop their own chips/protocol that require no ground reference. Also most NFC receiver chips use SPI or I2C connection interfaces as the communication clock frequency is important No ground reference shared… bad clocks.
So, if you are Chinese or get the Chinese version, All you need is some copper tape and a 20k ohm thin film resistor and you can have the Bamboo style theme…Cost is $0.01 maybe…plus shipping.
Then I found this in like 2 seconds .
Here is the code (complete with ASCII art schematic!) :
Its even interrupt driven! So no need to reboot the phone to get new data streams or be able to change dynamically like you would expect of a button.
* HW SCHEMATIC
* Cover | Phone
* —–|—-R2(2K Ohm)——[3.3 V
* | |
* R1 |
* | |
* | |
* | |
* | R3(51K ohm)
* | |
* | = GND
* cover type | cover resist(K 0hm) | ADC voltage (V)
* 1 | 0 | 3.18
* 2 | 5.6 | 2.87
* 3 | 12 | 2.59
* 4 | 20 | 2.31
* 5 | 30.9 | 2.01
* 6 | 51 | 1.62
* 7 | 82 | 1.25
* 8 | 121 | 0.97
* 9 | 200 | 0.67
* 10 | 470 | 0.32
* .. | .. | …
We can assume that Bamboo is Cover type 4.
Here is the Kernel Config paramerter
#changhua 2015-02-12 add for switch theme when change rare cover
tristate “switch theme when change rare cover support by ADC”
Say Y here if you want to enable the feature.
Will require a new API into the OS for accessing that info, but not very difficult honestly. Then we would need apps to be able to access that and make sure that we attach a “dangerous” level to the system permission for that API. Still, not a big deal.
We also have the RIGHT amount of voltage to be able to do this, even with a a native 2k impedance output from voltage. We can likely use the phone casing underneath the styleswap cover for Ground reference, since some of the panels are ground connected. So we could get Power (3.3V, low current), GND, and ADC input to the phone right under the OnePlus styleswap hardware.
Still, it will require a kernel patch and likely a shared object library topside with some simple tie-ins for frameworks on buttons (something I have done all of this before). However I know that this will take about a week of time after work with a simple API to get going in CyanogenMod. I am booked through mid-October with speaking gigs, travel, and contract engineering work.
Looks like we have a reasonable amount of bit-depth to work with here too. Humidity sensors anyone? Multiple Hardware buttons like Camera shutter? Answer Phone Calls?
Join us at Meetup.com : http://www.meetup.com/Women-Techmakers-DFW
Our Google+ community : https://plus.google.com/communities/103909031862462598468
And please send me a gChat message or message on the community pages to get an invite to our SLACK channel : wtmdfw.slack.com
Hi guys, I made some #3dprinting on something like a ) of the Women Techmakers icon as Badges, Signs, Earrings, and Keychains! Bunch of different variations, just something I did with my Sunday Afternoon.3D CAD (for
Download Here (Many more variations and designs available):
Meet Bender, the insulting, cigar smoking, drunk robot from #Futurama in #Pumpkin Form! #Fox #happyhalloween2014
When you pass by, the LED flashes while he spits insults. LED flashes as he speaks. When no motion is detected, he is silent and the LED is doing an RGB sequence.
Mp3 Serial module, PIR sensor, Intel Galileo, Seeduino Grove Shield,and RGB led.
Programmed, carved, and decorated in 1 Hour with my team from work for company Halloween Party. Runs on Battery Pack inside pumpkin.
Made using SeeedStudio #Grove and Intel #Galileo #Intelmaker
Code will be posted on my website and such later this afternoon. Its cross compatible with all #Arduino – based boards.
Supported Wifi updates (since everything is INSIDE the pumpkin) and commands to remotely turn off functions (silence, volume control).
Feel free to grab my presentation from the Big Android BBQ 2014 Conference.