Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Innovation with pcDuino

1,668 views

Published on

example projects with pcDuino

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Innovation with pcDuino

  1. 1. pcDuino A new way to innovate www.pcduino.com learn.linksprite.com
  2. 2. pcDuino pcDuino is a $39 single board computer that has 1G RAM, 4G Flash, Gbit ethernet, and is compatible with Arduino ecosystem
  3. 3. pcDuino Family pcDuino Lite WiFi pcDuino v1 pcDuino v2 pcDuino v3 pcDuino 8 CPU Allwinner A10 1GHz ARM Cortex A8 Allwinner A10 1GHz ARM Cortex A8 Allwinner A101 GHz ARM Cortex A8 Allwinner A20, 1GHz, ARM Cortex A7 Dual Core UltraOctaA80 GPU OpenGL ES2.0OpenVG 1.1 Mali 400 core OpenGL ES2.0OpenVG 1.1 Mali 400 core OpenGL ES2.0OpenVG 1.1 Mali 400 core OpenGL ES2.0OpenVG 1.1 Mali 400 core PowerVR 64-core G6230 GPU DRAM 256MB 1GB 1GB 1GB 4GB Storage 2GB FlashmicroSD card (TF) slot for up to 32GB 2GB Flash (4GB after 2/1/2014)microSD card (TF) slot for up to 32GB 2GB Flash (4GB after 2/1/2014) microSD card (TF) slot for up to 32GB 4GB Flash microSD card (TF) slot for up to 32GB 8GB Video HDMI HDMI HDMI HDMI HDMI OS Support •Lbuntu 12.04 •Doesn’t support Android •Lbuntu 12.04 •Android •Lbuntu 12.04 •Android •Lbuntu 12.04 •Android Linux (on-going) Android ExtensionInterface Arduino (TM) Headers 2.54mm headers Arduino (TM) Headers Arduino (TM) Headers NetworkInterface WiFi, No Ethernet •10/100Mbps RJ45 •USB WiFi extension (not included) •10/100Mbps RJ45 •WiFi •10/100Mbps RJ45 •WiFi •Gbits RJ45 •WiFi •Bluetooth Power 5V, 2000mA 5V, 2000mA 5V, 2000mA 5V, 2000mA 5V, 2000nA
  4. 4. pcDuino3 hardware interfaces
  5. 5. pcDuino boot modes  Default to boot from SD  If there is no bootable image in SD, it will try to boot from NAND.  For Ubuntu OS, the system and data in NAND can be copied to SD seamlessly.
  6. 6. VNC to pcDuino through its USB-OTG
  7. 7. Scratch for pcDuino
  8. 8. Scratch $sudo apt-get install pcduino-scratch
  9. 9. Blink LED (Scratch for pcDuino)
  10. 10. Press Button to Turn on LED (Scratch for pcDuino)
  11. 11. Touch the Finish Line (Scratch for pcDuino)
  12. 12. Play Pong with Scratch for pcDuino
  13. 13. pcDuino as banana piano using Scratch for pcDuino
  14. 14. Showcase
  15. 15. pcDuino as Networked Device to feed data to Xively (Internet of Things)
  16. 16. Smart Garage powered by pcDuino
  17. 17. Home Automation by Z-wave
  18. 18. Time Lapse Video
  19. 19. pcDuino as 3D printer control console
  20. 20. Gavon: Chess Programming with pcDuino
  21. 21. Rotary Vending
  22. 22. pcDuino Displaying Car Diagnostic (OBD-II) Data
  23. 23. Home Automation System
  24. 24. First High School Classroom powered by pcDuino in China
  25. 25. Two pcDuinos communicating to each other through audio jack
  26. 26. Laser Show
  27. 27. UV index meter
  28. 28. SDR on pcDuino
  29. 29. Gesture Control
  30. 30. Astroprint Slice, Store, and Print from the browser of any web enabled device. In addition, you can monitor your prints, organize designs in the cloud, and even print straight from Sketchup or Blender. Astropint software runs on pcDuino.
  31. 31. uniDap Thin Cloud
  32. 32. Programming under Ubuntu (linux)
  33. 33. Arduino style programming ( C )  Two flavors  Command line  IDE
  34. 34. Arduino IDE
  35. 35. Arduino IDE
  36. 36. Arduino IDE
  37. 37. Arduino IDE
  38. 38. Arduino IDE
  39. 39. Creating Your Own Sketch Run Your Sketch To run it, once you have wired up a switch and led to the right pins, type: ubuntu@ubuntu:~/c_enviroment/output/test$ ./button_led To stop the program, <Ctrl>C A Quick Re-Cap Add #include <core.h> to the top of your sketch. Create your sketch in the samples folder (if your familiar with linux, makefiles, and compiling code, you could set up your own) Add the filename to the Makefile in the samples folder in the OBJS section without the .c Run make Run the executable from the output/test folder. You can introduce command line arguments into your sketch to make it more transportable.
  40. 40. pcDuino Hardware Experiments
  41. 41. Potentiometer and Dimmer
  42. 42. 7-seg LED
  43. 43. 16x02 Character LCD
  44. 44. Analog Temperature Sensor
  45. 45. Digital Humidity and Temperature Sensor
  46. 46. Serial Port of pcDuino
  47. 47. Extends to 4 UARTS http://jbvsblog.blogspot.com/2013/09/pcduino-extends-to-4- uarts.html
  48. 48. Ultrasonic Sensor
  49. 49. Stepper
  50. 50. RF Servo
  51. 51. Relay
  52. 52. NFC Shield
  53. 53. Cottonwood:UHF ultra-distance RFID Reader
  54. 54. GPS Shield
  55. 55. Cellular Shield
  56. 56. Powerline Communication
  57. 57. Python ubuntu@ubuntu:~/python-pcduino/Samples/blink_led$ more blink_led.py #!/usr/bin/env python # blink_led.py # gpio test code for pcduino ( http://www.pcduino.com ) # import gpio import time led_pin = "gpio2" def delay(ms): time.sleep(1.0*ms/1000) def setup(): gpio.pinMode(led_pin, gpio.OUTPUT) def loop(): while(1): gpio.digitalWrite(led_pin, gpio.HIGH) delay(200)
  58. 58. OpenCV
  59. 59. Go Lang package main import ( "fmt" "./gpio" "time" ) func main() { g, err := gpio.NewGPIOLine(7,gpio.OUT) if err != nil { fmt.Printf("Error setting up GPIO %v: %v", 18, err) return } blink(g, 100) g.Close() } func blink(g *gpio.GPIOLine, n uint) { fmt.Printf("blinking %v time(s)n", n) for i := uint(0); i &lt; n; i++ { g.SetState(true) time.Sleep(time.Duration(1000) * time.Millisecond) g.SetState(false) time.Sleep(time.Duration(1000) * time.Millisecond) } }
  60. 60. Cloud 9 IDE
  61. 61. Programming under Android ICS
  62. 62. Two flavors to program under Android  There are two flavors to program under Android:  Command line  QT5 GUI
  63. 63. Command line
  64. 64. QT5 GUI We can copy the apk though pcDuino OTG or SD card to pcDunio and install it there.
  65. 65. Produce together with pcDuino
  66. 66. Connect with pcDuino Facebook.com/linksprit e

×