www.archive-net-2013.com » NET » J » JONDESIGN

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".

    Archived pages: 32 . Archive date: 2013-09.

  • Title: Blog de Jonathan Schemoul
    Descriptive info: .. Jonathan Schemoul s Blog.. Home.. About.. Contact.. English.. Français.. (.. French.. ).. 7.. Home-made name badge pcb with scrolling messages on led display.. 06 Feb 2012.. at 13:32.. admin.. Arduino.. ,.. Geekiness.. Hardware.. MSP430.. 6 Comments.. For people at FOSDEM 2012 (great event by the way!), you ve surely seen my name badge around.. For others, here is a picture :.. As promised to some people there, here are all the details :.. I used an.. MSP430F5171.. 16-bit ultra low power microcontroller (mcu), and my own arduino port for that platform (that supports nearly all the msp430G, MSP430F2xxxx and msp430F5xxx by the way, with all their ports, and pwm on all the ports if needed).. However, to save some room on the board and to limit the bill of materials, I haven t used any resistors, playing on the multiplexing effect and praying that the mcu would handle that current (very bad practice for production designs, but for an experimental name badge.. Enough chatting, here is the schematic :.. And pictures of the badge being built :.. If you wonder how I made the pcb, I used the toner transfer method (cheap store catalog paper and laminator), with traces as small as 6 mil, so it works perfectly once you ve tried all the methods on the web and found the one that is ok for you.. I hand soldered all the components using a regular iron.. And, finally, of course,a video of it scrolling :.. As you may see, there is a final row on the right that doesn t light up,.. that s because I tried to put high intensity blue smd leds, that took too much current from the mcu pin, another reason why it s a bad practice to do what I did without resistors.. there was just a badly soldered via, now fixed.. If I had to to do it again, I d probably use real led drivers, but trying to find some that are low power (it s a name badge after all and it runs on battery) and maybe use a bigger resolution, as reading it with a 5 3 font was a bit hard.. If people are interested, I can publish the code here if needed, and I ll of course post a full version of my arduino lib for msp430 as open source soon don t worry.. Have any question ? Use the comments.. 10.. Electroménager sur internet : galère assurée (Mondial Relay Discounteo).. 22 Oct 2011.. at 13:26.. 3615 my life.. 3 Comments.. Edit du 24/10:.. titre changé, voir la fin du post pour la mise à jour.. Revenons il y a un mois.. je me dis que je peux refaire ma cuisine : Je me prépare donc à acheter mon électroménager (four, plaques, lave vaisselle ).. Or, j avais entendu parler d un site appelé.. Discounteo.. , que j avais déjà utilisé pour faire un achat.. Hop, commande passée pour le tout sur ce site début Octobre ( pourquoi passer par plusieurs vendeurs, la livraison sera plus simple si je fais tout sur le même site ).. Grand mal m en a pris.. Je m explique, pour une partie de la commande (assez lourde), je dois aller en point relais mondial relay.. Ce que j ai fait : c était lourd à porter mais soit.. Pour l autre, moyennant finance (80 euros tout de même), ils me le livrent chez moi; Premier rendez-vous fixé pour la livraison 2 semaines après la commande (un peu tard, mais bon, ça peut arriver).. Les livreurs arrivent et ne me livrent que de la moitié, l autre étant pas complète dans l’entrepôt.. J appelle le service.. Mondial Relay.. (le transporteur) pour comprendre, et on m explique que le reste de ma commande est perdue dans des entrepôts : ils ne savent pas où et vont mener une enquête mais pas avant le lendemain.. Le lendemain arrive, je rappelle (une nouvelle fois 40 minutes d attente pour avoir quelqu un), et ils ont retrouvé un colis sur deux mais refusent de livrer partiellement.. Quelques jours plus tard, le 18 Octobre (ils arrivent enfin à retrouver les colis), ils acceptent de fixer un rendez-vous le Jeudi 20 Octobre (le Mercredi étant complet), je prend donc ma journée de congés pour recevoir le transporteur.. Le transporteur ne passera pas.. La raison ? Ils auraient oubliés mes colis au dépôt Avec les excuses de Mondial Relay, nouveau rdv pris pour le samedi 22 Octobre entre 8h et 13h, cette fois ci promis juré vous aurez vos colis.. Ah.. Et Aujourd hui, 14h30, ais-je reçu mes colis ? Non.. Transporteur aux abonnés absents, et numéro de téléphone injoignable.. Petit check avec Discounteo sur leur site et remboursement impossible.. En attenant j ai une arrivée d eau ouverte et ne peux pas ouvrir les robinets.. Merci Discounteo.. Hop, donc pour résumer, si vous voyez Mondial Relay sur un site pour la livraison, fuyez.. Et si les prix de Discounteo vous attirent, fuyez aussi.. Je vous tiens au courant sur la façon dont les choses évoluent.. Si vous avez une idée sur les démarches que je peux entreprendre, je suis tout ouïe.. ps: il semblerait que je ne sois pas le seul, et.. @dansuncoin.. sur twitter a.. eu des déboires.. du meme genre avec Mondial Relay.. Addendum du 24/10:.. J ai reçu ma commande plus tard dans l après midi de Samedi, après les horaires de livraison.. Manque de chance, l article restant a reçu un coup pendant le transport.. invalidant ainsi je pense (j espère que non, mais bon) la garantie ainsi que l extension de garantie que j ai payé.. Pour faire une réclamation il faut que j envoie une lettre recommandée confirmant mes réserves émises au transporteur car elles ont été barrées (cool le transporteur d ailleurs ).. J abandonne, j aurai un appareil à plus de 300 euros ayant un coup, mais plus de commande en  ...   en Python, avec un éditeur graphique, un système de plugin, un webservice, un scheduler, etc.. J ai fait une présentation à.. PyCon FR.. à ce sujet il ya de cela quelques semaines et les vidéos ont été mises en lignes.. Plutot que de rentrer dans les détails dans cet article, je vous invite à regarder cette présentation :.. Pour plus d infos, rendez-vous sur.. pyfproject.. org.. 9.. Create PDF in Python using Genshi and RML with pyjon.. reports.. 15 Jun 2010.. at 20:35.. 4 Comments.. Warning.. , this article is technical If you don t care about python development, skip it.. You want to create pdf reports, send letters or any other action needing pdf documents ?.. If you are a python expert, you ll have surely heard about ReportLab.. Yeah, I know, to use it, you need to code it, and when you change your template you have to do everything again.. A solution to that, is to use RML, an xml language done by the company that created reportlab.. RML permits to use stylesheets, and to have an xml document that generates the pdf (just like html).. There is a problem with RML.. The reference handler, (Reportlab RML) isn t free (neither as in beer nor as in speech) But the fabulous guys at Z3C did an open source handler for RML, z3c.. rml !.. Just one problem : when you create big documents, the process will crawl, take all your ram and die badly.. The solution to that aspect ? using PyPDF to join pdf files into one (one template per document part).. Now, here comes the real deal : we will template that xml, just like we would do for html, using an xml templating language : genshi.. To ease that task, I ve made a little python lib that handles the templating, the merging of various documents into one and much more.. For the most impatient, head directly to.. the examples.. !.. How to use it ?.. Example case : a data table.. First, let s initialize a factory (a class that allows to create various documents and join them in one pdf):.. from pyjon.. reports import ReportFactory factory = ReportFactory().. Now let s create a test.. xml file containing our template:.. ?xml version="1.. 0" encoding="iso-8859-1" standalone="no" ? !DOCTYPE document SYSTEM "rml_1_0.. dtd" document xmlns:py="http://genshi.. edgewall.. org/" template pageSize="(595, 842)" leftMargin="72" showBoundary="0" pageTemplate id="main" frame id="first" x1="1in" y1="1in" width="6.. 27in" height="9.. 69in"/ /pageTemplate /template stylesheet blockTableStyle id="mynicetable" spaceBefore="12" lineStyle kind="OUTLINE" colorName="black" thickness="0.. 5"/ blockFont name="Times-Bold" size="6" leading="7" start="0,0" stop="-1,0"/ blockBottomPadding length="1"/ blockBackground colorName="0xD0D0D0" start="0,0" stop="-1,0"/ lineStyle kind="LINEBELOW" colorName="black" start="0,0" stop="-1,0" thickness="0.. 5"/ !--body section-- blockFont name="Times-Roman" size="6" leading="7" start="0,1" stop="-1,-1"/ blockTopPadding length="1" start="0,1" stop="-1,-1"/ blockBackground colorsByRow="0xD0FFD0;None" start="0,1" stop="-1,-1"/ blockAlignment value="right" start="1,1" stop="-1,-1"/ !-- closing the table when restarting it on next page -- lineStyle kind="LINEBELOW" colorName="black" start="0,splitlast" stop="-1,splitlast" thickness="0.. 5"/ /blockTableStyle /stylesheet story h1 $title /h1 blockTable repeatRows="1" style="mynicetable" tr td py:for="i in range(10)" Row ${i} /td /tr tr py:for="line in data" td py:for="col in line" py:content="col" / /tr /blockTable para py:content="dummy" / /story /document.. Let s have a look at this template:.. The template node permits to choose the document size.. The stylesheet node permits to define the styling of the document.. The story nodes contains the document content (just like body in html).. Like in html, h1 defines a level 1 title (we print the title var inside).. A.. para.. is like an html.. p.. (a paragraph).. The blockTable is the table tag containing rows and columns (td and tr).. The py:for attributes define the iterations over list vars.. The first one (py:for= i in range(10) ) defines the columns (Row 0 to Row 9).. The second (py:for= line in data ) shows the whole content of the data var (item per item).. The last one (py:for= col in line ) shows the content of each line (with a py:content printing it inside the tag).. Now let s generate a document with this template:.. template = 'test.. xml' testdata = [range(10)] * 100 factory.. render_template( template_file=template, title=u'THE TITLE', data=testdata, dummy='foo').. We passed various variables and a data list (testdata) containing the numbers 0 to 9, 100 times: [[0,.. , 9], , [0,.. , 9]].. Please note that all keyword arguments passed to the function (beside template_file or template_string) are passed to the genshi template, and accessible as root variables there.. Needing to add another secion in the document with the same template ? No problem !.. factory.. render_template( template_file=template, title=u'THE TITLE 2!', data=testdata, dummy='bar' ).. Eventually, we will create a single pdf files, with all the content, finalising the factory (cleaning it):.. render_document('test.. pdf') factory.. cleanup().. And voilà! It s as simple as that.. How to install it ?.. To install pyjon.. reports it s very simple: just type.. easy_install pyjon.. in your console (in a virtual env or globally), and you ll be able to generate pdf documents in your applications in less than 5 minutes.. If you want to see the source code or contribute, see the bitbucket page:.. http://bitbucket.. org/jon1012/pyjonreports.. For more info:.. Download page.. Genshi documentation.. RML format documentation.. (pdf).. z3c.. rml specific format documentation.. New blog.. 14 Jun 2010.. at 19:09.. Unclassified.. 7 Comments.. Hi dear readers.. What you did know as JonDesign disappeared.. But fear not, as instead comes my personnal blog, hopefully updated much more often!.. I ll blog about tech, development (python, css, javascript), design or otherwise interesting news and tutorials.. SmoothGallery continues to live at.. http://smoothgallery.. jondesign.. net/.. For all contact about professionnal activities, please use.. my company website (JMSI).. See you soon here !.. Search.. Categories.. (1).. (2).. Tags.. coding.. fosdem.. red.. reports.. scrolling.. Archives.. February 2012.. December 2010.. June 2010.. Blogs.. Brice.. Mes liens.. +Jonathan Schemoul.. Arduino UNO.. JMSI, conseil et service pour les systèmes d information.. Jon1012 on Twitter.. LyonEnvies.. Matrice de Led RVB Haute luminosité.. ParisEnvies.. PyF Data-Flow Programming.. SmoothGallery.. Jonathan Schemoul s Blog powered by.. WordPress.. RSS Articles.. |.. RSS Commentaires..

    Original link path: /
    Open archive

  • Title: About | Jonathan Schemoul's Blog
    Descriptive info: at 17:55.. This content is also available in:.. Hi, I m Jonathan Schemoul.. This blog is about High-Tech, Python and Javascript development, design and web world news.. I am an IT consultant, working mainly on global and technical architecture, python and javascript development, web or corporate project management.. For more information or to work with me, see my company website:.. JMSI.. ?php do_action('icl_language_selector'); ?.. No Comment.. Comments are closed..

    Original link path: /about/
    Open archive

  • Title: Contact | Jonathan Schemoul's Blog
    Descriptive info: at 18:15.. [contact-form 2 "Contact"].. Be the first to respond!.. Leave a Reply.. Click here to cancel reply.. Name.. (required).. Mail.. (will not be published).. Website..

    Original link path: /contact-2/
    Open archive
  •  

  • Title: Home-made name badge pcb with scrolling messages on led display | Jonathan Schemoul's Blog
    Descriptive info: arduino.. badge.. geek.. led.. msp430.. name.. by.. Geoff Marr.. 08 Feb 2012.. at.. 00:14.. Very nice idea! I d love to see the finished FINISHED product, with the blue LEDs.. oliviano.. 03:12.. Awesome Work ! looks great, would love to have a look at your code if u could share that be most appreciated, and since  ...   lib/ ?.. Merci !.. Pallas.. 09 Feb 2012.. 18:03.. Nice Part !!.. kiranvarma-npeducations.. 30 Jun 2012.. 12:03.. Name badge using LED display.. That was a new idea! working with such small smd LEDs is tough.. excellent job man! impressive!.. axy.. 01 Nov 2012.. 09:06.. i need code please :.. gh.. akshay.. 02 Nov 2012.. 17:19.. code please..

    Original link path: /2012/02/home-made-name-badge-pcb-with-scrolling-messages-on-led-display/
    Open archive

  • Title: Arduino | Jonathan Schemoul's Blog
    Descriptive info: Archive pour la catégorie Arduino.. For others, here is a picture : As promised to some people there, here are all the details : I used an MSP430F5171 16-bit ultra low power microcontroller (mcu), and my own arduino port for that platform (that [.. ]..

    Original link path: /category/hardware-en/arduino-en/
    Open archive

  • Title: Geekiness | Jonathan Schemoul's Blog
    Descriptive info: Archive pour la catégorie Geekiness..

    Original link path: /category/geekiness-en/
    Open archive

  • Title: Hardware | Jonathan Schemoul's Blog
    Descriptive info: Archive pour la catégorie Hardware..

    Original link path: /category/hardware-en/
    Open archive

  • Title: MSP430 | Jonathan Schemoul's Blog
    Descriptive info: Archive pour la catégorie MSP430..

    Original link path: /category/hardware-en/msp430-en/
    Open archive

  • Title: Home-made name badge pcb with scrolling messages on led display 20120202_151626 – Jonathan Schemoul's Blog
    Descriptive info: 20120202_151626.. at 13:05..

    Original link path: /2012/02/home-made-name-badge-pcb-with-scrolling-messages-on-led-display/20120202_151626/
    Open archive

  • Title: Home-made name badge pcb with scrolling messages on led display 20120202_151633 – Jonathan Schemoul's Blog
    Descriptive info: 20120202_151633.. at 13:06..

    Original link path: /2012/02/home-made-name-badge-pcb-with-scrolling-messages-on-led-display/20120202_151633/
    Open archive

  • Title: Home-made name badge pcb with scrolling messages on led display 20120202_164913 – Jonathan Schemoul's Blog
    Descriptive info: 20120202_164913..

    Original link path: /2012/02/home-made-name-badge-pcb-with-scrolling-messages-on-led-display/20120202_164913/
    Open archive



  •  


    Archived pages: 32