Xan

About

Banned
Username
Xan
Joined
Visits
61
Last Active
Roles
Member

Comments

  • If you do that, it will screw with existing libraries though.
  • mbsurfer, no, since it happens on the BlinkyTape side. You could make a firmware that writes something back to the host when you click it, and then do something on the host side in Processing/Python, but you have to touch the firmware to allow this.
  • Also, fact of life: if, on Linux using pySerial, you don't actually read out / flush diagnostic bytes you send from the firmware, after a certain amount the port will lock up and not work properly. I haven't personally tested your code, but it's hig…
  • If the communication with this protocol gets interrupted, say, in the middle of setting colors for the whole strip, then the next connection to the serial port won't communicate properly, as commands will be interpreted as data bytes. You need to im…
  • The driver is here: https://github.com/Blinkinlabs/Blinkinlabs32u4_boards/tree/master/driver You can download the repository with this link: https://github.com/Blinkinlabs/Blinkinlabs32u4_boards/archive/master.zip Guide to install a driver from an I…
  • Lúcio, I don't think so, but you should look here: https://github.com/Blinkinlabs/FastSPI_LED2
  • To find out what is having a handle open to a serial port under Windows, the best solution is to use Process Explorer's "Find Handle" function. The process is described here: http://digital.ni.com/public.nsf/allkb/29B079481C5ECE76862578810082394E
  • The instructions on the site specifically say that you need to install PatternPaint first, since it contains the drivers. Did you do that yet? https://github.com/Blinkinlabs/PatternPaint/releases
  • ColorSwirl should not exhibit that behavior when button is continually shorted. So it's not stuck on. It sounds more like some other pin has got loose..
  • I recently received my Zendure battery pack, but there are plenty of those around, i.e. Energizer ones. Anything marketed as battery-powered mobile phone charger would work.
  • Thanks for the info! A little googling, a short read through the datasheet, and here's some proof-of-concept code: https://gist.github.com/kav2k/8039241 I was specifically looking to make something dead simple that doesn't rely on libraries. This …
  • Can you tell me which, if any, interrupt can work for that? Trying to find out myself just led me to first experience with the reset pin.. Edit: Looking at the board schematics, apparently the answer is "no". Atmega32u4 should have an interrupt on …
  • Threeethan is absolutely right, depending on what you're trying to do the button might not work too well, since polling it tells you "is it pressed exactly now?" instead of "was it pressed at any point since I last asked?".
  • I also want to have a method to read the state from the diagnostic byte, but I'll do it on another branch so you can merge this "stable" version first.
  • Thanks Matt, as long as it wasn't simply forgotten (I understand you devote most of the time to PatternPaint now) it's fine. I was just checking.
  • See here: http://forums.blinkinlabs.com/index.php?p=/discussion/76/schematic-and-board-layout#Item_2 Your best bet for remotely controlling a BlinkyTape by another Arduino seems to be opening the casing and connecting the two via SPI pins. Note tho…
  • Yup, same garden rake I stepped on. My pull-request for the Python library is still pending, have you guys missed it or just don't have time to merge?
  • As for the Nyan Cat example and what creates the painting: you're basically keeping a photo camera with shutter open as you move BlinkyTape (preferably in some diffuser) sideways. As Blinky changes the displayed pattern, it creates a replica of the …
  • BlinkyTape consists basically of 60 LEDs and a microcontroller that operates them, following the currently-loaded firmware. While "talking" to the computer to display some arbitrary pattern is possible, what's important is that this firmware allows…
  • I suggest using https://gist.github.com/ for code snippets.
  • For what it's worth, I had success reflashing my BlinkyTape with Ubuntu and Gentoo. So it's not a blanket "Flashing from Linux results in a brick" issue. From what I can infer, openSUSE 13.1 should have arduino version 1.0.5.
  • I understand that you can drive the BlinkyTape with more - but you don't want to end up with a situation when your firmware causes host hardware to disconnect it before you can reflash. It's more of a warning for other people who might read this th…
  • I guess you know that well, but according to the standard most USB 2.0 host hardware won't provide more than 500mA and can forcibly power down if you try to draw more. I know it doesn't answer your question, but just a relevant comment.
  • Have you tried the reset procedure described here? http://blinkinlabs.com/blinkytape/docs/troubleshooting/ (part 5, about shorting the reset pins)
  • Ah, well. Now I get it. The power box has two ports, as far as I get what you're saying: microUSB and USB A (standard). And you have an A<->micro connection cable. MicroUSB is probably to charge the box itself. Put the cable into it and the A…
  • Indeed, now it is simply a matter of adding the following line to show() on the python side: self.serial.flushInput() # Clear responses from BlinkyTape, if any Consider this question closed; I will tidy up my library version and pull-request it in…
  • Okay, I found the culprit (and can't believe I didn't before). While diagnosing the problem with my friend, we took another look at the firmware, and noticed that it writes back a diagnostic byte for every show command. Problem is, the Python libra…
  • P.S. Test machines ran Ubuntu 12.04 and 12.10 I tested with provided versions of python, pyserial and arduino-core, as well as tried to upgrade the last two to the latest versions. No dice.
  • For future reference, you can use < and > HTML entities to get that to show up.