In this rotation, we learned the basics of scanning and printing 3D objects. We used MakerBot Replicator 5th Gen printers to print all of our assignments. This printer has a 25.2 x 19.9 x 15 cm build volume. It is an additive printer, meaning that it creates objects by stacking numerous layers of material on top of eachother. This is in contrast to subtractive printing, where material is removed in order to create an object. In this rotation we had to create a 3d model of our heads, a useful item using additive subtraction, and an object that couldn't be made using subtractive manufacturing.
I first had to 3d print a model of my head. In order to do this, I first had my head scanned with a special tablet which would save the model as a .stl file. I then transported that file of my head to my computer and opened it on a software called Meshmixer. I also inserted a file of a column which I intended to put my head on. Using Meshmixer, I corrected any imperfections taken when scanning my head and combined my head and column to create one file. I then took this new .stl file and opened it on an application called MakerBot Print. I scaled the model to the size I desired and added supports so that it would unsupported parts of the model would have something supporting them so that they don't begin to droop. I saved that final model as a .makerbot file and transported the file to the 3d printer and printed it. Overall, I think 3d printing is a fascinating concept and I love the idea of being able to design something 3d digitally and then having it come into existence through printing technology.
File of the head.My second assignment was to make something useful in the real world. I decided to make a phone stand so that I have an object to set my phone on when watching videos so that I don't have to hold it. I first had to create my model in Fusion 360. Once I finished that, I saved it as a .stl file and transported it to the MakerBot Print application. The rest of the process is the same as the first, except that I made sure that my model would be the right size to fit my phone. I then saved it as a .makerbot file and printed it. The phone stand turned out well and comes in handy when I'm feeling lazy.
File of the phone stand.My final assignment was to create something that couldn't be made using subtractive manufacturing. To do this, I had to create an object that couldn't be milled out by a simple subtractive printer. Recall, a subtractive printer works by having a small mill which descends to remove material from a base object, so if there is something obstructing the mill, it won't be able to complete the object. I designed an object that fits these parameters in Fusion 360 and printed it using the same process as the first two. I think it's a very cool looking object and is one that could not be made with subtractive printing. Subtractive printing had it's benefits, but it's not good for creating complex objects that have many facets.
Image 3: A picture of the object that cannot be made with subtractive manufacturing.


