RE: https://wiki.seeedstudio.com/Grove-GPS/

Hello,

I overwrote the sim28 firmware and corrupted the data. Is there an updated or a legacy firmware I can use that you know about right now? I see sim.com is no longer available for searching for firmware.

Seth

P.S. I thought I overwrote the data for some reason. I think you guys set up the device so it cannot be corrupted. Nice! Sorry for this advance.

Hello,

I created an issue on Github.com about the Grove Starter Kit and the OLED Display. Are people still using this OLED Display to create graphics.

I am connected via my i2c bus on the Grove Connector on my BBGW. I have been unable to make it work thus far.

I am using smbus2 right now that I installed w/ pip3 on my Debian Distro.

Seth

P.S. Here is the source I am trying to use:

 # grove_oled.py
 # Beaglebone Green Python library

 # Copyright (c) 2015 seeed technology inc.
 # Website    : www.seeed.cc
 # Author     : Wuruibin
 # Created Time: July 2015
 # Modified Time:

 # The MIT License (MIT)

 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
 # in the Software without restriction, including without limitation the rights
 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 # copies of the Software, and to permit persons to whom the Software is
 # furnished to do so, subject to the following conditions:

 # The above copyright notice and this permission notice shall be included in
 # all copies or substantial portions of the Software.

 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.


#!/usr/bin/python3
# -*- coding: utf-8 -*-

from smbus2 import SMBus
import time
import math

Oled = SMBus("/dev/i2c-2") # 0x3c
# bus = 0x3c

Command_Mode = 0x80
Data_Mode = 0x40

grayH = 0xF0
grayL = 0x0F
Normal_Display_Cmd = 0xA4

BasicFont = [[0 for x in range(8)] for x in range(10)]
BasicFont=[[0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00],
[0x00,0x00,0x5F,0x00,0x00,0x00,0x00,0x00],

...

def oled_init():
    sendCommand(0xFD) # Unlock OLED driver IC MCU interface from entering command. i.e: Accept commands
    sendCommand(0x12)
    sendCommand(0xAE) # Set display off

...

def sendCommand(data):
    Oled.write_byte_data("/dev/i2c-2", Command_Mode, 1, data)

def sendData(data):
    Oled.write_byte_data(Data_Mode, 2)

def multi_comm(commands):
    for c in commands:
        sendCommand(c)

def oled_clearDisplay():
    for j in range (0, 48):
        for i in range (0, 96):
            sendData(0x00)

...

So, you can see what changes I have made. Trust me, these are not my initial changes but I have tested the source with many of the functions from smbus2 and I just have not got it quite right yet.

If anyone else is working on this project, I would like to hear from you.