Skip navigation
Android keyboard emulation on my hardware     This is quite good learning process. I mean, it is simple, but at the same time it is quite complex. Like i can't use coma more than one time, and if i delete it, i can use it again. Simple, but need additional code to make it work. Also cursor jumping, if i push cursor to front, first i have to shift numbers to left, and only when i can write new number, also have to make sure that number size is less than 4 digits, if i try to shift 3 ...
2 days work on exterior and today i can say, it turns out better than i expected . Now only UI programming is left, RTC, PID,PWM are working and i can do reflow soldering even today, but i need to make clean UI. Still don't know how can this project be completely ignored by in this contest, but where is other contest on STM32F429 that needs to explore DMA2D peripheral and what is exactly what i need for my user interface, alpha blending for 2 temperature graphics, also transparency for on scree ...
Quick update   ...
...
Cypress and element14 are pleased to announce the PSoC 4 Smarter Life Design Challenge winners! A big congratulations to all of the seventeen (17) finalists who took part in the PSoC 4 Smarter Life design challenge and made excellent progress along the way! When we launched this contest a few months ago, we challenged the community to take the PSoC 4 Pioneer Kit and make something that’s creative, practical, and Smart. The high-quality engineering community here at element14 has res ...
Thanks a lot Linas, for your interest. I have got my internet recharge an hour back and writing a reply. I have attached a zipped file of the project here. I wanted to check the project by programming the kit. But I kept the kit in my college. On Monday I'll check it. If this is a wrong file I'll let you know. The program takes a step profile given in the array tempdiff, applies PID scales tempdiff in the range 0 to FE. tempdiff=0 is scaled to 7F. In i2c debugger / the bridge control panel this ...
Now, I am writing the final update though I really do not want to write it at this stage. But somehow I have to do it by tonight. My internet service pack will be over by 12 midnight and I have to recharge. I may not have the facility tomorrow. Objective of the project: To control the oven parameters e.g. temperature, pressure with PID type of control. Selection of the parameter depends upon the availability of the sensor and ease of actuation. PID will be tried both in software and hardware. ...
First and foremost, many congratulations to all our finalists; their progress on their projects has been thrilling, inspiring and also enjoyable. Sadly, all good things must come to an end, and the Smarter Life challenge has concluded.  Cypress' team of engineers are presently assessing the projects; they will decide who has won the Grand Prize and the second place prize on Friday, January 24.  We will also announce the People's Choice winner. In the meantime, thanks again to all who p ...
Subject: PID is working!!     I am very happy to tell you that PID is working. But lots of loose contacts. I put the discrete components on bread-board. I could not get the right kind of bread-board wire. What I have got is multi-strand wire not at all useable on the bread-board. Now, I am soldering the components on a general purpose PCB. ...
After fighting with the SD card code for two weeks (when they say it only works with <2GB they mean the card type on the partition size. Only had a 4GB card so formatted it to a 1Gb partition and still did not work. Turns out the way the guts of the SD card work changes over 2GB) I finally have a setup that takes readings every 15 minutes and logs them to a SD card. Also added a small chunk of code to cycle the RGB led to the next of 7 colors on every reading as a status indicator. Right now ...
Hello all,   Update on the complete challenge Here are some posts to get you started if you jumped into this challenge, and didn't get the full context: Smarter Life Challenge Competitors (thanks Joseph Man!) Review of first design week! Overview - week 2 of PSOC Design Challenge Overview, Week 3 and a bit Overview, week 4 and a bit Overview, week 5 Overview, week 6 Overview, week 7 Overview, week 8 and a bit Overview, week 10 Overview, week 11   VOTING CLOSES TODAY! Go to http:// ...
A Star is Born! I've made and a PSoC 4 Controller PCB and Star LED board and both work very well. The plan is to have lots of stars and light up the galaxy.   Although a PSoC 4 Pioneer Kit can be used for ISP and debugging, I have used a MiniProg3. The operating procedures are identical.   Hard to see on the photo but there are two LEDs on the Controller PCB. One is a standard Red LED (unlit in the photo) and a WS2812B RGB LED. The connectors are inserted from the other side of t ...
Firstly I just want to thank those that have contributed to and been involved with the organisation of this competition, there has been some really interesting content posted over the last few months.   As far as my project goes I'm pretty happy with where it has ended up, I have a solid hardware design and a bunch of clean code to progress the whole thing from. In my final post for the comp I want to give and overview and summary of where things are at, and hint at where they might go in ...
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 ...
Topic: Electronic component purchase, testing and interfacing Yesterday my whole day was spent on S P Road, Bangalore for component and accessories purchase. After spending 3 days for purchase I could get the bare minimum. I am using LM35 for temperature sensing, IRF830 MOSFET for current control of the heater. LF356 op-amp for scale changing of MOSFET gate input voltage. The DAC is giving the analog voltage of 0 to 3.41 volt. The threshold of MOSFET varies from 2 to 4 volts according to dat ...
Sadly, this great contest has come to an end.  This leaves the SteadyClip project unfinished as of right now.  I’ve had a great run, but I truly do need additional time to fully understand the microstepping of motors to get a complete design.  Right now, the motor drivers are functional and I am capable of accessing the IMU.  Eventually, this project will be complete.  When that happens I cannot wait to show it to the element14 community, and the rest of the intern ...
So here I am at the end of the Smarter Life Challenge, and I am happy to say that I had a lot of fun and satisfaction along this time.  Starting from a "crazy" idea to control appliances by brainwaves, things became more and more realistic up to the point of building a prototype that worked.  As I showed in the last update videos I was able to turn on and off a television set, a cable box, and I was able to change channels by only moving my eyes.  It all happens from the brain dec ...
Doug Wong Back to Doug Wong's VCP Profile   |  Smarter Life       Objectives The Smarter Life Challenge was intended to showcase PSoC4 technology and the Henrietta project addresses this requirement, demonstrating the kind of complexity that a PSoC4 can successfully implement. It does this with completely exposed but attractively mounted circuitry and subsystems. Additional objectives for me were to learn about the flexible and powerful PSoC4 architecture and the p ...
The Henrietta system is mounted in a picture frame to showcase all of her circuitry. She uses a servo motor to lift the window in front of her picture frame to provide access to the touch pad. The servo feature was included in the project to demonstrate how easy it is to control a servo motor from the PSoC4.   Servo Motor Demo Video The following video shows the servo motor in operation. There is also an oscilloscope to show the pulse width modulation waveform through the various position ...
My Smarter Life  Please sit back, relax and enjoy this video. It was filmed on location in Sydney Australia. Whatever you do don't miss the end. ...
vu2iti

