Skip navigation
2015
Hi Everyone,   Attached is video of how this all works. I put everything together to work, but without the clock everything couldn't be demonstrated. I set this up in the basement and couldn't have the lasers work the thermostat as we don't have one where I did the demo. Everything works in the demo as you will see. Hope you enjoy:         This is everything until I finish the clock and have it all together. Thank you for your patience and hope you enjoyed. I wan ...
Here is our final (But not final) update for our Enchanted Clock.     My goal was to create a wooden clock and enchant it with the kits supplied by our generous sponsors, Atmel, Element 14 and Infineon. I wanted to have the clock recognize who was in front of it, control the lights and temperature  by voice command, control the lights by sensing if you were sleeping. There would also be a way to keep the time correct without self-adjusting the clock.   Accomplishments: &# ...
Jan Cumps

oh no - deadline passed

Posted by Jan Cumps Top Member Jun 26, 2015
Just too late to meet the timeline   I've been telling the story of the brothers Christian and Josef Steidinger here on the blog. Christian is the one who left the family business and started the Perpetuum Ebner manufacture. But to be honest, he's the one that didn't succeed. Brother George created the DUAL brand, and that company survived in its original form till the 80's.   The photos below are turntables that I have from DUAL. Some are brought back to specs. Others are Work In ...
When subbmiting my application to join this road test, I set myself 4 success citeria:   Success Criteria: I will deem the project a success if: •It can accurately and reliably display the number of messages in my inbox up to 12 •The system can cope with more than 12 messages in a way that does not result in catastrophic failure •The display can be read in darkness with an LED backlight •The unit is powered by a single DC wall wart   My project has been successf ...
Today I finished putting the final touches on to the inbox and the code. First of all, the code. Unfortunately, for the past few weeks there has been an intermittent issue with the inbox and activity on the element 14 website. The issue has now been resolved, and was not a major barrier to normal use, but it made prototyping code increasingly difficult as the section of the site the code was trying to observe would fail randomly, making troubleshooting incredibly difficult. As a result of this I ...
In the below presentation on security Rohini Pandhi mentions the problem of keeping your device updated.   Unconnected consumer items used to be simply build, distributed and sold with no process for doing any updates. Embedded systems did have options for updating but often this needed to be done by a trained field service engineer or by returning the item to the factory. Small issues spotted post production were fixed in new versions but often not patched in older versions. If there was ...
...
After building the MagicHat, I was wondering: what if I want to wear the hat at a party? I need a bow tie... so this is a quick tutorial to build the bow tie for your MagicHat     IMPORTANT NOTES 1. it's better to wear the bow tie with a shirt 2. charge MagicHat battery before the party 3. remember to shave!! 4. say thanks to balearicdynamics  for this wonderful idea   ...
Some photos that were taken during the project.                                                                            & ...
As mentioned it the demo video and Enchanted Objects Design Challenge - And they all lived happily ever after the Arduino Yún takes a long time to boot. I did notice that there's a bit of a difference between different file systems on the SDA. I also collected together some links in my research which give ideas on speeding up this process.   One tool that might help is BootChart that gathers some stats and presents them as a chart, as with a lot of things on the Arduino Yún t ...
Hi Everyone.   Just a quick reminder that your final blogs are due tomorrow, June 26 at midnight GMT. Remember that the more rich content you include, like videos and images, the better your chances of winning.   We are excited to see all of your builds! You have created some truly amazing, beautiful objects, and we want to thank you all for inspiring all of us at element14 with your creativity.   Thanks for all of your hard work, and good luck to you all!   Sagar ...
This week I completed my project for the Enchanted Objects design challenge. It has been funny even if some external activities (namely work and family :-)) didn't allow me to get a more in-depth view of some aspects. I will now try to assess whether I met the requirements of this challenge   Security The MagicHat does not publish anything on the Internet. Local connections are encrypted through SSL and access to web UI is protected by user authentication Accuracy: how well does the propos ...
Overview This particular enchanted object is right out of the storybooks. Deep in the forest is a small cottage owned by a timeless couple, Hans and Matilda who are doomed never to meet. When it is wet he goes outside but when it is dry she must leave the house.   The idea was to take an old fashioned "cat gut" based weather house and use the electronic components to bring it up to date. The key features would be servo driven mechanics, LED showing the temperature and the Arduino Yun for g ...
There was a new version of the Arduino IDE, this week was not the best time to download it, so that was left until after the challenge.   Due to the modular nature of the design the boards and components could be tested as they were assembled. The boards were tested with modified versions of the example code that were originally used in the development. Prior to assembly the proto-shield was visually inspected for problems.   Test code and example: https://github.com/Workshopshed/Enc ...
Planning and Research The project was planned by creating a calendar of the 15 weeks in a spread sheet then mapping the high level tasks to the weeks. Two weeks were left empty to allow for issues and overruns. Critical path items such as the house were ordered early on and potentially long lead time items such as the battery were ordered as soon as possible. I knew that I would be out of town for a couple of weeks during the project so I effectively did twice the work in the preceding weeks ...
crjeder

