Search found 15 matches

by kgrr
Mon Sep 01, 2014 1:52 am
Forum: MicroView Projects
Topic: Hacking Wii Nunchuck to drive MicroView
Replies: 6
Views: 5100

Re: Hacking Wii Nunchuck to drive MicroView

This is an online version of the program:
http://migo.sixbit.org/puzzles/fifteen/
by kgrr
Mon Sep 01, 2014 1:41 am
Forum: MicroView Projects
Topic: Hacking Wii Nunchuck to drive MicroView
Replies: 6
Views: 5100

Re: Hacking Wii Nunchuck to drive MicroView

Thanks for the tweet. Next, I want to implement the 15 sliding piece puzzle. http://i62.tinypic.com/2nlr7s1.png Wikipedia article about the 15-puzzle: http://en.wikipedia.org/wiki/15_puzzle The puzzle will start in a random state with the pieces mixed-up. The joystick selects which tile will move in...
by kgrr
Sun Aug 24, 2014 4:49 am
Forum: MicroView Projects
Topic: Hacking Wii Nunchuck to drive MicroView
Replies: 6
Views: 5100

Re: Hacking Wii Nunchuck to drive MicroView

This sketch reads the nunchuck and displays the state of 3-axis accelerometer, the joystick and the two buttons C and Z. WiiChuckDemo.ino #include <MicroView.h> #include <Wire.h> #include "nunchuck.h" WiiChuck chuck = WiiChuck(); int angleStart, currentAngle; int tillerStart = 0; double angle; void ...
by kgrr
Sat Aug 23, 2014 9:22 pm
Forum: MicroView Projects
Topic: Hacking Wii Nunchuck to drive MicroView
Replies: 6
Views: 5100

Re: Hacking Wii Nunchuck to drive MicroView

I hooked up the WiiChuck adapter like this: MicroView Pin -- Color Wire -- WiiChuck pin Pin 2 SCL -- Yellow -- [C] Pin 3 SDA -- Green -- [D] Pin 8 GND -- Black -- [-] Pin 15 +5V -- Red -- [+] The WiiChuck Adapter's pins are in this order from left to right: [Black -][Red +][Green D][Yellow C] Then, ...
by kgrr
Sat Aug 23, 2014 5:30 pm
Forum: MicroView Projects
Topic: MicroView Software Tools
Replies: 1
Views: 2674

Re: MicroView Software Tools

Another tool that can be used to verify a MicroView's operation is I2C_Scanner. It will find the addresses of devices hanging on the I2C bus. https://codebender.cc/sketch:45465 // -------------------------------------- // i2c_scanner // // Version 1 // This program (or code that looks like it) // ca...
by kgrr
Sat Aug 23, 2014 5:26 pm
Forum: MicroView Projects
Topic: MicroView Software Tools
Replies: 1
Views: 2674

MicroView Software Tools

I thought it would be good to capture software tools that people are using to verify their MicroView is running properly... One such tool is MicroView Blink from GitHub MicroView-Arduino-Library / examples / LearningKit / Blink / Blink.ino https://github.com/geekammo/MicroView-Arduino-Library/blob/m...
by kgrr
Sat Aug 23, 2014 11:31 am
Forum: MicroView Projects
Topic: MicroView and DS1307 Real Time Clock
Replies: 3
Views: 4303

Re: MicroView and DS1307 Real Time Clock

This sketch gives Microview an analog face just like the one in the demo. #include <MicroView.h> #include <Wire.h> #include "RTClib.h" //Instantiate objects from class definitions RTC_DS1307 RTC; void setup () { Wire.begin(); RTC.begin(); if (! RTC.isrunning()) { //The following line sets the RTC to...
by kgrr
Fri Aug 22, 2014 2:18 pm
Forum: Microview Support
Topic: No Boot loader
Replies: 1
Views: 1986

No Boot loader

How to fix your broken microview...
http://makezine.com/2014/08/21/how-to-f ... microview/
by kgrr
Fri Aug 22, 2014 2:16 pm
Forum: MicroView Projects
Topic: Feature Request - SPI Interface
Replies: 3
Views: 3129

Re: Feature Request - SPI Interface

By the way pins 11, 12 and 13 are nicely tucked under the glass lid and OLED.

pin 11 - MOSI
pin 12 - MISO
pin 13 - SCK
by kgrr
Wed Aug 20, 2014 9:42 pm
Forum: MicroView Projects
Topic: Hacking Wii Nunchuck to drive MicroView
Replies: 6
Views: 5100

Hacking Wii Nunchuck to drive MicroView

A Wii Nunchuk has two buttons (C and Z), a two axis proportional joystick and a three-axis accelerometer all built into a hand-sized package. It has an I2C interface that can be used to read all of this sensor data. Sparkfun makes a little adapter board to bring the four wires out to breadboard pins...
by kgrr
Wed Aug 20, 2014 7:35 pm
Forum: MicroView Projects
Topic: MicroView and DS1307 Real Time Clock
Replies: 3
Views: 4303

Re: MicroView and DS1307 Real Time Clock

Here is a sketch for MicroView that shows the time on the first line and the date on the second line: #include <MicroView.h> #include <Wire.h> #include "RTClib.h" RTC_DS1307 RTC; // creates an instance of RTC void setup () { Wire.begin(); RTC.begin(); if (! RTC.isrunning()) { //The following line se...
by kgrr
Tue Aug 19, 2014 5:04 pm
Forum: MicroView Projects
Topic: MicroView and DS1307 Real Time Clock
Replies: 3
Views: 4303

Re: MicroView and DS1307 Real Time Clock

I wonder where the clock Widget used in the "Getting Started" http://learn.microview.io/intro/getting-started.html article went to? http://learn.microview.io/images/MicroView_Factory_Programmer.jpg ...just a thought: Maybe the Gauge Widget class needs to be refactored to be a round indicator class t...
by kgrr
Tue Aug 19, 2014 1:43 pm
Forum: MicroView Projects
Topic: Feature Request - SPI Interface
Replies: 3
Views: 3129

Feature Request - SPI Interface

SPI port is not exposed to the external pins in MicroView. The SPI Interface is dedicated to the OLED display and not shared. This is a real shame. There are many devices that use the SPI interface such as SD Memory, Ethernet, RFID Chip readers, etc, just to name a few. These are not commonly suppor...
by kgrr
Tue Aug 19, 2014 6:14 am
Forum: MicroView Projects
Topic: MicroView and DS1307 Real Time Clock
Replies: 3
Views: 4303

MicroView and DS1307 Real Time Clock

MicroView -- DS1307 Real Time Clock Pin 2 SCL -- SCL Pin 3 SDA -- SDA Pin 8 GND -- GND Pin 15 +5V -- +5V To verify the Real Time Clock chip is correctly hooked-up, run the I2C Scanner sketch. It will show one, two, sometimes three I2C bus addresses in use. The DS1307 address is 0x68. Some boards hav...