Intelligent Wheelchair:

Posted by vu2iti Jan 13, 2014
My Wheelchair project needs obstacle detection along the travel path of the wheelchair. It is also needed to see that the floor is even and to detect stairs and dead ends of the floor for safety.  Three sensors are planned for this purpose. The positions of the sensors are as shown below: Figure 1. Wheelchair Sensor Positioning Ultrasonic forward looking obstacle detection Forefront obstacle detection is based on the reflection of ultrasonic pulses emitted from the ultrasonic transduc ...
vsluiter

Overview, week 11

Posted by vsluiter Top Member Jan 12, 2014
Hello all,   Update on the complete challenge Here are some posts to get you started if you jumped into this challenge, and didn't get the full context: Smarter Life Challenge Competitors (thanks Joseph Man!) Review of first design week! Overview - week 2 of PSOC Design Challenge Overview, Week 3 and a bit Overview, week 4 and a bit Overview, week 5 Overview, week 6 Overview, week 7 Overview, week 8 and a bit Overview, week 10   !!ONLY 5 DAYS LEFT FOR VOTING!! Go to http://www.elem ...
This posting presents a video demonstrating remote control of the Henrietta hardware from an android phone via Bluetooth. The android app was programmed using App Inventor, now managed by MIT. To keep operation as simple and intuitive as possible the app covers the whole screen with control buttons, avoiding hidden functionality behind scrolling and menus. All controls are always visible. This app does not display information like the PC app - but all information is displayed by the Henriett ...
If you like my project vote for "A Smarter Tricopter - Yuri Tikhonov"   Good day comrades! 1. Earlier this week, I was doing final preparations for the tricopter's flight. TODO list included: Firmware: many small but critical changes; Rx: completion of wiring; Tx: battery replacement; PCB: repair of a defective LED; PCB:  soldering of supply conductive tracks; ESC: brakes off, "Quick Start" on, etc..; ESC/BLDC: three-phase wiring soldering; ESC/LiPo: checking all units of t ...
Modular Panels    I have just prototyped a modular 8x8 LED matrix board. To show you how simple the wiring is I have made it on a single sided PCB. These panels can be joined together to form a larger display, chained together or be used individually. The video is of a scrolling background test. The background is set up as a wraparound cylinder with the LED display showing a selected portion.   The photo shows a mostly weeded board. The red circles highlight the dregs yet ...
The files could not be inserted here. It is attached below. ...
Topic: PID in hardware Keywords: Op-amp, differentiators, integrators, simulation, TINA-TI For implementation of PID dual-supply op-amps are required. A positive supply op-amp can be used with the input given at the non-inverting terminal. In that case, the output is PI and PD for integrator and differentiator configuration respectively. But if the function slope is less than 1 the output tries to become negative for a differentiator. For a positive supply op-amp this gives a zero or err ...
It's been a while since my last update, I've taken a little break over new year, I did however find some time to write some code. It's pretty much all done bar managing the charging state and some power saving. I've taken my time to do this properly with a clean HPL layer and enough abstraction to make tuning easy.     The video shows a few different things, first the light coming on in vertical (rear light) mode after some 'movement'. Then it turns off after a timeout, with the lam ...
Do you ever feel like you're going around in circles?    This is just to prove that the LEDS on the Light ring are individually addressable and working. The speed of the chasing is varied slightly in the video. Variations of this simple theme can be used for lighting effects. You can chase one LED, some LEDs, all LEDs, use sectors, change colours and control brightness. You can even add various triggers such a proximity sensor.   I could even build a Solar system model wit ...
This installment of the Henrietta Project documentation covers operation of the touch pad and the remote PC app which uses Bluetooth to set up and control Henrietta. Actually, pretty much the whole system is shown in operation. In addition to programming the PC app and properly maping the touch pad, other significant progress since the last update includes implementing the thermostat scheduler with four programmable time periods each day on a seven day rotation. Since adding in the thermostat sc ...
Topic: PID in software   I wrote the code for the numeric differentiation and integration and applied for PID control. The control loop is not complete. The PID works on an artificial temperature difference profile. I have not received the components from element14. So I could not complete the control loop. On Tuesday, I purchased most of the components from the local market. It was overcrowded, I had to spend the whole day there. But I could not finish the purchase. I have to go agai ...
After fully assembling the Robo-Barista I nearly have the software ready to run all 5 axes in coordinated moves. Unfortunately shortly after this video was taken I entered a move of 1000 when I meant to hit 10 on the shoulder axis and sent it flying off the table. It broke the hand upper plate and the base (the largest part which that big gear is slotted in to), and ripped out all the wires. I had it kind of poorly supported since the motor on the turn table sticks down further than the turn tab ...
vsluiter

