Purchased an RGB led strip some time ago, 1m, waterproof, for 3€ from ebay. (Unfortunately, it was not tri-led, so keep that inmind when you purchase)
Did a quick test with a multimeter, it pulls around 170ma per channel.
The RGB LED Lighting Shield with XMC1202 is very straight forward. Just need to solder 4 pins (SCL, SDA, GND, IC2 pull up) so you can stack it ontop of arduino uno.
I then found an arduino demo on infineons website here:
You download a windows installable, which upon execution places a zip in install directory, and then you need to extract the zip, so you can get a single arduino ino file !
Why all this trouble, for a source file!? I think this is a good oportunity to introduce https://codebender.cc/
It's an online arduino IDE, which you can even compile a sketch and upload directly to your arduino from the browser.
And here is the infineon rgb demo source:
(I've tried to embed it, but element14 site does not like it I guess)
and this is the result:
I Just received Arduino Yun.
There was some delay due to Greek customs, as it was send from the US, but element14 took care of it, along with the expenses
So I power up YUN with a micro usb cable, and search for wifi. Found one named "Arduino YUN blahblahxxxxx", connected and tried surfing it on IP 192.168.240.1
And this is the welcome screen. (password is arduino)
I configured my Wifi SSID and pass, (would be usefull to have a tick-box for displaying pasword)
rebooted and I can see Yun on my accesspoint, getting an IP, great!
Did an ssh connection via putty, using root and arduino as pass, and here is the linino.
Downloaded arduino 1.6.3
Specified board as Yun, selected correct port, and uploaded the "blink" example... waiting...it works! :-)
All was straight forward and as expected, nice.
Note, if something goes wrong with your Wifi settings, you can:
I installed the USB driver, and hooked my SAM to the USB of a windows machine, connected with putty....and... hello there!
Note that I did not have to change flow control to "none", just changed speed to 115200 and set correct port.
"root" account is without password. Had a look around, by running:
Linux sama5d4-xplained 3.10.0-custom #1 Thu Oct 30 16:04:45 CST 2014 armv7l GNU/
Poky (Yocto Project Reference Distro) 1.6.1
Linux version 3.10.0-custom (josh@melon) (gcc version 4.8.2 (GCC) ) #1 Thu Oct 30 16:04:45 CST 2014
Filesystem Size Used Avail Use% Mounted on
rootfs 446M 100M 347M 23% /
ubi0:rootfs 446M 100M 347M 23% /
devtmpfs 251M 0 251M 0% /dev
tmpfs 251M 72K 251M 1% /run
tmpfs 251M 108K 251M 1% /var/volatile
top - 09:14:38 up 51 min, 1 user, load average: 0.08, 0.03, 0.05
Tasks: 39 total, 1 running, 38 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 98.7%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st
Mem: 513976k total, 25240k used, 488736k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 11776k cached
opkg list|grep java
but got nothing back
Did a quick search, and came up with this:
It's for Intel(R) Galileo board, but it's also using Yocto. This gave me a hint, that I need to specify a source url for /etc/opkg/opkg.conf but is there one that we could use ?
So I guess that means, I will have to install Java manually, or the normal (atmel) approach must be to build a different image with the distro of choice (i.e. debian) and inherit the support/repos/etc.
As a quick and dirty test, I tried the following:
(Oracle requires "I agree" ticks, so I did a search and found a random mirror for direct download)
tar xzf jdk-7u60-linux-arm-vfp-hflt.tar.gz
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode)
..that went smooth
Next post >> [ExM] #3 First attempt on Arduino Yun
I am a (software) engineer and an espresso coffee enthusiast. As a result, I could not settle for an ordinary instant capsule coffee with hightech chemistry but without real smell and taste of proper coffee (i.e speciality coffee). So I got myself an old school professional espresso coffee machine, revived it and I am enjoying quality coffee at home... well kind of. These old heat exchange espresso machines, require expert handling, to produce decent coffee. It's not like you press a button, and magic happens. You need to warm it up for 30+ minutes, and then heat flush (throw away some hot water) to bring it to perfect temperature (somewhere between 90 - 94C) so you can brew your espresso. In addition to water temperature, the volume of water and brew time have a major effect on the end result taste. As if this wasn't enough, one should also consider grind setting combined the amount of coffee per shot, (and freshness of beans, and room humidity :-P)
I guess that's why most people prefer ready-to-use coffee capsules, but sometimes I like the long way home :-)
As a home-barista I am constantly trying to improve my skill, and resulted coffee. This requires attention to details so that I can reproduce the same result. It would have been so much easier if I could see all brewing related values, store logs among with comments on the coffee taste, so I can study them later, and improve/reproduce the best results. Therefore it is now time for my old espresso machine to get an upgrade to the IoT world !
Core objectives, espresso machine mod: (in blue color)
I guess the above could be accomplished on Arduino Yun , but to play with text to speech (and my favourite OpenHAB) I will be using SAMA5D4.
Extra objectives if time permits: (in pink)
Any ideas on how to tackle these issues, easy, quick and cheap, are more than welcome.