Rekult

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
Line 61: Line 61:
  
 
We decided to use Python for the sensor interface part and some of the graphing.
 
We decided to use Python for the sensor interface part and some of the graphing.
 +
Interfacing the Arduino via Python is "easy" - http://www.arduino.cc/playground/Interfacing/Python - and with 115200 baud over the USBtoSerial is fast enough too.

Revision as of 00:53, 12 October 2009

Contents

Rekultivating electronics

Inputs

Analog

  • Thermistor
  • Flex Sensors
  • Accelerometor
  • Solar Panel
  • Dynamo
  • Hall Effect Sensor
  • Max Sonar (Schall Sensor)

Digital

  • Infrared Sensor
  • PIR
  • Switch
  • Ball Switch


Miscellaneous

  • Microphone
  • Camera
  • Tone Generator
  • GSM Card
  • GSM Phones

Outputs

  • Audio
  • TFT Screen
  • LCD Display

CPU's

  • ANYduino (Mega, Mini, Pro etc...)
  • VIA Based i386 Ubuntu Machine
  • Old IBM Laptop, headless


Schools of Handling

  • Threads
  • Events

Dirty Jobs

Arduino vs. CPU

One decision we had to take was: Who does the job(s)?

With well over 16 inputs that have to be dealt with 'quasi' simultaneously it worth the thought.

You could either let the Arduino grab ALL the inputs in it's loop and dump it on the Serial interface OR let the CPU ask for a very Specific input.

We chose the latter for the obvious speed reason.

Language

We decided to use Python for the sensor interface part and some of the graphing. Interfacing the Arduino via Python is "easy" - http://www.arduino.cc/playground/Interfacing/Python - and with 115200 baud over the USBtoSerial is fast enough too.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools