Skip navigation
2015
Requirement  Before integrating LEDs I have to revise the communication protocol since the necessary information was not present before. Furthermore some properties are missing. The protocol should be: Future proof Secure Safe against transmission errors / modified communication Following information was not present in the previous protocol: Key status changes LED status LED status will be changeable by the client.   Message Protocol  This is the specification of the vers ...
In this post I will talk about the blood pressure measurement subsystem The main components of this subsystem are the heart beat detector a continuous rotation servo a force sensor resistor   The idea behind this experimental blood pressure measurement is to replace the arm cuff that is inflated by an air compressor with an elastic rubber pulled by a servo motor. When the rubber exercise a force that is exactly equal to the pressure of the blood, the blood stops flowing through the ...
I just received an dimmable LED (LOHAS 20W LED Chip). I plan on running a few test programs, starting with the ones that Infineon provide, while I wait for my recessed can whip extension to arrive and I will start prototyping the lamp.   Here is a picture of the beauty:   I have also been messing around with TinkerCAD to build a case for the Arduino Yún and Infineon RGB Shield, which is also how I will attempt to prototype multiple lampstands. I would also like to thank all ...
  I've done many attempts to build and execute my own C program on the atmel sama5d4 xplained ultra board. And today is the big day. Thanks to the tutorial on mikrocontroller-software.de, I was able to cross-compile and run my first binary.   Hooray!       Was it difficult?  No. Once I found the how-to guide, I greased up my German language skills. I had everything running in less than 20 minutes. That's always how things happen. You chase your tail for a good ...
Currently...  Whilst Hans was busy coding, Matilda was looking into power requirements. She was worried that the batteries might take a long time to deliver so wanted to order them long before they would be needed.   Device Power Required Arduino Yun 300mA MicroSD Card 100mA Infineon RGB LED controller 9mA Servo 100mA RGB LED 20mA per colour 60mA   Totting up the numbers she arrived at 569mA peak consumption, she realised that by turning things off and running tasks in series tha ...
I recognized that I tend to post only positive results but at the same time I learn a lot from the mistakes of others I decided to devote this blog to my time wasting effort of interfacing 1-Wire components from node.js. Several evenings I read blog post, documentation and code just to find out what I am doing wrong - with no result. It still did not work. Owfs was not able to detect the devices nor could the linux kernel show me the information in the /sys/bus/w1/ directory. I was a bit frustra ...
rpbruiser

Genie Update

Posted by rpbruiser Apr 25, 2015
Unfortunately I have gotten stuck on my project and stuffed the genie back in his lamp for a short while. I am currently working with the Infineon RGB Shield and have run into multiple issues. I am trying to run a single 5mm Red LED with it. I realize that the bulb needs to be rated for 300mA, thats why I am using resistors to allow for the 20mA LED not to burn out. I am driving it with a 9V battery, yet I realize that the rating is for 12V-48V, and this may be my issue. I am running into some m ...
    We're halfway through the story. It's time to close chapter 2.     Sound and Light  In chapter 1 I turned a broken vintage turntable into a working one. The defect AC motor was thrown out and replaced by a microcontroller driven one. This turns the table into an autonomous device that knows how fast it should pin. It adapts its behavior to that knowledge. That is a tactical change - from defect to working. But a first enchantment is achieved. The table still lo ...
The Enchanted Objects Challenge is running from March 16th to June 26th 2015     Name Super Enchanted Blog Time Andy Clark Enchanted Objects Design Challenge - Disaster strikes the Enchanted Cottage A big thanks from Hans, Matilda and myself Enchanted Objects Design Challenge - Remodelling the Enchanted Cottage Useful videos and references Enchanted Objects Design Challenge - Matilda is not happy Enchanted Objects Design Challenge - The Woodcutter and the Blacksmith Yun has arri ...
When I was younger my Dad used to listen to the shipping forecast on the radio so he could plan his fishing and sailing trips. Given the limited vocabulary it should be possible to use a speech to text processor to convert this to a digital form. But there's also some other systems out there, that should be a bit easier.   If you are in the USA there is the National Weather Radio Specific Area Message Encoding. NWR SAME provides in a digital form at specific, timely information on the na ...
Jan Cumps

poem

Posted by Jan Cumps Top Member Apr 22, 2015
        take the quick start guide follow the hyperlink download Studio as advised on the landing page experience that it doesn't support the microcontroller skip 10 days of reading, browsing, trying know that the board has a great controller and great peripherals dream of the things you can make look at the past roadtest experience that I can't find anyone who was able to create a remarkable project experience that people made remarkable things with smaller process ...
