Monday, December 19, 2016

Lattepanda - Powerful Win10 with on-board Arduino

Lattepanda on plywood casing

LattePanda was launch on Kickstarter on Dec 2015 as the "A Windows 10 Computer for Everything" and was successfully funded 4 times the pledged amount.

Lattepanda specs

A quick glance at the specs,  it is very similar to some 7" Intel Atom tablet hardware running on the Intel Atom Cherry Trail Z8300 quad-core 1840 Mhz CPU , 2GB/4GB DDR3 RAM, with an Intel Gen8 GPU, 32GB/64GB eMMC storage with an Arduino Atmega32U4 ( Leonardo ) directly connected to the CPU.

On top of the usual stuff, below are some extrra worth mentioned :-
  • 1 x USB3.0 port
  • Bluetooth 4.0
  • WIFI 802.11n
  • Serial port to the Intel chip
  • Serial port to Arduino
  • I2C to Intel chip
  • 2 x GPIO to Intel chip
  • Display connector ( for 7" display )
  • touchscreen connector  ( for 7" display )
  • and also an audio jack 

My review unit was a 2GB RAM with 32GB storage that runs Win 10 32-bit version that comes with a nice looking open source laser cut plywood case with reset and power buttons.

Lattepaanda side view

Lattepanda top view

Lattepanda top view

Heatsink are recommended for the shielding plate where the Intel Atom is located. DFRobot included a few pieces of small copper heatsinks.

The great thing about this product is that it is pre-installed with an Activated Windows 10, just connect power, HDMI monitor, keyboard and mouse and "ready to run"..

Once power up, Windows 10 welcomes lattepanda to the operating system ...
Windows 10 welcomes lattepanda !!!!
An Arduino version 1.0.6 is also included in the Windows 10 for a ready to blink "Hello World" without any extra software downloads. This is a really nice feature.

Win10 also welcome Arduino 

As many people was asking me about the hardware specs, I will post some of the Device Manager details ..

Lattepanda Device Manager

Lattepanda Hardware Monitor
The CPU do get pretty hot, so I removed the back cover and installed the included pure copper heatsinks that come together with the package.

Lattepanda bottom view with heatsinks

My overall impression was pretty good and this is a value for money for a small and powerful computer inside a cute plywood casing (there is also an acrylic version of the case) with an on-board Arduino too!!! It have plug and play sensor connectors too. Even when the Win10 is powered off, the Arduino is still running as I run the Blink examples to blink the blue on-board LED.

The price range from US$89 to $149 for the highest end version of 4GB/64GB storage that runs on 64-bit Windows.

Summary Links :-

Monday, March 14, 2016

Driving the #Bolt at #ilightsmarinabay using I2C protocol

All my projects are posted to my facebook page at

#Bolt #SVTMaker

#Bolt #SVTmaker

In this article, I would like to share my experience in planning, testing, making, building, and driving the #Bolt at #ilightsmarinabay that happened on 4th March 2016 at Marina Bay, Singapore iLights festival.

A local artists that built a massive LED star in Butterworth, Penang called Jun Hao engaged two local makers, WeMaker and SVTmaker to do another project in Singapore called the Bolt, simulating lightning bolt when a button was pressed. The below images was taken from his proposal to the festival.

Bolt idea and concept

After understanding the requirements from the artists, we started exploring various way to drive the LED strips, from simple relays with delays to wireless options. After a few weeks of searches, I finally found an ideal method to drive so many LEDs using Inter-Integrated Circuit (I2C) protocol with 1 I2C master driving 8 I2C slaves. The idea was to use the delay() to turn on and off the LED strips.

The idea was to have eight passive I2C slaves just receiving commands from the I2C master and all my coding would be centralized in the I2C master. This makes controlling the code version easily and any changes does not need to re-flash all the 8 I2C slaves. This was my first time writing my own protocols on top of I2C and I probably would exceed the maximum length of the I2C wiring distance.

MOSFET on breadboard
Driving 2 Arduino via I2C 

The next task was finding a way to drive the 1 meter 12V LED strips and we decided on using MOSFET for this purpose. This was my first time using MOSFET and lots of it, around 80 pieces of MOSFET to drive around 80 pieces of 1m LED strips.

Bolt PCB circuit

Once this test was done, the next step was making a custom PCB for this purpose as soldering 12 LED strips to 8 I2C slaves on a prefboard is not fun at all. With my very limited skills in EagleCAD, I started drawing up the schematic diagram and board drawing  using 12 MOSFET driven by 12 pins on the Arduino Nano.

I usually take weeks and many many revisions to correct many errors before I make them into an actual PCB but this time around, time was not on my side and after 3 revisions within 2 days, I send it to Uncle Chow, 9M2CF to get the PCB done. Just in case the I2C does not work, I added a circuit to use nRF wireless options into the circuit as a backup plan. Always have backup plans.

Film of PCB drawing 
Bolt PCB done in 2 days
 To improve the quality of the PCB traces, uncle Chow 9M2CF, made a film instead of printing the drawing on tracing paper with laser printer.

Meanwhile doing the PCB, the architecture students from Taylors quickly did a model of the structure using lollipop sticks and lots of hot glue. A lot of work was put into making the frosted tubes while cut and soldered long wires to the 1 meter LED strips.

Driving the Led with Eduboard

After fixing many circuit errors on the PCB, it was time to hook it up to the model structure to test the lightning patterns. Referring to the first picture of the actual structure, the model accurately show how it will actually going to look like at night with the LED turned on.

I find that we actually did this project twice, once on the model and again on the actual structure as we had mini 3 LED strips hook up to the 8 I2C slaves.

8 I2C slaves fully soldered

8 I2C slaves hook up to the model structure

Part 2 was posted on with videos :-

Summary Links :-


Related Posts Plugin for WordPress, Blogger...