|
#141
|
||||
|
||||
|
Quote:
The brightness of LEDs in Stromputer is controlled by using PWM - Pulse Wave Modulation. That is why the particular digital ports were used for LEDs. Only these ports support PWM.
__________________
Stromputer - A V-Strom Computer and display - Now taking orders for V3 PCB --------------------------------- 2013 Northeast V-Strom Rally! 2011 DL650 ABS ( "White Pearl") ![]() -------------------- Stromtrooper Wiki! |
| Sponsored Links | ||
Advertisement | ||
|
#142
|
||||
|
||||
|
Quote:
does the brightness of the LEDs change based on what the photocell's picking up (brighter LEDs if it's daylight shining on the photocell, dimmer LED if it's nighttime)? If not, what's the photocell for?
__________________
2013 Northeast V-Strom Rally! __________________________ '07 wee '78 GS1000 skunk: project '79 GS850G *sold* |
|
#143
|
||||
|
||||
|
Quote:
But for NHD LCD modules (note: do not confuse LCD with LED!), it also controls the brightness of the LCD automatically. YwRobot LCD modules have no way to control brightness programatically so the LCD brightness is constant.
__________________
Stromputer - A V-Strom Computer and display - Now taking orders for V3 PCB --------------------------------- 2013 Northeast V-Strom Rally! 2011 DL650 ABS ( "White Pearl") ![]() -------------------- Stromtrooper Wiki! |
|
#144
|
||||
|
||||
|
Quote:
You need to hookup power from the 12V battery (Black for GND, Red for 12V) and to the GPS line (Green that connects with Blue Posi-Tap, or directly to the Pink GPS line of the V-Storm, I recommend a Posi-Tap, perhaps it should be added to the BOM) You solder the lines directly, or use a fuse box - it is up to you.
__________________
Stromputer - A V-Strom Computer and display - Now taking orders for V3 PCB --------------------------------- 2013 Northeast V-Strom Rally! 2011 DL650 ABS ( "White Pearl") ![]() -------------------- Stromtrooper Wiki! |
|
#145
|
||||
|
||||
|
Quote:
also seems that the Posi-Taps only come in packages of 6 for $9 (through the manufacturer at least)
__________________
2013 Northeast V-Strom Rally! __________________________ '07 wee '78 GS1000 skunk: project '79 GS850G *sold* |
|
#146
|
||||
|
||||
|
Quote:
Yes, it does come in a package. Maybe you can find something on ebay that comes as a single, or maybe there is something similar in AutoDepot/RadioShack - I did not check there.
__________________
Stromputer - A V-Strom Computer and display - Now taking orders for V3 PCB --------------------------------- 2013 Northeast V-Strom Rally! 2011 DL650 ABS ( "White Pearl") ![]() -------------------- Stromtrooper Wiki! |
|
#147
|
||||
|
||||
|
I committed an updated BOM to SVN, based on 'the schwartz' updates.
__________________
Stromputer - A V-Strom Computer and display - Now taking orders for V3 PCB --------------------------------- 2013 Northeast V-Strom Rally! 2011 DL650 ABS ( "White Pearl") ![]() -------------------- Stromtrooper Wiki! |
|
#148
|
||||
|
||||
|
I added some documentation of how to compile the source code:
StromputerV2Instructions - stromputer - Display enhancement for Suzuki V-Strom motorcycles (and others) based on Arduino - Google Project Hosting Also thanks to Chris, I found that there is an issue with the analog to digital calculations which I did not noticed on V1, but which is an issue on V2 (in particular the Nano V3 board) when connected to USB power. When using the LM2940 5V voltage regulator, i.e. on the motorcycle, this is a non-issue. It has to do with the internal voltage (VCC) on the board. IT seems on Nano V3 the VCC is much less than 5V, causing voltage calculations to skew considerably. Once again, it should work flawlessly on the bike since VCC will be a nice stable 5V, thanks to LM2940. I will fix and verify that during this weekend. Not a show stopper and causes no risk, just something to be aware of.
__________________
Stromputer - A V-Strom Computer and display - Now taking orders for V3 PCB --------------------------------- 2013 Northeast V-Strom Rally! 2011 DL650 ABS ( "White Pearl") ![]() -------------------- Stromtrooper Wiki! |
|
#149
|
||||
|
||||
|
Quote:
![]() Is the Arduino expecting USB voltage to already be regulated, and therefore Vin from the power jack goes through the regulator, but not the Vin from the USB port? That's kinda a poor design for the reasons you mention above if that's the case, but I'm only an interested neophyte in the EE world, so maybe there's something I'm missing that explains why it's working that way.
__________________
DL650 K9:
1977 Yamaha XS750 -- project bike |
|
#150
|
||||
|
||||
|
Quote:
I don't think it is a poor design, but rather my assumptions about the ADC reference being 5V were just incorrect. Once VCC is taken into account (very easy) the ADC calculations are very accurate. The other thing you need to know is that voltage regulators have a drop out voltage parameter - i.e. They need some buffer above their regulated voltage. LM2940 for example has a low dropout of 0.5V. So to regulate to 5V one needs to feed at least 5.5V Other, lesser quality regulators, require even a higher dropout, so you would need 6V or even 7V to regulate to 5V. And indeed if you look at the Nano spec: Arduino - ArduinoBoardNano "Input Voltage (recommended) 7-12 V" which means the internal regulator (which is not used in Stromputer) has a dropout of 2V. In Stromputer the LM2940 stable 5V bypasses the internal regulator by going into Vin pin directly. EDIT: For those interested to learn more about this, http://hacking.majenko.co.uk/node/57
__________________
Stromputer - A V-Strom Computer and display - Now taking orders for V3 PCB --------------------------------- 2013 Northeast V-Strom Rally! 2011 DL650 ABS ( "White Pearl") ![]() -------------------- Stromtrooper Wiki! Last edited by BigMan73; 01-18-2013 at 11:25 AM. |
| Sponsored Links | |
Advertisement | |
![]() |
| Thread Tools | |
| Display Modes | |
|
|