First WiFi Loco-Nodes, ready for fabrication/assembly

ModelRailroadForums.com is a free Model Railroad Discussion Forum and photo gallery. We cover all scales and sizes of model railroads. Online since 2002, it's one of the oldest and largest model railroad forums on the web. Whether you're a master model railroader or just getting started, you'll find something of interest here.


Status
Not open for further replies.
FX_LED is now fully up with PWM enabled on the four PWM nets

I have a demo video that I will post later, this enables special light effects to be created
 
Here is the PWM dimming a LED

[video=youtube;xk6LBHCzMbQ]https://www.youtube.com/watch?v=xk6LBHCzMbQ&feature=youtu.be[/video]
 
Last edited by a moderator:
we wrote a program so I can modify the PWM to create various light effects

[video=youtube;Ow_B4XC_l2Q]https://www.youtube.com/watch?v=Ow_B4XC_l2Q&feature=youtu.be[/video]
 


we have three drivers in progress right now, one is for the WiFi, one does the eCompass/motion, and the other is setting up for flashing the memory so we can begin in locomotive testing

the last driver after this is motor control, we should have the majority of the work done this coming weekend
 
LN.png

You can see the LocoNode on the WiFi networks seen by my Notebook. We got a driver working for the WiFi, now we just have to compress it more.

The driver for the motion worked as well but its configured for I2C, we need SPI so we have to rework it, though the driver is mounting during the booting.
 
We are working on the SPINAND/Flashing and Motor Driver today.

Finishing the motor driver clears all of the systems for production.

Other than the placement of the caps connected to the sound amplifier, we have a good clean design.
 
Hi,

We are now at a 100% complete for the surface components, and verifying the layout/fabrication/assembly.

I got this last night, its only the second attempt at the motor driver and mostly works. It will be a few more days until its bug free and set up for locomotive type motor control.

Here was the program:

BusyBox v1.15.2 (2015-07-01 02:06:45 MSK) hush - the humble shell

/ # /bin/motor-control
Disable motor A: configure nENBL as OUTPUT HIGH
Disable motor B: configure STEP as OUTPUT HIGH
Set forward direction for motor A: configure DIR as OUTPUT LOW
Set forward direction for motor B: configure M0 as OUTPUT LOW
Put motor driver chip to sleep mode: configure nSLEEP as OUTPUT LOW
Configure nFAULT as INPUT
Configure M1 as OUTPUT LOW
Configure CONFIG as OUTPUT LOW
Put motor driver chip to !sleep mode
Enable motor A
Disable motor A
Set reverse direction for motor A
Enable motor A
Disable motor A
Enable motor B
Disable motor B
Set reverse direction for motor B
Enable motor B
Disable motor B
End of the testing sequence, exiting
/ #

[video=youtube;m4a50W6eXkU]https://www.youtube.com/watch?v=m4a50W6eXkU&feature=youtu.be[/video]
 
I got this file two days ago, just able to run it now.

There are some bugs, the program is supposed to cycle up from 10% to 100% output on the motors but some fixes are needed.

It does run with the OMI SD70 though, and in this video you can see how the change between a track power source and the Li-PO is smooth, there are now power interruptions as you would get on dirty track.

Should get a new file tomorrow to show the full range of motor control.

[video=youtube;2RJ90UoynSE]https://www.youtube.com/watch?v=2RJ90UoynSE[/video]
 


the motor control file is now fixed, the steps were set at 500 seconds instead of lower

it works, we can now control motor speed through the entire range
 
here you can see our new HTC truck, traction motor, and a motor control test

we started on the SPINAND flashing tool today with good progress and tweaking the eCompass file

motor control is basically done until we can get the SPINAND flashed and increase the file size

[video=youtube;tTS9XMSd_FM]https://www.youtube.com/watch?v=tTS9XMSd_FM&feature=youtu.be[/video]
 
We got an expanded program working for the battery fuel gauge - now we just have to adjust and compensate the values

We also got a BitBanging app working so we can flash our SPINAND. The first test worked. We need a recompiled BSP now, should be ready to fully test it tomorrow night.

This means we can get the board loaded with our firmware, boot, and also set up the WiFi. We have a WiFi driver ready but it will not flash because the manufacturer supplied tool is not working right. Three months and still no instructions from them.

This is great news, it means by this time next week, the OMI SD70 will be working with our board under WiFi.
 
we've been going hard core for the past two weeks

the SPINAND has been successfully written, formatted, and can read data on it

there is a compatibility issue though with the internal boot ROM in that it cannot read our SPINAND

not sure if we can fix with a UBOOT file or not, its 50/50

I have 100% of the design tested and verified, we'll slide over to LN0001S-V1.5 for shipments and continue software with the development board and V1.4

I had Juan over last night, he's now set up with a working sample he can work with so there are three full time engineers plus myself on the software now

The issue for us is we need to be able to reboot to bring up the WiFi antenna because its defaulted off using USB booting needed to flash the SDRAM but we're still able to test and run programs to get everything finished up

I have the files ready and parts for 16 boards at the factory already for V1.5
 
today's agenda is more improvements in the motor control, I said on the video at one point, this test was done at 25 Mz but it actually was 50 Mz, we're going to do tests at 15 Mz and 25 Mz next. then we'll fix up the speed curves.

we're also going to add more content to the display then add the head light and back up light

we have a program that will get WiFi loaded onto the node after USB booting, so today we can also test the WiFi
 
Hello,

We've progressed a lot further than the last video posts. The motor control program is in place and now we're tying in the LED's.

LN0001S-V1.5 has been ordered. This clears up the hardware snag on the audio and the software issue of incompatible boot ROM with our flash.

The new boards will be here in a few weeks.

The major change for these are the addition of a TV out pin which will enable the use of a monitor and Windows Embedded down the road for programming, debugging. We're also putting on a 4 GB eMMC flash.

Software will continue on the current boards for now. We should have the non-sound Loco programming done by time the V1.5 get here. Its possible to get the sound version done too but I assume it will have a bit more time trying to tie the sound engine in with the motor control based on the start/stops we've had with the LED's. Right now the PWM based outputs of the LED system are split and working, the GPIO based lights are almost there but driver overlap has blocked some of our initial efforts. I should be able to have that fixed tonight though.

Anyway, keep an eye on our web-site, www.layout-ioe.com

Also we have a new shapeways store with matching parts for the new electronics.

Thanks,

Christopher Howard, Layout-IoE
www.layout-ioe.com
 


Here is a video I shot almost two weeks ago, its the motor control file all debugged and ready to go

We're just about done the FX LED component of it, I should have it ready this week.

Block0 of the software should be ready for release when the new boards arrive in 2 - 3 weeks.

Fun times!

www.layout-ioe.com

[video=youtube;kA6xu8T2rIU]https://www.youtube.com/watch?v=kA6xu8T2rIU[/video]
 
Status
Not open for further replies.




Affiliate Disclosure: We may receive a commision from some of the links and ads shown on this website (Learn More Here)

Back
Top