In this post, I will talk about the building of the hat. To build the hat, I first created a model with a thick sheet of paper. This is easier to cut and to work with. I cut the thick paper with common scissors until I got the desired shape.   With this model, I proceeded to cut the PVC film the MagicHat will be made of. The PVC film is a good compromise between the flexibility required to make the hat look "human"     Finally I placed a baseball cap inside the hat to mak ...
Since realising that I could do some of the hard work for interpreting the weather APIs in Python I thought I'd check out my options for IDEs. I've been brought up for the last 20 years on Microsoft Visual Studio so I am used to having a featured IDE with projects, source control integration, debugger and intelli-sense.   I also did not want to work with copying files to the SD card manually.   I found PyCharm by the people who do Resharper that I use at work. There was a community e ...
    Request for Help to Load and Run one of the sama5d4x_xplained_softpack examples  Success: compiling the libraries from sama5d4x_xplained_softpack  I have installend a GNU Cross Compilation toolset on Windows 8.x. And I can successfully compile the libraries of sama5d4x_xplained_softpack_1.2_for_CodeSourcery_201410. I build them from the make files, and I have the compiled debug and release versions of each library in the lib folder.     Fail: compiling the e ...
crjeder

Smart Key Hooks Client

Posted by crjeder Apr 20, 2015
I started my "career" in electronics not long ago when the first Raspberry PI became available. But looking on the specs I decided that the BeagleBone Black suits my needs better and bought one. What I liked most about it after playing with it for a while was the c9 IDE and node.js. Therefore I decided to do the programming for this challenge in node.js, too. The Cloud As the cloud service I have chosen Pushbullet because it has: an easy, restfull API clients for all OSes integration in ...
After their successes with the mechanics and Arduino Yun, Hans and Matilda decided to celebrate with a trip to the local inn, the "Adam and Eve". They walked up to the bar and was greeted by the bartender. Whilst they were being served they noticed a large snake behind the bar. Photos thanks to Will Russell Suddenly the door burst open and a large troll charged in and marched up to the bar. He started shouting in a language which Hans and Matilda did not recognise. The snake lifted it's head a ...
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: Boards and Shields for Arduino - Infine ...
Hans was still thinking about the Wolf as he headed into town to get supplies. It was a nice day so he decided to wander down the side of the stream. As he passed the mill he looked up at the water wheel. The stream had been diverted into a wooden channel to power the wheel and then following the mill pond it rejoined the main flow.   "If I use a VPN client on the Yun then I could control my own channel to the weather service", he thought. When Hans reached the market he posted a letter to ...
  In post 6 I made a breadboard prototype of the speed signal circuit. I made a KiCAD layout and sent my fab files to oshpark.com. My PCBs arrived yesterday. This is the story of the build and test.     Let's start with a short recap of the sensor schematic.   The Sensor Setup  The infrared light from the optocoupler that's mounted under one of the pulleys of the turntable drive gets reflected once per rotation, because I mounted a tiny mirror on the underside o ...
