Search found 293 matches

by Don_Kirby
04 October 2016, 19:33 PM
Forum: ZX-1281
Topic: 1281n Dev board no console output
Replies: 1
Views: 4796

After a days worth of head scratching, this did, in fact, end up being something simple.

Code: Select all

Option Console Com2
I had assumed that the default setting was Com 1, and never explicitly told it to use anything else. Mystery solved.
by Don_Kirby
03 October 2016, 11:15 AM
Forum: ZX-1281
Topic: 1281n Dev board no console output
Replies: 1
Views: 4796

1281n Dev board no console output

It's been quite a while since I've touched a ZX device, so forgive me if I've missed something elementary. A recently delivered 1281n development board, powered via USB, correctly ran the 'Hello World' application when first powered on. After uploading a small application (Code: 7234 bytes), the app...
by Don_Kirby
09 September 2015, 14:54 PM
Forum: ZBasic Language
Topic: Controlling led brightness on multiple channels
Replies: 6
Views: 1929

I would probably use current limiting resistors to tune the individual LEDs, and then use a single channel of PWM to feed the Darlington array for your global brightness control. Depending on the total current requirement of the LED display, you may need to use another Darlington array channel for t...
by Don_Kirby
25 August 2015, 13:11 PM
Forum: ZBasic Language
Topic: Advice please - building a high intensity led bargraph
Replies: 7
Views: 1900

I think your original idea is pretty close to the most straightforward method. You could use a SIPO shift register to receive 2 bytes from the timer and display up to 16 LEDs. There are devices available that do exactly what you need, including LED current regulation, such as the STP16DPS05.
by Don_Kirby
24 September 2014, 13:09 PM
Forum: ZBasic Language
Topic: Detecting power loss and saving data
Replies: 4
Views: 2483

The wear-leveling method does work well to extend the lifespan of the memory locations, but when used as the sole method of commulative data recording, can suffer from a gradual loss of data points. For example, if you are writing the time to memory once per minute and the processor shuts down at 59...
by Don_Kirby
27 October 2013, 12:14 PM
Forum: ZBasic Language
Topic: Pot position measurement
Replies: 6
Views: 1902

Perhaps it's using a reference to ground via a metal mounting surface?
by Don_Kirby
09 September 2013, 15:14 PM
Forum: ZBasic Language
Topic: Driving a meter in 60 steps
Replies: 16
Views: 3074

The 0-12 scale is probably 0 - 1200 degrees. Pyrometers typically employ thermocouples to sense temperature, which generate their own, non-linear voltage relative to the applied temperature. If this is the case with your meter, it may be a bit of a challenge to interface it, as the voltages required...
by Don_Kirby
22 June 2013, 18:43 PM
Forum: General
Topic: ZX device as a USB host
Replies: 6
Views: 4517

The LUFA stack documentation does makes some mention of host management. My limited knowledge of USB would be the limiting factor in this method of implementation though, even if the stack were capable of functioning as a full USB host. 'Biting off more than you can chew' would the appropriate idiom...
by Don_Kirby
21 June 2013, 21:51 PM
Forum: General
Topic: ZX device as a USB host
Replies: 6
Views: 4517

ZX device as a USB host

A project was recently proposed which requires a microcontroller to function as a USB host to a piece of video equipment. The USB command structure is well documented and poses little difficulty in regards to programming. Are there any devices in the current lineup that offer this functionality? -DK
by Don_Kirby
26 March 2013, 14:16 PM
Forum: ZBasic Language
Topic: emulating a POT
Replies: 10
Views: 2416

That makes much more sense. I mistakenly thought you were trying to read the throttle position, when in fact, you're trying to emulate it. That would be a nice solution to interfacing with the engine. I've done many GPS projects myself, and can only say that you might have a problem with 'hunting' u...
by Don_Kirby
26 March 2013, 6:50 AM
Forum: ZBasic Language
Topic: emulating a POT
Replies: 10
Views: 2416

There's no need to interface with the throttle control. Cruise Controls don't function in that manner. For example, if you keep your foot on the accelerator pedal in exactly the same spot, the vehicle speed will change with the varying road conditions. The important part is to know the vehicle's spe...
by Don_Kirby
30 August 2012, 19:02 PM
Forum: ZBasic Language
Topic: MO pushbutton to change status?
Replies: 17
Views: 4344

How about something like this: 'Public Variables Public ButtonStateFog as Byte = 0 'Input(s) Const InputFog As Byte = 5 'Output(s) Const OutputLeftFog As Byte = 13 Const OutputRightFog As Byte = 15 Const DebounceDelay as Single = 0.05 Public Sub Main()...
by Don_Kirby
03 December 2011, 17:45 PM
Forum: ZBasic for Generic Targets
Topic: List of compatible hardware/software
Replies: 10
Views: 2498

While it is true that a dialog could be created with an edit control to allow modifying the download command, doing so doesn't afford much of an advantage. It seems that it is nearly as easy to load the User Properties file (one click on the Options menu), find the property and edit its value. True...
by Don_Kirby
03 December 2011, 17:00 PM
Forum: ZBasic for Generic Targets
Topic: List of compatible hardware/software
Replies: 10
Views: 2498

Am I correct in assuming that download.speed can be used also? It's clear to me now that the User Properties in SciTE is taken from the Serial port options and other similar dialogs. Is it possible to add a text area in one of them (or an additional one) for entering the generic device command line ...
by Don_Kirby
02 December 2011, 18:31 PM
Forum: ZBasic for Generic Targets
Topic: List of compatible hardware/software
Replies: 10
Views: 2498

I like the mapping trick. It shouldnt be hard to great a map for every device for AVRDude.

Is there a method available to poll the IDE's download COM port setting and speed as well?

-Don