Finalisation

Posted by crjeder Jun 24, 2015
Time is up! And I am not done yet. So I have to pack my stuff and present what I have achieved in the past 16 weeks.   Smart Key Hooks  What are smart key hooks? Or what are key hooks anyway? Basically they are a place to hang your keys like this: But for me it is a little more. By looking at it I know who's at home and who not and it is used to exchange important messages between family members: (The mess is just utensils you want to reach from the doorstep.) As is it works perfe ...
coolbox

Enchanted Window - Video

Posted by coolbox Jun 24, 2015
Here I want share Video about my project:   ...
Linux support for 10-bit Slave Addressing The I2C protocol knows about two kinds of device addresses: normal 7 bit addresses, and an extended set of 10 bit addresses. The sets of addresses do not intersect: the 7 bit address 0x10 is not the same as the 10 bitaddress 0x10 (though a single device could respond to both of them). I2C messages to and from 10-bit address devices have a different format.See the I2C specification for the details. The current 10 bit address support is minimal. It should ...
coolbox

Enchanted Windows

Posted by coolbox Jun 24, 2015
Hi, Here,I want to post some update about may Enchanted windows project. I was able to control window using arduino yun’s wi-fi.I was not sure about a actual window so I have tried with thermo Cole model.   Here I have used 150 RPM DC geared motor with Infineon DC motor control shield.pic connections are: Digital 2 in yun -> IN1 in motor shield Digital 3 in yun -> IN2 in motor shield INH1 and INH2 were connected to 5V in yun. Also I have shorted GND of Infineon shield and y ...
Putting on the roof One of the big physical jobs left for Matilda and Hans was putting the roof back on. They realised that they could not do the job by themselves so they wandered down the Adam and Eve Inn to look for volunteers. It turned out that everyone wanted to help so the barkeeper closed the pub and he and the snake came along too.   The helpers were of various use, the Dwarves spent most of the time arguing and Farmer Hogg kept saying things like "I'd not have started from here". ...
"Now is the time to add some magic & mystic back into the world of everyday objects"   Yup, this fits the brief.... Motorcycle + Toy Horse = MOTORHORSE   ...
The Cottage The cottage has been extended at the back to house the electronics and below to hide the mechanism. The front window has a new frame to show off the LED temperature indicator.     Mechanics The mechanism is a double ended Watt's linkage which gives an approximately linear movement for the figures. This is connected by a sprung stainless steel wire to the micro servo. Diametrically polarised magnets ensure that the characters are always pointing in the right direction. ...
The cottage was disassembled so that the base could be painted matt black. This is an old magician's trick to draw the eye away from the base and hidden mechanism underneath. The top panel electronics were also put together with another bit of stripboard, a couple of buttons and a 3 way connector. This was then glued to the top panel using some blobs of Sugru, of course it's best if you can avoid gluing your electronics into the product as it makes the whole thing harder to service. Given ...
Cost Analysis As well as the components kindly provided by Element14, Atmel and Infineon there were several additional components purchased for this project. These were bought as the project progressed or were already in the spares drawer. Where the original supplier was not known the costs were estimated based on current prices. Where more components were purchased than needed the costs were pro-rated. I've tried to include absolutely everything but it is possible that something was missed.  ...
The Enchanted Cottage build has been a multi faceted project with electronics, micro-controllers, embedded Linux, woodwork, 3D printing and general assembly challenges. To give you a better idea about how I worked on the project I've made a list of all the tools I used. Tools and equipment There was a wide variety of tools used for the project. Nothing was bought specifically for the project but a couple of things were made. The Robox 3D printer came in handy as it allowed parts such as the top ...
    It's the last week of the Enchanted Objects design challenge. The Enchanted Player plays, the blogs are blogged. I'm closing with this video. Thank You All!     What's That Enchanted Player  A Perpetuum Ebner turntable from 1958 is controlled by modern technology. Microcontrollers measure the table speed and control the motor. The audio is sampled and run through Fast Fourier Transform to turn it into chunks of the audio spectrum. A light organ is h ...
