Skip navigation
Wow, where did all the time go.  It seemed to evaporate.  I tried to stay disciplined with my time management but sometimes life gets in the way.   I woke up on Saturday morning with the realization that a whole lot of work still needed to be done.   After my coffee I crouched over my kitchen table to solder the remaining components on the carrier board.       The first module installed on the carrier was the PROFET 2+ Shield.     Then I inst ...
I used the XMC4200 Platform2Go board as the initial development platform for my project,   But now in order to satisfy the rules of the contest I must port over to the other development board - the XMC4700 Relax Kit.   First Challenge  My smart sprinkler project requires a real time clock for data logging and scheduling tasks.  Unfortunately the lite version of the XMC 4700 Relax Kit does not include the 32.768kHz crystal required for the RTC.   Luckily there is a mic ...
A couple of weeks ago I decided to design a PCB to act as a carrier for the XMC4700 Relax kit and the DPS368 Pressure Shield2Go module.   The carrier board arrived and I have begun assembling its components.     To control the sprinkler I purchased the ROB-10456 which is a solenoid valve manufactured by Spark Fun.     The solenoid valve requires 12V to essentially turn on the water.   On the underside of the carrier board I've included a switching regulator ...
This week I developed the software for the alarm.  In my project the alarm is used to activate the sprinkler.   To demonstrate the alarm I constructed a test circuit using Snap Circuits.   Snap Circuits is a series of kits manufactured by Elenco that help children explore electronics.   The kit we have in our household is Snap Circuits Arcade.     While technically a toy I find Snap Circuits is an easy and fun way to put together a test circuit.   The te ...
As summer ends and I transition to the XMC4700 Relax Kit I can't help but think back to the opening scene of Grease.  I had a wonderful time these last few weeks working with the XMC4200 Platform2Go board.  Not only did this development board serve as my introduction to the world of ARM Cortex it also afforded me the opportunity to brush up on my programming skills.  So as I say good bye to the Platform2Go it is bittersweet.   With that said, I am excited to start working wi ...
This week I decided to experiment with the DPS368 Pressure Shield2Go module.   The module was installed onto one of two available sites for Platform2Go modules.     I used DAVE to assign SCL and SDA to P3.0 and P2.5 respectively.     The DPS368 device that is used for the air pressure measurements is fairly complicated in terms of the calculations and post processing that need to be performed to the raw pressure and temperature readings.   First it is necess ...
Including a Real Time Clock makes the XMC4200 a rare breed amongst microcontrollers.  It's also a blessing for me, as my project requires time-keeping and scheduling functions.   When you configure the RTC APP in DAVE you are presented with two tabs.   In the General Settings tab, pictured below, current time and alarm time can be set.   What we learn immediately from the image below is that, as far as the RTC is concerned, the world was created on January 1, 1970. Fi ...
During the project's development stage, times will arise where it's necessary to control the XMC development board with a PC.  For instance the PC host will be used for such tasks as setting time and date, initiating barometric air pressure measurements or retrieving previously logged measurements.  I decided that communication between the host PC and the development board will be carried out by means of Virtual COM port.  Although, physically this is a USB interface, as far as th ...
Since the first blog I've had the opportunity to play around with the XMC4200 Platform2GO board and in the process I've become a little more familiar with the DAVE IDE.   The diagram below illustrates the different interfaces for the smart sprinkler controller I am developing:     The RTC (Real Time Clock) is used to maintain the sprinkler schedule I2C is used to acquire barometric pressure measurements from the DPS368 module The communications interface with the host provid ...
It is a real honor to be chosen as one of the participants in the Sustain the World Design Challenge.  Infineon and Newark Element 14 provided a really generous package consisting of 2 different ARM Cortex M4 development boards along with 3 different peripheral boards.   My entry for the challenge is to develop a controller for an automated sprinkler system that predicts the weather by means of detecting changes in the atmospheric air pressure.  When the conditions for rain are p ...