Recent Posts

Pages: 1 2 [3] 4 5 ... 10
Reading up on some terminology. What are the advantages of using define over constant function?

If renamed, would the current helmetPin that is defined need to be changed in these areas only? The ones dealing with choosing an arduino pin?

 HELMET(int pinNumber, boolean helmetState, int down, int up)
      helmetPin = pinNumber;


    int getHelmetPin() {

      return helmetPin;
    }               ^
    void setHelmetPin(int pinNumber) {
      helmetPin = pinNumber;
    }   ^
Project Guidance / Does 1-wire work on any digita...
Last post by LMI1 - Today at 01:21 am
I have several Mega2560 boards and I need 1-wire devices. I can use only serial 3, pins 14 and 15. Will there be problems?
Español / Proyecto puerta numerica
Last post by Franle - Today at 01:20 am
Hola, el proyecto es una puerta con entrada numerica que al poner el codigo se abre (basica la que esta en todos lados) pero yo quiero agregarle un plus que avise cuando se coloco varias veces mal dicho codigo con un led y un zumbador ubicado en otra parte del lugar mi pregunta es que cosas necesitaria para conectarlos inalambricamente
Deutsch / Re: AC 230V (50Hz) PWM Dimmer ...
Last post by uwefed - Today at 01:20 am
That makes sense. I will do that in the future. Thank you for the suggestion!
Displays / Re: Nextion 7" display distort...
Last post by david_prentice - Today at 01:19 am
So that was just an unsubstantiated assertion - or guess.  :smiley-roll:
Which means that each colour stripe must be three times as (?)high as it is wide as it is (?)wide - or more than that to allow for the spacing between.  Or else a hexagonal "tile" in a tessellated pattern, like the original shadow-mask TVs which for engineering reasons switched over to the "Trinitron" pattern of vertical stripes which is what I presume these LCDs use.

It would seem you are lucky it is so close to a "square" pixel.  :smiley-lol:
Yes.   It is an unsubstantiated assertion.    I had never noticed "distortion" on any of the TFTs that are on my desk.
I can't claim anything for displays that I have not seen.   I can only believe Mr Bebbington and Mr Gra55y.    I do not have the Nextion.

Yes.   My TFTs are all Trinitron-style.    i.e. RGB rectangles in a horizontal row.
Most of my TFTs are Portrait e.g. 240x320
My SSD1963 display is Landscape e.g. 800x480

Of course you can display graphics and text in any direction that you want from GRAM.   But the controller will scan the RGB pixels in the natural row direction.

Project Guidance / Re: Might have bit off more th...
Last post by 3Dgeo - Today at 01:18 am
Wow, that crafty :D

Nah, don't worry, if you use EasyEDA it's super easy, you just drag and drop component from component list and connect them with line, one 10min youtube video how to use it will get you up and running. Don't be intimidated, its super easy hence it's name.

Are those 2 rows of switches has 3 positions? Can you link or draw their internal diagram? I'm not familiar with those switches. Also those knobs are pulse rotary encoders on potentiometers?
Tomorrow I'll will make you a simplified diagram how I would connect everything, tho as we told you - you like it or not you'll have to use diodes, any will do, even a cheap zeners, but schottky diodes with lower voltage drop is preffered, especially for analog stuff.
My first project. I simulated this on TINKERCAD & got it to work OK. Still needs some tweaking. I am not a programmer & I cobbled together the code elements from Google, etc. There are some issues I am still working on. For example, when a team is at bat, I light an LED to indicate either Visitor or Home. Initially I thought I could use one block of code for either the Visitor or the Home team. Didn't happen (yet).

I also noticed if I press the minus button when the score or out or innings are zero the LSD will "go down" to nine. I need to correct this in the future.

I had to use A0 & A1 because I ran out of pins. I know this is verbotten but I plan to use a Mega in the prototype I am building next.

Prototyping on a very small scale. I need a recommendation on how to build the prototype, wiring, soldering etc. I know this is not the correct forum.

I find programming difficult. It doesn't seem to be sinking in yet. My 68 yr. old brain seems a little slow on the intake. I am enjoying it though.

So please take a look at the code & give me your expert opinions.


code attached, I exceed the 9000 character limit. Criminy!

Code: [Select]
// OTL (over the line) Softball Scoreboard project
// Version 01 uses IR remote
// Version 01 was created on TINKERCAD simulator
// Displays which team is at bat, Visitor or Home, Score, Innings, Outs, 1 up HR indicator by team


That's it

Thank you!..
MKRVIDOR4000 / Re: FPGA-Arduino connections
Last post by Limba - Today at 01:07 am
Those who will create their own IP block will use more likely Quartus than arduino web ide.

Web IDE is ok for precompiled fpga images or combining predefined IP:s. Web IDE should also create FPGA user guide when it's building image.

Current problem is lack of professional documentation like system level and implementation document. These should contain all pin mappings, how communication is done between fpga and MCU, memory maps, flash map, etc...

Currently if you wan't to implement something new then it's easiest to start with empty FPGA or do it hard way and start to reverse engineer stuff. current documents are in that state.

USB Blaster sketch should be able to program flash that is connected to FPGA. You just have to use indirect programming. Also be carefull I'm not sure if the golden image is available. Aso when using USB blaster sketch then normal FPGA communication is disabled because they use same JTAG.

Pages: 1 2 [3] 4 5 ... 10