Even if the MagicHat is not sending any sensitive data out on the Internet, it's always important to make communication as secure as possible. For this reason, I will implement HTTPS communication between the web browser and NodeJS running on Arduino Yun. Since the communication is now encrypted, we can use basic authentication (were password is just Base64 coded, but not encrypted) To add HTTPS support, we need to:   Install OpenSSL OpenSSL setup can be downloaded from here. Installation ...
Following lots of rude interruptions from the Wolf, Hans decided the Arduino Yún's security needed beefing up. After a bit of reading Hans realised that this could be a 16 week design challenge in it's own right.   Hans' plan of action for the lock down was as follows:   Users and passwords Handle brute force attacks Remove unused functions Apply principle of least privilege   Passwords Hans had already changed the default root password to something unique but realised ...
Happy Fathers Day everyone (Especially my Dad),   So my Dad is real happy with what I have done with the temperature control. He has now challenged me with the issue of the thermostat being across the room from the clock. He has asked me to have the motor run wireless from the Arduino to set the temperature. I have thought this out for the past 2 days and came up with a perfect solution. I designed a way to have the Arduino send a laser beam to a photoresistor on the other side of the room ...
Unfortunately, I was unable to create a video to show you guys how beautifully my magic lamp was working. When I asked the genie to come out and play today he instead thought to introduce me to some magic smoke, and like that he was gone (In other words, my Infineon RGB  Shield went BOOM!). But I had a blast working on this project. I have a quick, very pathetic, mock up of what the final thing would look like.     The big box around the shield and Arduino is the 3D printed con ...
Whilst Hans was coding Matilda was fine tuning the mechanism and finishing the housing. When the magnet housings had been tested their positions had put Hans and Matilda a bit far back into the cottage. The magnet carriers were redesigned so that the holes were towards one end, that would move the positions forward by about 7mm and the coverings for the holes turned out not to be needed so those were removed to reduce printing time. Due to their simple design and shape they printed first time ...
This is the last week of the challenge The hardware and software are almost completed, so it's time to build the real hat. In a previous post, I started building some parts of the hat. First of all, I cut out from plywood a circle that will be the brim of the hat. I then fixed the blood pressure measurements device to the plywood using some self-tapping screws   Then I covered everthing with a fabric. It's not very fashion, but that's what my mother has in house     I the ...
Disable the bridge As mentioned in previous episodes the plan was to remove the bridge as that provided much more functionality than it needed to and it also provided root access to the Linino side from the Arduino code. Hans thought would replace it with direct serial communications between the two CPUs.   To stop the bridge /etc/inittab is edited to disable the connection of the console to the serial port ttyATH0, the Yún needs to be rebooted after this change.   ::sysinit:/ ...
  As a dramatic closing exercise to the Enchanted Objects parade, I chose to try and build a C MQTT client for the SAMA5D4. It turned out to be not dramatic at all. It was rather easy. Here's my log of the activities.       My ToolSet  I'm cross-building the library and executable on a Windows machine. I used Eclipse for DS-5 - Community Edition as my IDE, and used the built-in ARM GCC 4.x toolchain. My telnet client is PuTTY, and WinSCP does the file transfer. I ...
