Skip navigation
1 2 Previous

Smarter Life

17 Posts authored by: Javier Hernandez
Oh my, this is the final post of the challenge. This has been a great experience and I have learn a lot from all this. Now lets break it down.   On the project proposal I wrote all the functionality without knowing much about the PSoC4 product or the Pioneer Kit. Based on basic specs it seems possible to I set a big goal. Mostly I do this as a hobby however all I learn here I use for my regular job. So in my hobby side I dream and aim Big. On the main proposal I included a lot of peripheral ...
On my last post I mentioned about moving all code into PSoC4 and shrinking the board. So that is what I am doing. Moving all the code into the PSoC4 was fairly easy. Next step is to remove the use of Arduino shields, since they are easy to use but takes a lot of real state. First I decided to cut down on the SD card shield space. For this tested out some circuitry for the SDCard. I put together a 74HC4050N hex buffer working as a level shifter from PSoC4 5v to SD 3.3 also I think is cleaner this ...
Just a quick update to let know everyone where GeoCar is going. On the beginning of this challenge I have never seen a PSoC device (sorry no offence), it is that I have not been expose to professional hardware manufacturing. Professional grade hardware was at college and the labs where pretty limited in resources. So this has been a great learning experience getting to know the PSoC family and capabilities as well as getting involved in this community. Ok, now to the nerdy details. I  have ...
Here is quick update on the GeoCar project. This is a small use case sample of a project functionality. I like watching videos of projects so I uploaded one myself.   Use Case: If the car get stolen via a carjacking. The owner leave the phone inside the car and get to safety. Once on safety the car owner sends an SMS security code to his/her phone by using else's phone. When the phone receives this message connects to the PSoC via Bluetooth and sends a distress signal. The PSoC then turn o ...
This has been a very busy week with the hangout and all. If you have not seen it, take a look it was great, thanks to everyone involved. For now what I have been working on for the GeoCar are two things, sounds and sonar. Currently I have a very lousy buzzer you can barely hear it. I will try to find a replacement with a little more sound power. Also other add on to the project and it is a big one is the sonar. Finally the sonar sensor arrived and I am just starting to get to it. At the beginnin ...
Here is a quick update from the project. A lot needs to be done for the GeoCar to call it completed. Well maybe this is one of those projects that is never completed. A project like this is an always growing project, which is great because there is no limit on what can be achieved. Regardless of how much can be done some tasks needs to be completed. So I attacked a big task to check out and it is the Android app to extract data from the PSoC. For this I just pulled out the sample Bluetooth app I ...
A microcontroller project has a lot of soldering and coding. Sometimes things might even get frustrating for a while. One must be creative and keep the creative juices flowing at all times. And what can produce more motivation than having a logo. So now I have a logo for my project. Here I share my logo with you guys.This project has now identity with a name and a logo.   On hardware notes, I have been playing with an old pc buzzer for the project. I need a way to trigger alarms and notific ...
A few posts ago I plotted a map with the coordinates from the PSoC manually by creating a Google Docs Fusion table. Last night I finished a small script that post the data and a page to display the data. The web part has three major components: 1. The web app (using Django, python) 2. The Rest Api (using Django rest framework, python ) 3. Plotting the map (using Leaflet, javascript - using open street map data)   Oh and since it is in python you may run it anywhere, on your pc or on y ...
The last few days I have been working on python script to export and plot data from a GeoCar and organizing the circuits. I choose to use the "shields layout" that is used by Arduino. The Pioneer kit arduino compatible layout provided me the option to get a regular Arduino prototype shield and do the soldering there and stack them up. This comes to be very handy on prototyping. Avoid shorts and the prototype can be somewhat modular. The GeoCar brains is placed now in a black box with a side conn ...
For those who follow the progress. I am very happy on the progress but still much more is needed but there is plenty of gas in the tank so it's all good. Since I am not the best organized person, I like using source control software to avoid loosing time when "enhancements" happen. I can easily revert any change with the use of a source control and because I wanted my project to be open source it is on github. I encourage all to use git or other source control, last night I messed up my project ...
First happy weekend for all, hope it was a great one. Now the nerd update details. I have been working on my project as much as I can. Now I have added the accelerometer (MMA7361) to the project. The accelerometer is connected to the PSoC4 as analog to digital by using three wires X,Y and Z. The PSoC4 will be sending the data from the accelerometer to the PSoC5 for SDCard logging. Here is a picture to show how it looks like (on my "lab"). It says PSoC5 showing the connections to the PSoC5 (colo ...
As mentioned in a previous post I have been working with both PSoCs from the Pioneer Kit (PSoC5 and PSoC4). I moved the access to the SDCard and the reading of the GPS data to the PSoC5. Let me tell you it was very easy, flexibility on pin selection and emFile library available for SDCard managment makes it straight forward. The GPS sends data in NMEA format. So a lot of data coming in from the GPS, not all actually needed. Saying that data messages from the GPS are being filtered and only savin ...
Recently I receive more components to plug in to the PSoC. Great you may say, and yes it is. Not too much time after I realized that I will be running out of ports to connect stuff to the PSoC4. Then I came across some documentation that said I can program the PSoC5 in the Pioneer kit and the process is explained very well in PSoC 4 Pioneer Kit Community Project#036 – What? I can use the PSoC 5LP too? . So I test it out and it works very well. What to move to the PSoC5 ? Easy pick, I moved ...
A few posts ago I posted about the bluetooth and the PSoC and was asked to post some code for it. So here it is some sample code to write from Android via Bluetooth to the PSoC. This is nothing close to what my project be but it is a test of the different components and others might found it useful so why not share it.   Hardware PSoC Pioneer Kit Bluetooth to Serial TTL adapter (cheap adapter close to $10 ebay/amazon .... )   Software PWM UART Android application (https://github ...
This has been a great week, I got to install the PSoC Creator and downloaded my first program. Started with the sample capacitance from the demo and right away moved into what will be part of my project. First I dropped a UART box in the designer, changed the baud rate and moved into the C part. Used an UART example and the documentation for the tool to guide me. I took me about half an hour or so to get it running but that was very quick for me considering this was my first time using this devi ...