Skip to content

Digital Me

Electronics, Computers at leisure time

Menu
  • Home
  • Contact
  • About
Menu
Controller board front view

Project Crystal (Part 2)

Posted on June 13, 2012

It took me a while but I’ve made some progress …

Here are the photos of finished board:

  • Controller board back view
    Controller board back view
  • Controller board front view
    Controller board front view
  • PIR sensor and distance sensor
    PIR sensor and distance sensor

Working as a software engineer for ten over years, I did not initially consider Adruino programming is of any difficulty. But I soon realized that I have been deeply spoiled by the modern operation systems. Giving a task that is so naturally to be implemented as a thread, it is never trivial in micro controller system. I spend one whole day to map out a flow chart of the control tasks, then turn the chart into C code. I can imaging that the time would have double or trippled if I don’t do this. Old school way rules, isn’t it?

I have attached the flow chart and Arduino sketch here. Sorry I dislike documentation, just refer to the inline comments and flow chart in case needed.

Crystal_Flowchart.pdfDownload
Crystal_Sketch.zipDownload

Having a license term is still better then nothing, so I make this one:

  1. Tribute goes to Francisco Castro and his Luminch One project.
  2. The redesign here is provided on AS-IS basis. If it works, it is designed by ba0sh1.
  3. If it doesn’t work, I do not know who designed it

And enjoy the demo video. My first YouTube upload 😀

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Arduino ARM AVR Charger CNC Distance Sensor emWin ESP31 ESP32 ESP8266 FT230X GCC iPad JTAG LED Strip Makefile Maker Faire MF70 OLED Oscilloscope PCB PIR Sensor Pogo pin PWM Raspberry Pi RGB LED Rigol RTOS Saleae SEGGER Shopping SPI SSD1305 SSD1306 STM8 STM32 STM32Cube STM32CubeMX Storage TFT Tindie Tool USB Power VFD Workbench

Recent Posts

  • Arduino Redesigned – Maker UNO Review
  • Is ESP8266 I/O really 5V tolerant?
  • First sight into ESP32
  • ESP8266 MQTT client on RTOS
  • Maker Faire, Yearly Review, and Rant

Archives

  • March 2018
  • August 2016
  • December 2015
  • August 2015
  • July 2015
  • April 2015
  • February 2015
  • January 2015
  • December 2014
  • October 2014
  • July 2014
  • May 2014
  • March 2014
  • January 2014
  • December 2013
  • November 2013
  • August 2013
  • July 2013
  • May 2013
  • March 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2023 Digital Me | Design: Newspaperly WordPress Theme