When I was making the Topsy Turvy Clock I created a non blocking delay class so that the Arduino could be doing other things whilst waiting for a timeout. This avoids the use of the delay function which otherwise "blocks" the operation until the timeout is completed. I realised that this same technique could be used to control the flashing of the RGB LED. This will need to be expanded to handle the colour cycling which will indicate that the Wifi settings need configuring.   Code: https:// ...
Thanks to the Text-To_Speech engine, I can easily add a nice function to the MagicHat: the capability to say wisdom phrases while it's idling The implementation will be based on a web service that provides quotes as a JSON document I found a lot of alternatives on www.mashape.com and I selected the quotes service provided by quotbook.com The URL to invoke to get a new quote has the following format https://yusufnb-quotes-v1.p.mashape.com/widget/~{search}.json where {search} is th ...
The bridge Hans had been spending too much time inside coding. So this morning he went for a wander down by the stream. As he neared the town he saw the new bridge that had been put in so that the children could cross the stream to get to the school. The bridge was made of iron and had gates so that cattle did not wander across. There was a solar powered telephone box so that the kids could make calls and send emails and notice board so that the school could leave important bulletins for them to ...
rpbruiser

Quick Update

Posted by rpbruiser Jun 16, 2015
This is just a quick update, I have created a library that will calculate the sunrise and sunset times for any location for the current day, and whether or not that location is currently in daylight savings or not. This is an update here because the library is based on the code I wrote for this project. If you would like to check it out, or us it, you can go here and find it. It has capabilities for those with or without internet access, and has been helpful to me, I hope you guys find it helpfu ...
Hi everyone, it is Chrystal with the update.   First of all, my Dad told me that the temperature will be voice controlled, AFTER I GOT IT WORKING!!! So I spent all day today (after school) and added it into the voice program, haha to him, it works. He has no idea yet as he is working on the wooden clock. Below is the Arduino script that is used for the whole voice control, my part is in red so it stands out. I drew a quick picture of how it works, I couldn't get a picture without him findi ...
My first bonus design is a remote light organ. I've built it with an Arduino Yún, the Infineon RGB Led Shield and a bunch of LEDs. Part 1 was my log on the build, and trying out if the Arduino-to-Infineon-toLEDs works. In part 2, I'm showing off the completed design.     It Didn't Work Just Like That  I had issues getting it to work with a 64 char payload. I have some candidate root causes for that, but it's hard to get to the bottom without debugger (I think it is my mech ...
A trip up the fell Matilda looked serious, she was dressed in a boiler suit, boots and a hard hat, she was leaning on a pickaxe. "Do you remember that watch my father gave you as a wedding present?", Hans nodded and took it out of his waistcoat pocket. "Put it in the drawer", Matilda commanded "and your reading glasses". Hans put the items in the drawer. "Put on your gear and meet me out front". Hans put on his boiler suit, hat and boots and headed out. He was met by Matilda and Farmer Hogg who ...
The Genie has finished his renovations and is ready to show off his new crib, unfortunately he went on vacation and will not be able to show any pictures or videos until he returns home, but he has decided to release a listing of the house for all who are interested to see the new things that he has done to his new pimped out crib. Unfortunately the code is too long to post here, and I will add a link to pastebin here. I have also created a library that does a very similar thing to what I have d ...
Some fantastic examples from model making company Pantograph, I particularly like the binary type writer   www.spoon-tamago.com/2015/06/08/pantograph-imagines-gadgets-from-a-parallel-world/ ...
  This is my first installment in the BONUS series where I'm tapping into the turntable's audio spectrum data that I'm publishing on the internet.   My first bonus design is a remote light organ. I'm building it with an Arduino Yún, the Infineon RGB Led Shield and a bunch of LEDs. Part 1 is my log on the build, and trying out if the Arduino-to-Infineon-toLEDs works.   Re-use and Re-purpose  I have kind of a head start here. For a previous element14 event, I have ...
Here's a small DEMO video showing working of Enchanted Wardrobe Project. FEEDBACKs WELCOME ...
Here's a flowchart explaining the complete working on Enchanted Wardrobe:   I am bit conscious about the suggest clothes feature, Based on temperature and weather conditions outside the wardrobe needed to be suggest clothing for the day to the user and now if user wants to go by the suggestion he can press the button and accordingly the cloth section will come ahead.! say if its a bright sunny day and wardrobe suggests to wear cotton clothes put shades and uv protection cream and if user a ...
In the Last blog post(s) we used Yahoo Weather API under TEMBOO choreo to extract local weather information. The API returned data in XML form which we later parsed using Temboo Output filters and get needed information from the response. Now In this blog I'll show you three more powerful features of Temboo which is helping maker to integrate Digital/Analog input triggers and Actuators with their existing cloud APIs to build Internet Of Things based devices. Consider having a phone call when lig ...
amgalbu

19 - MagicHat first words

Posted by amgalbu Top Member Jun 12, 2015
I completed the mouth and the MagicHat now can speak. I had to make some changes to the circuit for reading audio output. The new version includes two resistors and a capacitor to shift up voltage level by 2.5V     Using an headphone, I cut off one of the speakers and added a connector to be connected to the Arduino board     The video shows MagicHat saying its first word. "Hello". Unfortunately audio quality is not that good due to my smartphone limitations, but it gi ...
crjeder

Thoughts on Privacy

Posted by crjeder Jun 12, 2015
An interesting research paper about security vs. privacy. It is about securing the home through "smart" internet connected locks and how it could allow parents to spy on their teenage kids. When the kids circumvent the system in order to regain privacy security is even lower than with a "old-school" solution. It is relevant to this project because very similar audit logs are produced by the smart key hooks. The information smart key hooks collect is "text-only" which is better accepted by the s ...
Matilda does not see the light When Matilda tested the temperature status LED it was clear that it was not going to be visible from outside the cottage. The dark cottage interior sapped away the struggling coloured lumens. However, Matilda spotted that the LED was positioned right opposite the fake painted window on the front of the cottage. If that could be replaced with a real window then the LED would be clearly visible. Now some people when thinking about new windows would be looking at c ...
crjeder

More Datasheet Studying

Posted by crjeder Jun 11, 2015
Some of you might have recognized that I omitted one significant detail in the C code in my last post "Use WS2812B on the SAMA5D4 Xplained": How is the correct PWM clock frequency of 2.4 MHz configured?   Clocks, Clocks and more Clocks The peripherals of the SAMA5D44 (no, this is not a typo, that's the name of the SOC on the SAMA5D4 Xplainded board) all receive their own clock signal. Relevant for PWM is the peripheral clock as shown in the diagram from the datasheet (page 1448): Most c ...
Whilst Matilda worked on the LEDs and top panel, Hans finished off the circuits for the MOSFET power switch and connectors.   Circuit Explanation  A MOSFET is used as a low side switch to turn the power to the servo, RGB LED controller board and humidity sensor. This is connected to the Arduino output with a few extra components from the Arduino Workshop Kit.   The gate of the MOSFET effectively acts like a big capacitor and for a short period before the transistor turns on it c ...
    Today is a turning point for the project. The turntable is finished. Speed control and light organ with servo lift are built in. And now that the table is publishing data to the cloud, it's officially a Thing.     If I was a stressful person, a big weight would fall of my shoulders now. I'm not a stressful person. But I am happy that I reached this point. A point of luxury and freedom. I still have loads of time to tap into the cloud part. To creativity!   ...
In my last blog post I talk about fetching Weather Information of a desired location using Yahoo Weather API and TEMBOO services on Arduino Yun. The purpose of using Temboo like services in my Design challenge project is to make project as simple as possible and even simpler to replicate so we each can have our own Enchanted Wardrobe in homes . Temboo makes it easy even for non-programmers to have a feel of IoT World and best part it comes pre-bundled with Arduino yun and other Arduino using Eth ...
More Details on the WS2812B  The mysterious signal from my previous post was for a WS2812B LED. It was shown in Fairy Dust has arrived!. It is a RGB LED with integrated controller. The LEDs can be easily chained together:   If you are really crazy you can build something like this with those:   With an estimated power draw of 3 KW and 10.000 WS2812 LEDs this is really insane.   But back to the lab: Besides of the power supply the LEDs use only a single pin for data ...
The Crystal Cave  It had been a hard week so a trip to the Adam and Eve Inn was in order. Hans and Matilda sat next to the dwarves who for once were not having an argument. The dwarves had recently discovered a new cave lined with amethyst and citrine crystals, they discovered a strange phenomenon that happened on a full moon. Tonight was a full moon so Hans and Matilda were invited to see. They were given hard hats with lights and headed off through the forest to the mine. As they journey ...
Sorry for the delay in this posting, between working 7 days a week for the past 3 weeks and family I got a bit behind on blogging.   Chrystal has been working on the thermostat regulator with the servo for  a bit now. She is wanting to do it on her own so I am letting her learn about the motor and connecting it to the Arduino. She is starting to program it to turn on and off, this has been frustrating at times but she hasn't backed off. I have pictures of her getting mad with frustrat ...
Let us assume that I want to create a signal like this:   Where:   Signal Name Duration in μs ± 150 ns T0H 0.4 T1H 0.8 T0L 0.85 T1L 0.45 Treset > 50   The usual way to generate arbitrary signals is called "Bit banging". It requires software to set the output in the "HIGH" and "LOW" state in the exact timing given by the protocol. The timing requirements for this signal look pretty strict that I do not believe that this would be possible or at least not ve ...
My apologies for no update this week. This week was exams week leading up to my graduation this Saturday so I had no time to make a post. I attempted to access the Internet through the Yun while at school, but to no avail, unfortunately the Yun does not support WPA2 Enterprise networks. I have finished my code and will post that this upcoming week when I get access to my computer again. I hope everyone else's projects are going well. All I have left is to connect the Yun and double check all run ...
The last missing piece of hardware to complete the MagicHat is the mouth The mouth will be a simple VuMeter that continously read the line output from the USB audio card and switch on LEDs accordingly LEDs will be switched on from the center to the sides to give the impression that the mouth is more open when the sound is louder   Here is the circuit schematic     and here is the flowchart of the code that switches on and off LEDs     NOTE: (threshold1 < thre ...
In this blog post I'll show you how to fetch weather information from Yahoo Weather API using Temboo services which came pre bundled for Arduino Yun.   About TEMBOO:   Temboo is an online service which enables developer build Internet enabled applications using 200+ choreos and APIs around the web without actually coding, The temboo generates the required code needed to accomplished work from an API ex Fetching geo coordinates from google services, Weather from yahoo etc. Temboo also ...
  Today I'm taking that great leap to the cloud. The Perpetuum Ebner goes online and publishes what's happening.     What is the Turntable Publishing?  I have 3 interesting sets of data available in my design. The raw sampled data, 128 8-bit samples covering the audio frequency range (signal B). That same information transposed to the frequency domain: 64 buckets, each representing a subset of that frequency spectrum (signal C). Those 64 buckets grouped into a Bass, Mid ...
I went through and interesting article here   Basically, what they state is that once you got the correspondence between biosignal ADC reading and maximum blood pressure, you can determine systolic and diastolic pressure by applying a linear equation on the minimum and maximum ADC reading for each heart beat   So I have a very simple (yet not optimal) solution to the problem of determining the systolic and diastolic pressure The flow chart of the process for measuring blood pressure ...
No volts When Hans wired up the comparator circuit he could not get the output to go high. He swapped out the sensor with a simple voltage divider but still nothing. Thinking that he'd got a duff component he tried another, still the output stayed on 0v. The data sheet provided a clue, the output needed a pull up resistor, it could only act as a current sink. The resistor was added and the voltage divider circuit behaved as expected, switching from low to high as the trim pot was adjusted. &# ...
  It's time to connect my turntable to the internet. We're in the last month, and I haven't sent a single bit to the cloud. That's about to change. I'm preparing my fixture to publish information. It's going to be a two-step exercise. First, I'm going to share the light organ info. I'll send the state of my Highs; Mids and Lows LEDs to the world. Once I have that working, I'm going to add speed info: is my Perpetuum Ebner running slow, fast or perfect.         Fro ...
  In this episode, I'm combining the light organ and the servo control into one Arduino UNO.. It's also the first provisional attempt of mounting into the base of the turntable.       How the Light Organ and the Servo Lift Work Together  I want the light organ and the lift to just work together, without me having to worry about them. In previous posts I have introduced the autonomous light organ and the autonomous lift. They are now combined on a single Arduino, b ...
Who's at the door  Hans and Matilda were fast asleep when they heard a knock at the door. He put on a robe and wandered over to the door. "Who is it", he asked, "The postman" replied the stranger. Hans peered through the spyhole and saw the cap of the postman. Why is the postman visiting in the middle of the night thought Hans? He looked again, below the cap he saw a large pair of eyes, above the cap he saw a large pair of hairy ears and through the darkness he saw a large set of sharp teet ...