I'm currently building the "hardware" of the hat, so before posting a complete update, let's talk a little about the mind of the hat...   One of the most common complaints of Arduinos is their lack of connectivity. You build these cool hardware hacks, but then you can’t make them apart of the Internet of Things (IoT) unless you plug in a bulky Arduino WiFi shield. The Arduino Yun solves that problem. The Yun is an Arduino with WiFi built in. Additionally, the Yun has a second microp ...
Over the weekend just gone by I managed to create an Ubuntu boot disk and get the SAMA5D4 running with an operating system that provides me with features I am a little more used to vs the Poky build that Atmel provide.   What I built was Ubuntu 14.04.1 LTS compiled and running on the SAMA5D4 Xplained Ultra board. Along with supporting root file system. Thankfully this include apt-get and I have been able to install all my favourite tools, including a GCC compiler tool chain directly to t ...
I noticed that a couple of us are looking at the weather. I think I can get all I need from the Yahoo service so I'll go with that for the moment. https://developer.yahoo.com/weather/documentation.html   Here's a couple of articles on other APIs that could be useful, particularly if you need your weather in other languages.   http://superdevresources.com/weather-forecast-api-for-developing-apps/ http://michaelwelburn.com/2011/11/02/comparing-weather-apis/ ...
Whilst Matilda was planning and rebuilding Hans hit the books to study the new electronics they were going to add to their house. Hans was having trouble understanding the Yun parts, "why does it need two processors on one board?" he thought to himself.      Dinner at the Sprats'  Hans and Matilda were lucky to have kind neighbours and everyone has helped them out following the fire. One the night they visited their friends Mr and Mrs Sprat. When it came to dinner, Mr ...
The Internet of Things will be built on a base-layer of Internet-connected “Smart Objects”. However, there is a growing discomfort among individual users about being surrounded by Objects that collect information and then send it to who knows where to be shared with who knows who to be used for who knows what. There is growing alarm about Objects being used to spy on people, about smart home and smart car technology being hacked for break-ins and hijackings. Could somebody hack my sm ...
A quick video of the servo and mechanism all connected up. I've spotted an interesting issue with these positional servos. When they power up the driving software has no idea where the servo is position so it will send the signal representing the centre position (which is configurable). The servo will move to that position as fast as it can even it it's right at the limits of it's positioning. Only after it reaches that point can the software attempt to control the speed of motion by sending a s ...
I've been able to connect to the SAMA5D4 with SSH and SCP. This post describes the steps I took to get there. They are a redo of what peteroakes shows in his SAMA5D4 Xplained Ultra - Tips and Tricks #1 - Getting Displays up and Running video, mixed in with moral support and a nodge in the right direction from clem57. I've blogged about my first steps with the kit, Review 1: Unboxing and First Steps. The second review was on cross compilation on a Windows machine: Review 2: Building the Libr ...
I've blogged about my first steps with the kit, Review 1: Unboxing and First Steps. The second review was on cross compilation on a Windows machine: Review 2: Building the Libraries from Source     This time I connected the board to my home network. That wasn't difficult at all. At first I plugged the network cable from router to board while it had already booted. The network was detected:   Oct 30 08:29:16 sama5d4-xplained kernel: macb f8020000.ethernet eth0: link up (100/ ...
Reading patient's heart rate is the first step to get a more useful physical parameter: blood pressure The idea I want to develop in this challenge is to tighten the finger until the sensor is no longer able to read heart beat. At that point, the pressure that lace is equal to the blood pressure. Typically, the blood pressure measurement units use a cuff that is pumped by a small compressor. To save weight and reduce the building cost of the MagicHat, I will try a different approach: a servo ...
After building the heart beat sensor, it's time to process the output signal to get the actual heart beat   The heart pulse signal that comes out of a photoplethysmograph is an analog fluctuation in voltage, and it has a predictable wave shape as shown in figure below     My goal is to find successive moments of instantaneous heart beat and measure the time between, called the Inter Beat Interval (IBI). By following the predictable shape and pattern of the PPG wave, we are abl ...
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 Thanks! :-)   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 displayi ...
crjeder

Identifying Keys

Posted by crjeder Apr 7, 2015
Crucial to my design is the ability to detect and identify keys. The potential solutions are divided into following categories: wireless, wired and explicit. The later means the user explicitly states „this is key #11“ through some interface. This is the least desired one and will be the fall-back if everything else fails. Therefore let's concentrate on the other two. Wireless Because of the popularity of RFID tags wireless identification was the technology I thought about first w ...
Hi All,   My project synopsis for those who didn't see my application is quite basic in its theory. What I intend to do is create an IoT message bus and transaction system. I will either roll my own, or something off the shelf with RabbitMQ and then build an API so that devices can readily communicate their results across the network into the message queueing system and have them displayed in a portal.  Of course there are solutions out there that do this already, but there is no ha ...
I've made a Digital Light Organ Enchantment for my Perpetuum-Ebner turntable last week. To add a little cyberpunk touch to it, I'm creating a servo lift that will pop out the light effects when there is music. I've titled it an autonomous lift because the logic is contained within a limited set of code. You tell it to be up or down, and it will take care to achieve that state and stay there until told differently. The servo is a small 180° common motor, not the 360° cont ...
The basement and extension Hans and the woodcutter assembled the planks to form support frame for Matilda's mechanics. The woodcutter liked the minimalism of the wooden design, "everything should be made as simple as possible, but not simpler" he said before returning to the forest. Hans and Matilda cleaned up the parts from the Blacksmith and polished the axles before putting them together with the screws. They checked that everything ran smoothly, some minor changes would be needed but the ...
crjeder

Happy Easter!

