• Required reading for all forum users!!!

    Welcome!
    Register to access the full functionality of the GSResources forum. Until you register and activate your account you will not have full forum access, nor will you be able to post or reply to messages.

    A note to new registrants...
    All new forum registrations must be activated via email before you have full access to the forum.

    A Special Note about Email accounts!
    DO NOT SIGN UP USING hotmail, outlook, gmx, sbcglobal, att, bellsouth or email.com. They delete our forum signup emails.

    A note to old forum members...
    I receive numerous requests from people who can no longer log in because their accounts were deleted. As mentioned in the forum FAQ, user accounts are deleted if you haven't logged in for the past 6 months. If you can't log in, then create a new forum account. If you don't get an error message, then check your email account for an activation message. If you get a message stating that the email address is already in use, then your account still exists so follow the instructions in the forum FAQ for resetting your password.

    Have you forgotten your password or have a new email address? Then read the forum FAQ for details on how to reset it.

    Any email requests for "can't log in anymore" problems or "lost my password" problems will be deleted. Read the forum FAQ and follow the instructions there - that's what we have one for...

  • Returning Visitors

    If you are a returning visitor who never received your confirmation email, then odds are your email provider is blockinig emails from our server. The only thing that can be done to get around this is you will have to try creating another forum account using an email address from another domain.

    If you are a returning visitor to the forum and can't log in using your old forum name and password but used to be able to then chances are your account is deleted. Purges of the databases are done regularly. You will have to create a new forum account and you should be all set.

1st generation AUTO cancel TSCU "banging the bits"

Status
Not open for further replies.
You know, I'd not be bothered about a distance interface, but a simple time-out would do me. That alone would greatly diminish the occasions when I would leave a blinker going. Not that I ever do such a thing, anyway.
 
Sorry Jim, I just saw your inquiry. Nope, been on the back burner since last year. If I get time I'll get started cracking on it.
Might make it manual operation only...

You know, one possibility that occurred to me was -- eliminate the whole ignition interference problem by running with a simple bicycle-computer style reed switch on the rear wheel somewhere, like alongside the brake rotor. It works great with $10 bike computers...
 
That was my original plan.

Now I'm looking into the Rasberry Pi. I'll have a look at your link tonight.
 
Raspberry Pi? Are you trying to incorporate a GUI or something? Why not just use an AVR or PIC and write the code in C? Hell, you could probably use an AVR and use Arduino to program it if you want to get really simple.
 
Raspberry Pi? Are you trying to incorporate a GUI or something? Why not just use an AVR or PIC and write the code in C? Hell, you could probably use an AVR and use Arduino to program it if you want to get really simple.

His schematic seems to be designed around a PicAxe.
 
I know computers have gotten smaller, but I'm shocked at the drop in prices. H/W costs are truly are asymptotically approaching zero.
 
I know computers have gotten smaller, but I'm shocked at the drop in prices. H/W costs are truly are asymptotically approaching zero.

Agreed. Now I'm thinking of implementing some ideas using the PI-Zero. Just tried to pick one up but it seems that everyone is out of stock right now.
 
His schematic seems to be designed around a PicAxe.

Yes, I understand, but he also want to use a RPi which is complete overkill. A simple cheap AVR could be used or if he wants to use Arduino's canned functions to program it, an Arduino Nano would be the obvious choice.

Not that PICAxe is a bad thing, I'm just more biased towards C rather than BASIC.
 
Yes, I understand, but he also want to use a RPi which is complete overkill. A simple cheap AVR could be used or if he wants to use Arduino's canned functions to program it, an Arduino Nano would be the obvious choice.

Not that PICAxe is a bad thing, I'm just more biased towards C rather than BASIC.

I agree, I would go with an AVR as well. I have a few designs I'll be working on early next year and this TSCU should not be that big of an issue although those that have blazed the trail claim there are noise problems :)

I don't really do BASIC (anymore) either.I'm working on a cross platform development with VS 2010 and Crossworks for ARM targeting a Cortex 3M; it is a mixture of C/C++.
Atmel claim that their new platform is based on VS which I have grown very fond of so that seems a no brainer especially with the open source Arduino link to AVR chips.
 
The problem isn't which device to use, it is having to learn a programming language. Plus, as has been just mentioned, the raspberry Pi zero is a whole whopping five dollars. Is it overkill compared to a PIC or an AVR? Sure it is, but at least I may have a fighting chance at writing the software to run it.

