Search found 39 matches

by rosariote
11 June 2017, 23:55 PM
Forum: ZX-40
Topic: zx-328n start up
Replies: 5
Views: 6071

Hi,
Pin 1 it is the RESET pin and it need to be high. I used a 10k pull up resistor. When the pin it is grounded it will reset the micro.
by rosariote
30 April 2017, 11:55 AM
Forum: ZBasic Language
Topic: Unable to read data from the LTC1296
Replies: 4
Views: 3423

Hi, I did not know what I was doing but tried the different combinations in the table with not luck as you explained. Like I said before. I encountered same problem with other basics micro reading ADC and end using my routine. Today checked the voltage linearity and it is right on. I would like to t...
by rosariote
29 April 2017, 23:05 PM
Forum: ZBasic Language
Topic: Unable to read data from the LTC1296
Replies: 4
Views: 3423

Hi, I tried all the combination possible from the table page 238. The table shows all the options. If you select active clock edge that is the leading clock edge &H00 you can see it is the same as the MSB = &H00. Something it is not right. So you can not select the trailing or the leading fr...
by rosariote
29 April 2017, 13:00 PM
Forum: ZBasic Language
Topic: Unable to read data from the LTC1296
Replies: 4
Views: 3423

Unable to read data from the LTC1296

Hi, I need some help in the diagnostic why I am experiencing reading the LTC1296. The reading data do not match the voltage input. I am using the ShiftInEx(dataPin, clkPin, bitCnt, flags) with no success. I tried every combination possible in the Shiftin setup but every thing it is been unsuccessful...
by rosariote
27 April 2017, 21:25 PM
Forum: ZBasic IDE
Topic: endif vs end if
Replies: 1
Views: 2293

Hi,

You can use find and replace.
by rosariote
09 February 2017, 10:02 AM
Forum: ZBasic Language
Topic: Making an engine governor
Replies: 5
Views: 3429

Hi,
Since it is a trimmer engine you may use this 2-phase 4-wire Stepper Motor DC 5v 12v linear Actuator Telescopic Position Rod . Do a search in ebay using the above description. By using the stepper you may adjust the speed more accurate,
by rosariote
25 March 2016, 7:19 AM
Forum: ZBasic Language
Topic: Fastest version of code
Replies: 5
Views: 1662

Tony.
what I do it is define the pin as a constant at the beginning of the program. It make it easy to change the pin if it need to.

you can define it as :
const _data_pins as_3 byte = 3
by rosariote
24 March 2016, 21:44 PM
Forum: ZBasic Language
Topic: Fastest version of code
Replies: 5
Views: 1662

Hi, Also you can instead of using the command if (data AND &h08) > 0 then call PutPin(_data_pins(3),ZXOutputHigh) use command pinlow(pin number) or pinhigh(pin number) This is more faster than the call PutPin. if (data AND &h08) > 0 then pinlow (3) If you want the pin low if (data AND &h...
by rosariote
15 February 2016, 13:25 PM
Forum: General
Topic: Question about muxing button & switch inputs
Replies: 6
Views: 3724

Hi,
You can use a resistor and capacitor to clean the contact closure bouncing or you can do software wise like as dkinzer already suggested. Also you can share the I2C signals for all the chips as long they have an enable chip signal. Just enable the one you want to address.
by rosariote
15 February 2016, 11:16 AM
Forum: General
Topic: Question about muxing button & switch inputs
Replies: 6
Views: 3724

Hi,
Also you can use the PCA8575. It is a 16 bit digital input and an interrupt if one of the input signal changed. I never used it but it was in my list in case ran of inputs in one of my projects.
by rosariote
03 December 2015, 23:07 PM
Forum: ZBasic Language
Topic: ZBasic or Arduino for hobby?
Replies: 11
Views: 2687

Hi,
The only I would recommended you it is compare the instructions command set from ZBASIC and Arduiino and you will immediately will make your mind/decision on Zbasic. There are not comparison between Zbasic and Arduino period. Zbasic it is the only choice that you will do.
by rosariote
09 September 2015, 8:06 AM
Forum: ZBasic Language
Topic: Controlling led brightness on multiple channels
Replies: 6
Views: 1929

Hi,
Yes, You can by increasing/decreasing the frequency of the PWM it will increase/decrease the brightness of the LED. I am using the PWM to control the pump motor speed in one of my project.
by rosariote
08 September 2015, 15:59 PM
Forum: ZBasic Language
Topic: Help using shift register STP16DPS05.
Replies: 18
Views: 4287

Hi,
Make sure you use the last one. The first one it is only 16 pulses. I corrected in the second one to send 17 pulses and turn the display by lower the OE_DM2 . You most setup the port pins follow yours setup. Good luck.
by rosariote
08 September 2015, 13:26 PM
Forum: ZBasic Language
Topic: Help using shift register STP16DPS05.
Replies: 18
Views: 4287

Hi,
Did you try my program? I modified it to handle 17 clocks and enable the output by zeroing the OE_DM2 after the 17 clock it is been issued. It is attached after the dkinzer messages.
by rosariote
08 September 2015, 9:51 AM
Forum: ZBasic Language
Topic: Help using shift register STP16DPS05.
Replies: 18
Views: 4287

Hi,
You should try the Texas Instrument TLC5926. They explained it better on how to use it with timing signals.