Posted by crjeder Apr 5, 2015
I wish everybody a Happy Easter. Thanks Element14 for this cool competition and to all patient readers and to the helpfully and skilled participants. Unfortunately there was not much progress on the competition from my side. But as an status update: I am looking for a solution to identify keys. Here a sneak preview: And to distract you from the challenge: Go outside it's spring! (ok, northern hemisphere only ;-) ...
rpbruiser

As The Sunsets...

Posted by rpbruiser Apr 5, 2015
As the sunsets on the genie's home, he is curious as to what time it is, since he forgot to buy a clock. Silly him . Fortunately he had a smart home, and all he needed was internet for his house to tell him the time! But how? Well just say the magic word, and the genie will show you!            "I WISH....."   First you have to find the longitude and latitude for where you live. The genie found it would be much easier to use an API th ...
The arrival of parcels is always exciting for me. Even if it is just an Amazon box containing an audio cable, I still get a little excited, so naturally, when this arrived at my door, I was VERY excited.   The box arrived within a few days of the e-mail telling me that I had been accepted into the challenge. Considering that I am in the UK, this is especially impressive. Naturally, my first reaction was to open everything and lay it out onto my bed (I had just had guests and my desk was ...
Hello everyone,   So I have been programming the Arduino for enchanted clock I'm building (Work in progress). I am still having issues with the SAMA5D4 Xplained, I may have to change to an RPi if time starts to get tight. I really don't want to do this as our sponsors have been very generous and I don't want to let them down.   So to update where I am at. I have decided that for the clock to stay in time due to the inconsistency in a wood clock, I have made a binary clock. This clock ...
I've uploaded the OpenSCAD models for the Watt's linkage mechanism and also modelled the wooden parts although those were actually cut by hand.   https://github.com/Workshopshed/EnchantedObjects ...
In Part 1 I reviewed the servo and made a test bed for prototyping. I'll continue with some stats and measurements. Dead Band  The continuous servo has a range of angles, around 90, where it doesn't rotate. Calling Servo.write() with a value in that dead band makes the motor stop. On mine that band is between 89 and 94. The few values below and above that range cause some noise in the motor, but it doesn't start to spin yet. It spins under 87 and above 96. Servo Signal S ...
The Enchanted Objects kit includes a TinkerKit Servo Module. That servo motor is not your common 180° angle adjustable unit. It's something special.     Digital Continuous Rotation (360°) Servo  It's a SM-S430R continuous rotation type (http://www.farnell.com/datasheets/1581465.pdf) The continuous servo doesn't work like the common one. If you connect it to an Arduino and run the Servo examples, you'll be amazed (that is: if your workbench survives it - I tested it ...
I received my kits today, Finally I can start with my first module of Enchanted Wardrobe. It would be around the Yun. P.S the servo is quiet big, I got an idea to use it wisely ,@STAY TUNED! for more. Thanks Element14 once again... ...
  We're entering a new chapter for the Perpetuum-Ebner turntable. The practical things are sorted out and the once defect table spins again. Time for some enchantment. I'm going to build a light organ.   Digital Light Organ  There are a number of projects around that use an equalizer display chip to detect bass, mids and highs. But I found one curious project on Cool Arduino that is fully digital. The Arduino light Organ uses FFT to detect low, mid and high. There isn't a lot ...
Last week I wanted to publish a flowchart of the process of building the enchanted typewriter. However, since I'm organizing an exciting event for next month, I've been quite busy and couldn't do it.   I have a bit of time now, so let's see the project roadmap. Since the design process is quite linear I decided to break it down into 4 phases, so that you can get a more clear view of the project development and to separate it into different time frames. The last phase is just a possibility ...
I made some modifications to the original circuit I talked about in my previous post and made it on a bread board. Here is the resulting circuit     I placed my finger on the sensor, and I got a quite clean signal   The signal is 200 mV peak-to-peak. Since the ADC has a 10 bits resolution over a 5V range, the signal will be read as 80 ADC steps, which should be enough to make heart beat detection easy ...
I've blogged about my first steps with the kit, Review 1: Unboxing and First Steps.     Since then, I've been trying to set up a tool chain that can build the SAMA5D4X Explained Software Package from source (yes, it took me 9 days to get to this stage - tough board to get started with).     I tried several tool chains and approaches. I'm not going to elaborate on the things that I didn't get working. Here is what works for me on a Windows 8.1 64 install.   The Sou ...