Overview, week 10

Posted by vsluiter Top Member Jan 5, 2014
Hello all,   Update on the complete challenge Here are some posts to get you started if you jumped into this challenge, and didn't get the full context: Smarter Life Challenge Competitors (thanks Joseph Man!) Review of first design week! Overview - week 2 of PSOC Design Challenge Overview, Week 3 and a bit Overview, week 4 and a bit Overview, week 5 Overview, week 6 Overview, week 7 Overview, week 8 and a bit   "My weekly view" What about week 9? Well, I was very busy doing some hom ...
Recycling Time   With the PCB fully operational it is now time to disassemble the breadboard prototype for the next project. It has been a great little workhorse.   If you look carefully, you will see that the breadboard prototype uses the PMod connector and the PCB version doesn't. This is because the signals on the PMod connector are also connected to other "Arduino" compatible pins (plus the fact that the connector is perpendicular to the other pins.   The photo provides ...
Hello,   Its been some time since the last update to be exact 2 weeks. Lots of progress and some roadblocks that I will be discussing later on.   First for Time line of Stage 3: Stage 3: Interfacing Prerequisite for this stage is the arrival of all Element14 ordered material on-time Wiring Up Connect all the Shields and test individual interfaces Check for Capacitive Touch sensitivity and user interface using cap-sense interface prepared earlier Remaining Software trials Check fo ...
A Floral Bokeh   Here is a picture of the Ring with white selected.   The following are self portraits done using the Light Ring without the flash enabled and with the camera hand held.   With the first attempt you can see the reflection from the Light Ring.     With the second and third attempts I have bokeh. http://en.wikipedia.org/wiki/Bokeh Deliberate and artistic bluring (Well not really.) I now need to invest in a decent Macro Lens or adapter and make a ...
Sick of Blurry Photos? You just can't outsmart a PSoC! I'm sick of blurry photos and flash photography going wrong so I quickly constructed this Camera Lens lighting ring. It should work with my digital still and video cameras. It consists of 24 RGB LEDS which are individually controlled by a PSoC 4. All designed, made and constructed in hours!   It was the very first fully rotational axis PCB I've made and I am happy with the result and It works a treat.   Unlike a standard whi ...
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 ...
Topic: I2C Communication I started with op-amp testing and came to know that, off-chip components are not available on the board. I already requested those from element 14 in apprehension. Now I am waiting for the resistors and capacitors. I am not getting any response from element 14, Bangalore. Meanwhile, I am writing the PID in software. For code testing purpose, the variable values need to be communicated to host. I am trying I2C. I am implementing this for the first time. Gagan Luthra ...
Are PCBs Bad?    I'm not talking about this type of PCB but rather Printed Circuit boards. With the flexibility of the PSoC 4 I deliberately delayed laying out a PCB for my project until now.   I milled out my PCB from my PCB CAD files. The milling process includes track engraving hold drilling and board outline milling.   Rather than use full copper removal and wear out milling bits I manually weeded out the parts of the board that were not required to prevent the ...
If you like my project vote for "A Smarter Tricopter - Yuri Tikhonov"   Happy New Year and Merry Cristmas! What was done over the past few days: hidden power wiring was set (real puzzle...) ESC's were set, connected and tuned. Rx & LiPo (temporarily on plastic clamps) were set. software for PSoC 4 was modified, now it "works fine on the machine".   Slight difficulty with ESC was the next: after soldering it turned out that one of the motors rotated in the wrong direction, ...
Speech Recognition This update demonstrates that the Henrietta System can be controlled using voice commands. Speech recognition is not implemented in a practical way here, it is just a quick demo to showcase the possibilities of leveraging the power of cell phones to augment functionality with features like speech recognition once you build in a communications link  to cell phones. The following demo, simply uses built-in speech recognition on an android device to provide the same comman ...
The GPS clock is a powerful feature not found on even the most expensive commercial thermostats. The extreme convenience of Bluetooth remote control is also not available commercially. To put this project in perspective, the total bill of materials cost (in single system quantity) is significantly lower than the cost of a high end, high volume commercial thermostat, and yet it implements a suite of features which are not matched by commercial systems. I'm not pretending this is a competitor for ...
Light Sensor and Backlight Control Demo Video The following video shows the light sensor readings displayed on the left LCD and Henrietta using the readings to adjust the LCD backlight intensity. There is also an oscilloscope to show the pulse width modulation waveform at various ambient light levels. http://www.element14.com/community/videos/10809/l/the-henrietta-project--light-sensor Light The Henrietta Project uses a $3 cadmium sulfide light sensor module to detect incident light le ...
Project Dedication   On a very sad note I've dedicated this project to my faithful cat who passed away several days ago. This cat was solely responsible for RoadTesting the shipping packaging and will be sorely missed.   It's getting close to the end of this challenge and I am now preparing my final report. As you have seen my prototypes are fully operational but the paperwork never seems to end. ...
With the IMU working, I am now focusing my efforts on getting clean data, with an emphasis on simple to implement filters.  That said, filtering is a dirty business, and it’s something that I am not too familiar with.   In any case, my plans for filtering are simple: high pass the gyro data to get rid of the drift, low pass the accelerometer and magnetometer data to remove the jerking inaccuracies.  Hopefully, the data that comes out will be good enough for image stabilizat ...
Design Criteria and Features The Henrietta Project includes standard environmental control outputs for controlling a furnace, a fan and an air conditioner. Standard furnace controllers operate on 24Vac, so the outputs must be 24 Vac. Standard home controllers use the following connection format, so this is what the Henrietta output connector on the thermostat interface provides:   Signal Colour Function G   Green Fan (switched 24Vac) W   White Heat (switched 24V ...
http://www.element14.com/community/videos/10789/l/the-henrietta-project--bluetooth For a video demonstrating voice control over Bluetooth check out this link: http://www.element14.com/community/videos/10808/l/the-henrietta-project--voice-control To see the full android app in operation check this link: http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/12/smarter-life-challenge--the-henrietta-project--android-app ...