Comments (17)
According to the technical details, spi_buf[13] should be red, spi_buf[14] should be green, and spi_buf[15] should be blue.
Are you saying on your boards spi_buf[14] and spi_buf[15] are reversed? As in spi_buf[14] is blue and spi_buf[15] is green? If true this is very bizarre indeed, I have never had this issue myself.
Have you tried the Arduino examples with library? And which Arduino board are you using?
from exixe.
Arduino Nano being used.
Here is the code used to get a purple LED... left as original it's yellow.
`/*
exixe modules:
https://github.com/dekuNukem/exixe
library docs:
https://github.com/dekuNukem/exixe/tree/master/arduino_library
Demo 1: LED test
*/
#include "exixe.h"
// change this to the cs pin you're using
int cs_pin = 10;
exixe my_tube = exixe(cs_pin);
void setup()
{
my_tube.spi_init();
}
void loop()
{
my_tube.set_led(127, 127, 0); // purple
delay(500);
}`
from exixe.
This is very strange indeed. This project is more than 3 years old and it is my first time hearing this issue. I'll do a little testing myself.
from exixe.
Turns out all my Arduinos are at my workplace, and its closed.
I purchased a cheap one online, but it will take a day or two to arrive.
In the meantime, if its convient to do so, can you take a look at your exixe12 module and tell me what it says at the location below? Thanks.
from exixe.
Hi, the area shown on the boards I have is blank, If you need a picture, I can supply one later today.
from exixe.
that would be great, thanks.
from exixe.
This one I am building at the moment, not yet completed.
from exixe.
woah this is a very old revision of the circuit board. It looks like a prototype-stage design from 2017. I didn't know you're building one yourself, I thought you purchased one from my Tindie shop.
Anyway, because this PCB revision is a very early design, I might have changed a few things around since then. The current library and documentation is for the production-run boards. If the swtiched RGB channel is the only issue, then thats actually not too bad!
from exixe.
Yea I bought these off Tindie just during lockdown I've managed to get through a few projects :)
I have uploaded the hex from the repo and am using an Arduino, and all seems well except the RGB...
from exixe.
Is this normal behavior running 2_loop_digit_simple?
from exixe.
It seems to be running a bit fast. In the arduino code the digit should be changing every half second, it looks about twice as fast in this gif.
The tube also turns off and flicker for a bit in the middle, if it happens on its own I would start by checking the 3.3V power supply. The 3.3V pin on 5V Arduino can hardly provide enough current for one module, so you might want to try a more beefy power source and see if it improves. I mentioned this issue in the power consumption considerations sections of the user manual.
from exixe.
Hmm, I'm running 5v through a 3v3 LD33 separate regulator, max 1A. You can see it in the gif, on the right side.
The other example, crossfade, is giving weird results. I'm going to try another Arduino to drive the spi.
I changed the delay to 100mS from 500mS to see if it made any difference but the behavior is the same.
Tried with an Uno (versus a Nano before) and the results are the same on 2x of these boards.
Counting for a period, the looks like a reset on the STM as the SPI seems to start again in a random place, i.e. begins counting at 3 or 4.
Does reset on the eixie need to be asserted high via a pull-up at all times?
Do you think this is a result of the revision of boards I have? I have 10x more bare boards to populate but I will hold off pending your very much appreciated advice.
from exixe.
The reset pin on the module is pulled up internally, so you don't have to pull it up again, but it wouldn't hurt.
I would check to make sure the SPI output from the arduino is at the correct speed and configuration with a logic analyser or osciliscope. You can find the details here.
from exixe.
Ok, before I break out the saleae, I read the clock speed in the eixie config is set to 8MHz?
from exixe.
Anything between 1MHz and 24MHz should work, although i would try slower speeds first to be on the safe side.
from exixe.
Hi, so after connecting my Arduino and 3V3 grounds together the 2-digit counting and crossfading sketches are working just fine. I have tested the SPI clock up to 16Mhz and its working just fine.
Thanks for your help and feedback.
from exixe.
Yeah it's important that everything are at the same GND. Glad to hear it's working now.
from exixe.
Related Issues (17)
- LED does not stay lit HOT 6
- Windows 10 & STM32 ST-LINK
- Exixe14 BOM not matching PCB HOT 8
- Overdrive doesn't seem to do anything HOT 1
- Unable to completely turn of the LED HOT 1
- Mounting methods HOT 2
- Crossfade issue on ESP8266 HOT 2
- Inconsistent behavior with multiple exixe HOT 22
- Random blinking numbers and inconsistent LED behaviour HOT 7
- Arduino library: Initialising multiple tubes doesn't seem to work HOT 2
- The exixe 2018 boards not working HOT 13
- sourcing STM32F042K6T6 HOT 1
- Created and assembled board, connected to ST Link V2 HOT 2
- Arduino library: memset not defined HOT 4
- The MISO and MOSI pins are the wrong way around on the getting started page HOT 3
- exixe12_bom different capacitor values HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exixe.