Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - honken

61
General discussion / Re: QR in eagle
Warning!
On my way to work this morning I realize this is probably wrong.
If you use this on a "dark" board and white stencil the colors will be inverted.

I'll have to investigate if it will still work with inverted colors, or if anybody knows please tell.
62
General discussion / Re: QR in eagle
I've updated to the built-in XML decoding as suggested by Sjaak.
Another change is that it draws the QR at the mark instead of origo.
64
General discussion / Re: QR in eagle
Great, I didn't know about the xml parser functions. I'll definitely look into those. It'll make it more robust, hopefully.

Update to come, now I'm off for dinner.
66
General discussion / QR in eagle
Hi all,

As i was preparing some boards for manufacturing (perhaps a 7400 entry) I thought it would be fun to partake in Itead's OpenPCB program. But that requires me to have some identifying mark on my board and I thought a QR code would be perfect.

The bmp import in eagle as some room for improvement so I skipped that and wrote my own.
As I was writing I found out that the latest eagle (5.11.0) can do http get/post statements in ulp.
So here it is, dynamic pcb qr code generation with the help of Web 2.0...

Hope somebody will find it useful. No rights reserved. It's just a little midnight hack, so expect bugs.

unzip and rename to .ulp

[EDIT]Look futher down this thread[/EDIT]
67
#twatch network LCD backpack / Re: IP-Setup
Isn't there some sort of zeroconf in the microchip stack? It does have some device discovery techniques.

Zeroconf/IP4LL is basically to choose a random IP in a specific /24 and then announce it via broadcast/multicast.
If another host already has taken that address it will respond and the first host chooses a new random IP.

The downside is that with IP4LL addressing all (or at least some important ones) devices on the LAN pretty much has to support mDNS, multicast DNS

But it is cool.
68
Project logs / Re: Reflow Oven (Yet another)
If you need a implementation of a pid controller, somewhat more elaborate but still not over engineered I read a very nice writeup by the guy that rewrote the pid controller for arduino.
He made some excellent explaining without diving into mathematical symbol manipulation.
Too bad I can't find it now, but I believe there where as post on hackaday.com

EDIT: Found it http://http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/
70
USB Infrared Toy / Re: IR transmit average distance?
Try to take a voltage reading with your favorite voltage meter of the 5V USB supply voltage.
Both when "idle" and when transmitting.
If the voltage drops during transmit, it could be due to too much power draw, paired with a maybe not so low usb supply impedance.

If it drops really low, like .1V or something, it could be that your laptop really have some power management on the usb supply.

Also, try doing it with the charger for the laptop plugged in (I have no idea if or how this would affect the USB supply, but I can't hurt to try)
71
USB Infrared Toy / Re: IR transmit average distance?
Unless he has some really cool piece of Operating System paired with an awesome motherboard a compile with a higher current consumption declaration in the descriptor, wouldn't probably change anything.
At least haven't I seen anything other than some USB hubs complaining about too much power drawn (just a LED indicating that you should power the hub separately). Most mb and or OS'es just assume you are going to connect something like USB vacuum cleaner or charge your iPod-wireless-telephone through it and just ignores (within some limits) how many milliamps you declare or draw from the ports.

On the other hand it is in the standard and we are in a position to do it right, so maybe we should...
73
Bus Pirate Development / Re: BPv4 Case suggestion
The reason for the rounded inside corners is that I imagined it milled when I designed it.
By increasing the clearance parameter in the scad file it should accommodate sharp corners. I have to check when at home. No OpenSCAD in android market yet...
74
Bus Pirate Support / Re: BusPirate 4 OTG free PCB built
Actually it was me suggesting to route the USB_ID pin as well back in the day ;)

Since then I have learnt that the MINIUSB connector is depricated as otg connector. All new otg devices should use micro a/b

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01502422768session_write_close ( )...(null):0
20.01532554384ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01532555160Database_MySQL->query( ).../DatabaseHandler.php:119
40.05802693920Database_MySQL->error( ).../Db-mysql.class.php:273