And there you have it.
 
The problem isn't which device to use, it is having to learn a programming language. Plus, as has been just mentioned, the raspberry Pi zero is a whole whopping five dollars. Is it overkill compared to a PIC or an AVR? Sure it is, but at least I may have a fighting chance at writing the software to run it.

And there you have it.

The most basic language is well BASIC :).
 
Looking into the Raspberry PI, I find it has multiple language support. I've always migrated toward C or C++ and it has support for that as well along with several others. Been putting off some project ideas I've had because of simple procrastination, but this thread has got me motivated again. Never realized that the micro controllers have gotten so inexpensive as well. Although the PI zero is only $5 I'm migrating toward the PI-2 B since it has all the bells and whistles for less then $40 and would make a good development platform. In the case of this threads project, I think it's serious overkill. I even question the need for a micro controller for a turn signal in general. Seems like it could be better implemented using simple discrete components.
 
Looking into the Raspberry PI, I find it has multiple language support. I've always migrated toward C or C++ and it has support for that as well along with several others. Been putting off some project ideas I've had because of simple procrastination, but this thread has got me motivated again. Never realized that the micro controllers have gotten so inexpensive as well. Although the PI zero is only $5 I'm migrating toward the PI-2 B since it has all the bells and whistles for less then $40 and would make a good development platform. In the case of this threads project, I think it's serious overkill. I even question the need for a micro controller for a turn signal in general. Seems like it could be better implemented using simple discrete components.

This provides an ideal solution for this problem and short of a custom mini FPGA or you are not going to make it any smaller.

http://www.atmel.com/products/microcontrollers/avr/tinyavr.aspx
 
If you need a recommendation to get rolling on this, fastest/simplest would be to learn with an Arduino and use a NANO with a prototype board.

https://www.arduino.cc/en/Main/ArduinoBoardNano

http://www.ebay.com/itm/MINI-USB-Na...910939?hash=item25946c3b1b:g:kEYAAOSwq7JT-wVU


get something like this to plug it it into

They have knock-offs on ebay so you have to worry about the Arduino loader being installed but there are hacks on the web. Or just splurge for a real one.

http://www.ebay.com/itm/MB102-830-P...r-Supply-HO-/131143728672?hash=item1e88c67e20

You will have to learn how to program in some language, this will not be any harder than BASIC and it is "C" like.

IIRC, someone just mentioned the NANO before; I bought a couple and you just plug it into a USB and it powers. If you have the right software downloaded you are talking to it. You use patch wires to test out the code/circuit talking to one of your switches and real or simulated speedo. Use a second UNO to simulate the Speedo :)
 
Last edited:
I'm subscribed to this thread somewhat over my head these electronics, would be interested when perfected, sounds good.
 
If you need a recommendation to get rolling on this, fastest/simplest would be to learn with an Arduino and use a NANO with a prototype board.

https://www.arduino.cc/en/Main/ArduinoBoardNano

http://www.ebay.com/itm/MINI-USB-Na...910939?hash=item25946c3b1b:g:kEYAAOSwq7JT-wVU


get something like this to plug it it into

They have knock-offs on ebay so you have to worry about the Arduino loader being installed but there are hacks on the web. Or just splurge for a real one.

http://www.ebay.com/itm/MB102-830-P...r-Supply-HO-/131143728672?hash=item1e88c67e20

You will have to learn how to program in some language, this will not be any harder than BASIC and it is "C" like.

IIRC, someone just mentioned the NANO before; I bought a couple and you just plug it into a USB and it powers. If you have the right software downloaded you are talking to it. You use patch wires to test out the code/circuit talking to one of your switches and real or simulated speedo. Use a second UNO to simulate the Speedo :)

The Arduino NANO is a good platform for a project like this. Both analog and digital I/O and pretty easy to program. Any micro controller will require some amount of a learning curve but they're pretty basic. Language support will vary but most of these will use some form of a "C"ish language. Tiny BASIC is ported to a lot of hardware platforms as well.

There's even an event driven programming platform that might be very applicable to a project like this. The benefits of programming using an event driven software platform is pretty obvious in an environment where switch/pulse input capture is beneficial. Should make programming a bit easier.
 
Last edited:
Status
Not open for further replies.
Back
Top