InstaGraph
Social graph network of your Instagram account.
By Ahmadreza Zibaei (https://zibaei.net)
Special thanks to Prof. Babak Nasiri
Social Network Analysis
is the process of investigating social structures through the use of networks and graph theory.
It characterizes networked structures in terms of nodes (individual actors, people, or things within the network) and the ties, edges, or links (relationships or interactions) that connect them.
Instagram Network Structure
How to create and draw graph of users ?
Instagram Network Structure
How to create and draw graph of users ?
- Every person can follow another person
- You follow someone, someone follows you!
How to get this kind of data from Instagram ?
An introduction to crawlers.
Let's create graph network !
Using sigma.js
!
A storage for big networks
What is Graph Database ?
- Graph database is a database that uses graph structures for semantic queries with nodes, edges and properties to represent and store data.
- Graph databases are part of the NoSQL databases created to address the limitations of the existing relational databases.
- A key concept of the system is the graph (or edge or relationship), which directly relates data items in the store a collection of nodes of data and edges representing the relationships between the nodes.
- Graph databases hold the relationships between data as a priority.
- Querying relationships within a graph database is fast because they are perpetually stored within the database itself.
An introduction to NEO4J database
List of queries
CREATE (a:Person {name: 'Ahmadreza'}) RETURN a
MERGE (a:Person {name: 'Alireza'}) RETURN a
START n=node(*) RETURN n;
MATCH (n) DETACH DELETE n
MATCH (a:Person {name: 'Ahmadreza'}) DETACH DELETE a;
MATCH (a:Person {name: 'Ahmadreza'}), (b:Person (name: 'Alireza')) CREATE (a)-[:KNOWS]->(b)
MATCH (a:Person {name: 'Ahmadreza'})-[f:FOLLOW]-(b:Person {name: 'Alireza'}) DELETE f;
An introduction to NEO4J database
Simple data-mining queries:
MATCH (a:Person {name: "Ahmadreza"}), (b:Person {name: "Alireza"}) MATCH path = allShortestPaths((a)-[*..4]-(b)) RETURN path
MATCH (a:Person {name: 'aidenzibaei'})--(other) RETURN count(other);
MATCH (a:Person)-[:FOLLOW]->(b:Person) WITH a, b WHERE b.name = 'aidenzibaei' RETURN a, b
MATCH (a:Person)-[:FOLLOW]->(b:Person) WITH a, collect(b) as collection, count(b) as c WHERE c > 1 RETURN a, collection
An introduction to NEO4J database
Simple data-mining queries:
MATCH (a:Person {name: "Ahmadreza"}), (b:Person {name: "Alireza"}) MATCH path = allShortestPaths((a)-[*..4]-(b)) RETURN path
MATCH (a:Person {name: 'aidenzibaei'})--(other) RETURN count(other);
MATCH (a:Person)-[:FOLLOW]->(b:Person) WITH a, b WHERE b.name = 'aidenzibaei' RETURN a, b
MATCH (a:Person)-[:FOLLOW]->(b:Person) WITH a, collect(b) as collection, count(b) as c WHERE c > 1 RETURN a, collection


{% extends "layout.html" %} {% block title %} Environment {% endblock %} {% block head %} {% endblock %} {% block main %}
Lorem Ipsum Dolor1
October 24 2012 - Read more
Lorem Ipsum Dolor2
October 24 2014 - Read more
Lorem Ipsum Dolor3


| DOSE: |
225 mg |
insufflated |
DPT |
(powder / crystals) |
Let me start by saying that DPT is very intense and is not recomended for the unexperianced or close-minded. I am a semi-experianced psychedelic user who has tried X, shrooms, amyl nitrite, N20, Weed (duh), and acid. This, however, takes the cake over all of the others in intensity.
One night 2 female friends of mine were on our way to find some MDMA and were callin' all of my friends who usually can spare some, but tonight they were all out of luck in that area. That is until I called a good buddy of mine who I had tripped with several times who said that he still had a good bit of DPT left from a previous experiment of ours. I told him I was interested and he brought it to the Jack in the Box were we were. I paid him and we went to the club.
On our way I snorted the small pile of DPT (about the size of a nickle) and figured that would be a good dose to dance on... I was wrong. About 5 min into getting to the club, I begain feeling light-headed and uncomfortable. At 10min we were in the parking lot and I was felling very nauseated, but not in a bad way, just in a weird crazy drug way. I proceeded to throw up and justified to the strangers who were walking by that I had been drinking. After 30-40 seconds I attempted to enter the door and was frisked down (I ditched all the stuff I had in the car) and went to ID check inside. As I entered I felt as though I was in Fear and Loathing in Las Vegas when he was checking into the hotel. The ID person's face was melting as was my ID and wallet. I stumbled through the process of going in and was helped to walk by my friends.
I proceeded to sit (where I was to remain for at least 30 min) and was enveloped by the truth of the universe! I was folding in and out of myself and the world. Durring this time I was watching the entire place drip from the celings and walls. The multi colored lights that they had were just clouds in my mind. I couldn't walk and was not paranoid at all. My other friends who were waiting for us came and brought me to a calmer area and I just kept on my journey for at least 3 hours. After that I was in an X like haze (with out the love and empathy) and started dancing non-stop for like 2 more hours.
I came down compleatly in that time and drove the 30min drive home with no problem. All in all a wonderful experiment, but beware that it was intense and a less informend psychedelic user would have probably not made it in there. Not recommended for clubs or raves since the songs all ran together and were too loud. Use at home and realise that for the first hour it is so intense that you will probably throw up or something. Expect bodily discomfort for a while... it is not avoidable. I felt anxious but couldn't move, odd at best.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Kate Holderness took to social media to put the rumours to rest and to reveal why her partner decided to take in her beloved photo of the cruise-ship singer.
And it turns out, Adele loves ‘a bit of Jane’ to cheer her (and her Radio 1 listeners) up if they’re having a bad day.
‘I can clear this up. All the campmates have to have different luxury items, they’re not allowed to double up on anything,’ Kate began.
‘So Adele’s first choice of a family photo was already taken which she didn’t mind because she knew there’d be campmates who’d love a pic of their children in there with them.
Advertisement Advertisement
‘Second choice, a pillow, was another goner as it’s usually the most requested item. Pretty much everything she wanted after that was already taken too.’
She continued: ‘The brief was “something to make you happy” so she chose something that never fails to cheer her up and something that reminds her of early morning Radio 1 listeners – it’s a bit of a long running feature on Adele’s show, when they’re having a bit of a slump and feeling down a listener will request “a bit of Jane” to get them through the day.
‘I do have to say that most of her decisions are made at 2am when she gets up for her show, most things make perfect sense as that time.’
So now…we know.
Jane also called in to This Morning to discuss her shock inclusion in this year’s Australian camp.
Declaring the star a ‘national treasure’, Adele said: ‘She is the queen of Wakefield.

While viewers were baffled (but absolutely loved the random item), Jane has now spoken out about the moment and said that she is now excited to meet her radio DJ superfan.
Speaking to Holly and Phil, she said: ‘I’m absolutely gobsmacked! I was just like… my phone started going ding, ding, ding, ding, ding!
‘I was sat, because I’ve been sitting here filming in Manchester.
‘I just sat on the edge of the bed in my underwear, and watched it on Plus One, and just thought, “oh my goodness me!” I could not believe it.’
I’m A Celebrity…Get Me Out Of Here continues weeknights at 9pm on ITV.
Got a showbiz story?
If you've got a story, video or pictures get in touch with the Metro.co.uk Entertainment team by emailing us<EMAIL_ADDRESS>calling 020 3615 2145 or by visiting our Submit Stuff page - we'd love to hear from you.


--- layout: page title: Projects class: projects description: Some projects that I've been working recently, and past projects. ---
Here you can see projects I'm working actually.
Last year
Here you can find some projects I did.


Exchange Speech Assistant
Use your voice to control your Exchange Server environment.
MOre can be read here:
https://www.granikos.eu/en/justcantgetenough/PostId/306/exchange-speech-assistant
Terms of Service
Privacy Policy


| tree {xfun} | R Documentation |
str()
into a tree diagramThe super useful function str()
uses ..
to indicate the level
of sub-elements of an object, which may be difficult to read. This function
uses vertical pipes to connect all sub-elements on the same level, so it is
clearer which elements belong to the same parent element in an object with a
nested structure (such as a nested list).
tree(...)
... |
Arguments to be passed to |
A character string as a raw_string()
.
fit = lsfit(1:9, 1:9) str(fit) xfun::tree(fit) fit = lm(dist ~ speed, data = cars) str(fit) xfun::tree(fit) # some trivial examples xfun::tree(1:10) xfun::tree(iris)


DGCA gives more time to IndiGo, GoAir for modifying P&W engines
by PTIAviation regulator DGCA has extended the deadline for modification of Pratt & Whitney engines, powering A320 neo planes of IndiGo and GoAir.
In the wake of multiple incidents involving P&W engines in recent times, Directorate General of Civil Aviation (DGCA) had given certain deadlines to the two airlines for carrying out changes to their P&W engines.
“... as the task is onerous and availability of such engines is an issue, we have now asked them to complete the task in a slightly modified time line i.e. November 24,” the regulator said in a statement.
Directives were issued by the watchdog on October 28, 29 and November 11, with regard to change of engines with modified Low Pressure Turbine (LPT).
Initially, engines of 16 A320 neo planes of IndiGo were to be modified by November 12, while 13 such aircraft of GoAir by November 13.
Besides, IndiGo was to modify engines of 23 A320 neo planes by November 19.
“The position has been reviewed and we are happy to note that the airlines have made substantial progress with regard to the directives issued dated October 28 and 29,” DGCA said.
Out of 23 planes, IndiGo has placed modified engines in 15 of them while GoAir has done for 9 aircraft out of the total of 13.
The regulator noted the progress made is “below expectation”.
Further, DGCA said its directive to IndiGo on complete change of all P&W engines with modified LPT by January 31 remains in force.
“In case of non-adherence to any of the time lines... will entail grounding of such aircraft after the due date,” it added.


THE VAN A film review by James Berardinelli Copyright 1997 James Berardinelli
RATING (0 TO 10): 6.0 Alternative Scale: **1/2 out of ****
United Kingdom, 1996 U.S. Release Date: beginning 5/97 (limited) Running Length: 1:36 MPAA Classification: R (Profanity, violence) Theatrical Aspect Ratio: 1.85:1
Cast: Colm Meaney, Donal O'Kelly, Ger Ryan, Caroline Rothwell, Brendan O'Carroll, Stuart Dunne, Jack Lynch, Neili Conroy, Ruaidhri Conroy Director: Stephen Frears Producer: Lynda Myles Screenplay: Roddy Doyle based on his novel Cinematography: Oliver Stapleton Music: Eric Clapton and Richard Hartley U.S. Distributor: Fox Searchlight
Finally, the entire Barrytown Trilogy has made it to the screen. The process started back in 1991, when Alan Parker made THE COMMITMENTS. It continued in '93, when Stephen Frears filmed THE SNAPPER. Now, with the addition of 1996's THE VAN, also from Frears, author Roddy Doyle's entire three-book series exists in cinematic form. And the link that binds them together is actor Colm Meaney, the best thing about any of the movies. Meaney's performance is especially noteworthy in THE VAN, where he's one of the few things worth watching during the draggy final thirty minutes.
THE VAN, which is a reasonably simple story about a couple of unemployed men opening a rolling fish-and-chip shop, is a tale of two halves. The first half is an engaging, and at times lively, comedy about friendship and finding meaning in good, honest work. It's about the benefits of regaining one's self-respect, and how that affects both the individual and the family. And, best of all, the early portions of THE VAN boast quite a few effective comic moments that work because the characters seem real. These aren't just cardboard cut-out Irishmen -- they're a couple of likable guys who are easy to root for.
Then, somewhere around THE VAN's halfway point, everything starts to go wrong. The easygoing tone dissipates, and is replaced by something far less comfortable. The film loses its way. The humor becomes half-hearted and obligatory.  This is the kind of conclusion that stands out as a hard-to-swallow writer's construct. It's a sad way for a motion picture that started out with promise to crash land.
The film opens with the woebegone Bimbo (Donal O'Kelly) literally crying into his beer. After twenty-five years of loyal service, he has been laid off. Now, all he has to look forward to are endless afternoons of golf (a game he hates) and watching game shows like "Where in the World?" His best mate, Larry (Colm Meaney) is an old hand at being unemployed. Even though he doesn't much like it, he hasn't worked in a long time. But, while Larry has gotten used to doing nothing all day, Bimbo can't take it, and he hatches a scheme to buy an old van to use as a fish-and-chip shop. Once he has picked out the perfect vehicle (filthy, engine-less, and dirt cheap), he invites Larry to come on board with him fifty/fifty. With Ireland's unexpectedly good performance in World Cup soccer, Bimbo believes that parking the van outside a bar where people hang out to watch the games should provide a solid customer base.
On the acting side, no one comes close to Meaney in this film. His co-star, Donal O'Kelly, is okay, but lacks the screen presence to stand toe-to-toe with him. O'Kelly's best scenes are those with his wife and kids, when there's no sign of Meaney. In supporting roles, Ger Ryan (who appeared in THE COMMITMENTS) and Caroline Rothwell are solid as the wives, and Neili Conroy and Ruaidhri Conroy add a little spark as Larry's kids. Both Conroys, unlike O'Kelly, can hold their own.
Three years ago, Frears did a wonderful job with THE SNAPPER, and, for a while, it appears he is going to repeat his success here. But, although I know what goes wrong with THE VAN, I'm not sure why it happens. Perhaps there just isn't enough story to sustain a full-length feature. Or maybe the episodic structure of the film wears out its welcome. Either way, the result is that watching THE VAN is like sitting through two completely different movies -- one is a great deal of fun and the other isn't worth the price of admission. Unfortunately, unless you walk out, you have to accept the latter to get the former.
- James Berardinelli e-mail<EMAIL_ADDRESS>ReelViews web site: http://www.cybernex.net/~berardin
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Stay connected with your friends and be the first one to receive news from people and events you're interested in.
Real life in real time.
Socialit.io


There are currently no trailers available for {{presskit.title}}. Check back later for more or contact us for specific requests!
There are currently no logos or icons available for {{presskit.title}}. Check back later for more or contact us for specific requests!


// Geometry Library // // Copyright Barend Gehrels, Geodan Holding B.V. Amsterdam, the Netherlands. // Copyright Bruno Lalande 2008 // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <iostream> #include <boost/tuple/tuple.hpp> #include <geometry/algorithms/distance.hpp> #include <geometry/io/wkt/aswkt.hpp> // Sample point derived from boost::tuple struct my_3d_point: boost::tuple<float, float, float> { typedef float coordinate_type; enum { coordinate_count = 3 }; my_3d_point(float x, float y, float z) { get<0>() = x; get<1>() = y; get<2>() = z; } // Because the geometry::point concept shares the "get" methods with boost::tuple, // no more methods are needed. }; namespace geometry { template <> struct strategy_traits<my_3d_point, my_3d_point> { typedef strategy::distance::pythagoras<my_3d_point, my_3d_point> point_distance; typedef strategy::not_implemented point_segment_distance; typedef strategy::not_implemented area; typedef strategy::not_implemented within; typedef strategy::not_implemented centroid; typedef strategy::not_implemented envelope; }; template <> struct wkt_traits<my_3d_point> { typedef impl::wkt::stream_point<my_3d_point> stream_type; }; } // namespace geometry template <typename CH, typename TR> inline std::basic_ostream<CH,TR>& operator<<(std::basic_ostream<CH,TR> &os, const my_3d_point &p) { os << geometry::as_wkt<my_3d_point>(p); return os; } int main() { // Define 2 instances of our custom 3D point my_3d_point p1(11, -22, 33); my_3d_point p2(-111, 222, -333); // The distance between them can be calculated the same way as for the // point_xy provided with the library std::cout << "distance " << p1 << " to " << p2 << " is " << geometry::distance(p1,p2) << std::endl; return 0; }
|
October 14, 2008 |
Copyright © 1995-2008 Barend Gehrels, Geodan Holding B.V. Amsterdam, the Netherlands Copyright © 2008 Bruno Lalande, Paris, France |


This page allows you to customize the appearance and behavior of the pins.
Color
Select your favorite pin color using the standard Windows color dialog. This
color also applies for the pin icon in the notification area (tray). Changing
this will update all existing pins automatically. The default color is red.
Tracking rate
Controls how often each pin checks the pinned window's
position and state. Lower values will make the pins more responsive. The performance
of modern systems will not suffer even at the lowest setting. However, you might
want to increase this number on older computers. Changing this will update the
tracking rate of all existing pins. Valid range is 10 to 1000 msec.
The default value is 20 msec for Win2000/XP and 100 for older Windows versions,
because the latter cannot go below 50 msec.
Tray Icon Activation
You can select whether you want to single-click or double-click on the
tray icon to enter pin mode. Earlier versions of DeskPins used the double-click
mode (which is the standard Windows behavior), but single-clicking has been
found to be more usable and is now the default.


When making a statement regarding the animated cinema, one can't be broad in scope -- you have to narrow things down to a point where you really know what you're talking about. Disney has revolutionized this area, with their sometimes brilliant, sometimes mediocre animated films -- from Snow White And The Seven Dwarves, to Hercules. But outside cel animation, there are different masters -- the up-and-comer Henry Selick, of The Nightmare Before Christmas and James And The Giant Peach. Even more notable, is the excellent Nick park, creator and animator of Wallace And Grommit. Of all these films, considering A Grand Day Out, and The Wrong Trowsers, the best is A Close Shave -- by turns, deliciously exciting and wonderfully funny, the animated masterpiece is a near perfect example of story-telling. How much of a story can you cram into thirty brief minutes? This is just about how much. With humor, both physical and sophisticated, and action, truly exciting, the storyline pulls together in unexpected moments -- the expressions we see on the faces of our heros (Wallace and Gromit) are far more then we have came to expect. This is an excellent example of how well good stop-motion can communicate to the audience.
Grade: A
- Max Solovitch Scheinin (Scheinin not stirred)
Read more of Max's work -- reviews, essays, theories, links -- @ http://www.garfieldlib.com/yanews/july97/max/max.html
To subscribe to Max's work (includes all essays, theories, thoughts) write him<EMAIL_ADDRESS>with the word "subscribe" in the header. You will receive e-mail on an irregular basis, considering that Max is a lazy/busy kid.
"Movies are really a kind of dream state, or like taking dope. And the shock of walking out of the theatre into broad daylight can be terrifying. I watch movies all the time, and I am also very bad at waking up." - Martin Scorsese, from Scorsese on Scorsese
(C), 1997, Max Solovitch Scheinin
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Design
I performed four sorts with content from the Iosco-Arenac District Library Site. I didn't want to add or delete any of the site's original content before seeing what people thought of it. (In my sort I chose to eliminate a few of the cards while adding a few new ones.)
There were 58 cards.
Results
The sorts that my participants did revealed some interesting things about how they think about content.
- When it comes to organizing the branches of the library, what I think is one of the main things people will use the sight for, my participants all organized it slightly differently.
Two of the cards listed the county names (Iosco and Arenac). I intended them to represent links to the county government sites. Due to the ambiguity, one of my participants organized the branches by their repsective county. Three of the branches are in Arenac County and the other five are in Iosco County. He lives in Arenac County and said that the branches are fairly far away from one another. Anybody visiting the site would likely be looking at libraries from one county or the other and not both.
In two of the organizations, the branches were all kept together under a "branches" category. This is how I sorted the cards because it seems to be consistent with other library sites. Organizing them by county, though, might make more sense in this situation.
The last participant sorted the branches separately. So, all Tawas Library information was kept together, but separate from the Whittemore library information, for example. This sort emphasizes individual libraries in the way that the Grand Rapids Public Library site does.
- One of my particpants thought content like "annual reports", "technology plan", and "personell manual" is relatively unimportant and can be kept in a footer.
Other sorts kept this information in a group with information about the library's board of directors.
- In my sort, I organized some of the information into a "quick links" section. I've seen a lot of these on library sites. Some of the other sorts placed these cards ("catalogue", "access your account", "public use computers FAQ") in a header or in an "about" section.
- There really weren't any innovative ways of grouping the programs and events. All of the sorts grouped the event cards in a single event section. One sort did put repeated events in a "reoccuring events" group.
- There are a variety of electronic resources/external links. Some were grouped separately for kids, but on the whole no sort was able to distinguish much between links to databases and other resources. Part of the problem may be that some of the links don't really need to be on the site , familydoctor.org or the weather channel, for example. All of these resources are on the current site's "Answer Desk" pages. The site describes them as "helpful links". I think I will have to look to other library sites to develop a more sophisticated organization of these resources.


I think you've got this figured out by now.
Calm: https://www.placecage.com/200/300
Gray: https://www.placecage.com/g/200/300
CRAZY: https://www.placecage.com/c/200/300
GIF: https://www.placecage.com/gif/200/300


Yenessa's Portfolio
Welcome to my portfolio!
My name is Yenessa Avalos-Maldonado and I'm sophomore studying Computer Engineering at the University of Florida. I'm passionate about my major and I have a huge interest in the integration between the hardware and software sides of computers and microprocessors.
Here's me with my parents, who are my number one supporters and are the reason I constantly challenge myself and seek new opportunities.
I also loooove cats!
Meet Kido and Puchi!
Additionally, some of my favorite past times include going on walks, listening to music, hanging out with friends, trying out new things like tennis, and cooking new vegetarian dishes (I know how to make an amazing enchilada dish!).
Fun fact: two of my hidden talents are painting and violin playing!
On campus, I'm involved in two engineering organizations called SHPE (Society of Hispanic Professional Engineers) and WECE (Women of Electrical and Computer Engineering). I'm currently the Vice President Internal for WECE.
This summer I'll be in Fort Collins, Colorado where I'll be experiencing my first internship as an IP Design intern at Intel! I'll be learning SystemVerilog and be working in a Linux/Unix environment.


Secrier Lab
Research
Papers
People
Lab philosophy
Contact
UCL Genetics Institute
Department of Genetics, Evolution and Environment
Room 218A
University College London
Darwin Building, Gower Street
London WC1E 6BT
Email: m.secrier
obfuscate
@ucl.ac.uk


Wendy:
I have no more to say to you. Please tell the Dwarf what I said.
There is no more danger here; you have resolved all of the problems.
I am being operated by a Starstone, but once that Starstone disappears, I will begin to be deactivated. I am looking forward to it... I want to rest, at long last.
Please take this. It is all I have left to give.


Yoté Board and Elephants
I used to work for a company that hosted annual employee art shows. This was a great way to share creative passions with coworkers and I participated one year with a wall full (10-12) of elephant paintings.
I’ve been looking for a way to incorporate elephants into one of my board games and making a Yoté board was the perfect excuse (as well as it being a fun game!). Wood burning on red oak can be a little tricky but I was pleased with the results.


Hi,
I bought an LDR to measure electric consumption on my power meter.
My power meter has an infrared LED which outputs pulses.
I attached the LDR with the TinyTx node to the power meter. But unfortunately it does not send anything!
If i use a flashlight, my wireless sensor TinyTx (Sketch) sends a signal.
Is the LDR able to read infrared impulses? Which sensor is used to read an infrared LED?
Maybe its a problem with the resistor which is used between Pin A0 and Pin D9 on my TinyTX!? I have to check which resistor I am using. There are two different sketches for TinyTX to use with a LDR:
https://github.com/nathanchantrell/TinyTX/blob/master/TinyTX_LDR_Meter/T...
https://github.com/nathanchantrell/TinyTX/blob/master/TinyTX_LDR/TinyTX_...
I am sure I use the the first one on my TinyTX, but I am not sure that I used the correct resistor - can this be the problem?
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
You need some data on your LDR! You need to know its resistance in the dark (easy) and when seeing the infra-red pulses (harder). Without that, you cannot calculate the correct value for the series resistor.
You might be able to get an idea of the 'light' resistance if you use a TV remote control as a substitute for the meter. The one used in the emonGLCD responds to my TV remore control if the range is less than 2 cm.
If you cannot find the resistance of your LDR, all you can do is try different values of series resistance until you find one that works - do not go below the minimum value and destroy your LDR with too much current.
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Robert,
thank you for your answer.
I found a specification on my LDR: http://www.produktinfo.conrad.com/datenblaetter/125000-149999/145475-da-...
It says:
Resistance value at 10 lux = 27 - 94 KOhm
Minimum resistance 1 sec after removal of light = 0,5 MOhm
How can I measure its resistance when an infrared LED is on?
Of course I can use my TV remote control to send an infrared signal. But how to measure it?
Maybe I can use a voltmeter to measure its resistance when using my TV remote like written here https://learn.adafruit.com/photocells/testing-a-photocell
But how do I calculate which resistor I need for my LDR if I know its resistance?
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
OK, that information helps. Let me assume you are making a voltage divider circuit between the supply and ground, and your LDR is in the top position and your fixed resistor in the bottom. When the LDR is illuminated, its resistance will be low and you have a positive pulse. When it is dark, you have approx 500 kΩ, so you want the resistance of the fixed resistor to give you a logic 'LOW' at your input when dark. You know the supply voltage, you can find what a logic LOW voltage is, so you can calculate the fixed resistor's value. I guess about 100 kΩ. That will give you a LOW voltage of Vcc/6. Now let's check what this will give you at 10 lux: your LDR is (say) 100 kΩ that will give you a HIGH voltage of Vcc/2 worst case, which is probably not good enough - you need more light - but it could be as high as nearly 0.8 × Vcc - which should be OK.
Until we know how low the resistance goes when the LED is on, we can do no better, but this shows you how to begin to calculate the value. It might be better (depends on the voltages you need for a logic HIGH and a logic LOW input) to switch the positions of the LDR and resistor, then invert the input in software.
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Robert,
thank you very much for calculating this.
Yesterday evening I changed my setup a little bit. Unfortunately I had no 100 kΩ resistor at home, so I used two 47 kΩ (=94 kΩ) resistors.
The good news is that, using my infrared TV remote control the TinyTX started to send - so the LDR was able to read the signal. The bad news is that, that it was not able to read the infrared LED of my power meter. Maybe because of the weak light of the infrared led of my power meter?
The question is how to change the size of the resistor so that the LDR is working with the infrared LED of my power meter? Do you have any ideas? How do you calculate the size of the resistor?
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
So you are almost there.
There can be two problems. First, have you excluded all light? To get the highest dark resistance, you must excluded all light - both visible and infra-red. Second, the light resistance is inversely proportional to the amount of light, so the more light you can get from the IR LED, the better. Usually that means getting as close as possible and directly in line.
I have no idea how much light you will get out of your meter, nor of the characteristics or the actual LDR that you have, so I cannot do the calculations exactly. I have shown you how to calculate the resistor value, you need to check the data sheet for your TinyTX and find the voltages that your input considers to be logic HIGH and logic LOW, then you adjust those calculations and the resistor value so that when dark your voltage is only just below the LOW threshold and when light you hope it will go above the HIGH threshold.
If you cannot do that, you can either try amplifying the voltage, or you can get a more sensitive LDR.
Re: Using TinyTX and LDR to measure Watt on my power meter
Yes, I exluded all light. I closed the fusebox my power meter is in, so the LDR is completely in the dark.
The LDR is directly (face-to-face) put on the infrared LED of the power meter. There is only a glas in between.
TinyTX is running with two AA batteries (each 1.5V) = between 3V and 3.3V and outputs this voltage when a pin is defined as output.
So i think the logic HIGH is exactly the supply voltage - but I'm not sure.
So thank you for helping me Robert. I think I have to try around a little bit find the correct resistor. Can I destroy the LDR by trying around with different resistors? I have only a very basic knowledge, so how is the formula to calculate the resistor I need?
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
So i think the logic HIGH is exactly the supply voltage - but I'm not sure.
No. The voltage you are looking for is the voltage that the input recognises as HIGH. Check the data sheet. It is usually above about 70% of the supply voltage, and LOW is usually below about 20% of the supply voltage.
The data sheet for the ATTiny84 is here: http://www.atmel.com/Images/doc8006.pdf If you look in section 20, you will see that a LOW is below 0.2 Vcc if Vcc is between 1.8 & 2.4 V, and 0.3 Vcc if Vcc is between 2.4 and 5.5 V; and a HIGH is above 0.7 Vcc if Vcc is between 1.8 & 2.4 V, and 0.6 Vcc if Vcc is between 2.4 and 5.5 V.
You can destroy your LDR if you use a resistor that is too low, the data sheet will tell you the maximum power that it can safely dissipate. I guess it will be in the order of 100 mW, so you need a quite small resistor (well below 100 Ω) to do that with a 3.3 V supply. As it looks as if you need resistors in the 100 kΩ range, the only danger is an accidental short-circuit.
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Robert,
thanks for the specification. I have only a very basic knowledge working with microcontrollers.
I was trying around with multiple resistors now but I had no luck.
With my TV remote, everything works fine - but not with my power meter.
I have to find out if the infrared led is working or not.
And I have also read that there are infrared interfaces where you can read more information than just a light pulse. But some interfaces have a photoresistor and need an active light pulse from a sensor before they send information.
I found a specification from my power meter, I will post the link here.
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Christian
You should be able to check your meter using a mobile phone camera, the infra red light is visible via a digital camera.
Are you sure it's supposed to pulse? if it uses infra red it could well "communicate" rather than just "pulse" if it does communicate it could well be waiting to be "asked" for the data,
Paul
Re: Using TinyTX and LDR to measure Watt on my power meter
If you have a digital camera/webcam/camera phone, you might be able to see the IR LED using that. But if you can't, it's not conclusive as some are fitted with an IR filter. I think the most likely scenario is the LED is working, but the light pulse is not of sufficient intensity to make the ATTiny input swing far enough for a pulse to be recognised.
"I have only a very basic knowledge working with microcontrollers." That's where I'm trying to help you by steering you towards where to find the information and how to interpret it, then how to do the calculation.
[Edit] Not again! Paul and I seem to be able to post nearly the same answer at nearly the same instant!
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Paul, Hi Robert,
great thank you!
Yesterday evening I tried to capture the infrared led pulse with my digital camera and I could see the light pulse on my screen! It is a short flash every 1kW.
So I think the pulse has not the sufficient intensity to work with my LDR. Maybe I can try, using different resistors, to make the LDR more sensitive. I think with the right setup, the LDR will be able to capture the light pulse.
When you have a look on the sketch to line 134-137, I think this has something to do with the value which is read from the LDR https://github.com/nathanchantrell/TinyTX/blob/master/TinyTX_LDR_Meter/T...
There is another sketch for Attiny just for sending the light intensitiy https://github.com/nathanchantrell/TinyTX/blob/master/TinyTX_LDR/TinyTX_... It sends the LDR value every minute. So if I modify this sketch that it just sends the LDRs value if the LDR values changes, so I can add it in front of my power meter and read the exact value from the LDR when it's dark and when the light pulses. Then I can modify the LDR_Meter sketch with the exact values.
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
I see you're actually using an analogue input for your pulse. I could not access those external links earlier, so I did not know that and had to assume you were using a digital input (and that should have been obvious from what I wrote). You will certainly need to change to levels at which you detect the pulse if you are using the analogue input, you might also have a problem with the duration of the pulse and the speed at which you poll and can measure the analogue input, though as you can see the pulse using a camera, it is likely that it is long enough to be able to read it.
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Robert,
oh, you were talking about a digital input - now I understand your answers better :-) Sorry for that! No, it is just an analogue input. The LDR is NOT connected directly to the infrared LED of the power meter.
I modified the attiny sketch in a way that it now just reports changes on the analog input. This means, whenever the light condition (the resistance of the LDR) changes, my wireless TinyTX nodes are sending a signal.
I made the LDR very sensitive using up to 200 kOhm resistor. So it works perfect with my TV remote when holding it about 1 meter away from the LDR. But not with the power meter. It seems that the signal has not the suffiecient intensity. Maybe the LDR is still not sensitive enough?
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
I think you need to forget the sketches for a moment and start at the beginning. What numbers do you get for the light intensity (a) when it is dark and (b) when the meter LED is pulsing? (Recording the maximum and minimum values should give you the numbers you need). Then you can decide the number to set where it decides that there is a pulse, and the number where it decides there is not a pulse.
These lines do that:
if (!ledOn && powerReading < 1010)
{
ledOn = true;
}
else if (ledOn && powerReading > 1020)
{
ledOn = false;
}
it assumes that the LDR is connected between GND and the analogue input (because it expects the voltage to fall when it decides the LED is on, and says that the light has to go below 1010 (only about 40 mV below VCC) to register a pulse, and it must rise above 1020 (nearly at VCC) to recognise 'dark'.
Where is your LDR connected? If it is between the analogue input and VCC, then you definitely need to change that part of the sketch.
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Robert, Hi Paul,
I am still working on this project. It is not working yet :-(
Now I bought an infrared sensor like this one and connected it to my TinyTX wireless sensor node.
It works fantastic with my TV remote control over a great distance and it ignores most of the ambient light unlike the LDR sensor.
I uploaded a skech to the Attiny. So my TinyTX wireless node sends the value, every time the infrared sensor receives a new value. Using the RFM12Pi interface in emoncms I connected the TinyTX wireless sensor to a feed.
I did this in a first step to find out which is the value (a) when it is dark and (b) when the meter infrared LED is pulsing. I got the following values. Now I think everything above the value 2000 stand for (b) the pulsing LED and everything below 2000 for (a) when it is dark.
Now in the second step my idea was to adapt / create a sketch for the attiny on my tinyTX, which calculates the Watt value every time the infrared sensor is higher than 2000. So I used this sketch from Nthan Chantrell on github and created my "own" very basic sketch. The most important part is the loop part (see below).
No my question or problem is the following:
If I change the following line and add...
...the tinyTX wireless sensor perfectly sends the values to emoncms / my raspberry pi.
But if I change the line (the IF condition) to what I need, namely...
...or...
...nothing is send to my raspberry pi. Why?
In the diagramm (picture) above you can see values above 2000 going up to 2500. But the sketch does not work and the wireless node does not send anything.
What is wrong with my sketch???
void loop() {
bitClear(PRR, PRADC); ADCSRA |= bit(ADEN); // Enable the ADC
powerReading = analogRead(10); // calculate the average
ADCSRA &= ~ bit(ADEN); bitSet(PRR, PRADC); // Disable the ADC to save power
if ( powerReading > 1500 ) {
unsigned long time = millis();
unsigned long interval = time - last;
watts = 1 * 1 * 3.6E6 / interval;
last = time;
tinytx.power = watts; // Get realtime power
tinytx.supplyV = readVcc(); // Get supply voltage
tinytx.powerReading = powerReading;
rfwrite(); // Send data via RF
}
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
There's no way that sketch you've attached will work, it's an HTML file!
Re: Using TinyTX and LDR to measure Watt on my power meter
There's no way that sketch you've attached will work, it's an HTML file!
It looks as though it's a sketch that has been carelessly copied and pasted from a HTML page!
Paul
Re: Using TinyTX and LDR to measure Watt on my power meter
Exactly, Paul, and as such it's very hard to read. If people expect us to help them, they should not make it harder than necessary, whether by carelessness or whatever. What's wrong with checking that what you have posted is sensible and readable?
And we've got only half the story in the clip that he's pasted into the thread, we don't know where the values in the graph (screenshot) came from, so a constructive suggestion is a little difficult. But my guess is those numbers aren't the values he's reading into powerReading.
One obvious error is it will send messages all the time the LED is on - maybe that was wanted, but I doubt it, and it's not the immediate problem.
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Robert, Hi Paul,
sorry, this was just a problem with formatting / saving the original sketch. Sorry for that.
I changed the download link and uploaded a plain text document. You can check it again in my original post (url: http://openenergymonitor.org/emon/sites/default/files/LDR_Meter_Sketch_0...).
Most important is the "loop" part. I cannot find the problem!
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
What values are you seeing for powerReading?
Here I have a problem. The ADC in your processor is 10 bits resolution, 2^10 = 1024, so how can the output "powerReading" ever be greater than 1023?
Where did your values of 2500 come from?
Re: Using TinyTX and LDR to measure Watt on my power meter
Hi Robert,
the TinyTX wireless node is connected to a raspberry pi using RFM12Pi. On my raspberry I installed emoncms. The graph above shows the infrared sensor value (powerReading) which was send from TinyTX to emoncms.
If my TinyTX node is sending a value to emoncms, the following values (like in my sketch) appear in the "Input" menu of emoncms. In this first step I am only interested in the values for powerReading when its dark and when the LED pulses.
typedef struct {
int power; // Temperature reading
int supplyV; // Supply voltage
int powerReading; // Infrared Sensor
}
From the input of "powerReading" I created a feed in emoncms. After creating the feed I started the realtime graph. You can see the result in my post above.
I agree with you and I think the values I see in emoncms for powerReading (e.g. 2500) are not the values the TinyTX node captures in the powerReading variable.
Even if I change the IF-statement in the loop() part of my sketch to something like if ( powerReading > 1000 ), nothing is send and received to emoncms. Unlike if I write if ( powerReading > 500 ) than I receive the values shown in the graph above.
How can I get the "real" values for powerReading? Does emoncms does some kind of calculation or transformation on the values shown in the "Input" menu?
Best regards,
Christian
Re: Using TinyTX and LDR to measure Watt on my power meter
The point is, if the loop in your TinyTX is looking for a value close to or above 1023 (bearing in mind that the processor data sheet does not guarantee you will get 1023, only that the output will be close to 1023, for maximum input) then you will never trigger the transmitter.
Have you addressed the question of what happens if the LED is on for two consecutive trips around the loop? In that case, the second time, interval will be a very small number and watts will be very large. Interval needs to be greater than 55 for tinytx.powerReading to not overflow. And even if it doesn't overflow, you still get a wrong reading because it believes it has seen two flashes in quick succession.
You need to put that right first. If that isn't the problem, then you need to look at what you are doing in emoncms to find out how the number is interpreted there.
Why don't you forget the sensor and write a very simple sketch to send known fixed numbers to emoncms? When you have traced those through the system and know how it works, then you can have some confidence that you can send real data and expect meaningful results.


|
Andy KaufmanBorn on January 17, 1949, Andy Kaufman lived his life in the hazy borderland between comedian and performance artist. Throughout his career, he insisted that he was not a comedian, yet he staged most of his performances in comedy clubs and on comedic television shows.While Kaufman is known primarily for comedy, his most lasting contribution grew out of his obsession with Elvis Presley. Kaufman first became infatuated with Elvis in the 1950s, and in 1969 hitchhiked to Las Vegas to meet the fat, drug-addled King. Unconfirmed stories hold that Kaufman hid inside a kitchen cabinet and popped out when Elvis wandered by, likely giving his bloated majesty a near-coronary. Kaufman's fetish for Elvis manifested itself in his stage act. Starting in nightclubs and eventually continuing on to network television, Andy created an entirely new genre of hell for the American people: Elvis impersonation. He was the first person to publicly, and repeatedly perform in the garb and persona of Elvis Presley.  Thanks, Andy. In college, Kaufman began transcendental meditation, and found it to help relieve his stage fright. He meditated religiously before appearing on stage, and often attended transcendental meditation seminars. He graduated in 1971 with an associates degree in applied science. Also in 1971, Kaufman began performing full time in New York and LA at various comedy and improv clubs. His act often caused his audience to become disinterested, rowdy, or to simply walk out in the middle of the show. Amongst his on-stage weaponry were such diverse elements as his Elvis impersonation, reading the Great Gatsby to the audience, singing 100 Bottles of Beer on the Wall in its entirety, and impersonating a fictitious Las Vegas lounge singer named Tony Clifton. Generally speaking, Kaufman's act elicited nary a giggle from his viewers. So it was only natural that he moved on to Saturday Night Live, a show he helped send on its way to a 30 year career of overly long skits and unfunny catch phrases. In September of 1978, Kaufman began playing the part of Latka Gravas on the ABC sitcom Taxi. His character was a variation on one of his stand-up routines. Latka was a foreigner in the Taxi garage and often induced some genuine guffaws. This foreign-accented character also made an appearance as a contestant on The Dating Game. (Latka was not selected by the bachelorette.) That same month, Andy also began his National College Sex Concert Tour.  The colleges visited on this tour were specifically chosen to coincide with his epistle-authoring female fans. Those women that sent Andy pictures of themselves received thank you letters containing backstage passes and appointments for private meetings in the performer's dressing room. When not humping young fans, Kaufman was frequently caught in scuffles with coworkers. While backstage at the Golden Globe awards in 1979, he was punched out by Taxi costar Jeff Conaway. In 1981, while hosting the ABC variety show Fridays, Andy and his castmates became embroiled in a fistfight at the end of his first episode. As if to make up for this, in the first show of the second season of Fridays, Kaufman's monologue centered on his newfound devotion to Christ. On tour in the Hamptons, Kaufman invited a number of relatives on stage to perform and received a distasteful response from the audience. He admonished the viewers, saying "You people are the reason everyone hates Jews." Another of Kaufman's incendiary devices was his constant impersonation of Tony Clifton. Kaufman claimed to have discovered Clifton in Las Vegas in the early 70s, when in fact, he was Clifton... usually. Kaufman's best friend and longtime cohort, Bob Zmuda, traded off the role of Clifton and used the talentless lounge singer character to open Andy's stage shows, begin Rodney Dangerfield concerts, and take pot shots at the pair of them on talk shows. To his death bed, Kaufman insisted that Clifton was a separate person. Clifton, too, admonished the press for implying that he was not a real person. While working on the set of Taxi, Kaufman negotiated a contract to allow Tony Clifton to appear on an episode of the sitcom. When Bob Zmuda showed up as Clifton to film said episode, his abusive behavior was so detested by the cast and crew that the episode was scrapped and Clifton was escorted off the premises by security guards. In an effort to bring back the good old days of carnival wrestling matches, Kaufman began, in 1979, appearing at modern professional fake wrestling matches offering a reward of $1,000 to any woman who could pin him. Despite his smaller stature and the incredible bulk achieved by some of his impromptu competitors, Andy won often and declared himself the Inter-Gender Wrestling Champion. In his efforts, he was never pinned by a woman, although a couple of them did achieve a draw. Eventually, professional fake wrestler Jerry Lawler challenged Kaufman to a match. Kaufman not only lost the match, but was seriously injured by a piledriver, and spent the night in the hospital. In a subsequent appearance on the David Letterman Show, Kaufman was slapped out of his chair by Lawler. Kaufman's response was to threaten to sue Lawler and storm out of the studio. It's still open for debate whether or not Lawler was in on the joke. Some argue that Kaufman wasn't even in on the joke. But no matter what, the audience was definitely left in the dark. This was Andy Kaufman's trademark. He made a career out of sending his audiences home questioning whether they had enjoyed themselves after his performance. His modus operandi was to push the comedic envelope to the point where his audience cringed. He was the genesis for future mooks, such as Tom Green. Unfortunately, Tom Green never treats his audience to milk and cookies after his shows -- a tradition for Kaufman. While home for the holidays in late 1983, Kaufman was taken with a nasty cough. He visited a doctor shortly thereafter and was diagnosed with inoperable and almost certainly fatal lung cancer. He began treatment for the cancer almost immediately, clinging to the slim chance that it might help force the cancer into remission. It is perhaps appropriate that many of his friends and admirers goaded him to "stop the charade" when they saw him in a wheelchair, bald from chemotherapy. Despite his rebellious image, and his association with the cast of Saturday Night Live, Kaufman did not smoke or use drugs beyond high school. Many assumed that his cancer was the result of his nightclub days, reasoning that he spent a lot of the 70s breathing in secondhand smoke from comedy club audiences. Whatever the cause, Andy had lung cancer and it was quickly killing him. After a few months of radiation therapy, Kaufman became desperate for any miracle cure he could find. He'd heard about the psychic healers of the Philippines, and left for Manila on March 20, 1984. He received treatments twice a day for six weeks from Jun Labo, a renowned psychic surgeon.  Nevertheless, Kaufman felt better during the course of the treatment. Upon returning to the United States, he told a reporter: "The doctors don't know everything." But less than a week later, Andy's condition rapidly worsened. He was checked into a hospital and on May 16, 1984, Kaufman was pronounced dead from cancer. It was his last unfunny joke. After Kaufman's death, Bob Zmuda appeared as Tony Clifton at a fundraiser to raise money for cancer research. The concert became a yearly event and today lives on as Comic Relief, just another piece of Andy's mammoth legacy of unfunny things.
|