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 - liyin

347
Bus Pirate Support / Re: Noob with some simple questions
It takes 10 days from their notification of shipment for the package to leave Hong Kong, and 6-8 days for delivery (Hong Kong Post).

I don't recommend the Seeed Studio "Breadborad jumper wire 70pcs pack", the black collar at the tips breaks too easily, better spend a little more for some good jumper wires.

The "1 pin dual-female jumper wire 100mm 50pcs pack" is better.

Beware of discounted items, they tend to be poor performers.

And don't buy the (also discounted) Adjustable Power Supply, it doesn't fit a breadboard.
348
Bus Pirate Support / Re: Synthetos BP Case
There is a problem with this case, it doesn't fit the Seeed Studio Bus Pirate v3.

The USB connector is taller than the space provided by the case, so you can't stack the 4 layers of plexiglass.

4  Top layer needs to be partially cut/reduced to allow part of the USB connector
3  Has a section cut to allow the USB connector, but is not enough
2  Board sits in the middle of this layer, USB connector sits on top
1  Floor

The 3rd layer thickness is smaller than the USB connector's height, so there's a gap between the 3rd and 4th layer when you try to stack them together, so the case can't be closed.
350
Bus Pirate Support / Re: Synthetos BP Case
Received the BP and the case at the same time, sadly I don't have a hex key to open the case.

Need to peel off the protective paper and put in the BP, but feels solid and looks good.

They processed the order fast, but took longer to arrive cause it was First-Class mail.
353
Bus Pirate Support / Re: Synthetos BP Case
3/30/2010

"new supply of clear plexiglass has arrived"

"cases wont ship until Tuesday / Wednesday of the week of the 28th"

So lead time is one month?
354
Bus Pirate Support / Synthetos BP Case
Has anyone ordered a BP case from Synthetos lately?

I'm still waiting for a reply to my email, and there's no order confirmation email.
355
USB Infrared Toy / Re: Parts for Breadboard & Schematic Questions
R2 in the schematic and parts list @ Prototype: USB infrared remote control receiver/transmitter says 2.7KΩ, but in the schematic inside the USB IR Toy 1.0 Zip file R2 is 390Ω.

I'm not talking about the smaller image on that web page (you can see R2 is 390Ω), but if you click the link "Click for a full size schematic image [PNG]" you can see 2.7KΩ for R2 (this is the schematic with "not saved!" for a date).

rsdio, do diffused LEDs bother less?
356
USB Infrared Toy / Re: Parts for Breadboard & Schematic Questions
1) What would be a good substitute for the Vishay TSOP98200 IR receiver module?

It is a "wide-band IR sensor for code learning and IR extender applications ... developed to address the growing need for an AC-coupled IR sensor covering the entire remote control bandwidth of 30 kHz to 455 kHz."

http://www.vishay.com/company/press/releases/2007/070209wbir/
http://www.vishay.com/ir-receiver-modules/list/product-84795/

2) EDIT: Thanks rsdio, I was using the full-size schematic you get when clicking the link under the schematic image. Instead of a date, it says "not saved!". The one in the image and inside the IR Toy 1.0 Zip archive has R2 at 390Ω, and is dated "1/21/2010".
358
USB Infrared Toy / Re: How to configure WinLirc for USB IR Toy
It could be the configuration file that defines the remote control. WinLIRC comes with a sample configuration file, but it can learn your remote.

http://www.xs4all.nl/~laarnink/winlirc.html

"After installing WinLIRC (all you need is winlirc.exe) you probably need to build a new configuration file for your remote control. Maybe you can download it from the internet. Because WinLIRC can "learn" the signals from your remote you can use almost any remote control. After starting winlirc.exe you need to adjust the configuration because WinLIRC does not detect on what port the IR-reciever is connected. You need to set the port, enter the name and location of the new configuration file and press the 'learn' button. Then you have to enter a name for the remote control. The next 2 questions can be answered by pressing 'Enter'. The defaults will be used then for signal gap, signal length and repeat codes."

LIRC Config Files for Supported Remote Controls (Linux version)
http://lirc.sourceforge.net/remotes/

Configuration File Format
http://winlirc.sourceforge.net/technicaldetails.html
359
USB Infrared Toy / Re: Parts for Breadboard & Schematic Questions
- I saw the PIC18F2455 was the PIC18F2550 with 24K Flash memory, but USBIRToy.hex firmware is ~25K. I read about PK2AVRISP at the blog, sounds like a good option.

  Bus Pirate PIC programmer update
  http://dangerousprototypes.com/2009/12/10/bus-pirate-pic-programmer-update/

  C programmer needed for PIC support!
  http://dangerousprototypes.com/2009/11/25/c-programmer-needed-for-pic-support/

- I noticed 2 IRRX lines @ pins 25 & 23, and the line coming from RX. How does that work?

- What are PGD & PGC @ pins 28 & 27?

- I understand I can connect the Bus Pirate to pins 18 & 17 (UART data), and ignore pins 16 & 15 (USB data)?

- What's the purpose of having two capacitors in parallel @ pin 14 (VUSB) going to ground? USB VBUS provides Vcc.

- Can't I just capture the raw IR signal without the need to decode first (using Bus Pirate)? How is it possible for a learning remote control to save/replay so many different protocols (TV, DVD, Sat, Air Conditioner, Death Star, etc)?
360
USB Infrared Toy / Re: Parts for Breadboard & Schematic Questions
I edited 3a) after reading Ian's article @ Hack-A-Day:

"Computer infrared receivers

The oldest PC infrared receiver design uses a receiver IC to toggle a serial port pin, usually DCD ... These aren’t true serial devices because they don’t send data to the PC. Instead, a computer program times pulses on the serial port and demodulates the signal. This is a super simple design, but it depends on direct interrupt access and timing precision that’s no longer available in Windows ... We couldn’t get this type of receiver to work with the serial port on a modern Windows XP PC, and don’t expect the precise timing to transfer through a USB->serial converter.

Some more advanced infrared receivers are true serial port devices that measure or decoding infrared signals before sending data to the computer."

And then you get a post like this one:

"I built the Lirc receiver one day on a whim, and I still use it along with The Korean media player. Works fine on XP with a serial port to usb Adapter, been using it now since around 2004 no problems at all. It is also a good way to check if a remote control is actually working as well, with Wlirc’s debug options.
Posted at 8:12 pm on Oct 30th, 2008 by theweirdness"

( ! ) 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.01812449576session_write_close ( )...(null):0
20.01852581192ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01852581968Database_MySQL->query( ).../DatabaseHandler.php:119
40.07762720728Database_MySQL->error( ).../Db-mysql.class.php:273