The Naked Scientists

The Naked Scientists Forum

Author Topic: How can I connect a simple circuit to a PC?  (Read 1908 times)

Offline Mark Grifter

  • First timers
  • *
  • Posts: 3
    • View Profile
How can I connect a simple circuit to a PC?
« on: 05/03/2016 09:51:05 »
I would like to perform an experiment on a drinking bird toy, like the one shown in this video:
The basic requirement is to record an event every time the bird dips his beak; I can write scripts to do something each time they fire, given an event (maybe record the time in a spreadsheet or text file for instance).

I can think of ways to complete a circuit when he dips his nose, but does anyone out there know of some simple circuitry kits or similar that will allow me to record each time a circuit is completed (for instance) onto my pc in some way?

In other words, is there something out there, some kind of kit, that has a load of crocodile clips and the like on one end, a space for a simple solder-free circuit board in the middle and a USB or similar on the other end? Ideally there would be some software with it to give a GUI or configuration option on the pc, so I can deal with the events...
« Last Edit: 08/03/2016 07:35:40 by chris »


 

Offline alancalverd

  • Global Moderator
  • Neilep Level Member
  • *****
  • Posts: 4707
  • Thanked: 153 times
  • life is too short to drink instant coffee
    • View Profile
Re: Connect a Simple Circuit to a PC
« Reply #1 on: 05/03/2016 11:22:23 »
Strongly recommend the Picotech "Dr DAQ". Cheap plug-in module with umpteen different interfaces, superb GUI, and the first resort of any schoolteacher.
 

Offline wolfekeeper

  • Neilep Level Member
  • ******
  • Posts: 1092
  • Thanked: 11 times
    • View Profile
Re: Connect a Simple Circuit to a PC
« Reply #2 on: 06/03/2016 01:08:01 »
Get an arduino; they're much cheaper, they plug into a PC with a USB cable, and have plenty of IO pins, and can record the exact time that an event happens.
 
The following users thanked this post: Mark Grifter

Offline Mark Grifter

  • First timers
  • *
  • Posts: 3
    • View Profile
Re: Connect a Simple Circuit to a PC
« Reply #3 on: 07/03/2016 17:29:48 »
Ok, thanks for the advice - I'll check them out!
 

Offline RD

  • Neilep Level Member
  • ******
  • Posts: 8126
  • Thanked: 53 times
    • View Profile
Re: Connect a Simple Circuit to a PC
« Reply #4 on: 07/03/2016 18:09:56 »
An optical sensor could record movement without adding friction.
e.g. https://www.sparkfun.com/products/9299
 
The following users thanked this post: Mark Grifter

Offline Mark Grifter

  • First timers
  • *
  • Posts: 3
    • View Profile
Re: Connect a Simple Circuit to a PC
« Reply #5 on: 07/03/2016 18:41:53 »
Great idea - I can attach a card to the tail and rebalance.

I like the look of the Arduino and had no idea it was all so cheap!
 

Offline wolfekeeper

  • Neilep Level Member
  • ******
  • Posts: 1092
  • Thanked: 11 times
    • View Profile
Re: Connect a Simple Circuit to a PC
« Reply #6 on: 07/03/2016 23:15:24 »
Yes, it's inexpensive and the look-alike arduino components you can get on ebay are even cheaper- and because it's all open source hardware, they're perfectly legal.
 

Offline RD

  • Neilep Level Member
  • ******
  • Posts: 8126
  • Thanked: 53 times
    • View Profile
Re: How can I connect a simple circuit to a PC?
« Reply #7 on: 08/03/2016 09:16:54 »
Great idea - I can attach a card to the tail and rebalance.
It may be possible to improvise a detector using an optical-mouse & a laser-pointer ...
 
  https://www.youtube.com/watch?v=5Ne3DcDjuuw

IIRC there is software which can detect movement in a video image,  (e.g. web-camera).
« Last Edit: 08/03/2016 18:07:28 by RD »
 
The following users thanked this post: highvoltpower

Offline highvoltpower

  • Jr. Member
  • **
  • Posts: 16
  • Power Automation Systems India
    • View Profile
Re: How can I connect a simple circuit to a PC?
« Reply #8 on: 13/04/2016 08:01:38 »
You are connecting each of your wires are directly to a parallel port, if your pc has one as these typically use TTL logic levels. Parallel port is good but it is hard to find out on modern pc. one of the easiest i knw is usb experimental board, its comparatively inexpensive and gives group of Io pins.
 

The Naked Scientists Forum

Re: How can I connect a simple circuit to a PC?
« Reply #8 on: 13/04/2016 08:01:38 »

 

SMF 2.0.10 | SMF © 2015, Simple Machines
SMFAds for Free Forums